
      /* popular category  */
.category-slider-wrapper {
    overflow: hidden;
    width: 100%;
    background: #f9f9f9;
    padding: 20px 0;
}

.category-slider {
    display: flex;
    width: calc(200%); /* double width because we duplicate items */
    animation: scroll-right 20s linear infinite;
}
.category-item {
    flex: 0 0 auto;
    width: 180px; /* adjust width */
    margin-right: 20px;
    text-align: center;
}
@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.category-slider-wrapper:hover .category-slider {
    animation-play-state: paused;
}


      /* Custom Styles */
        .hide-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .hide-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .masonry-grid {
            column-count: 2;
            column-gap: 1.5rem;
        }
        @media (min-width: 768px) {
            .masonry-grid {
                column-count: 3;
            }
        }
        @media (min-width: 1024px) {
            .masonry-grid {
                column-count: 4;
            }
        }
        .masonry-item {
            break-inside: avoid;
            margin-bottom: 1.5rem;
        }
        
        /* Custom Form Inputs */
        .radio-card-input:checked + .radio-card {
            border-color: #FF007F;
            background-color: #FFF0F7;
            color: #FF007F;
            box-shadow: 0 4px 12px rgba(255, 0, 127, 0.15);
        }
        .radio-card-input:checked + .radio-card .check-icon {
            opacity: 1;
            transform: scale(1);
        }

        /* Cart Drawer Animation */
        .cart-drawer {
            transition: transform 0.5s ease-in-out;
            transform: translateX(100%);
        }
        .cart-drawer.open {
            transform: translateX(0);
        }

        /* Hero Overlay Gradient */
        .hero-overlay {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
        }

        /* Animation classes */
        .fade-in { animation: fadeIn 0.5s ease-out forwards; }
        .slide-up { animation: slideUp 0.5s ease-out forwards; }
        .pulse-badge { animation: pulseBadge 2s infinite; }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes pulseBadge {
            0% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.7); }
            70% { box-shadow: 0 0 0 6px rgba(255, 0, 127, 0); }
            100% { box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
        }
    /* popular category slomo */

#autoSlider {
    animation: scrollSlide 25s linear infinite;
}

#autoSlider:hover {
    animation-play-state: paused;
}

@keyframes scrollSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* No scrollbar */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.adm-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    align-items: center;
    margin-left: 24px;
}

/* shared action button shell */
.adm-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    color: #444;
    transition: background 0.15s, color 0.15s;
    position: relative;
}

    .adm-action-btn:hover {
        background: #fdf2f8;
        color: #EC008C;
    }

    .adm-action-btn i {
        font-size: 20px;
        line-height: 1;
    }

.adm-action-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: inherit;
    line-height: 1;
}

/* Cart badge */
.adm-cart-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #EC008C;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}

/* Divider between actions */
.adm-action-divider {
    width: 1px;
    height: 32px;
    background: #efefef;
    flex-shrink: 0;
    margin: 0 2px;
}

/* Mobile toggle */
.adm-mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 18px;
    color: #475569;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
    margin-left: 8px;
}

    .adm-mobile-toggle:hover {
        background: #fdf2f8;
        color: #EC008C;
    }

@media (max-width: 900px) {
    .adm-action-btn.adm-help {
        display: none;
    }

    .adm-action-divider {
        display: none;
    }

    .adm-mobile-toggle {
        display: flex;
    }
}

.adm-help {
    text-align: center;
}

.adm-help-link {
    color: #555;
    font-size: 22px;
    display: block;
    transition: color .15s;
}

    .adm-help-link:hover {
        color: #EC008C;
    }

.adm-cart {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    padding: 4px;
    transition: color .15s;
}

    .adm-cart:hover {
        color: #EC008C;
    }

.adm-cart-badge {
    position: absolute;
    top: -7px;
    right: -6px;
    background: #EC008C;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adm-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: #333;
    padding: 4px;
}

.adm-help-label, span.adm-cart-label {
    font-size: 11px;
    color: #999;
    display: block;
    margin-bottom: 3px;
}

/* Track Order */

.track-bg {
    background: linear-gradient(135deg,#f8fafc 0%,#f0f9ff 50%,#fdf4ff 100%);
}

@@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-1 {
    animation: fadeUp 0.4s ease 0.05s both;
}

.anim-2 {
    animation: fadeUp 0.4s ease 0.15s both;
}

.anim-3 {
    animation: fadeUp 0.4s ease 0.25s both;
}

.anim-4 {
    animation: fadeUp 0.4s ease 0.35s both;
}

/* Progress bar */
.progress-track {
    position: relative;
    height: 4px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 24px;
}

.progress-fill {
    position: absolute;
    inset-y: 0;
    left: 0;
    background: linear-gradient(90deg,#6366f1,#e91e63);
    border-radius: 99px;
    transition: width 0.8s ease;
}

/* Step dots row */
.steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.step-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1;
    position: relative;
    transition: all 0.3s;
}

    .step-dot.done {
        background: #10b981;
        color: #fff;
        box-shadow: 0 4px 12px rgba(16,185,129,0.3);
    }

    .step-dot.active {
        background: #e91e63;
        color: #fff;
        box-shadow: 0 4px 16px rgba(233,30,99,0.35);
    }

    .step-dot.future {
        background: #f1f5f9;
        color: #cbd5e1;
    }

/* Connector line between dots */
.step-col::before {
    content: '';
    position: absolute;
    top: 18px;
    left: calc(-50%);
    width: 100%;
    height: 3px;
    background: #f1f5f9;
    z-index: 0;
}

.step-col:first-child::before {
    display: none;
}

.step-col.done::before {
    background: linear-gradient(90deg,#10b981,#10b981);
}

.step-col.active::before {
    background: linear-gradient(90deg,#10b981,#e91e63);
}

.step-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 8px;
    line-height: 1.3;
}

    .step-label.done {
        color: #059669;
    }

    .step-label.active {
        color: #e91e63;
    }

    .step-label.future {
        color: #cbd5e1;
    }

/* Timeline */
.timeline-line {
    position: absolute;
    left: 17px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #f1f5f9;
}

.timeline-item {
    display: flex;
    gap: 20px;
    position: relative;
    padding-bottom: 28px;
}

    .timeline-item:last-child {
        padding-bottom: 0;
    }

.tl-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

    .tl-dot.done {
        background: #ecfdf5;
        color: #059669;
        border: 2px solid #d1fae5;
    }

    .tl-dot.active {
        background: #e91e63;
        color: #fff;
        box-shadow: 0 4px 14px rgba(233,30,99,0.3);
    }

    .tl-dot.future {
        background: #f9fafb;
        color: #e2e8f0;
        border: 2px solid #f1f5f9;
    }

.tl-content {
    flex: 1;
    padding-top: 6px;
}

/* Summary card */
.item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
    transition: background 0.15s, transform 0.15s;
    text-decoration: none;
}

    .btn-whatsapp:hover {
        background: #22c55e;
        transform: translateY(-1px);
    }

.badge-step {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Image gallery ───────────────────────────────────── */
#mainImage {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: opacity .3s ease, transform .45s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}

    #mainImage.is-swapping {
        opacity: 0;
        transform: scale(.985);
    }

.thumb-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.15s;
}

    .thumb-item:hover {
        border-color: #e91e63;
        transform: scale(1.04);
    }

    .thumb-item.active {
        border-color: #e91e63;
    }

    .thumb-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ── Tabs ────────────────────────────────────────────── */
.tab-btn {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 2px solid transparent;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

    .tab-btn.active {
        color: #0f172a;
        border-bottom-color: #ff007f;
    }

    .tab-btn:hover:not(.active) {
        color: #475569;
    }

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-item {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

    .faq-item summary {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        cursor: pointer;
        background: #fff;
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
        transition: background 0.12s;
    }

        .faq-item summary:hover {
            background: #f8fafc;
        }

    .faq-item[open] summary {
        border-bottom: 1px solid #f1f5f9;
    }

        .faq-item[open] summary .faq-chevron {
            transform: rotate(180deg);
        }

.faq-chevron {
    transition: transform 0.25s;
    color: #94a3b8;
    flex-shrink: 0;
}

.faq-body {
    padding: 16px 20px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.7;
    background: #fafbfc;
}

/* ── Option selects ──────────────────────────────────── */
.opt-select {
    width: 100%;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

    .opt-select:focus {
        border-color: #e91e63;
        box-shadow: 0 0 0 3px rgba(233,30,99,0.08);
    }

/* ── Qty stepper ─────────────────────────────────────── */
.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-size: 18px;
    font-weight: 800;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

    .qty-btn:hover {
        background: #e91e63;
        border-color: #e91e63;
        color: #fff;
    }

/* ── Upload box ──────────────────────────────────────── */
.upload-box {
    border: 2px dashed #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s;
}

    .upload-box:hover {
        border-color: #e91e63;
        background: #fff8fc;
    }

    .upload-box.has-file {
        border-color: #10b981;
        background: #f0fdf4;
    }

/* ── Design brief card ───────────────────────────────── */
.design-card-wrap {
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

    .design-card-wrap:hover {
        border-color: #e91e63;
        box-shadow: 0 4px 20px rgba(233,30,99,0.08);
    }

    .design-card-wrap.checked {
        border-color: #e91e63;
    }

.design-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
}

    .design-check.on {
        border-color: #e91e63;
        background: #e91e63;
    }

        .design-check.on i {
            opacity: 1;
        }

    .design-check i {
        font-size: 9px;
        color: #fff;
        opacity: 0;
    }

/* ── Add to cart btn ─────────────────────────────────── */
.btn-cart {
    width: 100%;
    padding: 17px;
    border-radius: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 28px rgba(233,30,99,0.25);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .btn-cart:hover {
        background: #c2185b;
        transform: translateY(-1px);
        box-shadow: 0 12px 32px rgba(233,30,99,0.3);
    }

    .btn-cart:active {
        transform: translateY(0);
    }

/* ── Price display ───────────────────────────────────── */
.price-badge {
    background: linear-gradient(135deg,#fff0f6,#fdf4ff);
    border: 1px solid #fce7f3;
    border-radius: 16px;
    padding: 16px 20px;
}

/* ── Sticky sidebar ──────────────────────────────────── */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

/* ── Slider ──────────────────────────────────────────── */
.slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #64748b;
    transition: all 0.15s;
}

    .slider-btn:hover {
        background: #e91e63;
        border-color: #e91e63;
        color: #fff;
    }

/* ── Template download ───────────────────────────────── */
.dl-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border: 1.5px solid #f1f5f9;
    border-radius: 14px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s, background 0.15s;
}

    .dl-btn:hover {
        border-color: #e91e63;
        background: #fff8fc;
    }

/* ── Related product card ────────────────────────────── */
.related-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.2s, transform 0.2s;
}

    .related-card:hover {
        box-shadow: 0 12px 32px rgba(0,0,0,0.08);
        transform: translateY(-3px);
    }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim {
    animation: fadeUp 0.4s ease both;
}

/* Drawer shell */
#cartDrawer {
    background: #f8fafc;
    box-shadow: -20px 0 60px rgba(0,0,0,0.12);
}

/* Item card */
.cart-item-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    padding: 14px;
    transition: box-shadow 0.15s;
}

    .cart-item-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    }

/* Qty button */
.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

    .qty-btn:hover {
        background: #ff007f;
        border-color: #ff007f;
        color: #fff;
    }

/* Remove btn */
.remove-btn {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #fef2f2;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    cursor: pointer;
    transition: background 0.15s;
}

    .remove-btn:hover {
        background: #fee2e2;
        color: #ef4444;
    }

/* Checkout btn */
.checkout-btn {
    display: block;
    width: 100%;
    background: #ff007f;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.03em;
    padding: 16px;
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(233,30,99,0.25);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

    .checkout-btn:hover {
        background: #c2185b;
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(233,30,99,0.3);
    }

/* Scrollbar */
#cartItems::-webkit-scrollbar {
    width: 4px;
}

#cartItems::-webkit-scrollbar-track {
    background: transparent;
}

#cartItems::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 99px;
}

/* Open state */
#cartDrawer.open {
    transform: translateX(0);
}

#cartOverlay.open {
    opacity: 1;
}

.cart-bg {
    background: linear-gradient(135deg,#f8fafc 0%,#f0f9ff 100%);
}

/* Item card */
.cart-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 20px;
    transition: box-shadow 0.18s;
}

    .cart-card:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    }

/* Qty buttons */
.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-size: 16px;
    font-weight: 800;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

    .qty-btn:hover {
        background: #ff007f;
        border-color: #ff007f;
        color: #fff;
    }

/* Remove btn */
.remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef2f2;
    color: red;
    border: none;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

    .remove-btn:hover {
        background: #fee2e2;
        color: #ef4444;
    }

/* Edit btn */
.edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eff6ff;
    color: #3b82f6;
    border: none;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

    .edit-btn:hover {
        background: #dbeafe;
    }

/* Summary card */
.summary-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 28px;
    position: sticky;
    top: 100px;
}

/* Checkout btn */
.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #ff007f;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.03em;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(233,30,99,0.22);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

    .checkout-btn:hover {
        background: #c2185b;
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(233,30,99,0.28);
    }

.opt-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

/* Edit Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.5);
    backdrop-filter: blur(4px);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

    .modal-overlay.open {
        display: flex;
    }

.modal-card {
    background: #fff;
    border-radius: 24px;
    padding: 32px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
    animation: popIn 0.2s ease;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.15s;
}

    .modal-input:focus {
        border-color: #ff007f;
    }

.modal-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #9ca3af;
    margin-bottom: 8px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-card {
    animation: fadeUp 0.3s ease both;
}

.cart-card:nth-child(2) {
    animation-delay: 0.05s;
}

.cart-card:nth-child(3) {
    animation-delay: 0.10s;
}

.cart-card:nth-child(4) {
    animation-delay: 0.15s;
}







/*   TOP SEARCH BAR */


/* ── RESET ── */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ── TOPBAR ── */
.adm-topbar {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* ── LOGO ── */
.adm-logo {
    flex-shrink: 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.adm-logo-wordmark {
    display: flex;
    align-items: flex-end;
    gap: 0;
}

.adm-logo-text {
    font-size: 30px;
    font-weight: 900;
    color: #222;
    letter-spacing: -1px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.adm-logo-triangle {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 30px solid #EC008C;
    margin: 0 1px -2px;
}

.adm-logo-sub {
    font-size: 8px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin-top: 2px;
}

/* ── SEARCH ── */
.adm-search-wrap {
    flex: 1;
    display: flex;
    max-width: 1080px;
    margin: 0 auto;
}

.adm-search-input {
    flex: 1;
    border: 2px solid #EC008C;
    border-right: none;
    border-radius: 50px 0 0 50px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    outline: none;
    background: #fff;
    transition: box-shadow .2s;
}

.adm-search-input:focus {
    box-shadow: 0 0 0 4px rgba(236,0,140,.08);
}

.adm-search-input::placeholder {
    color: #aaa;
    font-weight: 400;
}

.adm-search-btn {
    background: #EC008C;
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 12px 36px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}

.adm-search-btn:hover {
    background: #c2006b;
}

.fa.fa-headphones {
    font-size: 29px !important;
}

.fas.fa-shopping-cart {
    font-size: 24px !important;
}

/* ── SEARCH DROPDOWN ── */
.adm-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    z-index: 999;
    overflow: hidden;
    display: none;
    animation: admDropIn .18s ease;
}

.adm-search-dropdown.open {
    display: block;
}

@keyframes admDropIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.adm-dd-section {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #94a3b8;
    padding: 12px 16px 6px;
    border-bottom: 1px solid #f8fafc;
}

.adm-dd-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    text-decoration: none;
    transition: background .12s;
    cursor: pointer;
}

.adm-dd-category:hover {
    background: #fdf2f8;
}

.adm-dd-cat-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #fdf2f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adm-dd-cat-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.adm-dd-cat-arrow {
    margin-left: auto;
    color: #EC008C;
    font-size: 11px;
}

.adm-dd-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    transition: background .12s;
}

.adm-dd-product:hover {
    background: #f8fafc;
}

.adm-dd-prod-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f1f5f9;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adm-dd-prod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adm-dd-prod-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.adm-dd-prod-price {
    font-size: 11px;
    font-weight: 800;
    color: #EC008C;
    margin-top: 1px;
}

.adm-dd-badge {
    margin-left: auto;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 2px 8px;
    border-radius: 50px;
    background: #fdf2f8;
    color: #EC008C;
    flex-shrink: 0;
}

.adm-dd-loading, .adm-dd-empty {
    padding: 20px 16px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.adm-dd-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #f1f5f9;
    border-top-color: #EC008C;
    border-radius: 50%;
    animation: admSpin .6s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes admSpin {
    to {
        transform: rotate(360deg);
    }
}

.adm-dd-footer {
    border-top: 1px solid #f1f5f9;
    padding: 10px 16px;
    text-align: center;
}

.adm-dd-footer a {
    font-size: 12px;
    font-weight: 800;
    color: #EC008C;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.adm-dd-footer a:hover {
    text-decoration: underline;
}

.adm-dd-highlight {
    color: #EC008C;
    font-weight: 900;
}

/* ── NAV BAR ── */
.adm-navrow {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
}

.adm-navrow-inner {
    align-items: stretch;
    justify-content: center;
}

/* ── NAV ITEM ── */
.adm-nav-item {
    position: static;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adm-nav-item:not(:last-child) {
    /* border-right: 1px solid #efefef; */
}

.adm-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: #2d2d2d;
    text-align: center;
    line-height: 1.6;
    width: 100%;
    transition: color .15s;
    font-family: inherit;
    white-space: normal;
}

    .adm-nav-btn:hover {
        color: #EC008C;
    }

.adm-nav-item.adm-active .adm-nav-btn {
    color: #EC008C;
}

/* ── MEGA PANEL ── */
.adm-mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 3px solid #EC008C;
    box-shadow: 0 20px 60px rgba(0,0,0,.13);
    z-index: 500;
    animation: admMegaIn .18s ease;
}

.adm-nav-item.adm-hover-open .adm-mega-panel {
    display: block;
}

@keyframes admMegaIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.adm-mega-inner {
    margin: 0 auto;
    padding: 25px 25px 10px;
    display: flex;
    gap: 0;
}

/* ── MEGA COLUMNS ── */
.adm-mega-col {
    flex: 1;
    padding: 0 28px 0 0;
    margin-right: 28px;
}

    .adm-mega-col:last-of-type {
        border-right: none;
        margin-right: 0;
    }

.adm-col-heading {
    font-size: 10.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #EC008C;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 2px solid #fdf2f8;
    white-space: nowrap;
}

    .adm-col-heading a {
        color: inherit;
        text-decoration: none;
        transition: opacity .15s;
    }

        .adm-col-heading a:hover {
            opacity: .75;
        }

.adm-col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

    .adm-col-links li a {
        font-size: 13px;
        color: #475569;
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 1px 0;
        transition: all .15s;
    }

/*.adm-col-links li a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
    flex-shrink: 0;
    transition: background .15s;
}*/

.adm-col-links li a:hover {
    color: #EC008C;
    padding-left: 4px;
}

.adm-col-links li a:hover::before {
    background: #EC008C;
}

/* ── QUICK LINKS COLUMN ── */
.adm-quick-col {
    flex: 0 0 400px;
    padding: 0 0 0 30px;
}

/* ══════════════════════════════════════════════════════════════════
   ALL PRODUCTS — desktop hover flyout (rendered by
   _AllProductsDesktopMenu.cshtml). Lives inside .adm-navrow, which the
   RESPONSIVE section below already hides under 900px, so no extra
   breakpoint handling is needed here.
   ══════════════════════════════════════════════════════════════════ */

ul.adm-col-links a {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 95%;
    display: inline-block;
}

.adm-ap-desktop {
    position: relative;
    flex: 0 0 auto;
}

.adm-ap-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #EC008C;
    white-space: nowrap;
}

.adm-ap-flyout {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-top: 3px solid #EC008C;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .13);
    z-index: 500;
    animation: admMegaIn .18s ease;
}

.adm-ap-desktop.adm-hover-open .adm-ap-flyout {
    display: block;
}

.adm-ap-flyout-inner {
    display: flex;
    align-items: flex-start;
}

.adm-ap-col {
    padding: 10px 0;
}

.adm-ap-col-l1,
.adm-ap-col-l2 {
    width: 240px;
    border-right: 1px solid #f1f5f9;
}

.adm-ap-col-l3 {
    width: 270px;
}

/* When the active level-1 row has no children, there's nothing to cascade
   into — collapse columns 2 & 3 instead of leaving blank space. */
.adm-ap-flyout.adm-ap-no-children .adm-ap-col-l2,
.adm-ap-flyout.adm-ap-no-children .adm-ap-col-l3 {
    display: none;
}

.adm-ap-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: #334155;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all .12s;
}

    .adm-ap-row:hover,
    .adm-ap-row.is-active {
        background: #fdf2f8;
        color: #EC008C;
    }

.adm-ap-row-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.adm-ap-row-caret {
    font-size: 9px;
    color: #cbd5e1;
    flex-shrink: 0;
}

.adm-ap-row.is-active .adm-ap-row-caret {
    color: #EC008C;
}

.adm-ap-panel-l2,
.adm-ap-panel-l3 {
    display: none;
}

    .adm-ap-panel-l2.is-active,
    .adm-ap-panel-l3.is-active {
        display: block;
        animation: admMegaIn .15s ease;
    }

.adm-ap-l3-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: all .12s;
}

    .adm-ap-l3-link:hover {
        background: #fdf2f8;
        color: #EC008C;
    }

.adm-ap-viewall {
    display: block;
    margin-top: 6px;
    padding: 10px 20px 4px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #EC008C;
    text-decoration: none;
    border-top: 1px solid #f1f5f9;
}

    .adm-ap-viewall:hover {
        text-decoration: underline;
    }

/* ── ALL PRODUCTS desktop flyout — RTL ──
   The flyout is anchored with `left: 0` in LTR so it grows rightward from
   the trigger. Under dir="rtl" the trigger itself sits on the right side
   of the nav row, so the same `left: 0` anchors the flyout's LEFT edge to
   that (already far-right) point and it grows further right, off-screen —
   only the last column ends up visible. Anchor to the right edge instead
   so it grows leftward, matching where the trigger actually is. */
[dir="rtl"] .adm-ap-flyout {
    left: auto;
    right: 0;
}

/* Column dividers were drawn with border-right, which is correct for the
   L1 → L2 → L3 visual order in LTR. RTL keeps the DOM order but the flex
   row reverses visually to L3 → L2 → L1, so a border-right now lands on
   the outer edge of L1 instead of between columns. Flip it. */
[dir="rtl"] .adm-ap-col-l1,
[dir="rtl"] .adm-ap-col-l2 {
    border-right: none;
    border-left: 1px solid #f1f5f9;
}

[dir="rtl"] .adm-ap-row,
[dir="rtl"] .adm-ap-viewall {
    text-align: right;
}

/* ══════════════════════════════════════════════════════════════════
   ALL PRODUCTS — mobile menu (rendered by _AllProductsMobileMenu.cshtml).
   Lives inside #admMobileMenu, which is only ever shown on small screens.
   The category list is always visible (no extra tap to reveal it) — only
   individual category/subcategory rows collapse via .adm-ap-macc-content.
   ══════════════════════════════════════════════════════════════════ */
/* ---- Off-canvas drawer shell ---- */
html.adm-mm-lock, html.adm-mm-lock body { overflow: hidden; }

.adm-mm-overlay {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(15, 23, 42, .55);
    backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s;
}
.adm-mm-overlay.is-open { opacity: 1; visibility: visible; }

.adm-mm {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 100;
    width: min(92vw, 400px);
    display: flex; flex-direction: column;
    background: #f8fafc;
    box-shadow: 0 0 60px rgba(15, 23, 42, .3);
    transform: translateX(-104%);
    transition: transform .3s cubic-bezier(.32, .72, 0, 1);
    visibility: hidden;
}
[dir="rtl"] .adm-mm { transform: translateX(104%); }
.adm-mm.is-open { transform: none; visibility: visible; }

.adm-mm-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: #fff; border-bottom: 1px solid #eef0f3;
}
.adm-mm-logo img { height: 38px; width: auto; display: block; }
.adm-mm-close {
    width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
    background: #f1f5f9; color: #475569; font-size: 16px;
    transition: background .15s, color .15s, transform .15s;
}
.adm-mm-close:hover { background: #fdf2f8; color: #EC008C; }
.adm-mm-close:active { transform: scale(.92); }

.adm-mm-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 14px 14px 24px; }
.adm-mm-foot { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #eef0f3; }

.adm-mm-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px; border-radius: 14px; text-decoration: none;
    font-size: 14px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #EC008C, #b8006e);
    box-shadow: 0 10px 22px -8px rgba(236, 0, 140, .6);
    transition: transform .15s;
}
.adm-mm-cta:active { transform: scale(.98); }

/* ---- Account card ---- */
.adm-mm-user {
    background: #fff; border: 1px solid #eef0f3; border-radius: 18px;
    padding: 12px; margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.adm-mm-user-guest { display: flex; align-items: center; gap: 12px; }
.adm-mm-user-main { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.adm-mm-avatar {
    width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #EC008C, #7c3aed);
}
.adm-mm-user-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.adm-mm-user-text strong { font-size: 14px; font-weight: 800; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-mm-user-text small { font-size: 11.5px; color: #94a3b8; font-weight: 500; }
.adm-mm-user-go { font-size: 11px; color: #cbd5e1; }
[dir="rtl"] .adm-mm-user-go, [dir="rtl"] .adm-ap-mhero-go, [dir="rtl"] .adm-ap-macc-goto { transform: scaleX(-1); }
.adm-mm-signin {
    padding: 9px 16px; border-radius: 12px; text-decoration: none;
    font-size: 12px; font-weight: 800; color: #fff; background: #0f172a; white-space: nowrap;
}
.adm-mm-user-actions { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e2e8f0; }
.adm-mm-pill {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 10px; border-radius: 12px; text-decoration: none;
    font-size: 12px; font-weight: 700; color: #EC008C; background: #fdf2f8;
}
.adm-mm-pill-muted { color: #64748b; background: #f1f5f9; }

/* ---- Quick action tiles ---- */
.adm-mm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.adm-mm-tile {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 12px 4px 10px; border-radius: 16px; text-decoration: none; text-align: center;
    background: #fff; border: 1px solid #eef0f3; color: #475569;
    transition: transform .15s, border-color .15s, box-shadow .15s;
}
.adm-mm-tile i { font-size: 16px; color: #EC008C; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #fdf2f8; }
.adm-mm-tile span { font-size: 10.5px; font-weight: 700; line-height: 1.15; }
.adm-mm-tile:active { transform: scale(.96); }
.adm-mm-tile:hover { border-color: #fbcfe8; box-shadow: 0 6px 14px -8px rgba(236, 0, 140, .5); }

.adm-mm-section {
    margin: 4px 4px 10px; font-size: 10px; font-weight: 900;
    letter-spacing: .18em; text-transform: uppercase; color: #94a3b8;
}

/* ══════════════════════════════════════════════════════════════════
   ALL PRODUCTS — mobile category list (rendered by _AllProductsMobileMenu.cshtml)
   ══════════════════════════════════════════════════════════════════ */
.adm-ap-mhero {
    display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 10px;
    border-radius: 18px; text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #0b132b, #1e1b4b 55%, #EC008C 160%);
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .6);
}
.adm-ap-mhero-icon {
    width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .14); font-size: 16px;
}
.adm-ap-mhero-text { display: flex; flex-direction: column; flex: 1; line-height: 1.25; }
.adm-ap-mhero-text strong { font-size: 15px; font-weight: 800; }
.adm-ap-mhero-text small { font-size: 11.5px; opacity: .75; }
.adm-ap-mhero-go { font-size: 12px; opacity: .8; }

.adm-ap-mlist { display: flex; flex-direction: column; gap: 8px; }

.adm-ap-macc {
    background: #fff; border: 1px solid #eef0f3; border-radius: 16px; overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.adm-ap-macc.is-open { border-color: #fbcfe8; box-shadow: 0 10px 24px -14px rgba(236, 0, 140, .55); }

.adm-ap-macc-btn {
    display: flex; align-items: center; gap: 12px; width: 100%;
    padding: 11px 14px 11px 11px; font-family: inherit; font-size: 14px; font-weight: 700;
    color: #1e293b; background: none; border: 0; cursor: pointer; text-align: start; text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
[dir="rtl"] .adm-ap-macc-btn { padding: 11px 11px 11px 14px; }
.adm-ap-macc.is-open > .adm-ap-macc-btn { color: #EC008C; }
.adm-ap-macc-link:active { background: #fdf2f8; }

.adm-ap-macc-icon {
    width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #EC008C; background: #fdf2f8;
    transition: background .2s, color .2s;
}
.adm-ap-macc.is-open > .adm-ap-macc-btn .adm-ap-macc-icon { background: #EC008C; color: #fff; }

.adm-ap-macc-label { flex: 1; min-width: 0; line-height: 1.25; }
.adm-ap-macc-count {
    min-width: 22px; padding: 2px 7px; border-radius: 999px; text-align: center;
    font-size: 10.5px; font-weight: 800; color: #64748b; background: #f1f5f9;
}
.adm-ap-macc-caret, .adm-ap-macc-goto { font-size: 11px; color: #94a3b8; flex-shrink: 0; transition: transform .25s, color .2s; }
.adm-ap-macc.is-open > .adm-ap-macc-btn .adm-ap-macc-caret { transform: rotate(180deg); color: #EC008C; }

/* Smooth height animation without JS measuring */
.adm-ap-macc-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.adm-ap-macc.is-open > .adm-ap-macc-content { grid-template-rows: 1fr; }
.adm-ap-inner { min-height: 0; overflow: hidden; padding: 0 8px; background: #fafbfc; }
.adm-ap-macc.is-open > .adm-ap-macc-content > .adm-ap-inner { padding: 8px; border-top: 1px solid #f1f5f9; }

.adm-ap-mviewall {
    display: flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 10px 12px;
    border-radius: 12px; text-decoration: none; font-size: 12px; font-weight: 800; color: #EC008C;
    background: #fdf2f8; border: 1px solid #fbcfe8;
}
.adm-ap-mviewall span { font-weight: 800; opacity: .75; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-ap-mviewall i { font-size: 10px; }
[dir="rtl"] .adm-ap-mviewall i, [dir="rtl"] .adm-ap-mlink-all i { transform: scaleX(-1); }

.adm-ap-macc-nested { margin: 0 0 6px; border-radius: 12px; background: #fff; }
.adm-ap-macc-nested .adm-ap-macc-btn { padding: 10px 12px; font-size: 13px; font-weight: 700; color: #334155; }
.adm-ap-macc-nested.is-open { box-shadow: none; }

.adm-ap-mlink {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    font-size: 13px; font-weight: 500; color: #475569; text-decoration: none; border-radius: 10px;
    transition: background .12s, color .12s;
}
.adm-ap-mlink:active, .adm-ap-mlink:hover { color: #EC008C; background: #fff; }
.adm-ap-mlink i { font-size: 12px; color: #EC008C; width: 16px; text-align: center; }
.adm-ap-dot { width: 6px; height: 6px; margin: 0 5px; border-radius: 50%; background: #f9a8d4; flex-shrink: 0; }
.adm-ap-mlink-all { font-weight: 800; font-size: 12px; color: #EC008C; }
.adm-ap-mlink-all i { font-size: 10px; width: auto; }

@media (max-width: 360px) {
    .adm-mm-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .adm-mm, .adm-mm-overlay, .adm-ap-macc-content, .adm-ap-macc-caret { transition: none; }
}

/* ── PROMO CARD ── */
.adm-promo {
    flex-shrink: 0;
    width: 200px;
    background: #fdf2f8;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: flex-start;
    margin-left: 16px;
}

.adm-promo-tag {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #EC008C;
}

.adm-promo-title {
    font-size: 15px;
    font-weight: 900;
    color: #111;
    line-height: 1.25;
}

.adm-promo-desc {
    font-size: 11.5px;
    color: #666;
    line-height: 1.5;
}

.adm-promo-btn {
    margin-top: 4px;
    background: #EC008C;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 9px 18px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    transition: background .15s;
    font-family: inherit;
}

    .adm-promo-btn:hover {
        background: #c2006b;
    }

/* ── MOBILE MENU ── */
.adm-mobile-menu {
/*    display: none;*/
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 16px 24px 28px;
}

    .adm-mobile-menu.open {
        display: block;
    }

.adm-mob-section-title {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #94a3b8;
    padding: 12px 0 6px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 6px;
}

.adm-mob-link {
    display: block;
    padding: 9px 0;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    border-bottom: 1px solid #f8fafc;
    transition: color .15s;
}

    .adm-mob-link:hover {
        color: #EC008C;
    }

.adm-mob-sub {
    display: block;
    padding: 7px 0 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border-bottom: 1px solid #f8fafc;
    transition: color .15s;
}

    .adm-mob-sub:hover {
        color: #EC008C;
    }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

    .adm-search-wrap {
        max-width: none;
    }

    .adm-help {
        display: none;
    }

    .adm-navrow {
        display: none;
    }

    .adm-mobile-toggle {
        display: block;
    }
}

@media (max-width: 600px) {

    .adm-topbar .container {
        padding: 0;
    }

    .adm-actions {
        gap: 0px;
        margin-left: 15px;
    }

    .adm-topbar {
        padding: 12px 16px;
        gap: 12px;
    }

    .adm-search-btn {
        padding: 12px 20px;
        font-size: 12px;
    }

    .adm-search-input {
        padding: 12px 2px;
    }
}

@media screen and (min-width: 800px) and (max-width: 1280px) {
    body {
        min-width: 800px;
        width: 1280px;
    }
}

@media screen and (min-width: 980px) {
    body {
        min-width: 980px;     
    }
}

@media screen and (max-width: 979px) {
    body {
   
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    body {
        min-width: 768px;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:landscape) {
    body {
        min-width: 768px;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
    body {
        min-width: 768px;
    }
}


@media screen and (min-width: 600px) and (max-width: 800px) {
    body {
        min-width: 600px;
    }

}

@media screen and (min-width: 320px) and (max-width:568px) {
    .adm-logo {
        display:none;
    }
    body {
        min-width: 320px;
    }


}

@media screen and (min-width: 320px) and (max-width:480px) {
    body {
        min-width: 320px;
    }

}

@media screen and (max-width:320px) {
    body { min-width:320px }

    .adm-logo {
        display: none;
    }

    body {
        min-width: 320px;
    }

    .adm-topbar .container {
        padding: 0;
    }

    .adm-actions {
        gap: 0px;
        margin-left: 5px;
    }

    .adm-topbar {
        padding: 10px;
    }

    .adm-search-btn {
        padding: 5px;
    }

    .adm-search-input {
        padding: 12px 2px;
    }
}
/* ==========================================================================
   MOBILE HEADER REDESIGN (clean two-row layout: logo/cart/menu, then search)
   ========================================================================== */
@media (max-width: 767px) {

    /* Hide the cramped black utility bar on mobile — its links move into
       the slide-down mobile menu (.adm-mobile-quicklinks) instead. */
    .adm-utility-bar {
        display: none !important;
    }

    .adm-topbar {
        padding: 12px 14px !important;
    }

    .adm-topbar .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        row-gap: 12px;
        padding: 0 !important;
    }

    /* Row 1: logo (left) ... cart + hamburger (right) */
    .adm-logo {
        display: flex !important;
        order: 1;
    }

    .adm-logo-wordmark img {
        height: 40px !important;
        width: auto;
    }

    .adm-actions {
        order: 2;
        margin-left: auto !important;
        gap: 10px;
    }

    /* Row 2: full-width search pill, its own line */
    .adm-search-wrap {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        margin: 0;
    }

    .adm-search-input {
        padding: 11px 16px;
        font-size: 13px;
    }

    .adm-search-btn {
        padding: 11px 20px;
        font-size: 12px;
    }
}

/* Quick-links strip inside the mobile slide-down menu, replacing the
   utility bar's links (About, Account, Admin, Logout, Track Order,
   Store Locator, Help) with a compact wrapping chip list — takes far
   less vertical space than a tile grid. */
.adm-mobile-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}

.adm-mql-item {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: 999px;
    padding: 5px 10px;
    text-decoration: none;
    color: #444;
    line-height: 1.1;
}

.adm-mql-item i {
    font-size: 11px;
    color: #EC008C;
}

.adm-mql-item span {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.adm-mql-item:hover {
    background: #fdf2f8;
    border-color: #fbcfe8;
}

/* ==========================================================================
   TABLET / SMALL-DESKTOP ZOOM-OUT
   At 768px–1024px (the tablet/small-desktop band already special-cased
   above) scale the whole page down to 85% so content doesn't feel cramped
   at the narrowest "desktop" layout.
   ========================================================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    html {
        zoom: 0.85;
    }
}
