* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* One compact, dependable navigation drawer is used across the storefront. */
#side-menu.store-menu-drawer {
    background: #fff;
    box-shadow: 18px 0 46px rgb(15 23 42 / .18);
}

#side-menu .store-menu-header {
    background: linear-gradient(135deg, rgb(var(--primary-rgb, 104 33 3) / .10), #fff 58%, rgb(var(--primary-rgb, 104 33 3) / .035)) !important;
    border-color: rgb(var(--primary-rgb, 104 33 3) / .14) !important;
}

#side-menu .store-menu-avatar {
    background: var(--primary) !important;
    box-shadow: 0 5px 12px rgb(var(--primary-rgb, 104 33 3) / .24) !important;
}

#side-menu .store-menu-assurance {
    color: var(--primary) !important;
}

#side-menu .store-menu-close {
    border: 1px solid rgb(var(--primary-rgb, 104 33 3) / .10);
    background: #fff !important;
    color: var(--primary) !important;
}

#side-menu > nav > a.store-menu-link {
    border-color: rgb(var(--primary-rgb, 104 33 3) / .12) !important;
    box-shadow: 0 1px 3px rgb(15 23 42 / .055) !important;
}

#side-menu > nav > a.store-menu-link > div:first-child {
    background: rgb(var(--primary-rgb, 104 33 3) / .09) !important;
    color: var(--primary) !important;
}

#side-menu > nav > a.store-menu-link[aria-current="page"] {
    border-color: rgb(var(--primary-rgb, 104 33 3) / .32) !important;
    background: rgb(var(--primary-rgb, 104 33 3) / .055) !important;
    box-shadow: 0 4px 12px rgb(var(--primary-rgb, 104 33 3) / .09) !important;
}

#side-menu > nav > a.store-menu-link:focus-visible,
#side-menu .store-menu-close:focus-visible {
    outline: 3px solid rgb(var(--primary-rgb, 104 33 3) / .26);
    outline-offset: 2px;
}

#side-menu .store-menu-footer {
    background: linear-gradient(180deg, #fff, rgb(var(--primary-rgb, 104 33 3) / .035)) !important;
    border-color: rgb(var(--primary-rgb, 104 33 3) / .12) !important;
}

@media (max-width: 767px) {
    #side-menu > .store-menu-header > .store-menu-close {
        width: 36px !important;
        height: 36px !important;
    }

    #side-menu .store-menu-assurance span {
        font-size: 9px;
    }
}

html,
body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--page-bg, #f0f0f5);
    color: var(--text-main, #02060c);
}

body {
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Theme bridge: keep utility-heavy storefront sections tied to admin colors. */
.bg-orange-50,
.bg-blue-50,
.bg-yellow-50,
.bg-purple-50,
.bg-cyan-50,
.bg-pink-50 {
    background-color: var(--theme-soft) !important;
}

.bg-green-50,
.bg-emerald-50 {
    background-color: var(--button-soft) !important;
}

.border-orange-100,
.border-orange-200,
.border-blue-100,
.border-blue-200,
.border-yellow-100,
.border-purple-100,
.border-cyan-100,
.border-pink-100 {
    border-color: var(--theme-border) !important;
}

.border-green-100,
.border-green-200,
.border-emerald-100,
.border-emerald-200,
.border-btnGreen {
    border-color: var(--button-border) !important;
}

.text-brandOrange,
.text-orange-600,
.text-orange-700,
.text-blue-600,
.text-blue-700,
.text-yellow-600,
.text-purple-600,
.text-cyan-600,
.text-pink-600 {
    color: var(--primary) !important;
}

.text-btnGreen,
.text-green-600,
.text-green-700,
.text-emerald-600,
.text-emerald-700,
.text-\[\#1ba672\] {
    color: var(--button) !important;
}

.text-\[\#02060c\] {
    color: var(--text-main) !important;
}

.bg-brandOrange,
.bg-orange-600,
.bg-blue-600 {
    background-color: var(--primary) !important;
}

.bg-btnGreen,
.bg-green-600,
.bg-emerald-600 {
    background-color: var(--button) !important;
}

.hover\:bg-orange-50:hover,
.hover\:bg-blue-50:hover,
.hover\:bg-blue-100:hover {
    background-color: var(--theme-strong-soft) !important;
}

.hover\:bg-green-50:hover,
.hover\:bg-emerald-50:hover {
    background-color: rgb(var(--button-rgb) / .14) !important;
}

.hover\:border-orange-200:hover,
.hover\:border-orange-500:hover,
.hover\:border-blue-500:hover {
    border-color: var(--primary) !important;
}

.hover\:border-green-200:hover,
.hover\:border-btnGreen:hover {
    border-color: var(--button) !important;
}

.from-orange-100 {
    --tw-gradient-from: rgb(var(--primary-rgb) / .16) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(var(--primary-rgb) / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.to-red-100,
.to-yellow-400 {
    --tw-gradient-to: rgb(var(--primary-rgb) / .30) var(--tw-gradient-to-position) !important;
}

.from-brandOrange {
    --tw-gradient-from: var(--primary) var(--tw-gradient-from-position) !important;
    --tw-gradient-to: rgb(var(--primary-rgb) / 0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.shadow-orange-200,
.shadow-orange-300,
[class*="rgba(255,82,0"] {
    box-shadow: 0 10px 25px var(--theme-shadow) !important;
}

.shadow-green-200,
.shadow-emerald-200 {
    box-shadow: 0 12px 28px var(--button-shadow) !important;
}

[data-product-size-section] {
    background-color: var(--theme-soft) !important;
    border-color: var(--theme-border) !important;
}

[data-size-choice] {
    border-color: var(--theme-border) !important;
    color: var(--primary) !important;
}

[data-size-choice]:hover {
    background-color: var(--theme-strong-soft) !important;
    border-color: var(--primary) !important;
}

[data-size-choice].bg-blue-600 {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

.site-search-form button[type="submit"] {
    background: linear-gradient(135deg, var(--theme-soft), rgb(var(--primary-rgb) / .22)) !important;
    border-color: var(--theme-border) !important;
    box-shadow: inset 0 1px 2px rgb(var(--primary-rgb) / .12);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.font800 {
    font-weight: 800;
}

.pop-btn {
    cursor: pointer;
    transition: transform .1s ease;
}

.pop-btn:active {
    transform: scale(.92);
}

.site-header {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.site-brand-wrap,
.site-actions {
    min-width: 0;
}

.site-brand {
    max-width: min(58vw, 280px);
}

.site-logo {
    width: 34px;
    height: 34px;
}

.site-nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    border-radius: 12px;
    padding: 0 13px;
    color: var(--text-muted, #02060c99);
    font-size: 13px;
    font-weight: 900;
    transition: background .18s ease, color .18s ease;
}

.site-nav-link:hover {
    background: #f7f7fb;
    color: var(--text-main, #02060c);
}

.site-search-form {
    min-height: 54px;
    width: 100%;
}

.site-search-field {
    overflow: visible;
}

.site-search-input {
    width: 100%;
    min-width: 0;
    appearance: none;
}

.site-search-input::-webkit-search-cancel-button {
    display: none;
}

.site-search-submit {
    touch-action: manipulation;
}

.site-footer-link {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 34px;
    border-radius: 10px;
    padding: 6px 8px;
    color: var(--text-muted, #02060c99);
    font-size: 12px;
    font-weight: 850;
    text-align: left;
    transition: background .18s ease, color .18s ease;
}

.site-footer-link i {
    width: 16px;
    color: var(--primary);
    text-align: center;
}

.site-footer-link:hover {
    background: #f7f7fb;
    color: var(--text-main, #02060c);
}

.store-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(229, 231, 235, .95);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -10px 28px rgba(2, 6, 12, .10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.store-bottom-nav-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 14px;
    color: var(--text-muted, #64748b);
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    transition: background .18s ease, color .18s ease, transform .1s ease;
}

.store-bottom-nav-item:active {
    transform: scale(.94);
}

.store-bottom-nav-item i {
    font-size: 17px;
}

.store-bottom-nav-item.active {
    background: var(--button-soft);
    color: var(--button, #1ba672);
}

.mobile-nav-count {
    position: absolute;
    top: -6px;
    right: -11px;
    display: grid;
    min-width: 17px;
    height: 17px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 9px;
    font-weight: 950;
    line-height: 1;
}

@media (max-width: 767px) {
    .site-header-inner {
        padding-right: 12px;
        padding-left: 12px;
    }

    .site-header-row {
        height: 48px;
    }

    .site-brand {
        max-width: min(54vw, 230px);
    }

    .site-brand-text span:first-child {
        font-size: 16px;
    }

    .site-cart-btn {
        width: 42px;
        padding-right: 0;
        padding-left: 0;
    }

    .site-search-form {
        min-height: 50px;
        border-radius: 17px;
        gap: 8px;
        padding: 10px 10px;
    }

    .site-search-field {
        gap: 9px;
    }

    .site-search-input {
        font-size: 14px;
        font-weight: 850;
    }

    .site-search-submit {
        width: 36px;
        height: 36px;
    }

    .site-footer:not(.site-footer-no-mobile-nav) {
        padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 768px) {
    .site-brand {
        max-width: 320px;
    }

    .site-logo {
        width: 38px;
        height: 38px;
    }

    .site-search-form {
        min-height: 56px;
    }
}

@media (min-width: 1024px) {
    .site-menu-btn {
        display: none;
    }

    .site-header-row {
        height: 56px;
    }

    .site-search-row {
        margin-top: 6px;
    }
}

.loader-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    margin-bottom: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
    animation: iconPop .6s cubic-bezier(.175, .885, .32, 1.275) forwards;
}

.loader-text {
    color: white;
    font-size: 58px;
    font-weight: 900;
    line-height: .85;
    letter-spacing: 0;
    text-align: center;
    overflow: hidden;
    padding-top: 5px;
}

.loader-text-line {
    display: block;
    opacity: 0;
    transform: translateY(25px);
    animation: textRise .6s cubic-bezier(.175, .885, .32, 1.275) forwards;
}

.loader-text-line:nth-child(1) {
    animation-delay: .15s;
}

.loader-text-line:nth-child(2) {
    animation-delay: .3s;
}

.loader-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
}

@keyframes iconPop {
    0% { opacity: 0; transform: scale(.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes textRise {
    0% { opacity: 0; transform: translateY(25px); }
    100% { opacity: 1; transform: translateY(0); }
}

.search-typewriter {
    border-right: 2px solid var(--button, #1ba672);
    padding-right: 4px;
    white-space: nowrap;
    animation: blinkCaret .75s step-end infinite;
}

@keyframes blinkCaret {
    from, to { border-color: transparent; }
    50% { border-color: var(--button, #1ba672); }
}

.offer-banner {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 5px 18px var(--theme-shadow);
}

.marquee-track {
    display: flex;
    min-width: max-content;
    width: max-content;
    animation: marqueeScroll 16s linear infinite;
}

.marquee-item {
    flex: 0 0 auto;
    padding-right: 24px;
    white-space: nowrap;
}

@keyframes marqueeScroll {
    100% { transform: translateX(-50%); }
}

.carousel-container {
    scroll-snap-type: x mandatory;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.carousel-slide {
    scroll-snap-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.admin-shell {
    background:
        radial-gradient(circle at top left, rgba(251,146,60,0.16), transparent 24%),
        radial-gradient(circle at top right, rgba(37,99,235,0.12), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
}

.admin-topbar {
    background: rgba(255,255,255,0.9);
}

.admin-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.9rem;
    border-radius: 0.9rem;
    font-size: 0.76rem;
    font-weight: 800;
    color: #475569;
    transition: all .18s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: linear-gradient(135deg, rgba(255, 122, 36, 0.12), rgba(254, 215, 170, 0.25));
    color: #ff6a00;
    box-shadow: inset 0 0 0 1px rgba(255, 122, 36, 0.1);
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 0.72rem 0.95rem;
    font-size: 0.76rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(15,23,42,0.15);
}

.admin-kpi-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 150px;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255,255,255,0.9);
    padding: 1.1rem 1.1rem 1rem;
    box-shadow: 0 18px 40px rgba(15,23,42,0.04);
    transition: transform .18s ease, box-shadow .18s ease;
}

.admin-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(15,23,42,0.08);
}

.admin-kpi-card.orange { background: linear-gradient(135deg, #fff7ed, #ffffff); }
.admin-kpi-card.blue { background: linear-gradient(135deg, #eff6ff, #ffffff); }
.admin-kpi-card.purple { background: linear-gradient(135deg, #f5f3ff, #ffffff); }
.admin-kpi-card.green { background: linear-gradient(135deg, #ecfdf5, #ffffff); }
.admin-kpi-card.slate { background: linear-gradient(135deg, #f8fafc, #ffffff); }
.admin-kpi-card.rose { background: linear-gradient(135deg, #fff1f2, #ffffff); }

.admin-kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-kpi-label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.admin-kpi-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(148,163,184,0.18);
    color: #ff6a00;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.admin-kpi-value {
    margin-top: 0.7rem;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #0f172a;
}

.admin-panel-card {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.75rem;
    background: rgba(255,255,255,0.9);
    padding: 1.2rem;
    box-shadow: 0 18px 40px rgba(15,23,42,0.04);
}

.admin-quick-action {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(226,232,240,0.9);
    background: #f8fafc;
    padding: 0.9rem 1rem;
    font-weight: 800;
    color: #0f172a;
    transition: all .18s ease;
}

.admin-quick-action:hover {
    border-color: rgba(251,146,60,0.35);
    background: linear-gradient(135deg, rgba(255,122,36,0.06), rgba(255,255,255,0.9));
    transform: translateY(-1px);
}

.admin-quick-icon {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    color: white;
    background: linear-gradient(135deg, #ff8a3d, #ff6a00);
    box-shadow: 0 10px 18px rgba(255,122,36,0.26);
}

/* ===============================
   ADMIN CONSOLE PREMIUM SKIN
================================= */
.admin-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 0% 0%, rgba(14,140,114,.10), transparent 25%),
        radial-gradient(circle at 100% 0%, rgba(245,158,11,.08), transparent 22%),
        #f4f8f7;
    color: #102e2a;
}

.admin-topbar {
    border-bottom: 1px solid rgba(8,127,104,.14) !important;
    background: rgba(250,253,252,.88) !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.06) !important;
}

.admin-topbar > div {
    max-width: 1320px;
    padding-block: 13px !important;
}

.admin-topbar > div > a:first-child {
    color: #092d29 !important;
}

.admin-topbar > div > a:first-child > span:first-child {
    border-radius: 15px !important;
    background: linear-gradient(135deg, #087f68, #0b4f47) !important;
    box-shadow: 0 10px 24px rgba(8,127,104,.22) !important;
    ring-color: #dff7ec !important;
}

.admin-topbar nav {
    gap: 4px !important;
    padding: 5px;
    border: 1px solid #deebe7;
    border-radius: 17px;
    background: rgba(255,255,255,.72);
}

.admin-nav-link {
    min-height: 38px;
    border-radius: 12px !important;
    padding: 0 11px !important;
    color: #59716d !important;
    font-size: 12px !important;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: #e5f7f0 !important;
    color: #087f68 !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

.admin-action-btn {
    min-height: 38px;
    border-radius: 12px !important;
    padding: 0 12px !important;
    background: #092d29 !important;
    box-shadow: 0 8px 18px rgba(9,45,41,.18) !important;
    font-size: 12px !important;
}

.admin-shell main {
    max-width: 1320px !important;
    padding-top: 34px !important;
    padding-bottom: 42px !important;
}

.admin-shell main h1 {
    color: #092d29 !important;
    letter-spacing: -.055em;
}

.admin-shell main h2,
.admin-shell main h3 {
    color: #123b35;
    letter-spacing: -.03em;
}

.admin-shell main section,
.admin-shell main article {
    border-color: #dcece6 !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.055) !important;
}

.admin-shell main input:not([type="checkbox"]):not([type="radio"]),
.admin-shell main textarea,
.admin-shell main select {
    border-color: #d7e8e2 !important;
    border-radius: 12px !important;
    background: #fbfefd !important;
    color: #123b35 !important;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.admin-shell main input:not([type="checkbox"]):not([type="radio"]):focus,
.admin-shell main textarea:focus,
.admin-shell main select:focus {
    border-color: #6cc9af !important;
    box-shadow: 0 0 0 4px rgba(8,127,104,.10) !important;
}

.admin-shell main button[type="submit"],
.admin-shell main button.bg-orange-600,
.admin-shell main a.bg-orange-600 {
    border-radius: 12px !important;
    background: #087f68 !important;
    box-shadow: 0 10px 20px rgba(8,127,104,.18) !important;
}

.admin-shell main table {
    border-color: #deebe7;
}

.admin-shell main thead {
    background: #edf8f4 !important;
    color: #57736d !important;
}

.admin-shell main th {
    letter-spacing: .08em;
}

.admin-shell main tbody tr:hover {
    background: #f4fbf8 !important;
}

.admin-kpi-card {
    min-height: 154px;
    border-radius: 22px !important;
    border-color: #dcece6 !important;
    background: #fff !important;
    box-shadow: 0 14px 32px rgba(15,23,42,.06) !important;
}

.admin-kpi-card.orange,
.admin-kpi-card.blue,
.admin-kpi-card.purple,
.admin-kpi-card.green,
.admin-kpi-card.slate,
.admin-kpi-card.rose {
    background: linear-gradient(145deg, #ffffff, #f1faf7) !important;
}

.admin-kpi-icon {
    border-color: #cfe7dd !important;
    background: #e5f7f0 !important;
    color: #087f68 !important;
}

.admin-kpi-label {
    color: #6b8580 !important;
}

.admin-kpi-value {
    color: #092d29 !important;
}

.admin-panel-card {
    border-radius: 22px !important;
    border-color: #dcece6 !important;
    background: rgba(255,255,255,.9) !important;
    box-shadow: 0 14px 34px rgba(15,23,42,.055) !important;
}

.admin-quick-action {
    border-color: #deebe7 !important;
    border-radius: 14px !important;
    background: #f5fbf8 !important;
}

.admin-quick-action:hover {
    border-color: #8bd8c0 !important;
    background: #eaf8f2 !important;
}

.admin-quick-icon {
    border-radius: 12px !important;
    background: #087f68 !important;
    box-shadow: 0 8px 16px rgba(8,127,104,.2) !important;
}

.admin-footer {
    border-top-color: #dcece6 !important;
    background: rgba(255,255,255,.72) !important;
}

@media (max-width: 767px) {
    .admin-topbar > div {
        gap: 12px !important;
    }

    .admin-topbar nav {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap !important;
        justify-content: flex-start;
        padding: 4px;
        scrollbar-width: none;
    }

    .admin-topbar nav::-webkit-scrollbar {
        display: none;
    }

    .admin-nav-link,
    .admin-action-btn {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .admin-shell main {
        padding-top: 22px !important;
        padding-inline: 12px !important;
    }

    .admin-kpi-card {
        min-height: 126px;
        border-radius: 18px !important;
    }

    .admin-panel-card {
        border-radius: 18px !important;
        padding: 15px !important;
    }
}

.site-header {
    background: rgba(255,255,255,0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.site-header-inner {
    max-width: 1180px;
}

.premium-hero-card {
    background: linear-gradient(135deg, #062d2a 0%, #0d3f3b 38%, #174d48 100%);
    box-shadow: 0 30px 80px rgba(15,23,42,0.16);
}

.premium-stat-card {
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
    border-radius: 1.05rem;
    padding: 0.9rem 0.8rem;
    backdrop-filter: blur(10px);
}

.premium-stat-label {
    color: rgba(255,255,255,0.72);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.62rem;
    font-weight: 800;
}

.premium-stat-value {
    margin-top: 0.4rem;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.premium-stat-note {
    margin-top: 0.3rem;
    color: rgba(255,255,255,0.78);
    font-size: 0.65rem;
    line-height: 1.45;
}

.premium-glass-panel {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
}

.premium-mini-benefits {
    margin-top: 0.4rem;
}

.premium-info-chip,
.premium-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    border-radius: 1.1rem;
    border: 1px solid rgba(148,163,184,0.15);
    background: rgba(255,255,255,0.78);
    padding: 0.9rem 1rem;
    color: #0f172a;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(15,23,42,0.04);
}

.premium-info-chip i,
.premium-trust-chip i {
    color: #0e8c74;
}

.premium-section-card {
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(148,163,184,0.15);
}

.premium-section-kicker {
    color: #0e8c74;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.premium-section-title {
    color: #0f172a;
    font-size: clamp(1.5rem, 2vw, 2.15rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.premium-section-copy {
    margin-top: 0.45rem;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.6;
}

.premium-category-tile {
    box-shadow: 0 18px 32px rgba(15,23,42,0.08);
}

.premium-category-btn.active .premium-category-label,
.premium-category-btn:hover .premium-category-label {
    color: #0f172a;
}

.premium-product-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
}

.premium-products-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid rgba(251,146,60,0.18);
    padding: 0.55rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav-link {
    color: #475569;
    border: 1px solid transparent;
}

.site-nav-link:hover {
    background: rgba(15,23,42,0.03);
    color: #0f172a;
    border-color: rgba(148,163,184,0.12);
}

.site-search-form {
    background: rgba(248,250,252,0.95);
    border: 1px solid rgba(148,163,184,0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.site-search-submit {
    background: linear-gradient(135deg, rgba(255,122,36,0.18), rgba(255,122,36,0.3));
    border: 1px solid rgba(255,122,36,0.22);
}

.home-clean-intro {
    background: linear-gradient(180deg, rgba(236,253,245,.72), transparent);
}

.home-banner-carousel {
    scroll-behavior: smooth;
}

.home-banner-slide {
    box-shadow: 0 18px 42px rgba(15,23,42,.12);
}

.home-banner-slide img {
    object-position: center;
}

#banner-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: width .2s ease, background .2s ease;
}

#banner-dots span.is-active {
    width: 28px;
    background: #087f68;
}

.home-empty-banner {
    border: 1px solid #b7ead8;
    background: linear-gradient(135deg, #ecfdf5, #f8fffc);
}

.home-clean-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .62fr);
    gap: 2rem;
    align-items: end;
}

.home-kicker {
    color: #087f68;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.home-primary-action,
.home-secondary-action {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 15px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-primary-action {
    color: #fff;
    background: #087f68;
    box-shadow: 0 12px 24px rgba(8,127,104,.22);
}

.home-secondary-action {
    color: #075e51;
    background: #ecfdf5;
    border: 1px solid #b7ead8;
}

.home-primary-action:hover,
.home-secondary-action:hover {
    transform: translateY(-2px);
}

.home-offer-panel {
    border-radius: 22px;
    padding: 20px;
    background: #f0fdf9;
    border: 1px solid #b7ead8;
}

.home-trust-item {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 16px;
    padding: 0 16px;
    background: rgba(255,255,255,.86);
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

.home-trust-item i {
    color: #0e9f78;
}

.home-category-bar {
    margin-bottom: 28px;
}

.home-category-button {
    display: flex;
    width: min(100%, 230px);
    min-width: 0;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 18px;
    padding: 10px;
    background: rgba(255,255,255,.9);
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

#category-container {
    justify-items: start;
}

.home-category-button.active {
    border-color: #71cdb6;
    background: #ecfdf5;
    color: #087f68;
    box-shadow: 0 10px 24px rgba(8,127,104,.12);
}

.home-category-button .category-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card-gallery {
    min-height: 230px;
    background: linear-gradient(145deg, #fbfefd, #eef6f3);
}

.product-card-image {
    max-height: 220px;
    transform: scale(1.12);
    filter: drop-shadow(0 18px 18px rgba(15,23,42,.14));
}

.product-card-gallery-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid #d7e8e2;
    border-radius: 999px;
    background: rgba(255,255,255,.94);
    color: #087f68;
    font-size: 11px;
    box-shadow: 0 6px 14px rgba(15,23,42,.10);
    transform: translateY(-50%);
}

.product-card-gallery-prev { left: 8px; }
.product-card-gallery-next { right: 8px; }

.product-card-gallery-dots {
    position: absolute;
    bottom: 7px;
    left: 50%;
    z-index: 3;
    display: flex;
    gap: 4px;
    transform: translateX(-50%);
}

.product-card-gallery-dots button {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #b8d9ce;
}

.product-card-gallery-dots button.is-active {
    width: 16px;
    background: #087f68;
}

.home-category-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    place-items: center;
    overflow: hidden;
    border-radius: 13px;
    background: #d9f7ec;
    color: #087f68;
}

.home-category-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .home-clean-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-offer-panel {
        padding: 16px;
    }

    .admin-nav-link {
        padding: 0.65rem 0.78rem;
        font-size: 0.72rem;
    }

    .admin-kpi-card {
        min-height: 128px;
    }
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px var(--theme-shadow);
}

.product-card {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: var(--theme-border);
    box-shadow: 0 8px 22px var(--theme-shadow);
}

.cart-add-button {
    min-width: 0;
    border-color: var(--button, #1ba672) !important;
    background: #fff !important;
    color: var(--button, #1ba672) !important;
    white-space: nowrap;
}

.cart-add-button:hover {
    background: var(--button-soft) !important;
}

.cart-add-button.is-filled {
    border-color: var(--button, #1ba672) !important;
    background: var(--button, #1ba672) !important;
    color: #fff !important;
}

.cart-add-button i {
    color: currentColor !important;
}

.cart-updated {
    animation: itemUpdateFlash .4s ease-out;
    border-color: var(--button, #1ba672) !important;
}

@keyframes itemUpdateFlash {
    0% { transform: scale(1); background-color: #fff; }
    50% { transform: scale(1.03); background-color: var(--button-soft); border-color: var(--button, #1ba672); box-shadow: 0 8px 25px var(--button-shadow); z-index: 10; }
    100% { transform: scale(1); background-color: #fff; }
}

.timer-box {
    border-radius: 8px;
    background: var(--theme-soft);
    color: var(--primary);
    padding: 6px 10px;
    border: 1px solid var(--theme-border);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dot-loader-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
}

.brand-dots {
    display: flex;
    gap: 6px;
}

.brand-dots span {
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: jump .5s infinite alternate cubic-bezier(.5, .05, 1, .5);
}

.brand-dots span:nth-child(2) {
    animation-delay: .16s;
}

.brand-dots span:nth-child(3) {
    animation-delay: .33s;
}

@keyframes jump {
    to { transform: translateY(-12px); opacity: .6; }
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity .2s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

.cart-modal {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,100%);
    width: 100%;
    max-width: 520px;
    height: 85vh;

    background: #fff;
    border-radius: 25px 25px 0 0;

    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    z-index: 1002;
}

.cart-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,0);
}

#size-picker-overlay {
    z-index: 1001;
}

#size-picker-modal {
    z-index: 1002;
    transform: translate(-50%, 100%);
}

#size-picker-modal.active {
    transform: translate(-50%, 0);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);

    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.cart-overlay.active {
    opacity: 1;
}

.blur-active {
    filter: blur(6px);
    pointer-events: none;
    transform: scale(.98);
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 75%;
    max-width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1003;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.25, 1, .5, 1);
    box-shadow: 10px 0 25px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    transform: translateX(0);
}

#celebration {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .3s;
}

#celebration.show {
    display: flex;
    opacity: 1;
}
/* ===============================
   CART OVERLAY
================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}




/* ===============================
   HEADER
================================= */
.cart-header {
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    background: #fff;
    border-bottom: 1px solid #eee;
}


/* ===============================
   CART ITEMS
================================= */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #fff;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
}

.qty-btn {
    background: var(--button, #1ba672);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
}


/* ===============================
   OFFERS SECTION
================================= */
#offer-box {
    background: var(--button-soft);
    padding: 12px;
}

.offer-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.offer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    border-left: 4px solid #d1d5db;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}

.offer-card.active {
    border-left: 4px solid var(--button, #1ba672);
    background: var(--button-soft);
}

.offer-card p {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.offer-card span {
    font-size: 11px;
    color: var(--text-muted, #6b7280);
}


/* ===============================
   SAVINGS BOX
================================= */
.savings-box {
    background: var(--button-soft);
    color: var(--button, #1ba672);
    font-size: 13px;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    text-align: center;
}


/* ===============================
   FOOTER
================================= */
.cart-footer {
    background: #fff;
    padding: 15px;
    border-top: 1px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}


/* ===============================
   BUTTON
================================= */
.proceed-btn {
    width: 100%;
    background: var(--button, #1ba672);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;

    transition: 0.2s;
}

.proceed-btn:hover {
    background: var(--button, #1ba672);
    box-shadow: 0 10px 24px var(--button-shadow);
}


/* ===============================
   SCROLLBAR
================================= */
.cart-items::-webkit-scrollbar {
    width: 4px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.celebration-box {
    background: white;
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    width: 85%;
    max-width: 320px;
    animation: popIn .4s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes popIn {
    0% { transform: scale(.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(239, 68, 68, .8); }
    50% { opacity: .7; box-shadow: 0 0 2px rgba(239, 68, 68, .3); }
}

/* Product detail description, similar products and reviews */
.product-description-card,
.details-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 26px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(2, 6, 12, 0.05);
    border: 1px solid rgba(2, 6, 12, 0.04);
    overflow: hidden;
}

.similar-products-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 10px;
}

.similar-product-item {
    flex: 0 0 188px;
    scroll-snap-align: start;
}

.similar-product-item .product-card {
    height: 100%;
}

@media (min-width: 640px) {
    .similar-product-item {
        flex-basis: 210px;
    }
}

@media (min-width: 1024px) {
    .similar-product-item {
        flex-basis: 232px;
    }
}

.review-item {
    padding: 14px 0;
    border-bottom: 1px solid #f1f1f1;
}

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

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 6px;
    background: var(--button, #1ba672);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    padding: 5px 7px;
}

.review-title {
    color: #02060c;
    font-size: 13px;
    font-weight: 900;
}

.review-text {
    margin-top: 8px;
    color: #02060c99;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.review-images-scroll {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.review-img {
    width: 74px;
    height: 74px;
    flex: 0 0 auto;
    cursor: pointer;
    border-radius: 14px;
    border: 1px solid #ececec;
    background: #f7f7fb;
    object-fit: cover;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #02060c73;
    font-size: 11px;
    font-weight: 800;
}

.review-image-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 6, 12, 0.72);
    backdrop-filter: blur(6px);
}

.review-image-popup.active {
    display: flex;
}

.review-image-popup img {
    max-width: min(92vw, 720px);
    max-height: 82vh;
    border-radius: 22px;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.review-popup-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: #02060c;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}


.product-description-html {
    color: var(--text-muted, #4b5563);
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
}

.product-description-card > .flex,
.product-description-card .min-w-0,
.product-description-html * {
    max-width: 100%;
    min-width: 0;
}

.product-description-html * {
    overflow-wrap: anywhere;
    white-space: normal;
}

.product-description-html table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 4px;
    overflow: hidden;
    border: 1px solid #eef0f4;
    border-radius: 14px;
    background: #fff;
}

.product-description-html tr {
    border-bottom: 1px solid #eef0f4;
}

.product-description-html tr:last-child {
    border-bottom: 0;
}

.product-description-html td,
.product-description-html th {
    padding: 10px 12px;
    vertical-align: top;
    text-align: left;
    font-size: 13px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.product-description-html td:first-child,
.product-description-html th:first-child {
    width: 34%;
    color: var(--text-main, #02060c);
    font-weight: 900;
    background: #f8fafc;
}

.product-description-html ul,
.product-description-html ol {
    margin: 4px 0 4px 18px;
    padding: 0;
}

.product-description-html li {
    margin: 3px 0;
}

.product-description-html p {
    margin: 0 0 8px;
}

.product-description-html p:last-child {
    margin-bottom: 0;
}

@media (max-width: 520px) {
    .product-description-card {
        max-width: calc(100vw - 32px);
        margin-right: auto;
        margin-left: auto;
        padding: 14px;
    }

    .product-description-card > .flex {
        flex-direction: column;
        gap: 10px;
    }

    .product-description-html {
        width: 100%;
        max-width: 100%;
        padding-bottom: 4px;
    }

    .product-description-html table {
        width: 100%;
        min-width: 100%;
        max-width: none;
        table-layout: fixed;
    }

    .product-description-html td,
    .product-description-html th {
        min-width: 0;
        padding: 8px 7px;
        font-size: 10.5px;
        line-height: 1.35;
        white-space: normal;
    }

    .product-description-html td:first-child,
    .product-description-html th:first-child {
        position: static;
        z-index: 1;
        width: 23%;
        min-width: 0;
        border-right: 1px solid #eef0f4;
        box-shadow: none;
    }
}


/* ==========================================================================
   Storefront UI v2 — premium, mobile-first, ad-landing friendly
   ========================================================================== */
:root {
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --ring: rgba(15, 23, 42, .08);
    --premium-shadow: 0 16px 42px rgba(15, 23, 42, .08);
    --premium-shadow-hover: 0 20px 46px rgba(15, 23, 42, .13);
}

body {
    background:
        radial-gradient(circle at 8% 0%, rgb(var(--primary-rgb) / .08), transparent 34rem),
        radial-gradient(circle at 95% 18%, rgb(var(--button-rgb) / .07), transparent 28rem),
        var(--page-bg, #f5f5f5);
}

.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, .7) !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06) !important;
}

.site-menu-btn,
.site-cart-btn,
.site-search-form,
.site-action-pill {
    border-color: var(--ring) !important;
}

.site-menu-btn,
.site-cart-btn {
    background: #fff !important;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .07) !important;
}

/* Keep the cart count readable even if Tailwind utility classes are not rebuilt. */
.site-cart-btn {
    overflow: visible;
}

.site-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    z-index: 2;
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--button, #1ba672);
    color: #fff;
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    box-shadow: 0 4px 10px rgb(var(--button-rgb, 27 166 114) / .30);
    pointer-events: none;
}

.site-cart-count.hidden {
    display: none;
}

.site-logo {
    border: 1px solid var(--ring);
    border-radius: 14px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .08) !important;
}

.site-search-form {
    background: rgba(248, 250, 252, .96) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 1px 0 #fff, 0 8px 24px rgba(15, 23, 42, .05) !important;
}

.site-search-submit {
    background: var(--primary) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgb(var(--primary-rgb) / .25) !important;
}
.site-search-submit i { color: #fff !important; }

.offer-banner {
    min-height: 46px;
    border: 1px solid rgb(var(--primary-rgb) / .16);
    background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 74%, #111827)) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 30px rgb(var(--primary-rgb) / .2) !important;
}

.home-trust-strip { margin-top: 10px; }
.trust-chip {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 7px;
    border: 1px solid var(--ring);
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 7px 20px rgba(15,23,42,.05);
    color: var(--text-main);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
}
.trust-chip i { color: var(--button); font-size: 13px; }

.carousel-container { scroll-snap-type: x mandatory; }
.carousel-slide {
    scroll-snap-align: center;
    border-radius: 26px !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    box-shadow: var(--premium-shadow) !important;
}
.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

#category-container {
    padding: 12px 6px 6px;
    border: 1px solid var(--ring);
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 10px 26px rgba(15,23,42,.05);
}
.category-tile {
    border-radius: 22px !important;
    border-color: rgba(15,23,42,.06) !important;
    box-shadow: 0 8px 22px rgba(15,23,42,.07) !important;
}
button[data-category-button].active .category-tile,
.category-tile.active {
    border-color: var(--primary) !important;
    box-shadow: 0 9px 24px rgb(var(--primary-rgb) / .18) !important;
}

#product-grid { gap: 14px !important; }
.product-card {
    overflow: hidden;
    border: 1px solid rgba(15,23,42,.07) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 10px 28px rgba(15,23,42,.06) !important;
    transform: translateZ(0);
}
.product-card:hover {
    border-color: rgb(var(--primary-rgb) / .18) !important;
    box-shadow: var(--premium-shadow-hover) !important;
    transform: translateY(-3px);
}
.product-card > div.mb-3.mt-7 {
    border: 0 !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #fff, #f6f8fb) !important;
}
.product-card h3 { letter-spacing: -.02em; }
.product-card [data-add-button],
.product-card button[onclick*="updateQty"] {
    border-radius: 12px !important;
}

.side-menu {
    border-radius: 0 28px 28px 0;
    box-shadow: 24px 0 60px rgba(15,23,42,.18) !important;
}
.cart-modal {
    border-radius: 28px 28px 0 0 !important;
    box-shadow: 0 -22px 60px rgba(15,23,42,.18) !important;
}

.product-detail-shell {
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: 0 18px 48px rgba(15,23,42,.08) !important;
}

.product-gallery-panel {
    background: linear-gradient(145deg, #f8fffc, #eef6f3) !important;
}

.product-gallery-panel [data-product-gallery-image] {
    filter: drop-shadow(0 22px 22px rgba(15,23,42,.15));
}

.product-info-panel > h1,
.product-info-panel h1 {
    letter-spacing: -.04em;
}

.product-price-panel {
    border-color: #b7ead8 !important;
    background: linear-gradient(135deg, #ecfdf5, #f7fffc) !important;
}

.product-price-panel .text-4xl {
    color: #062d2a;
    letter-spacing: -.05em;
}

.product-benefits > div {
    border-color: rgba(148,163,184,.15) !important;
    background: #f8fafc !important;
}

.product-offers {
    border-color: #fed7aa !important;
}

.product-cart-control {
    position: relative;
}

.product-cart-control > button,
.product-cart-control > div {
    min-height: 56px;
    box-shadow: 0 12px 24px rgba(16,185,129,.20) !important;
}

.site-footer {
    background: rgba(255,255,255,.94) !important;
    border-top-color: rgba(15,23,42,.08) !important;
}

@media (max-width: 767px) {
    .product-detail-shell {
        border-radius: 22px !important;
    }

    .product-gallery-panel {
        min-height: 330px !important;
        padding: 18px 14px !important;
    }

    .product-gallery-panel > div:last-child {
        width: 100%;
    }

    .product-gallery-panel .relative.mx-auto.flex {
        height: 285px !important;
    }

    .product-gallery-panel [data-product-gallery-image] {
        max-height: 270px !important;
        transform: scale(1.08);
    }

    .product-gallery-panel .h-16.w-16 {
        width: 54px !important;
        height: 54px !important;
    }

    .product-info-panel {
        padding: 18px 14px !important;
    }

    .product-info-panel h1 {
        font-size: 25px !important;
        line-height: 1.05 !important;
    }

    .product-price-panel {
        padding: 16px !important;
    }

    .product-price-panel .text-4xl {
        font-size: 38px !important;
    }

    .product-benefits {
        gap: 6px !important;
    }

    .product-benefits > div {
        padding: 10px 4px !important;
    }

    .product-benefits p {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }

    .product-offers,
    .product-support {
        padding: 14px !important;
    }

    .product-cart-control {
        position: sticky;
        bottom: 76px;
        z-index: 20;
        margin-inline: -2px;
        padding: 6px;
        border-radius: 16px;
        background: rgba(255,255,255,.94);
        backdrop-filter: blur(10px);
    }

    .home-banner-section {
        padding-inline: 12px !important;
        padding-top: 14px !important;
    }

    .home-banner-slide {
        height: 190px !important;
        border-radius: 20px !important;
    }

    .home-banner-slide > span:last-child {
        max-width: 86%;
        padding: 16px !important;
    }

    .home-banner-slide > span:last-child > span:nth-child(2) {
        font-size: 28px !important;
        line-height: 1.02 !important;
    }

    .home-banner-slide > span:last-child > span:last-child {
        margin-top: 12px !important;
        padding: 9px 12px !important;
    }

    #shop-section {
        padding-inline: 12px !important;
        padding-top: 18px !important;
    }

    .home-category-bar {
        margin-bottom: 20px;
    }

    .home-category-button {
        width: min(100%, 190px);
        min-height: 58px;
        gap: 8px;
        padding: 8px;
        border-radius: 14px;
        font-size: 11px;
    }

    .home-category-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .home-trust-row {
        gap: 8px !important;
    }

    .home-trust-item {
        min-height: 46px;
        gap: 7px;
        padding: 0 10px;
        border-radius: 13px;
        font-size: 10px;
    }

    .home-trust-item i {
        font-size: 12px;
    }

    .premium-section-title {
        font-size: 24px;
    }

    .premium-section-copy {
        font-size: 12px;
    }

    #product-grid {
        gap: 9px !important;
        align-items: start !important;
    }

    .premium-product-card {
        align-self: start !important;
        height: fit-content !important;
        border-radius: 17px !important;
        padding: 8px !important;
        border-color: rgba(8,127,104,.18) !important;
        box-shadow: 0 10px 24px rgba(15,23,42,.08) !important;
    }

    .premium-product-card > div.relative.z-10.mt-auto.flex.h-full {
        height: auto !important;
        margin-top: 0 !important;
    }

    .product-card-price-row {
        min-height: 34px;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 4px !important;
        margin-bottom: 9px !important;
        padding: 5px 7px;
        border-radius: 10px;
        background: #f0faf6;
    }

    .premium-product-card > div:nth-child(3) {
        height: 166px !important;
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        border-radius: 15px !important;
        background: linear-gradient(180deg, #f8fafc, #eef5f3);
    }

    .product-card-gallery {
        min-height: 166px;
    }

    .product-card-image {
        max-height: 154px;
        transform: scale(1.3);
    }

    .product-card-gallery-btn {
        width: 26px;
        height: 26px;
        font-size: 9px;
    }

    .premium-product-card > div:nth-child(3) img {
        transform: scale(1.45);
        filter: drop-shadow(0 14px 16px rgba(15,23,42,.16));
    }

    .premium-product-card h3 {
        font-size: 13px !important;
        line-height: 1.22 !important;
        color: #062d2a !important;
    }

    .premium-product-card p {
        font-size: 10px !important;
    }

    .premium-product-card .text-\[22px\] {
        display: inline-block;
        font-size: 23px !important;
        line-height: 1 !important;
        color: #062d2a !important;
    }

    .premium-product-card .text-\[12px\].line-through {
        font-size: 11px !important;
    }

    .premium-product-card .rounded-full.border-slate-200 {
        opacity: .78;
        font-size: 8px !important;
    }

    .premium-product-card .rounded-full.bg-emerald-50 {
        font-size: 9px !important;
    }

    .premium-product-card .grid-cols-\[auto\,1fr\] {
        grid-template-columns: 1fr !important;
        gap: 3px !important;
        font-size: 9px !important;
        line-height: 1.25 !important;
        color: #64748b !important;
    }

    .premium-product-card .grid-cols-\[auto\,1fr\] > span:first-child {
        display: none;
    }

    .premium-product-card .cart-add-button {
        height: 38px !important;
        border-radius: 13px !important;
        font-size: 10px !important;
    }

    .site-header { padding-bottom: 10px !important; }
    .site-header-inner { padding-inline: 12px !important; }
    .site-search-form { min-height: 48px !important; }
    .carousel-slide { height: 168px !important; }
    #product-grid { gap: 10px !important; }
    .product-card { border-radius: 18px !important; padding: 9px !important; }
    .product-card > div.mb-3.mt-7 { height: 142px !important; }
    .trust-chip { font-size: 9px; gap: 4px; padding-inline: 4px; }
    .trust-chip i { font-size: 12px; }

    .store-bottom-nav {
        right: 10px;
        bottom: 10px;
        left: 10px;
        min-height: calc(62px + env(safe-area-inset-bottom, 0px));
        border: 1px solid rgba(15,23,42,.08);
        border-radius: 22px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 14px 42px rgba(15,23,42,.16);
    }
    .store-bottom-nav-item { border-radius: 15px; }
    .site-footer:not(.site-footer-no-mobile-nav) {
        padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    }

    .site-footer-no-mobile-nav,
    body {
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    #main-app {
        padding-bottom: 76px;
    }
}

@media (min-width: 768px) {
    .site-header { padding-top: 8px !important; }
    .carousel-slide { min-height: 230px; }
    .product-card { padding: 12px !important; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ===============================
   PRODUCT DETAIL REDESIGN
================================= */
.product-back-link {
    color: #0b6b5b !important;
    background: transparent !important;
    box-shadow: none !important;
    padding-inline: 0 !important;
}

.product-detail-shell {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.product-detail-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
    gap: 28px !important;
    align-items: start;
}

.product-gallery-panel {
    min-height: 620px !important;
    border: 1px solid #dcece6;
    border-radius: 30px;
    padding: 32px !important;
    background: #f2fbf7 !important;
    box-shadow: 0 22px 55px rgba(15,23,42,.07);
}

.product-gallery-panel > div > .relative.mx-auto.flex {
    height: 470px !important;
    border-radius: 24px;
    background: rgba(255,255,255,.68);
}

.product-gallery-panel [data-product-gallery-image] {
    max-height: 430px;
    filter: drop-shadow(0 24px 22px rgba(15,23,42,.17));
    transition: transform .3s ease;
}

.product-gallery-panel [data-product-gallery-image]:not(.hidden) {
    transform: scale(1.06);
}

.product-gallery-panel > div > .relative.mx-auto.flex > button {
    width: 46px;
    height: 46px;
    border: 1px solid #dcece6;
    color: #087f68;
}

.product-gallery-panel [data-product-gallery-thumb] {
    width: 72px !important;
    height: 72px !important;
    border-color: #cfe7dd !important;
    border-radius: 16px !important;
}

.product-info-panel {
    min-width: 0;
    padding: 10px 4px 20px 4px !important;
}

.product-info-panel > .mb-3 {
    margin-bottom: 18px !important;
}

.product-info-panel > .mb-3 span:first-child {
    background: #dff7ec !important;
    color: #087f68 !important;
}

.product-info-panel > h1 {
    max-width: 650px;
    font-size: clamp(32px, 4vw, 56px) !important;
    line-height: .98 !important;
    letter-spacing: -.065em !important;
    color: #092d29 !important;
}

.product-info-panel > p {
    margin-top: 12px !important;
    color: #6b7f7b !important;
}

.product-info-panel > .h-px {
    margin-block: 22px !important;
    background: #deebe7 !important;
}

.product-price-panel {
    border-radius: 24px !important;
    padding: 22px !important;
    background: #092d29 !important;
    border: 0 !important;
    color: white;
}

.product-price-panel .text-btnGreen,
.product-price-panel .text-textGray {
    color: rgba(255,255,255,.72) !important;
}

.product-price-panel .text-textDark,
.product-price-panel .text-4xl {
    color: white !important;
}

.product-price-panel .text-4xl {
    font-size: 44px !important;
    letter-spacing: -.06em;
}

.product-benefits {
    gap: 8px !important;
}

.product-benefits > div {
    min-height: 78px;
    border: 1px solid #dcece6 !important;
    border-radius: 16px !important;
    background: #fff !important;
}

.product-benefits i {
    color: #0b8c72 !important;
}

.product-offers,
.product-support {
    border-radius: 20px !important;
    border-color: #dcece6 !important;
    background: #f6fbf9 !important;
    box-shadow: none !important;
}

.product-offers .text-brandOrange,
.product-support .text-btnGreen {
    color: #087f68 !important;
}

.product-cart-control {
    margin-top: 22px !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
}

.product-cart-control > button,
.product-cart-control > div {
    min-height: 62px !important;
    border-radius: 17px !important;
    background: #0b8c72 !important;
    font-size: 16px !important;
}

.product-description-card,
.details-card {
    border-radius: 24px !important;
    border: 1px solid #dcece6 !important;
    background: #fff !important;
    box-shadow: 0 14px 38px rgba(15,23,42,.05) !important;
}

.product-premium-section {
    position: relative;
    padding: 24px !important;
    border-color: #d8ebe4 !important;
    background: linear-gradient(145deg, #ffffff, #f7fcfa) !important;
}

.product-section-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-section-eyebrow {
    color: #0b8c72;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.product-description-html {
    max-width: 820px;
    padding: 16px 18px;
    border-left: 3px solid #8bd8c0;
    border-radius: 0 14px 14px 0;
    background: #f0faf6;
    color: #526965 !important;
}

.product-description-html p {
    margin: 0 0 12px;
}

.product-description-html p:last-child {
    margin-bottom: 0;
}

.product-description-html ul,
.product-description-html ol {
    margin: 10px 0 12px 20px;
    padding-left: 16px;
}

.product-description-html ul {
    list-style: disc;
}

.product-description-html ol {
    list-style: decimal;
}

.product-description-html li + li {
    margin-top: 6px;
}

.product-description-html strong,
.product-description-html b {
    color: #123b35;
    font-weight: 900;
}

.product-description-html h1,
.product-description-html h2,
.product-description-html h3,
.product-description-html h4 {
    margin: 14px 0 8px;
    color: #123b35;
    font-weight: 900;
    line-height: 1.2;
}

.product-description-html table {
    width: 100%;
    margin-top: 12px;
    border-collapse: collapse;
}

.product-description-html td,
.product-description-html th {
    border: 1px solid #dcece6;
    padding: 8px 10px;
    text-align: left;
}

.product-description-html th {
    background: #eaf8f2;
    color: #123b35;
    font-weight: 900;
}

.product-description-card .grid > div {
    border: 1px solid #e0eee9;
    background: #ffffff;
}

.product-description-card .grid > div p:first-child {
    color: #78918b;
    letter-spacing: .12em;
}

.product-reviews-heading {
    padding-bottom: 16px !important;
    border-color: #dfece8 !important;
}

.product-rating-pill {
    min-width: 58px;
    justify-content: center;
    border-radius: 10px !important;
    background: #dff7ec !important;
    border-color: #b7ead8 !important;
    color: #087f68 !important;
}

.product-rating-summary {
    border-color: #dcece6 !important;
    background: #effaf6 !important;
}

.product-rating-score {
    border: 1px solid #cfe7dd;
    box-shadow: 0 10px 24px rgba(8,127,104,.08) !important;
}

.product-rating-score .text-3xl {
    color: #087f68;
    font-size: 42px;
    letter-spacing: -.06em;
}

.product-rating-summary .h-2 {
    height: 7px;
    background: #d9eae4;
}

.product-rating-summary .h-full {
    background: #0b9b7b !important;
}

.review-item {
    margin-top: 10px;
    padding: 16px !important;
    border: 1px solid #e0eee9;
    border-radius: 16px;
    background: rgba(255,255,255,.86);
}

.review-item:last-child {
    padding-bottom: 16px !important;
}

.rating-badge {
    border-radius: 9px;
    background: #087f68;
    padding: 6px 8px;
}

.review-title {
    color: #123b35;
}

.review-text {
    color: #526965;
    font-weight: 600;
}

.reviewer-info {
    margin-top: 10px;
    color: #78918b;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 767px) {
    .product-detail-page {
        padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .product-detail-grid {
        display: block !important;
    }

    .product-gallery-panel {
        min-height: 365px !important;
        padding: 14px !important;
        border-radius: 22px;
    }

    .product-gallery-panel > div > .relative.mx-auto.flex {
        height: 300px !important;
    }

    .product-gallery-panel [data-product-gallery-image] {
        max-height: 270px !important;
    }

    .product-gallery-panel [data-product-gallery-thumb] {
        width: 58px !important;
        height: 58px !important;
    }

    .product-info-panel {
        padding: 24px 2px 8px !important;
    }

    .product-info-panel > h1 {
        font-size: 34px !important;
    }

    .product-price-panel .text-4xl {
        font-size: 40px !important;
    }

    .product-benefits > div {
        min-height: 70px;
    }

    .product-detail-page .product-cart-control {
        position: fixed;
        right: 12px;
        bottom: calc(82px + env(safe-area-inset-bottom, 0px));
        left: 12px;
        z-index: 80;
        margin: 0 !important;
        padding: 7px !important;
        border-radius: 18px;
        background: rgba(255,255,255,.95) !important;
        box-shadow: 0 -8px 24px rgba(15,23,42,.08);
        backdrop-filter: blur(12px);
    }

    .product-premium-section {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    .product-description-html {
        padding: 13px 14px;
        font-size: 13px !important;
        line-height: 1.55 !important;
        overflow-wrap: anywhere;
    }

    .product-reviews-heading h2 {
        font-size: 18px !important;
    }

    .product-rating-summary {
        padding: 12px !important;
    }

    .product-rating-score .text-3xl {
        font-size: 36px;
    }

    .review-item {
        padding: 13px !important;
    }
}

/* ===============================
   PREMIUM HOME PAGE REFRESH
================================= */
.home-premium-shell {
    position: relative;
}

.premium-hero-card {
    position: relative;
    background:
        radial-gradient(circle at top left, rgb(var(--primary-rgb) / .36), transparent 32%),
        radial-gradient(circle at bottom right, rgb(var(--secondary-rgb) / .26), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #111827 46%, color-mix(in srgb, var(--primary) 55%, #111827) 100%);
}

.premium-hero-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(8px);
    opacity: .75;
}

.premium-hero-orb-1 {
    top: -28px;
    right: -12px;
    width: 180px;
    height: 180px;
    background: rgb(var(--primary-rgb) / .22);
}

.premium-hero-orb-2 {
    bottom: -46px;
    left: 24%;
    width: 180px;
    height: 180px;
    background: rgb(var(--secondary-rgb) / .15);
}

.premium-glass-panel,
.premium-stat-card,
.premium-floating-card,
.premium-info-chip {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.premium-stat-card {
    border-radius: 22px;
    padding: 15px 16px;
}

.premium-stat-label {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.62);
}

.premium-stat-value {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
    color: #fff;
}

.premium-stat-note {
    margin-top: 7px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255,255,255,.76);
}

.premium-list-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.premium-list-row i {
    width: 16px;
    margin-top: 2px;
    color: rgba(255,255,255,.92);
    text-align: center;
}

.premium-mini-benefits {
    display: grid;
}

.premium-info-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 14px 34px rgba(15,23,42,.05);
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.premium-info-chip i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgb(var(--primary-rgb) / .16), rgb(var(--secondary-rgb) / .12));
    color: var(--primary);
    flex-shrink: 0;
}

.premium-marquee-banner {
    border: 1px solid rgb(var(--primary-rgb) / .18);
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 86%, #111827), color-mix(in srgb, var(--secondary) 55%, #111827)) !important;
}

.premium-trust-chip {
    min-height: 54px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(148,163,184,.16);
    box-shadow: 0 10px 26px rgba(15,23,42,.05);
    font-size: 11px;
}

.premium-section-card {
    position: relative;
}

.premium-section-kicker {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--primary);
}

.premium-section-title {
    margin-top: 8px;
    max-width: 740px;
    color: #0f172a;
    font-size: clamp(24px, 2.7vw, 34px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.premium-section-copy {
    margin-top: 10px;
    max-width: 720px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.premium-section-note {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
}

.premium-floating-card {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.88));
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.premium-categories-wrap {
    margin-bottom: 8px;
}

.premium-category-btn {
    min-width: 0;
    border-radius: 24px;
    padding: 12px 8px 8px;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.premium-category-btn.active {
    background: linear-gradient(180deg, rgb(var(--primary-rgb) / .10), rgba(255,255,255,.9));
    box-shadow: 0 12px 28px rgb(var(--primary-rgb) / .10);
}

.premium-category-tile {
    box-shadow: 0 16px 32px rgba(15,23,42,.08) !important;
}

.premium-category-label {
    line-height: 1.2;
}

.premium-category-banner {
    border: 1px solid rgba(255,255,255,.72);
}

.premium-products-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: fit-content;
    border-radius: 999px;
    padding: 0 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
    border: 1px solid rgba(148,163,184,.18);
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

.premium-product-card {
    min-height: 100%;
}

.premium-banner-slide::before,
.premium-product-card::before,
.premium-section-card::before {
    content: '';
    position: absolute;
    pointer-events: none;
}

.premium-product-card::before {
    top: 1px;
    left: 12px;
    right: 12px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,0));
}

@media (max-width: 767px) {
    .premium-hero-card {
        border-radius: 26px !important;
        padding: 18px !important;
    }

    .premium-stat-card {
        padding: 13px 14px;
    }

    .premium-stat-value {
        font-size: 24px;
    }

    .premium-info-chip {
        min-height: 54px;
        padding: 12px 14px;
        font-size: 12px;
        gap: 10px;
    }

    .premium-info-chip i {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .premium-trust-chip {
        min-height: 50px;
        font-size: 10px;
    }

    .premium-section-card {
        border-radius: 24px !important;
        padding: 16px !important;
    }

    .premium-category-btn {
        padding-inline: 4px;
    }

    .premium-category-tile {
        width: 76px !important;
        height: 76px !important;
        margin-bottom: 9px !important;
    }

    .premium-products-badge {
        min-height: 38px;
    }
}

/* ========================================================================== 
   Royal Nuts inspired storefront shell (home only)
   ========================================================================== */
body.storefront-home {
    --royal-accent: var(--primary, #682103);
    --royal-accent-rgb: var(--primary-rgb, 104 33 3);
    --royal-soft: rgb(var(--royal-accent-rgb) / .08);
    --royal-border: rgb(var(--royal-accent-rgb) / .16);
    background: #f5f5f5 !important;
}

.storefront-home .site-header {
    border-bottom: 1px solid rgba(104, 33, 3, .08) !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 5px 22px rgba(47, 20, 9, .06) !important;
}

.storefront-home .site-header-inner {
    max-width: 1280px;
    padding: 10px 16px 12px;
}

.storefront-home .site-header-row {
    min-height: 42px;
}

.storefront-home .site-logo {
    width: 36px;
    height: 36px;
    border: 1px solid var(--royal-border) !important;
    border-radius: 10px !important;
    background: var(--royal-accent) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.storefront-home .site-brand-text span:first-child {
    color: #111 !important;
    font-size: 17px;
}

.storefront-home .site-brand-text span:last-child {
    color: #6b5c55 !important;
}

.storefront-home .site-menu-btn,
.storefront-home .site-cart-btn {
    border-color: rgba(104, 33, 3, .12) !important;
    border-radius: 11px !important;
    color: var(--royal-accent) !important;
    box-shadow: 0 5px 14px rgba(61, 27, 12, .06) !important;
}

.storefront-home .site-menu-btn {
    display: flex !important;
}

.storefront-home .site-cart-btn i,
.storefront-home .site-menu-btn i {
    color: var(--royal-accent) !important;
}

.storefront-home .site-cart-btn [data-cart-count-badge] {
    background: var(--royal-accent) !important;
}

.storefront-home .site-delivery-pill {
    border-color: var(--royal-border);
    background: var(--royal-soft);
    color: var(--royal-accent);
}

.storefront-home .site-nav-link {
    color: #454545;
}

.storefront-home .site-nav-link:hover {
    border-color: var(--royal-border);
    background: var(--royal-soft);
    color: var(--royal-accent);
}

.storefront-home .site-search-row {
    margin-top: 8px;
}

.storefront-home .site-search-form {
    min-height: 50px !important;
    padding: 7px 8px 7px 12px;
    border: 1px solid rgb(var(--royal-accent-rgb) / .48) !important;
    border-radius: 17px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: inset 5px 0 0 var(--royal-accent), 0 6px 18px rgba(45, 20, 9, .035) !important;
}

.storefront-home .site-search-field > i {
    color: var(--royal-accent) !important;
}

.storefront-home .site-search-input {
    color: #151515;
    font-size: 13px;
    font-weight: 700;
}

.storefront-home .site-search-input::placeholder {
    color: #777;
    opacity: 1;
}

.storefront-home .site-search-submit {
    width: 36px;
    height: 36px;
    border: 0 !important;
    background: var(--royal-soft) !important;
    color: var(--royal-accent) !important;
    box-shadow: 0 7px 15px rgb(var(--royal-accent-rgb) / .10) !important;
}

.storefront-home .site-search-form button.site-search-submit[type="submit"] {
    border-color: var(--royal-border) !important;
    background: #f3ebe8 !important;
    color: var(--royal-accent) !important;
}

.storefront-home .site-search-form button.site-search-submit[type="submit"] i {
    color: var(--royal-accent) !important;
}

.royal-home {
    color: #000;
}

.royal-info-ticker {
    overflow: hidden;
    min-height: 34px;
    width: calc(100% - 32px);
    max-width: 1128px;
    margin: 16px auto 0;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    background: linear-gradient(100deg, #18222c, #0f6856);
    color: #fff;
    box-shadow: 0 10px 24px rgba(26, 51, 47, .08);
}

.royal-info-track {
    display: flex;
    width: max-content;
    min-height: 34px;
    align-items: center;
    animation: royalTicker 28s linear infinite;
}

.royal-info-track span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 24px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.royal-info-track span + span::before {
    content: '';
    width: 3px;
    height: 3px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .58);
}

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

.royal-home > main {
    max-width: 1160px;
}

.royal-home .home-banner-section {
    padding: 12px 16px 0 !important;
}

.royal-home .home-banner-carousel {
    gap: 12px;
}

.royal-home .home-banner-slide {
    height: 258px !important;
    border: 1px solid rgba(104, 33, 3, .08);
    border-radius: 18px !important;
    box-shadow: 0 10px 26px rgba(45, 20, 9, .10) !important;
}

.royal-home .royal-hero-fallback {
    background:
        radial-gradient(circle at 82% 44%, rgba(211, 158, 81, .34), transparent 25%),
        linear-gradient(112deg, #1d0b05 0%, #401509 58%, #6b260d 100%) !important;
}

.royal-home .home-banner-slide img.royal-hero-fallback-image {
    right: 3% !important;
    left: auto !important;
    width: 43% !important;
    height: 100% !important;
    padding: 13px !important;
    border-radius: 28px;
    object-fit: contain !important;
    opacity: .94;
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .28));
}

.royal-home .home-banner-slide > span:nth-of-type(1) {
    background: linear-gradient(90deg, rgba(17, 8, 4, .78), rgba(17, 8, 4, .25) 56%, transparent 82%) !important;
}

.royal-home .home-banner-slide > span:last-child {
    max-width: 68%;
    padding: 20px !important;
}

.royal-home .home-banner-slide > span:last-child > span:first-child {
    color: #f7d7a7 !important;
    font-size: 9px !important;
    letter-spacing: .18em !important;
}

.royal-home .home-banner-slide > span:last-child > span:nth-child(2) {
    margin-top: 6px !important;
    font-size: clamp(24px, 4vw, 38px) !important;
    line-height: 1.04 !important;
}

.royal-home .home-banner-slide > span:last-child > span:last-child {
    margin-top: 14px !important;
    padding: 9px 13px !important;
    border-radius: 10px !important;
    color: var(--royal-accent) !important;
}

.royal-home #banner-dots {
    margin-top: 8px !important;
}

.royal-home #banner-dots span {
    background: #d8cbc6;
}

.royal-home #banner-dots span.is-active {
    width: 24px;
    background: var(--royal-accent);
}

.royal-section-heading {
    display: grid;
    grid-template-columns: 6px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-height: 70px;
    padding: 13px 15px 13px 0;
    border: 1px solid rgba(104, 33, 3, .08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(45, 20, 9, .04);
}

.royal-section-rail {
    align-self: stretch;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(180deg, var(--royal-accent), #ba8a45);
}

.royal-section-heading .premium-section-kicker {
    color: var(--royal-accent) !important;
    font-size: 9px !important;
    letter-spacing: .15em !important;
}

.royal-section-heading .premium-section-title {
    margin-top: 4px;
    color: #111 !important;
    font-size: 18px !important;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.royal-section-link,
.royal-product-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 10px;
    background: var(--royal-soft);
    color: var(--royal-accent);
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.royal-home .home-category-bar {
    margin: 12px 0 0;
}

.royal-home #category-container {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    justify-items: stretch;
    gap: 10px !important;
    padding: 10px 2px 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.royal-home .home-category-button {
    display: flex;
    width: 100% !important;
    min-width: 0;
    min-height: 104px !important;
    flex-direction: column;
    justify-content: center;
    gap: 7px !important;
    padding: 7px 4px !important;
    border: 1px solid transparent;
    border-radius: 16px !important;
    background: transparent;
    color: #333;
    text-align: center;
    box-shadow: none;
}

.royal-home .home-category-button:hover,
.royal-home .home-category-button.active {
    border-color: var(--royal-border) !important;
    background: var(--royal-soft) !important;
    color: var(--royal-accent) !important;
    box-shadow: none !important;
    transform: translateY(-1px);
}

.royal-category-banners {
    margin-top: 12px;
}

.royal-category-banner {
    position: relative;
    height: 118px;
    overflow: hidden;
    border: 1px solid rgba(104, 33, 3, .12);
    border-radius: 18px;
    background: #2b170f;
    box-shadow: 0 8px 22px rgba(45, 20, 9, .08);
}

.royal-category-banner.hidden {
    display: none;
}

.royal-category-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: transparent;
    font-size: 0;
}

.royal-category-banner-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 12, 8, .90), rgba(61, 28, 13, .58) 48%, rgba(22, 12, 8, .08));
}

.royal-category-banner-copy {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #fff;
    transform: translateY(-50%);
}

.royal-category-banner-copy > span {
    color: #f2cf92;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.royal-category-banner-copy > strong {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.1;
}

.royal-home .home-category-icon {
    width: clamp(58px, 7vw, 74px) !important;
    height: clamp(58px, 7vw, 74px) !important;
    border: 1px solid rgba(104, 33, 3, .08);
    border-radius: 20px !important;
    background: #f6f2f0;
    color: var(--royal-accent);
}

.royal-home .home-category-icon img {
    object-fit: cover;
}

.royal-home .home-category-button .category-label {
    width: 100%;
    color: inherit !important;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
}

.royal-home .royal-products-section {
    padding-top: 18px !important;
}

.royal-home .royal-products-heading {
    margin-bottom: 12px;
}

.royal-home #product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    align-items: stretch !important;
}

.royal-home .premium-product-card {
    min-width: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    height: auto !important;
    align-self: start !important;
    overflow: hidden;
    padding: 10px !important;
    border: 1px solid rgba(104, 33, 3, .09) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(45, 20, 9, .055) !important;
}

.royal-home .premium-product-card::before {
    display: none;
}

.royal-home .premium-product-card:hover {
    border-color: var(--royal-border) !important;
    box-shadow: 0 11px 26px rgba(45, 20, 9, .10) !important;
    transform: translateY(-2px);
}

.royal-home .premium-product-card > div.relative.z-10.mt-auto.flex.h-full {
    min-width: 0 !important;
    height: auto !important;
    margin-top: 0 !important;
}

.royal-home .premium-product-card > div.relative.z-10:first-of-type > div {
    border-color: rgba(104, 33, 3, .08) !important;
    background: #fff9f6 !important;
    color: var(--royal-accent) !important;
}

.royal-home .product-card-gallery,
.royal-home .premium-product-card > div:nth-child(3) {
    min-height: 0 !important;
    height: 160px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: #f7f7f7 !important;
}

.royal-home .product-card-image {
    max-height: 150px !important;
    transform: scale(1.05) !important;
    filter: drop-shadow(0 12px 13px rgba(45, 20, 9, .11));
}

.royal-home .product-card-gallery-btn {
    width: 26px;
    height: 26px;
    border-color: var(--royal-border);
    color: var(--royal-accent);
}

.royal-home .product-card-gallery-dots button.is-active {
    background: var(--royal-accent);
}

.royal-home .premium-product-card h3 {
    margin-bottom: 3px !important;
    color: #111 !important;
    font-size: 13px !important;
    font-weight: 900;
    line-height: 1.35 !important;
}

.royal-home .premium-product-card h3 + p {
    margin-bottom: 8px !important;
    color: #686868 !important;
    font-size: 10px !important;
}

.royal-home .premium-product-card .rounded-full.bg-emerald-50 {
    background: var(--royal-soft) !important;
    color: var(--royal-accent) !important;
}

.royal-home .product-card-price-row {
    min-height: 26px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.royal-home .product-card-price-row .text-\[22px\] {
    color: #111 !important;
    font-size: 17px !important;
}

.royal-home .product-card-price-row .text-\[12px\].line-through {
    font-size: 10px !important;
}

.royal-home .royal-product-promise {
    display: none !important;
}

.royal-home .cart-add-button {
    height: 36px !important;
    border: 1.5px solid var(--royal-accent) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--royal-accent) !important;
    font-size: 10px !important;
    box-shadow: none !important;
}

.royal-home .cart-add-button:hover {
    background: var(--royal-soft) !important;
}

.royal-home [id^="cart-control-"] > div {
    height: 36px !important;
    border-radius: 10px !important;
    background: var(--royal-accent) !important;
    box-shadow: 0 7px 16px rgb(var(--royal-accent-rgb) / .18) !important;
}

.royal-home .home-trust-section {
    display: none;
}

.storefront-home .store-bottom-nav {
    min-height: calc(64px + env(safe-area-inset-bottom, 0px));
    border-top-color: rgba(104, 33, 3, .10);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 24px rgba(45, 20, 9, .09);
}

.storefront-home .store-bottom-nav-item.active {
    background: var(--royal-soft);
    color: var(--royal-accent);
}

.storefront-home .mobile-nav-count {
    background: var(--royal-accent);
}

.storefront-home .site-footer {
    border-top-color: rgba(104, 33, 3, .09) !important;
    background: #fff !important;
}

.storefront-home .site-footer-link i,
.storefront-home .site-footer-brand .text-brandBlue,
.storefront-home .site-footer-brand .text-btnGreen {
    color: var(--royal-accent) !important;
}

.storefront-home .cart-modal {
    max-width: 520px;
    height: 85vh;
    border-radius: 25px 25px 0 0 !important;
}

.storefront-home .cart-modal .bg-btnGreen,
.storefront-home .cart-modal button.bg-btnGreen {
    background: var(--royal-accent) !important;
}

.storefront-home .offer-card.active {
    border-left-color: var(--royal-accent) !important;
    background: var(--royal-soft) !important;
}

@media (min-width: 640px) {
    .royal-home #product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .royal-home .product-card-gallery,
    .royal-home .premium-product-card > div:nth-child(3) {
        height: 190px !important;
    }

    .royal-home .product-card-image {
        max-height: 180px !important;
    }
}

@media (min-width: 1024px) {
    .royal-home #product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .storefront-home .site-header-inner {
        padding: 7px 12px 9px !important;
    }

    .storefront-home .site-header-row {
        height: 44px;
    }

    .storefront-home .site-brand-wrap {
        gap: 8px;
    }

    .storefront-home .site-menu-btn,
    .storefront-home .site-cart-btn {
        width: 38px;
        height: 38px;
    }

    .storefront-home .site-brand {
        max-width: calc(100vw - 148px);
    }

    .storefront-home .site-search-form {
        min-height: 48px !important;
    }

    .royal-info-track span {
        padding: 0 17px;
        font-size: 9px;
    }

    .royal-info-ticker {
        width: calc(100% - 24px);
        margin-top: 10px;
        border-radius: 14px;
    }

    .royal-home .home-banner-section {
        padding: 10px 12px 0 !important;
    }

    .royal-home .home-banner-slide {
        height: 160px !important;
        border-radius: 18px !important;
    }

    .royal-home .home-banner-slide > span:last-child {
        max-width: 82%;
        padding: 14px !important;
    }

    .royal-home .home-banner-slide img.royal-hero-fallback-image {
        right: -5% !important;
        width: 54% !important;
        padding: 9px !important;
        opacity: .86;
    }

    .royal-home .home-banner-slide > span:last-child > span:nth-child(2) {
        font-size: 23px !important;
    }

    .royal-home .home-banner-slide > span:last-child > span:last-child {
        margin-top: 10px !important;
        padding: 7px 10px !important;
        font-size: 10px !important;
    }

    .royal-home #shop-section,
    .royal-home .royal-products-section {
        padding-inline: 12px !important;
    }

    .royal-home #shop-section {
        padding-top: 12px !important;
    }

    .royal-section-heading {
        min-height: 62px;
        gap: 10px;
        padding: 10px 11px 10px 0;
        border-radius: 14px;
    }

    .royal-section-heading .premium-section-title {
        font-size: 16px !important;
    }

    .royal-section-link,
    .royal-product-count {
        padding: 6px 8px;
        font-size: 9px;
    }

    .royal-home #category-container {
        gap: 5px !important;
        padding: 7px 0 2px !important;
        border-radius: 16px !important;
    }

    .royal-home .home-category-button {
        min-height: 91px !important;
        gap: 6px !important;
        padding: 6px 2px !important;
        border-radius: 13px !important;
    }

    .royal-category-banners {
        margin-top: 9px;
    }

    .royal-category-banner {
        height: 104px;
        border-radius: 15px;
    }

    .royal-home .home-category-icon {
        width: 62px !important;
        height: 62px !important;
        border-radius: 18px !important;
    }

    .royal-home .home-category-button .category-label {
        font-size: 9.5px;
    }

    .royal-home #product-grid {
        gap: 9px !important;
    }

    .royal-home .premium-product-card {
        min-height: 0 !important;
        padding: 8px !important;
        border-radius: 17px !important;
    }

    .royal-home .premium-product-card > div.relative.z-10.mt-auto.flex.h-full {
        height: auto !important;
    }

    .royal-home .product-card-gallery,
    .royal-home .premium-product-card > div:nth-child(3) {
        height: 154px !important;
    }

    .royal-home .product-card-image {
        max-height: 144px !important;
    }
}

@media (min-width: 768px) {
    .storefront-home .site-delivery-pill {
        display: inline-flex !important;
    }

    .storefront-home .store-bottom-nav {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .storefront-home .site-actions nav {
        display: flex !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .royal-info-track {
        animation: none;
    }
}

/* The shared drawer uses the cart-overlay base; restore visibility only for its own backdrop. */
#menu-overlay.active {
    visibility: visible;
}

/* Keep the shared navigation drawer dense enough for smaller phones. */
@media (max-width: 767px) {
    #side-menu {
        width: min(82vw, 290px) !important;
        border-radius: 0 22px 22px 0 !important;
    }

    #side-menu > div:first-child {
        min-height: 58px;
        padding: 11px 12px !important;
        border-bottom-right-radius: 22px !important;
    }

    #side-menu > div:first-child .h-10.w-10 {
        width: 36px !important;
        height: 36px !important;
        font-size: 15px !important;
    }

    #side-menu [data-menu-customer-name] {
        font-size: 15px !important;
    }

    #side-menu [data-menu-customer-subtitle] {
        margin-top: 2px !important;
        font-size: 9px !important;
    }

    #side-menu > div:first-child > button {
        width: 30px !important;
        height: 30px !important;
    }

    #side-menu > nav {
        padding: 10px !important;
    }

    #side-menu > nav > div {
        margin: 0 2px 6px !important;
        font-size: 9px !important;
        line-height: 1.2 !important;
    }

    #side-menu > nav > div.mt-6 {
        margin-top: 14px !important;
    }

    #side-menu > nav > a {
        min-height: 56px !important;
        gap: 10px !important;
        margin-bottom: 7px !important;
        padding: 8px 10px !important;
        border-radius: 14px !important;
    }

    #side-menu > nav > a > div:first-child {
        width: 35px !important;
        height: 35px !important;
        flex: 0 0 35px;
        border-radius: 11px !important;
        font-size: 15px !important;
    }

    #side-menu > nav > a > div.flex-1 > div:first-child {
        font-size: 13px !important;
        line-height: 1.15 !important;
    }

    #side-menu > nav > a > div.flex-1 > div:last-child {
        display: none;
    }

    #side-menu > nav > a > i {
        font-size: 11px !important;
    }

    #side-menu > div:last-child {
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        font-size: 10px !important;
    }
}

/* ===============================
   MOBILE STORE POLISH
   Keep product and cart screens compact, theme-driven, and clear of fixed actions.
================================= */

/* Product colours now follow the values set in Admin > Theme instead of a fixed teal palette. */
#main-app.product-detail-page {
    --product-surface: rgb(var(--primary-rgb, 104 33 3) / .055);
    --product-surface-strong: rgb(var(--primary-rgb, 104 33 3) / .11);
    --product-border: rgb(var(--primary-rgb, 104 33 3) / .20);
}

#main-app.product-detail-page .product-back-link {
    color: var(--primary) !important;
}

#main-app.product-detail-page .product-gallery-panel {
    border-color: var(--product-border) !important;
    background: linear-gradient(145deg, #fff, var(--product-surface)) !important;
}

#main-app.product-detail-page .product-gallery-panel > div > .relative.mx-auto.flex {
    background: rgb(255 255 255 / .76) !important;
}

#main-app.product-detail-page .product-gallery-panel > div > .relative.mx-auto.flex > button,
#main-app.product-detail-page .product-gallery-panel [data-product-gallery-thumb] {
    border-color: var(--product-border) !important;
    color: var(--primary) !important;
}

#main-app.product-detail-page .product-gallery-panel [data-product-gallery-thumb].border-brandOrange {
    border-color: var(--primary) !important;
}

#main-app.product-detail-page .product-gallery-panel .text-btnGreen,
#main-app.product-detail-page .product-info-panel > .mb-3 span:last-child,
#main-app.product-detail-page .product-offers .text-brandOrange,
#main-app.product-detail-page .product-support .text-btnGreen,
#main-app.product-detail-page .product-section-eyebrow,
#main-app.product-detail-page .product-rating-score .text-3xl,
#main-app.product-detail-page .reviewer-info .text-btnGreen {
    color: var(--primary) !important;
}

#main-app.product-detail-page .product-info-panel > .mb-3 span:first-child,
#main-app.product-detail-page .product-rating-pill,
#main-app.product-detail-page .rating-badge {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}

#main-app.product-detail-page .product-info-panel > .mb-3 span:last-child {
    background: var(--product-surface) !important;
}

#main-app.product-detail-page .product-info-panel > h1,
#main-app.product-detail-page .product-description-html strong,
#main-app.product-detail-page .product-description-html b,
#main-app.product-detail-page .product-description-html h1,
#main-app.product-detail-page .product-description-html h2,
#main-app.product-detail-page .product-description-html h3,
#main-app.product-detail-page .product-description-html h4,
#main-app.product-detail-page .review-title {
    color: var(--text-main) !important;
}

#main-app.product-detail-page .product-info-panel > p,
#main-app.product-detail-page .product-description-html,
#main-app.product-detail-page .review-text,
#main-app.product-detail-page .reviewer-info {
    color: var(--text-muted) !important;
}

#main-app.product-detail-page .product-info-panel > .h-px,
#main-app.product-detail-page .product-benefits > div,
#main-app.product-detail-page .product-offers,
#main-app.product-detail-page .product-support,
#main-app.product-detail-page .product-description-card,
#main-app.product-detail-page .details-card,
#main-app.product-detail-page .product-premium-section,
#main-app.product-detail-page .product-rating-summary,
#main-app.product-detail-page .product-rating-score,
#main-app.product-detail-page .review-item,
#main-app.product-detail-page .product-description-card .grid > div,
#main-app.product-detail-page .product-description-html td,
#main-app.product-detail-page .product-description-html th {
    border-color: var(--product-border) !important;
}

#main-app.product-detail-page .product-info-panel > .h-px {
    background: var(--product-border) !important;
}

#main-app.product-detail-page .product-price-panel {
    background: var(--primary) !important;
    box-shadow: 0 14px 30px rgb(var(--primary-rgb, 104 33 3) / .20) !important;
}

#main-app.product-detail-page .product-benefits > div,
#main-app.product-detail-page .product-description-card .grid > div,
#main-app.product-detail-page .review-item {
    background: #fff !important;
}

#main-app.product-detail-page .product-benefits i,
#main-app.product-detail-page .product-description-card .text-brandOrange,
#main-app.product-detail-page .product-rating-summary .h-full {
    color: var(--primary) !important;
}

#main-app.product-detail-page .product-rating-summary .h-full {
    background: var(--primary) !important;
}

#main-app.product-detail-page .product-offers,
#main-app.product-detail-page .product-support,
#main-app.product-detail-page .product-rating-summary,
#main-app.product-detail-page .product-description-html,
#main-app.product-detail-page .product-description-html th {
    background: var(--product-surface) !important;
}

#main-app.product-detail-page .product-description-html {
    border-left-color: var(--primary) !important;
}

#main-app.product-detail-page [data-product-size-section] {
    border-color: var(--product-border) !important;
    background: var(--product-surface) !important;
}

#main-app.product-detail-page [data-product-size-section] .text-blue-700,
#main-app.product-detail-page [data-size-choice] {
    color: var(--primary) !important;
}

#main-app.product-detail-page [data-size-choice] {
    border-color: var(--product-border) !important;
}

#main-app.product-detail-page .product-cart-control > button,
#main-app.product-detail-page .product-cart-control > div {
    background: var(--button) !important;
    box-shadow: 0 12px 25px rgb(var(--button-rgb, 104 33 3) / .25) !important;
}

/* The listing is its own page, so it receives the same editable palette without changing Home. */
#main-app.product-listing-page .catalog-hero {
    background: linear-gradient(135deg, var(--primary), var(--button)) !important;
    box-shadow: 0 16px 30px rgb(var(--primary-rgb, 104 33 3) / .22) !important;
}

#main-app.product-listing-page .product-card {
    border-color: var(--theme-border) !important;
    box-shadow: 0 9px 22px rgb(var(--primary-rgb, 104 33 3) / .09) !important;
}

#main-app.product-listing-page .product-card > .bg-green-600 {
    background: var(--primary) !important;
}

#main-app.product-listing-page .product-card > .mb-3.mt-7 {
    border-color: var(--theme-border) !important;
    background: var(--theme-soft) !important;
}

#main-app.product-listing-page .product-card .text-brandOrange,
#main-app.product-listing-page .product-card .cart-add-button {
    color: var(--button) !important;
}

#main-app.product-listing-page .product-card .bg-orange-50,
#main-app.product-listing-page .product-card .bg-blue-50 {
    background: var(--button-soft) !important;
    border-color: var(--button-border) !important;
}

#main-app.product-listing-page .product-card .cart-add-button {
    border-color: var(--button) !important;
}

#main-app.product-listing-page .product-card [id^="cart-control-"] > div {
    background: var(--button) !important;
}

@media (max-width: 767px) {
    /* A checkout has its own fixed action; showing the store footer underneath it creates a dead, covered area. */
    body.store-route-cart .site-footer {
        display: none;
    }

    body.store-route-cart .cart-page {
        min-height: 0 !important;
        padding-bottom: calc(106px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .site-footer:not(.site-footer-no-mobile-nav) > div {
        gap: 12px !important;
        padding: 16px 14px !important;
    }

    .site-footer:not(.site-footer-no-mobile-nav) .site-footer-brand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .site-footer:not(.site-footer-no-mobile-nav) .site-footer-brand > .mt-4 {
        margin-top: 0 !important;
        flex: 0 0 auto;
        padding: 8px 9px !important;
        font-size: 9px !important;
    }

    #main-app.product-detail-page {
        padding-bottom: calc(154px + env(safe-area-inset-bottom, 0px)) !important;
    }

    #main-app.product-detail-page > main {
        padding: 12px !important;
    }

    #main-app.product-detail-page .product-back-link {
        height: 34px !important;
        margin-bottom: 10px !important;
        font-size: 12px !important;
    }

    #main-app.product-detail-page .product-gallery-panel {
        min-height: 278px !important;
        padding: 12px !important;
        border-radius: 18px !important;
    }

    #main-app.product-detail-page .product-gallery-panel > div > .relative.mx-auto.flex {
        height: 214px !important;
        border-radius: 16px !important;
    }

    #main-app.product-detail-page .product-gallery-panel [data-product-gallery-image] {
        max-height: 200px !important;
        transform: scale(1.02) !important;
    }

    #main-app.product-detail-page .product-gallery-panel [data-product-gallery-thumb] {
        width: 46px !important;
        height: 46px !important;
        border-radius: 11px !important;
    }

    #main-app.product-detail-page .product-gallery-panel > .absolute {
        padding: 6px 8px !important;
        font-size: 9px !important;
    }

    #main-app.product-detail-page .product-info-panel {
        padding: 18px 2px 6px !important;
    }

    #main-app.product-detail-page .product-info-panel > .mb-3 {
        margin-bottom: 10px !important;
    }

    #main-app.product-detail-page .product-info-panel > h1 {
        font-size: 26px !important;
        line-height: 1.06 !important;
        letter-spacing: -.045em !important;
    }

    #main-app.product-detail-page .product-info-panel > p {
        margin-top: 6px !important;
        font-size: 12px !important;
    }

    #main-app.product-detail-page .product-info-panel > .h-px {
        margin-block: 14px !important;
    }

    #main-app.product-detail-page .product-price-panel,
    #main-app.product-detail-page .product-offers,
    #main-app.product-detail-page .product-support {
        padding: 13px !important;
        border-radius: 17px !important;
    }

    #main-app.product-detail-page .product-price-panel .text-4xl {
        font-size: 32px !important;
        line-height: 1 !important;
    }

    #main-app.product-detail-page .product-price-panel {
        padding: 12px !important;
    }

    #main-app.product-detail-page .product-price-panel > p.mt-2 {
        margin-top: 5px !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
    }

    #main-app.product-detail-page .product-benefits > div {
        min-height: 58px !important;
        padding: 8px 3px !important;
        border-radius: 13px !important;
    }

    #main-app.product-detail-page .product-benefits p {
        font-size: 9px !important;
    }

    #main-app.product-detail-page .product-offers,
    #main-app.product-detail-page .product-support {
        margin-top: 12px !important;
    }

    #main-app.product-detail-page .product-offers li,
    #main-app.product-detail-page .product-support p {
        font-size: 11px !important;
        line-height: 1.45 !important;
    }

    #main-app.product-detail-page .product-cart-control {
        right: 10px !important;
        bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
        left: 10px !important;
        padding: 6px !important;
        border-radius: 16px !important;
    }

    #main-app.product-detail-page .product-cart-control > button,
    #main-app.product-detail-page .product-cart-control > div {
        min-height: 52px !important;
        border-radius: 13px !important;
        font-size: 14px !important;
    }

    #main-app.product-detail-page .product-premium-section {
        margin-top: 14px !important;
        padding: 14px !important;
        border-radius: 18px !important;
    }

    #main-app.product-detail-page .product-description-html {
        padding: 12px !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    #main-app.product-listing-page > main {
        padding: 12px !important;
    }

    #main-app.product-listing-page .catalog-hero {
        margin-bottom: 14px !important;
        padding: 16px !important;
        border-radius: 20px !important;
    }

    #main-app.product-listing-page .catalog-hero h1 {
        font-size: 24px !important;
        overflow-wrap: anywhere;
    }

    #main-app.product-listing-page .catalog-hero p {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    #main-app.product-listing-page #product-grid {
        gap: 9px !important;
    }

    #main-app.product-listing-page .product-card {
        padding: 8px !important;
        border-radius: 16px !important;
    }

    #main-app.product-listing-page .product-card > .mb-3.mt-7 {
        height: 118px !important;
        margin-top: 26px !important;
        margin-bottom: 8px !important;
        padding: 6px !important;
        border-radius: 12px !important;
    }

    #main-app.product-listing-page .product-card h3 {
        font-size: 12px !important;
    }

    #main-app.product-listing-page .product-card > p,
    #main-app.product-listing-page .product-card .text-\[10px\] {
        font-size: 9px !important;
    }

    #main-app.product-listing-page .product-card .cart-add-button,
    #main-app.product-listing-page .product-card [id^="cart-control-"] > div {
        height: 34px !important;
        min-height: 34px !important;
        font-size: 10px !important;
    }

    /* Product browsing keeps its search, but the header should not consume a full mobile viewport. */
    body.store-route-products .site-header-inner {
        padding: 8px 12px !important;
    }

    body.store-route-products .site-header-row {
        min-height: 40px;
    }

    body.store-route-products .site-menu-btn,
    body.store-route-products .site-cart-btn {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
    }

    body.store-route-products .site-logo {
        width: 34px !important;
        height: 34px !important;
    }

    body.store-route-products .site-brand-text > span:first-child {
        font-size: 16px !important;
    }

    body.store-route-products .site-search-row {
        margin-top: 6px !important;
    }

    body.store-route-products .site-search-form {
        min-height: 46px !important;
        padding: 6px !important;
        border-radius: 15px !important;
    }

    body.store-route-products .site-search-submit {
        width: 34px !important;
        height: 34px !important;
    }
}
