#ma-user-suggestions{
    font-size: .875rem;
    border: 1px solid #ccc;
    background: #fff;
    display: none;
    position: absolute;
    z-index: 9999;
    border-top: 0;
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1),
    -2px 2px 2px 0 rgba(0, 0, 0, 0.1),
    0 2px 2px 0 rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
#ma-user-suggestions > div{
    padding: 6px 10px;
    cursor: pointer;
}
#ma-user-suggestions > div:hover{
    background-color: #ccc;
}
#discounted_price_preview{
    color: #666;
    font-size: 0.9em;
    margin-top: 0.5em;
}
.ma-discount-price{
    color: #777;
}
.ma-discount-input{
    width:60px;
}
.product-discount-field{
    margin-bottom: 1em;
}
.product_discount{
    width: 100px;
}
#ma-search-user.loading {
    background-image: url("data:image/svg+xml,%3Csvg width=\'24\' height=\'24\' viewBox=\'0 0 24 24\' xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23000\'%3E%3Ccircle cx=\'12\' cy=\'12\' r=\'10\' stroke=\'%23ccc\' stroke-width=\'4\' fill=\'none\' stroke-dasharray=\'60\' stroke-dashoffset=\'0\'%3E%3CanimateTransform attributeName=\'transform\' type=\'rotate\' from=\'0 12 12\' to=\'360 12 12\' dur=\'1s\' repeatCount=\'indefinite\'/%3E%3C/circle%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px 20px;
}
#ma-search-user {
    width: 100%;
    padding: 8px;
}

#multi-address-labels{
    width: 100%; padding: 8px;
}
#multi-address-selector{
    margin: 30px 0;
    padding: 15px;
}
#multi-address-dropdown-wrapper{
    display: none;
    margin-top: 15px;
    border: 1px solid #f1f1f1;
    padding: 16px;
}
#no-address-message{
    display:none;
    color: #666;
    margin: 20px 0 0 0;
}
#multi-address-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.address-meta {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 2px;
}
.ma-billing-info{
    border:1px solid #f1f1f1;
    padding:10px;
    margin:15px 0;
    background-color: #f7f7f7;
}
.address-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-top: 1px solid #f1f1f1;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-top: 20px;
}
.address-box:hover {
    background-color: #f1f1f1;
}
.address-radio {
    flex-shrink: 0;
    padding: 20px 0 0 0;
    margin-top: 5px;
    transform: scale(1.2);
    accent-color: #1a73e8;
    cursor: pointer;
}
.address-content {
    flex: 1;
    line-height: 1.4;
    cursor: pointer;
}
.address-name {
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
}
.address-meta {
    color: #5f6368;
    font-size: 13px;
    margin-bottom: 2px;
}
.ma-billing-address {
    font-size: 14px;
    color: #707070;
}
.ma-rounded{
    border-radius: .5rem;
}
.address-content .address-icons{
    float: right;
}
.address-content .address-icons .dashicons {
    color: #ccc;
}
.address-content .address-icons .dashicons:hover{
    color: darkred;
}
.woocommerce.archive .sidebar .fcwpf-container .facetwp-type-checkboxes .facetwp-overflow  .facetwp-checkbox{
    display:block;
    margin: 0;
    width: 100%;
    padding-block: .5rem;
    padding-right: .5rem;
    border-radius: .125rem;
    border-bottom: 1px solid #f1f1f1;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .ma-birth-inline {
    box-sizing: border-box;
    width: calc(33.333% - 10px);
    margin-right: 15px;
    margin-bottom: 0;
    float: none;
    display: inline-block;
    vertical-align: bottom;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .ma-birth-inline.ma-birth-last {
    margin-right: 0;
}
.woocommerce-checkout .ma-birth-inline .select2-container {
    width: 100% !important;
}
@media (max-width: 640px) {
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper .ma-birth-inline {
        width: 100%;
        margin-right: 0;
        display: block;
    }
}


/** my account */
:root{
    --ma-brand: #48c2e0;
    --ma-brand-hover:#2fb2d3;
    --ma-text: #0e1116;
    --ma-muted:#5d6673;
    --ma-line:#eef1f4;
    --ma-card-border:#e7eaee;
    --ma-bg:#ffffff;
}


.ma-cards{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:16px;
    margin-top:10px;
}

.ma-card{
    background:var(--ma-bg);
    border:1px solid var(--ma-card-border);
    border-radius:12px;
    box-shadow:0 1px 1px rgba(0,0,0,.03);
    overflow:hidden;
    transition:box-shadow .2s ease, border-color .2s ease, transform .05s ease;
}
.ma-card:hover{
    border-color:#d9dde4;
    box-shadow:0 10px 28px rgba(0,0,0,.08);
}

.ma-card__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:14px 16px;
    border-bottom:1px solid var(--ma-line);
}
.ma-card__title{
    margin:0;
    font-weight:800;
    font-size:1.05rem;
    color:var(--ma-text);
}

.ma-card__actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}
.ma-btn--ghost{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:6px 12px;
    border-radius:8px;
    background:#e8eaee;
    border:1px solid #e8eaee;
    color:var(--ma-text);
    font-weight:700;
    font-size:.85rem;
    text-transform:none;
    line-height:1;
    cursor:pointer;
}
.ma-btn--ghost:hover{ background:#dfe3e8; border-color:#dfe3e8; }
.ma-btn--ghost.is-danger{ background:#f3e6e6; border-color:#f3e6e6; color:#9b1c1c; }
.ma-btn--ghost.is-danger:hover{ background:#ecd9d9; }

.ma-card__body{
    padding:12px 16px 16px;
    color:var(--ma-text);
    font-size:.95rem;
    line-height:1.45;
}
.ma-card__body .ma-line{ display:block; }


.ma-btn--brand{
    background:var(--ma-brand);
    color:#071018;
    border:0;
    padding:10px 14px;
    border-radius:8px;
    font-weight:800;
    letter-spacing:.02em;
    text-transform:uppercase;
    display:inline-flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
}
.ma-btn--brand:hover{ background:var(--ma-brand-hover); color:#050c12; }


.ma-modal{
    position:fixed; inset:0; z-index:100000; display:none;
}
.ma-modal[aria-hidden="false"]{ display:block; }

.ma-modal__backdrop{
    position:absolute; inset:0;
    background:rgba(0,0,0,.52);
    backdrop-filter:blur(1px);
    opacity:0; animation:maFade .15s ease forwards;
}

.ma-modal__dialog{
    position:relative; margin:8vh auto; width:min(720px,92vw);
    background:#fff; border-radius:14px; overflow:hidden;
    box-shadow:0 18px 60px rgba(0,0,0,.25);
    transform:translateY(12px) scale(.98);
    animation:maIn .18s ease forwards;
}

.ma-modal__header{
    display:flex; align-items:center; justify-content:space-between;
    gap:12px; padding:16px 20px; border-bottom:1px solid var(--ma-line);
}
.ma-modal__title{
    margin:0; font-size:1.2rem; font-weight:800; color:var(--ma-text);
}
.ma-modal__close{
    appearance:none; border:0; background:transparent; cursor:pointer;
    width:36px; height:36px; border-radius:8px;
}
.ma-modal__close:hover{ background:#f4f6f8; }

.ma-modal__body{
    padding:16px 20px;
    display:flex; flex-wrap:wrap; gap:14px 16px;
}


.ma-modal__body .ma-row{
    flex:1 1 100%;
    display:block;
}


.ma-modal__body .ma-row label{
    display:block; margin-bottom:6px;
    font-weight:700; font-size:.82rem; color:var(--ma-muted);
}
.ma-modal__body .ma-row input,
.ma-modal__body .ma-row select,
.ma-modal__body .ma-row textarea{
    width:100%;
    border:1px solid #dfe3e8;
    border-radius:10px;
    padding:10px 12px;
    font-size:.95rem;
    box-shadow:none; outline:none; background:#fff;
    transition:border-color .15s ease, box-shadow .15s ease;
}
.ma-modal__body .ma-row input:focus,
.ma-modal__body .ma-row select:focus,
.ma-modal__body .ma-row textarea:focus{
    border-color:var(--ma-brand);
    box-shadow:0 0 0 3px rgba(72,194,224,.2);
}

@media (min-width:720px){
    .ma-modal__body .ma-row--first_name,
    .ma-modal__body .ma-row--last_name,
    .ma-modal__body .ma-row--city,
    .ma-modal__body .ma-row--postcode,
    .ma-modal__body .ma-row--country,
    .ma-modal__body .ma-row--state,
    .ma-modal__body .ma-row--email,
    .ma-modal__body .ma-row--phone{
        flex:1 1 calc(50% - 8px);
    }
}

.ma-modal__footer{
    padding:16px 20px; border-top:1px solid var(--ma-line);
    display:flex; justify-content:flex-end; gap:10px;
}
.ma-modal__footer .button,
.ma-modal__footer .ma-btn--brand{ line-height:1; }
@keyframes maIn{
    to{ transform:translateY(0) scale(1); }
}
@keyframes maFade{
    to{ opacity:1; }
}
.woocommerce-account .ma-saved-addresses .ma-card .ma-row--company,
.woocommerce-account .ma-saved-addresses .ma-card .ma-row--country,
.woocommerce-account .ma-saved-addresses .ma-card .ma-row--email {
    display: none !important;
}
#multi-address-dropdown-wrapper .ma-box .ma-row--company,
#multi-address-dropdown-wrapper .ma-box .ma-row--country,
#multi-address-dropdown-wrapper .ma-box .ma-row--email {
    display: none !important;
}
#ma-address-form .ma-row--company,
#ma-address-form .ma-row--country,
#ma-address-form .ma-row--email{
    display: none !important;
}
.iti {
    width: 100%;
}
.iti__tel-input {
    width: 100%;
    padding-left: 90px !important;
}
.iti__flag-container {
    z-index: 1;
}
.ma-hidden-field {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}