:root {
    --co-mx-ink: #121212;
    --co-mx-muted: #5b5b5b;
    --co-mx-line: #d8d8d8;
    --co-mx-soft: #f6f6f4;
    --co-mx-gold: #f4b400;
    --co-mx-gold-dark: #8a5a00;
    --co-mx-white: #fff;
    --co-mx-danger: #b42318;
    --co-mx-radius: 14px;
    --co-mx-nav-h: 72px;
    --co-mx-fixed-z: 99980;
}

.co-mx-sr {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
}

.co-mx-progress {
    background: transparent;
    height: 3px;
    inset: 0 0 auto;
    pointer-events: none;
    position: fixed;
    z-index: 100100;
}

.co-mx-progress span {
    background: var(--co-mx-gold);
    box-shadow: 0 0 8px rgba(244, 180, 0, .45);
    display: block;
    height: 100%;
    opacity: 0;
    transform: scaleX(.08);
    transform-origin: left;
    transition: opacity .15s ease, transform 8s cubic-bezier(.1, .65, .2, 1);
}

.co-mx-loading .co-mx-progress span {
    opacity: 1;
    transform: scaleX(.92);
}

.co-mx-spinner {
    animation: co-mx-spin .75s linear infinite;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    height: 18px;
    margin-right: 8px;
    vertical-align: -3px;
    width: 18px;
}

@keyframes co-mx-spin { to { transform: rotate(360deg); } }

.co-mx-preview-ribbon {
    align-items: center;
    background: #fff7d6;
    border-bottom: 1px solid #e0b52d;
    color: #493700;
    display: flex;
    font: 600 14px/1.3 Inter, Arial, sans-serif;
    gap: 10px;
    justify-content: center;
    min-height: 38px;
    padding: 7px 16px;
    position: relative;
    z-index: 20;
}

.co-mx-preview-ribbon a { color: #493700; text-decoration: underline; }

#wpadminbar .co-mx-admin-on > .ab-item { background: #7a5300 !important; color: #fff !important; }

.co-mx-bottom-nav,
.co-mx-cart-bar,
.co-mx-checkout-bar { display: none; }

.co-mx-home-hidden { display: none !important; }

.co-mobile-ux-preview .co-qc-preview { display: none !important; }

.co-mx-filter-backdrop[hidden],
.co-mx-collapsible[hidden] { display: none !important; }

@media (max-width: 768px) {
    html { scroll-padding-top: calc(var(--co-header-h, 104px) + 16px); }

    body.co-mobile-ux-preview {
        color: var(--co-mx-ink);
        font-size: 16px;
        line-height: 1.55;
        padding-bottom: calc(var(--co-mx-nav-h) + env(safe-area-inset-bottom));
    }

    body.co-mobile-ux-preview.single-product { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
    body.co-mobile-ux-preview.woocommerce-cart,
    body.co-mobile-ux-preview.woocommerce-checkout { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }

    .co-mobile-ux-preview p,
    .co-mobile-ux-preview label,
    .co-mobile-ux-preview input,
    .co-mobile-ux-preview select,
    .co-mobile-ux-preview textarea,
    .co-mobile-ux-preview button { font-size: 16px; }

    .co-mobile-ux-preview small,
    .co-mobile-ux-preview .woocommerce-breadcrumb,
    .co-mobile-ux-preview .woocommerce-result-count,
    .co-mobile-ux-preview .co-product-card__meta { font-size: 14px !important; }

    .co-mobile-ux-preview a:focus-visible,
    .co-mobile-ux-preview button:focus-visible,
    .co-mobile-ux-preview input:focus-visible,
    .co-mobile-ux-preview select:focus-visible,
    .co-mobile-ux-preview summary:focus-visible,
    .co-mobile-ux-preview [tabindex]:focus-visible {
        outline: 3px solid #1669d7 !important;
        outline-offset: 3px !important;
    }

    .co-mx-preview-ribbon {
        align-items: flex-start;
        flex-wrap: wrap;
        font-size: 13px;
        gap: 2px 8px;
        justify-content: flex-start;
        padding: 7px 12px;
    }

    .co-mx-preview-ribbon strong { flex-basis: 100%; }

    .co-site-header .co-header-main { min-height: 58px; }

    .co-site-header .co-header-actions {
        align-items: center;
        display: flex;
        gap: 8px;
    }

    .co-mx-bottom-nav {
        align-items: stretch;
        background: var(--co-mx-white);
        border-top: 1px solid var(--co-mx-line);
        bottom: 0;
        box-shadow: 0 -5px 22px rgba(0, 0, 0, .09);
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        left: 0;
        min-height: var(--co-mx-nav-h);
        padding: 4px 4px env(safe-area-inset-bottom);
        position: fixed;
        right: 0;
        z-index: var(--co-mx-fixed-z);
    }

    .co-mx-bottom-nav a,
    .co-mx-bottom-nav button {
        align-items: center;
        background: transparent;
        border: 0;
        border-radius: 10px;
        color: #4c4c4c;
        display: flex;
        flex-direction: column;
        font: 700 12px/1.15 Inter, Arial, sans-serif;
        gap: 2px;
        justify-content: center;
        min-height: 56px;
        min-width: 0;
        padding: 5px 2px;
        position: relative;
        text-decoration: none;
    }

    .co-mx-bottom-nav svg {
        fill: none;
        height: 23px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.9;
        width: 23px;
    }

    .co-mx-bottom-nav .is-current {
        background: #fff7d6;
        color: var(--co-mx-ink);
    }

    .co-mx-bottom-nav .is-current:after {
        background: var(--co-mx-gold-dark);
        border-radius: 2px;
        content: '';
        height: 3px;
        left: 22%;
        position: absolute;
        right: 22%;
        top: 1px;
    }

    .co-mx-bottom-nav b {
        align-items: center;
        background: var(--co-mx-danger);
        border: 2px solid #fff;
        border-radius: 999px;
        color: #fff;
        display: flex;
        font-size: 10px;
        height: 19px;
        justify-content: center;
        min-width: 19px;
        padding: 0 4px;
        position: absolute;
        right: 15%;
        top: 3px;
    }

    /* Homepage: eight clear shopping sections with the first action visible. */
    .cohp[data-co-mx-home="1"] { padding-top: 0 !important; }
    .cohp[data-co-mx-home="1"] [hidden] { display: none !important; }
    .cohp[data-co-mx-home="1"] > section { margin-block: 0 !important; padding-block: 28px !important; }
    .cohp[data-co-mx-home="1"] > section + section { border-top: 1px solid #ececec; }
    .cohp[data-co-mx-home="1"] .co-mx-home-first { padding-top: 18px !important; }
    .cohp[data-co-mx-home="1"] .cohp-hero { min-height: 0 !important; padding: 12px 0 24px !important; }
    .cohp[data-co-mx-home="1"] .cohp-hero-inner,
    .cohp[data-co-mx-home="1"] .cohp-slide { min-height: 390px !important; }
    .cohp[data-co-mx-home="1"] .cohp-hero h2 { font-size: clamp(30px, 9vw, 40px) !important; line-height: 1.05 !important; }
    .cohp[data-co-mx-home="1"] .cohp-sec h2 { font-size: 26px !important; line-height: 1.15 !important; margin-bottom: 12px !important; }
    .cohp[data-co-mx-home="1"] .cohp-sec-head { margin-bottom: 16px !important; }
    .cohp[data-co-mx-home="1"] #cohp-conditions .cohp-trust { margin-top: 24px !important; padding: 14px 0 !important; }
    .cohp[data-co-mx-home="1"] .cohp-sticky { bottom: calc(var(--co-mx-nav-h) + env(safe-area-inset-bottom)) !important; }

    /* Search suggestions: compact rows without description paragraphs. */
    .co-mobile-ux-preview .aws-search-result { max-height: min(64vh, 520px) !important; }
    .co-mobile-ux-preview .aws-search-result .aws_result_item {
        align-items: center !important;
        display: grid !important;
        gap: 3px 10px !important;
        grid-template-columns: 64px 1fr !important;
        min-height: 82px !important;
        padding: 9px 12px !important;
    }
    .co-mobile-ux-preview .aws-search-result .aws_result_image { grid-row: 1 / span 4; height: 64px !important; width: 64px !important; }
    .co-mobile-ux-preview .aws-search-result .aws_result_title { font-size: 15px !important; line-height: 1.25 !important; }
    .co-mobile-ux-preview .aws-search-result .aws_result_excerpt,
    .co-mobile-ux-preview .aws-search-result .aws_result_desc { display: none !important; }
    .co-mobile-ux-preview .aws-search-result .aws_result_price,
    .co-mobile-ux-preview .aws-search-result .aws_result_stock { font-size: 14px !important; }

    /* Shop and category discovery. */
    .co-mobile-ux-preview .woocommerce-products-header__title.page-title {
        display: block !important;
        font-size: 30px !important;
        line-height: 1.15 !important;
        margin: 12px 0 8px !important;
    }

    .co-mobile-ux-preview .filterclick { display: none !important; }
    .co-mobile-ux-preview.term-cellphones .post-116320[hidden] { display: none !important; }

    .co-mx-filter-trigger {
        align-items: center;
        background: var(--co-mx-ink);
        border: 2px solid var(--co-mx-ink);
        border-radius: 12px;
        color: #fff;
        display: inline-flex;
        font-weight: 800;
        gap: 9px;
        justify-content: center;
        margin: 10px 8px 12px 0;
        min-height: 48px;
        padding: 9px 16px;
    }

    .co-mx-filter-trigger svg { fill: none; height: 22px; stroke: currentColor; stroke-width: 2; width: 22px; }

    .co-mobile-ux-preview .woocommerce-ordering select {
        font-size: 16px !important;
        min-height: 48px !important;
        padding: 8px 36px 8px 12px !important;
    }

    .co-mx-filter-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin: 0 0 12px;
    }

    .co-mx-filter-chips span {
        background: #fff7d6;
        border: 1px solid #d6a91d;
        border-radius: 999px;
        color: #473600;
        font-size: 14px;
        font-weight: 700;
        padding: 6px 10px;
    }

    body.co-mx-filter-open { overflow: hidden !important; }

    .co-mx-filter-backdrop {
        align-items: flex-end;
        background: rgba(0, 0, 0, .48);
        display: flex;
        inset: 0;
        padding-top: 56px;
        position: fixed;
        z-index: 100200;
    }

    .co-mx-filter-sheet {
        background: #fff;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, .18);
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        max-height: calc(100dvh - 44px);
        width: 100%;
    }

    .co-mx-filter-sheet > header,
    .co-mx-filter-sheet > footer {
        align-items: center;
        background: #fff;
        display: flex;
        gap: 10px;
        justify-content: space-between;
        padding: 12px 16px;
    }

    .co-mx-filter-sheet > header { border-bottom: 1px solid var(--co-mx-line); }
    .co-mx-filter-sheet > footer { border-top: 1px solid var(--co-mx-line); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    .co-mx-filter-sheet h2 { font-size: 22px !important; margin: 0 !important; }

    .co-mx-filter-close {
        background: var(--co-mx-soft);
        border: 0;
        border-radius: 999px;
        height: 48px;
        line-height: 1;
        min-width: 48px;
    }

    .co-mx-filter-content { overflow: auto; padding: 16px; }
    .co-mx-filter-content .sidebar-area { display: block !important; float: none !important; margin: 0 !important; width: 100% !important; }
    .co-mx-filter-content #secondary { display: block !important; width: 100% !important; }

    .co-mx-filter-clear,
    .co-mx-filter-apply {
        border-radius: 12px;
        font-weight: 800;
        min-height: 50px;
        padding: 10px 14px;
    }
    .co-mx-filter-clear { background: #fff; border: 2px solid var(--co-mx-ink); color: var(--co-mx-ink); }
    .co-mx-filter-apply { background: var(--co-mx-gold); border: 2px solid var(--co-mx-gold); color: #111; flex: 1; }

    .co-mobile-ux-preview .co-product-card h2,
    .co-mobile-ux-preview .co-product-card h3,
    .co-mobile-ux-preview .co-product-card__title { font-size: 16px !important; line-height: 1.35 !important; }
    .co-mobile-ux-preview .co-product-card a.button,
    .co-mobile-ux-preview .co-product-card__button { align-items: center; display: inline-flex; font-size: 15px !important; justify-content: center; min-height: 48px !important; }

    /* Product: identity, gallery, price, choices, action, and detail. */
    .co-mobile-ux-preview .co-bb-main.co-mx-product-order { display: flex !important; flex-direction: column !important; }
    .co-mobile-ux-preview .co-bb-main.co-mx-product-order > .co-bb-summary,
    .co-mobile-ux-preview .co-bb-main.co-mx-product-order > .co-bb-left { display: contents !important; }
    .co-mobile-ux-preview .co-bb-summary > .co-bb-product-info { order: 1 !important; }
    .co-mobile-ux-preview .co-bb-left > .co-bb-media { order: 2 !important; }
    .co-mobile-ux-preview .co-bb-summary > .co-bb-buybox { order: 3 !important; }
    .co-mobile-ux-preview .co-bb-summary > .co-bb-options,
    .co-mobile-ux-preview .co-bb-left > .co-bb-overview--gallery { order: 4 !important; }
    .co-mobile-ux-preview .co-bb-title-block h1 { font-size: clamp(25px, 7vw, 32px) !important; line-height: 1.12 !important; margin-bottom: 8px !important; }
    .co-mobile-ux-preview .co-bb-badge-row { margin-bottom: 8px !important; }
    .co-mobile-ux-preview .co-bb-price { font-size: 26px !important; margin-bottom: 10px !important; }
    .co-mobile-ux-preview .co-bb-options { margin: 8px 0 12px !important; }
    .co-mobile-ux-preview .co-bb-option-row { margin-bottom: 12px !important; }
    .co-mobile-ux-preview .co-bb-option-row button,
    .co-mobile-ux-preview .co-bb-option-row label { min-height: 48px !important; min-width: 48px !important; }
    .co-mobile-ux-preview .co-bb-buy-actions { align-items: stretch !important; display: grid !important; gap: 10px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin: 10px 0 14px !important; width: 100% !important; }
    .co-mobile-ux-preview .co-bb-action-button { align-items: center; box-sizing: border-box; display: flex; font-size: 16px !important; font-weight: 800 !important; justify-content: center; margin: 0 !important; min-height: 52px !important; min-width: 0 !important; width: 100% !important; }
    .co-mobile-ux-preview button.co-bb-action-button--buy,
    .co-mobile-ux-preview button.co-bb-action-button--cart { display: flex !important; }
    .co-mobile-ux-preview .co-bb-left .co-bb-media { margin-top: 8px !important; }
    .co-mobile-ux-preview .co-bb-overview--gallery { margin-top: 16px !important; }
    .co-mobile-ux-preview .co-bb-overview-body { font-size: 16px !important; }

    .co-mx-detail-toggle {
        align-items: center;
        background: #fff;
        border: 0;
        border-top: 1px solid var(--co-mx-line);
        color: var(--co-mx-ink);
        display: flex;
        font-weight: 750;
        justify-content: space-between;
        min-height: 50px;
        padding: 10px 2px;
        touch-action: manipulation;
        text-align: left;
        width: 100%;
    }
    .co-mx-detail-toggle > span { pointer-events: none; }
    .co-mx-detail-toggle[aria-expanded="true"] span:last-child { transform: none; }
    .co-mx-collapsible { margin: 0 0 12px !important; padding-bottom: 10px !important; }
    .co-mobile-ux-preview.single-product .co-bb-buybox .co-mx-collapsible[hidden] { display: none !important; }
    .co-mobile-ux-preview .co-bb-financing.co-mx-inline-accordion,
    .co-mobile-ux-preview .co-bb-surebright.co-mx-inline-accordion { display: block !important; }
    .co-mobile-ux-preview .co-mx-inline-accordion > .co-mx-detail-toggle { border-top: 0; padding-inline: 0; }
    .co-mobile-ux-preview .co-bb-financing > .co-mx-collapsible:not([hidden]) {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
    }
    .co-mobile-ux-preview .co-bb-surebright > .co-mx-collapsible:not([hidden]) {
        align-items: center;
        display: flex !important;
        gap: 10px;
    }

    .co-mobile-ux-preview .co-bb-sticky-actions,
    .co-mobile-ux-preview .co-bb-sticky-purchase,
    .co-mobile-ux-preview .co-bb-sticky,
    .co-mobile-ux-preview [data-co-sticky-purchase] {
        bottom: 0 !important;
        display: flex !important;
        min-height: calc(72px + env(safe-area-inset-bottom)) !important;
        opacity: 1 !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
        pointer-events: auto !important;
        transform: none !important;
        visibility: visible !important;
        z-index: var(--co-mx-fixed-z) !important;
    }
    .co-mobile-ux-preview .co-bb-sticky-button { font-size: 16px !important; min-height: 50px !important; }

    /* Cart and checkout keep one fixed bottom owner. */
    .co-mx-cart-bar,
    .co-mx-checkout-bar {
        align-items: center;
        background: #fff;
        border-top: 1px solid var(--co-mx-line);
        bottom: 0;
        box-shadow: 0 -6px 24px rgba(0, 0, 0, .11);
        display: flex;
        gap: 14px;
        justify-content: space-between;
        left: 0;
        min-height: 78px;
        padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
        position: fixed;
        right: 0;
        z-index: var(--co-mx-fixed-z);
    }

    .co-mx-cart-bar > div,
    .co-mx-checkout-bar > div { display: flex; flex-direction: column; min-width: 105px; }
    .co-mx-cart-bar small,
    .co-mx-checkout-bar small { color: var(--co-mx-muted); font-size: 12px !important; line-height: 1.1; }
    .co-mx-cart-bar strong,
    .co-mx-checkout-bar strong { color: var(--co-mx-ink); font-size: 18px; line-height: 1.25; }

    .co-mx-cart-bar .co-mx-primary,
    .co-mx-checkout-next {
        align-items: center;
        background: var(--co-mx-gold);
        border: 2px solid var(--co-mx-gold);
        border-radius: 12px;
        color: #111;
        display: flex;
        flex: 1;
        font-weight: 850;
        justify-content: center;
        min-height: 52px;
        padding: 10px 18px;
        text-decoration: none;
    }

    .co-mobile-ux-preview .grecaptcha-badge { bottom: calc(86px + env(safe-area-inset-bottom)) !important; }

    .co-mx-checkout-steps {
        background: #fff;
        border: 1px solid var(--co-mx-line);
        border-radius: 14px;
        display: grid;
        gap: 1px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin: 12px 0 18px;
        overflow: hidden;
    }

    .co-mx-step {
        align-items: center;
        background: var(--co-mx-soft);
        border: 0;
        color: #575757;
        display: flex;
        flex-direction: column;
        gap: 5px;
        justify-content: flex-start;
        min-height: 76px;
        padding: 8px 4px;
        text-align: center;
    }

    .co-mx-step b {
        align-items: center;
        background: #ddd;
        border-radius: 50%;
        display: flex;
        height: 27px;
        justify-content: center;
        width: 27px;
    }

    .co-mx-step > span { font-size: 12px; font-weight: 750; line-height: 1.15; }
    .co-mx-step.is-active { background: #fff7d6; color: var(--co-mx-ink); }
    .co-mx-step.is-active b { background: var(--co-mx-gold); color: #111; }
    .co-mx-step.is-complete b { background: #18794e; color: #fff; }
    .co-mx-step.is-complete b:before { content: '✓'; }
    .co-mx-step.is-complete b { font-size: 0; }
    .co-mx-step.is-complete b:before { font-size: 15px; }
    .co-mx-step.is-complete > span:after { content: 'Edit'; display: block; font-size: 10px; text-decoration: underline; }
    .co-mx-step-summary { display: block; font-size: 10px !important; font-weight: 500; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; }

    .co-mobile-ux-preview form.checkout { display: block !important; }
    .co-mobile-ux-preview form.checkout .co-checkout-left-stack,
    .co-mobile-ux-preview form.checkout .co-checkout-right-stack { display: block !important; width: 100% !important; }
    .co-mobile-ux-preview form.checkout [hidden] { display: none !important; }
    .co-mobile-ux-preview form.checkout .co-mx-stage-active { animation: co-mx-stage-in .2s ease both; }
    .co-mobile-ux-preview form.checkout .form-row { margin-bottom: 14px !important; }
    .co-mobile-ux-preview form.checkout input.input-text,
    .co-mobile-ux-preview form.checkout select,
    .co-mobile-ux-preview form.checkout .select2-selection { min-height: 50px !important; }
    .co-mobile-ux-preview form.checkout label { font-size: 16px !important; }
    .co-mobile-ux-preview form.checkout #place_order { min-height: 52px !important; width: 100% !important; }

    .co-mx-marketing {
        background: var(--co-mx-soft);
        border: 1px solid var(--co-mx-line);
        border-radius: 12px;
        clear: both;
        margin: 8px 0 18px;
        padding: 0 14px;
    }
    .co-mx-marketing summary { cursor: pointer; font-weight: 750; min-height: 50px; padding: 13px 0; }
    .co-mx-marketing-body { border-top: 1px solid var(--co-mx-line); padding: 14px 0 2px; }
    .co-mx-marketing:not([open]) .co-mx-marketing-body { display: none !important; }
    .co-mx-marketing-body p { font-size: 14px !important; line-height: 1.45 !important; }
    .co-mx-consent-secondary { display: none !important; }

    .co-mobile-ux-preview #order_review[aria-busy="true"] { position: relative; }
    .co-mobile-ux-preview #order_review[aria-busy="true"]:before {
        background: rgba(255, 255, 255, .92);
        color: var(--co-mx-ink);
        content: 'Updating delivery and total...';
        font-size: 14px;
        font-weight: 750;
        inset: 0 0 auto;
        padding: 12px;
        position: absolute;
        text-align: center;
        z-index: 4;
    }

    @keyframes co-mx-stage-in { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 360px) {
    .co-site-header .co-header-actions { gap: 4px; }
    .co-mx-bottom-nav a,
    .co-mx-bottom-nav button { font-size: 11px; }
    .co-mx-step > span { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .co-mobile-ux-preview *,
    .co-mobile-ux-preview *::before,
    .co-mobile-ux-preview *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
    .co-mx-progress span { transition: none !important; }
}
