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

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 .28s 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(16px);
    animation: textRise .28s cubic-bezier(.175, .885, .32, 1.275) forwards;
}

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

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

.loader-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.05);
    transition: opacity .18s ease, transform .18s ease;
}

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

@keyframes textRise {
    0% { opacity: 0; transform: translateY(16px); }
    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;
}

.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;
    }
}

/* ===============================
   PRODUCTS PAGE PREMIUM
================================= */
body:not(.admin-shell) .products-page main {
    max-width: 1120px !important;
}

body:not(.admin-shell) .product-list-hero {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .76);
    background:
        linear-gradient(135deg, rgba(17, 24, 39, .92), rgba(15, 118, 110, .86)),
        linear-gradient(135deg, var(--primary), var(--button)) !important;
    box-shadow: 0 22px 54px rgba(17, 24, 39, .16) !important;
}

body:not(.admin-shell) .product-list-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 82% 16%, rgba(255,255,255,.20), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.12), transparent 42%);
}

body:not(.admin-shell) .product-list-hero > * {
    position: relative;
    z-index: 1;
}

body:not(.admin-shell) .product-list-hero p:first-child {
    color: rgba(255,255,255,.72) !important;
}

body:not(.admin-shell) .products-page #category-container,
body:not(.admin-shell) .products-page .mb-5.grid.grid-cols-4 {
    margin-right: -2px;
    margin-left: -2px;
}

body:not(.admin-shell) .products-page .category-tile {
    background: #fff !important;
}

body:not(.admin-shell) .products-page .mb-4.flex.items-center.justify-between.rounded-2xl {
    min-height: 62px;
    border-radius: 18px !important;
}

body:not(.admin-shell) .products-page #product-grid {
    gap: 18px !important;
}

body:not(.admin-shell) .product-detail-hero {
    position: relative;
    border: 1px solid rgba(17, 24, 39, .08) !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 24px 64px rgba(17, 24, 39, .13) !important;
}

body:not(.admin-shell) .product-detail-hero > .px-4.py-3 {
    border-bottom: 1px solid rgba(255,255,255,.22);
    background:
        linear-gradient(135deg, var(--button), var(--leaf)) !important;
    letter-spacing: .04em;
}

body:not(.admin-shell) .product-detail-media {
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 28%, rgba(255,255,255,.96), transparent 33%),
        linear-gradient(145deg, #fbfdf8, #edf6ed) !important;
}

body:not(.admin-shell) .product-detail-media::before {
    content: "";
    position: absolute;
    inset: 26px;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,.50), transparent 45%);
    box-shadow: inset 0 -28px 54px rgba(17, 24, 39, .045);
}

body:not(.admin-shell) .product-detail-media [data-product-gallery-image] {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 24px 26px rgba(17, 24, 39, .16));
}

body:not(.admin-shell) .product-detail-media .absolute.left-4,
body:not(.admin-shell) .product-detail-media .absolute.right-4 {
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body:not(.admin-shell) .product-detail-info {
    background: linear-gradient(180deg, #fff, #fbfdf9);
}

body:not(.admin-shell) .product-detail-info h1 {
    letter-spacing: 0 !important;
}

body:not(.admin-shell) .product-detail-info > .rounded-\[24px\] {
    border-color: rgb(var(--button-rgb) / .18) !important;
    background:
        linear-gradient(135deg, #ffffff, rgb(var(--button-rgb) / .08)) !important;
    box-shadow: 0 16px 38px rgba(17, 24, 39, .08) !important;
}

body:not(.admin-shell) .product-detail-info > .mt-4.grid > div,
body:not(.admin-shell) .product-detail-info > .mt-5.rounded-\[22px\],
body:not(.admin-shell) .product-detail-info > .mt-4.rounded-\[22px\],
body:not(.admin-shell) [data-product-size-section] {
    border: 1px solid rgba(17, 24, 39, .08) !important;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(17, 24, 39, .06) !important;
}

body:not(.admin-shell) .product-detail-info > .mt-4.grid > div i {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 999px;
    background: var(--button-soft);
    color: var(--button) !important;
}

body:not(.admin-shell) .product-detail-info [id^="cart-control-"] {
    position: sticky;
    bottom: 18px;
    z-index: 20;
}

body:not(.admin-shell) .product-description-card,
body:not(.admin-shell) .details-card {
    border-radius: 20px !important;
}

body:not(.admin-shell) .products-page .similar-products-scroll {
    padding-top: 4px;
    padding-bottom: 18px;
}

body:not(.admin-shell) .products-page .similar-product-item {
    flex-basis: 214px;
}

@media (min-width: 1024px) {
    body:not(.admin-shell) .product-detail-info {
        border-left: 1px solid rgba(17, 24, 39, .07);
    }
}

@media (max-width: 767px) {
    body:not(.admin-shell) .products-page main {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    body:not(.admin-shell) .product-list-hero {
        border-radius: 20px !important;
        padding: 18px !important;
    }

    body:not(.admin-shell) .product-detail-hero {
        border-radius: 20px !important;
    }

    body:not(.admin-shell) .product-detail-media {
        min-height: 330px !important;
        padding: 18px !important;
    }

    body:not(.admin-shell) .product-detail-media::before {
        inset: 16px;
        border-radius: 20px;
    }

    body:not(.admin-shell) .product-detail-info {
        padding: 18px !important;
    }

    body:not(.admin-shell) .product-detail-info h1 {
        font-size: 26px !important;
    }

    body:not(.admin-shell) .products-page #product-grid {
        gap: 12px !important;
    }
}

/* ===============================
   PREMIUM STORE + ADMIN REFRESH
================================= */
:root {
    --surface: #ffffff;
    --surface-soft: #f8faf7;
    --surface-strong: #eef5ef;
    --ink: var(--text-main, #111827);
    --muted: var(--text-muted, #667085);
    --line: rgba(17, 24, 39, .09);
    --line-strong: rgba(17, 24, 39, .14);
    --warm: #b45309;
    --leaf: #0f766e;
    --rose: #be123c;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --shadow-soft: 0 10px 30px rgba(17, 24, 39, .08);
    --shadow-lift: 0 18px 45px rgba(17, 24, 39, .12);
}

body {
    background:
        linear-gradient(180deg, rgba(248, 250, 247, .98), rgba(241, 245, 239, .95) 46%, rgba(255, 255, 255, .98)),
        var(--page-bg, #f6f7f2);
}

body::selection,
.admin-shell ::selection {
    background: var(--button-soft);
    color: var(--ink);
}

.site-header {
    border-bottom: 1px solid rgba(17, 24, 39, .08) !important;
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: 0 12px 36px rgba(17, 24, 39, .08) !important;
}

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

.site-logo,
.site-footer-brand .grid,
.admin-brand-mark {
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--primary), var(--warm)) !important;
    box-shadow: 0 10px 24px var(--theme-shadow);
}

.site-brand-text span:first-child,
.site-footer-brand .truncate,
.admin-brand span:first-child {
    color: var(--ink) !important;
    letter-spacing: 0;
}

.site-brand-text span:last-child,
.site-footer-brand .uppercase,
.admin-brand span:last-child {
    color: var(--muted) !important;
}

.site-nav-link,
.site-action-pill,
.site-cart-btn,
.site-menu-btn {
    border: 1px solid transparent;
    border-radius: var(--radius-sm) !important;
}

.site-nav-link:hover,
.site-menu-btn:hover,
.site-cart-btn:hover {
    border-color: var(--line);
    background: var(--surface-soft) !important;
}

.site-search-form {
    min-height: 58px;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-md) !important;
    background: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 12px 34px rgba(17, 24, 39, .07) !important;
}

.site-search-input {
    font-weight: 800 !important;
}

.site-search-submit,
.btn-primary,
.proceed-btn,
.cart-add-button.is-filled,
.bg-brandOrange,
.bg-orange-600,
.bg-blue-600 {
    background: linear-gradient(135deg, var(--primary), var(--warm)) !important;
}

.bg-btnGreen,
.bg-green-600,
.bg-emerald-600 {
    background: linear-gradient(135deg, var(--button), var(--leaf)) !important;
}

.offer-banner {
    border: 1px solid rgb(var(--primary-rgb) / .18);
    background: linear-gradient(135deg, var(--primary), var(--warm), var(--leaf)) !important;
    box-shadow: var(--shadow-soft) !important;
}

.side-menu,
.cart-modal,
#size-picker-modal {
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .96);
    box-shadow: 22px 0 48px rgba(17, 24, 39, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.side-menu a,
.offer-card,
.cart-item,
.product-description-card,
.details-card {
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 8px 24px rgba(17, 24, 39, .06) !important;
}

.product-card,
.rounded-\[28px\],
.rounded-\[30px\],
.rounded-\[24px\],
.rounded-\[22px\],
.rounded-2xl {
    border-radius: var(--radius-md) !important;
}

.product-card,
.shadow-card,
.site-footer,
main .bg-white,
main section.bg-white,
main article.bg-white {
    border-color: var(--line) !important;
    box-shadow: var(--shadow-soft) !important;
}

.product-card {
    background: linear-gradient(180deg, #fff, var(--surface-soft)) !important;
    border: 1px solid var(--line) !important;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift) !important;
}

.cart-add-button {
    border-width: 1px !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 8px 18px rgba(17, 24, 39, .06);
}

.timer-box,
.rating-badge,
.mobile-nav-count,
#cart-count {
    box-shadow: 0 8px 18px var(--theme-shadow);
}

.store-bottom-nav {
    left: 50%;
    width: min(100%, 720px);
    transform: translateX(-50%);
    border: 1px solid rgba(17, 24, 39, .08);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: rgba(255, 255, 255, .94);
}

.store-bottom-nav-item.active {
    background: linear-gradient(135deg, var(--button-soft), rgb(var(--primary-rgb) / .08));
}

.site-footer {
    border-top: 1px solid var(--line) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 247, .98)) !important;
}

input,
select,
textarea {
    border-color: var(--line-strong) !important;
    border-radius: var(--radius-sm) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px var(--theme-soft) !important;
}

button,
a {
    text-underline-offset: 3px;
}

table {
    border-collapse: separate;
    border-spacing: 0;
}

thead {
    background: var(--surface-soft);
}

th {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

td,
th {
    border-color: var(--line) !important;
}

/* Admin panel */
.admin-shell {
    min-height: 100vh;
    background:
        linear-gradient(180deg, #f8faf7 0%, #eef5ef 44%, #ffffff 100%);
    color: var(--ink);
}

.admin-topbar {
    border-bottom: 1px solid var(--line) !important;
    background: rgba(255, 255, 255, .9) !important;
    box-shadow: 0 12px 36px rgba(17, 24, 39, .08) !important;
}

.admin-nav {
    gap: 7px !important;
}

.admin-nav-link,
.admin-logout {
    min-height: 40px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm) !important;
    font-weight: 900;
}

.admin-nav-link:hover {
    border-color: var(--line);
    background: var(--surface-soft) !important;
    color: var(--ink) !important;
}

.admin-nav-link.is-active {
    border-color: var(--theme-border) !important;
    background: var(--theme-soft) !important;
    box-shadow: inset 0 0 0 1px rgb(var(--primary-rgb) / .05);
}

.admin-logout {
    background: linear-gradient(135deg, #111827, #334155) !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .16);
}

.admin-shell main {
    max-width: 1180px !important;
}

.admin-shell h1 {
    color: var(--ink);
    letter-spacing: 0;
}

.admin-shell main > .rounded-2xl,
.admin-shell section,
.admin-shell form,
.admin-shell .bg-white,
.admin-shell table {
    border-color: var(--line) !important;
}

.admin-shell main .bg-white,
.admin-shell section.bg-white,
.admin-shell .rounded-2xl.bg-white {
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid var(--line) !important;
    box-shadow: var(--shadow-soft) !important;
}

.admin-shell .grid > a.rounded-2xl,
.admin-shell .grid > div.rounded-2xl {
    position: relative;
    overflow: hidden;
}

.admin-shell .grid > a.rounded-2xl::before,
.admin-shell .grid > div.rounded-2xl::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--leaf), var(--rose));
}

.admin-shell input,
.admin-shell select,
.admin-shell textarea {
    background: #fff !important;
    color: var(--ink);
}

.admin-shell button,
.admin-shell a[class*="bg-orange-600"],
.admin-shell button[class*="bg-orange-600"] {
    border-radius: var(--radius-sm) !important;
}

.admin-shell button[type="submit"],
.admin-shell .bg-orange-600 {
    background: linear-gradient(135deg, var(--primary), var(--warm)) !important;
    box-shadow: 0 12px 26px var(--theme-shadow);
}

.admin-shell .bg-green-50,
.admin-shell .bg-orange-50,
.admin-shell .bg-amber-50,
.admin-shell .bg-red-50 {
    border-width: 1px !important;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .04);
}

.admin-shell table {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.admin-shell footer {
    color: var(--muted) !important;
}

@media (min-width: 1024px) {
    .admin-shell {
        padding-left: 292px;
    }

    .admin-topbar {
        position: fixed !important;
        top: 0;
        right: auto;
        bottom: 0;
        left: 0;
        width: 292px;
        overflow-y: auto;
        border-right: 1px solid var(--line) !important;
        border-bottom: 0 !important;
        box-shadow: 14px 0 36px rgba(17, 24, 39, .08) !important;
    }

    .admin-topbar > div {
        min-height: 100vh;
        max-width: none !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 28px !important;
        padding: 28px 20px !important;
    }

    .admin-brand {
        align-items: center;
        padding: 8px 4px 18px;
        border-bottom: 1px solid var(--line);
    }

    .admin-brand-mark {
        width: 54px !important;
        height: 54px !important;
        flex: 0 0 54px;
    }

    .admin-nav {
        display: flex !important;
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .admin-nav-link,
    .admin-logout {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 13px 14px !important;
    }

    .admin-nav-link i,
    .admin-logout i {
        width: 20px;
        margin-right: 0 !important;
        text-align: center;
    }

    .admin-logout {
        margin-top: 10px;
    }

    .admin-shell main {
        padding-top: 32px !important;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding-bottom: 10px !important;
    }

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

    .side-menu {
        width: min(88vw, 330px);
    }

    .admin-nav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .admin-nav-link,
    .admin-logout {
        justify-content: center;
        text-align: center;
    }
}

/* ===============================
   STOREFRONT PREMIUM FINISH
================================= */
body:not(.admin-shell) {
    background:
        linear-gradient(180deg, #fffdf8 0, #f7fbf5 250px, #f4f7f1 620px, #ffffff 100%),
        var(--page-bg, #f7f8f3);
}

body:not(.admin-shell) #main-app main {
    max-width: 1160px;
}

body:not(.admin-shell) .site-header {
    border-bottom-color: rgba(24, 35, 24, .08) !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,252,248,.94)) !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

body:not(.admin-shell) .site-header::after {
    display: none;
}

body:not(.admin-shell) .site-brand {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body:not(.admin-shell) .site-logo {
    width: 36px;
    height: 36px;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(17, 24, 39, .08);
}

body:not(.admin-shell) .site-brand-text span:first-child {
    font-size: 18px;
    font-weight: 950;
}

body:not(.admin-shell) .site-brand-text span:last-child {
    font-size: 9px;
}

body:not(.admin-shell) .site-menu-btn,
body:not(.admin-shell) .site-cart-btn {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(17, 24, 39, .08) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .08) !important;
}

body:not(.admin-shell) .site-nav-link {
    min-height: 42px;
    padding: 0 16px;
    border-color: rgba(17, 24, 39, .07);
    background: rgba(255, 255, 255, .7);
}

body:not(.admin-shell) .site-nav-link:hover {
    background: var(--button-soft) !important;
    color: var(--button) !important;
}

body:not(.admin-shell) .site-action-pill {
    background: linear-gradient(135deg, var(--button-soft), rgb(var(--primary-rgb) / .08)) !important;
}

body:not(.admin-shell) .site-cart-btn {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body:not(.admin-shell) .site-search-form {
    position: relative;
    overflow: hidden;
    min-height: 48px;
    border-color: rgb(var(--button-rgb) / .22) !important;
    border-radius: 16px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,252,248,.96)) padding-box,
        linear-gradient(135deg, rgb(var(--button-rgb) / .5), rgb(var(--primary-rgb) / .18)) border-box !important;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .08) !important;
    padding: 8px 10px !important;
}

body:not(.admin-shell) .site-search-form::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary), var(--button));
}

body:not(.admin-shell) .site-search-field {
    gap: 14px !important;
    height: 32px !important;
}

body:not(.admin-shell) .site-search-field i {
    margin-left: 6px !important;
    font-size: 20px !important;
    color: var(--button) !important;
}

body:not(.admin-shell) .site-search-input {
    font-size: 15px !important;
    font-weight: 900 !important;
}

body:not(.admin-shell) .site-search-submit {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgb(var(--button-rgb) / .24) !important;
    background: var(--button-soft) !important;
}

body:not(.admin-shell) .site-search-submit i {
    color: var(--button) !important;
}

body:not(.admin-shell) .offer-banner {
    min-height: 54px;
    border-radius: 18px !important;
    padding: 10px 14px !important;
    background:
        linear-gradient(135deg, rgba(17,24,39,.92), rgba(15,118,110,.92)),
        linear-gradient(135deg, var(--primary), var(--button)) !important;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .14) !important;
}

body:not(.admin-shell) .offer-banner .rounded {
    border-radius: 10px !important;
    color: var(--primary) !important;
}

body:not(.admin-shell) .marquee-track {
    font-size: 13px !important;
    font-weight: 900 !important;
}

body:not(.admin-shell) #banner-carousel {
    gap: 16px;
}

body:not(.admin-shell) .carousel-slide {
    min-height: 210px;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    border-radius: 20px !important;
    box-shadow: 0 22px 54px rgba(17, 24, 39, .16) !important;
}

body:not(.admin-shell) .carousel-slide::after,
body:not(.admin-shell) [data-category-banner]::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,.16), transparent 38%),
        linear-gradient(0deg, rgba(0,0,0,.42), transparent 52%);
}

body:not(.admin-shell) .carousel-slide > div,
body:not(.admin-shell) [data-category-banner] > div {
    z-index: 1;
}

body:not(.admin-shell) #banner-dots span {
    height: 7px !important;
    border-radius: 999px;
}

body:not(.admin-shell) #banner-dots span.bg-brandOrange {
    width: 26px !important;
    box-shadow: 0 6px 14px var(--theme-shadow);
}

body:not(.admin-shell) h1,
body:not(.admin-shell) h2,
body:not(.admin-shell) h3 {
    color: var(--ink);
}

body:not(.admin-shell) .carousel-slide h2,
body:not(.admin-shell) [data-category-banner] h3,
body:not(.admin-shell) section > .relative.mb-5 h1,
body:not(.admin-shell) .mb-4.flex.items-center.justify-between.rounded-2xl h1 {
    color: var(--primary) !important;
}

body:not(.admin-shell) .carousel-slide p,
body:not(.admin-shell) [data-category-banner] p,
body:not(.admin-shell) section > .relative.mb-5 i,
body:not(.admin-shell) .mb-4.flex.items-center.justify-between.rounded-2xl i {
    color: var(--button) !important;
}

body:not(.admin-shell) .carousel-slide h2,
body:not(.admin-shell) .carousel-slide p,
body:not(.admin-shell) [data-category-banner] h3,
body:not(.admin-shell) [data-category-banner] p {
    color: #fff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
}

body:not(.admin-shell) section > .relative.mb-5,
body:not(.admin-shell) .mb-4.flex.items-center.justify-between.rounded-2xl {
    border: 1px solid rgba(17, 24, 39, .08) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,247,.95)) !important;
    box-shadow: 0 16px 38px rgba(17, 24, 39, .07) !important;
}

body:not(.admin-shell) #category-container {
    gap: 12px;
    padding: 4px 2px;
}

body:not(.admin-shell) [data-category-button] {
    min-width: 0;
}

body:not(.admin-shell) .category-tile {
    position: relative;
    width: 78px !important;
    height: 78px !important;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, .08) !important;
    border-radius: 18px !important;
    background:
        linear-gradient(145deg, #ffffff, #f4f7f1) !important;
    box-shadow: 0 12px 26px rgba(17, 24, 39, .08) !important;
}

body:not(.admin-shell) .category-tile.border-brandOrange {
    border-color: var(--button) !important;
    box-shadow: 0 15px 32px var(--button-shadow) !important;
}

body:not(.admin-shell) .category-tile img {
    border-radius: 14px !important;
}

body:not(.admin-shell) .category-label {
    display: block;
    max-width: 86px;
    line-height: 1.15;
}

body:not(.admin-shell) [data-category-banner] {
    height: 118px !important;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 18px !important;
    box-shadow: 0 18px 44px rgba(17, 24, 39, .14) !important;
}

body:not(.admin-shell) #product-grid {
    gap: 18px;
}

body:not(.admin-shell) .product-card {
    overflow: hidden;
    min-height: 100%;
    padding: 12px !important;
    border: 1px solid rgba(17, 24, 39, .07) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.99), rgba(249,252,248,.98) 58%, rgba(242,250,241,.96)) !important;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .10) !important;
}

body:not(.admin-shell) .product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255,255,255,.82), transparent 34%),
        radial-gradient(circle at 18% 12%, rgb(var(--button-rgb) / .09), transparent 28%),
        linear-gradient(180deg, transparent 56%, rgb(var(--button-rgb) / .07));
}

body:not(.admin-shell) .product-card::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -46px;
    width: 120px;
    height: 120px;
    pointer-events: none;
    border-radius: 999px;
    background: radial-gradient(circle, rgb(var(--primary-rgb) / .10), transparent 62%);
}

body:not(.admin-shell) .product-card:hover {
    border-color: rgb(var(--button-rgb) / .28) !important;
    box-shadow: 0 28px 62px rgba(17, 24, 39, .16) !important;
}

body:not(.admin-shell) .product-card > * {
    position: relative;
    z-index: 1;
}

body:not(.admin-shell) .product-card-badges {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px;
    width: 100%;
    margin-bottom: 10px;
}

body:not(.admin-shell) .product-card-badge {
    display: inline-flex;
    min-width: 0;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 999px;
    padding: 7px 2px;
    font-size: 7.5px;
    font-weight: 950;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 10px 20px rgba(17, 24, 39, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body:not(.admin-shell) .product-card-badge-offer {
    background: #fff !important;
    color: var(--rose) !important;
}

body:not(.admin-shell) .product-card-badge-delivery {
    background: #fff !important;
    color: var(--button) !important;
}

body:not(.admin-shell) .product-card div[class*="h-[160px]"] {
    height: 172px !important;
    margin-top: 0 !important;
    margin-bottom: 13px !important;
    border: 1px solid rgba(17, 24, 39, .055) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 50% 22%, rgba(255,255,255,.98), transparent 32%),
        linear-gradient(145deg, #f9fbf7, #edf6ed) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9),
        inset 0 -18px 36px rgba(17, 24, 39, .045),
        0 10px 24px rgba(17, 24, 39, .055) !important;
}

body:not(.admin-shell) .product-card img {
    filter: drop-shadow(0 17px 18px rgba(17, 24, 39, .14));
}

body:not(.admin-shell) .product-card div[class*="bg-green-600"][class*="text-white"] {
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--button), var(--leaf)) !important;
    padding: 4px 8px !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    box-shadow: 0 8px 18px var(--button-shadow);
}

body:not(.admin-shell) .product-card h3 {
    min-height: 39px;
    margin-top: 7px !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.18 !important;
    letter-spacing: 0 !important;
}

body:not(.admin-shell) .product-card p {
    color: var(--muted) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

body:not(.admin-shell) .product-card .text-\[16px\] {
    font-size: 22px !important;
    font-weight: 950 !important;
    color: var(--ink) !important;
}

body:not(.admin-shell) .product-card .line-through {
    color: rgba(17, 24, 39, .42) !important;
    font-size: 12px !important;
}

body:not(.admin-shell) .product-card .rounded.border.border-orange-100,
body:not(.admin-shell) .product-card .rounded-full.border.border-blue-100 {
    border-radius: 999px !important;
    border-color: rgb(var(--button-rgb) / .20) !important;
    background: var(--button-soft) !important;
    color: var(--button) !important;
    padding: 4px 8px !important;
    font-size: 9px !important;
}

body:not(.admin-shell) .product-card span.grid.h-\[18px\] {
    width: 22px !important;
    height: 22px !important;
    background: var(--button-soft) !important;
    color: var(--button) !important;
}

body:not(.admin-shell) .cart-add-button {
    height: 45px !important;
    border-color: rgb(var(--button-rgb) / .36) !important;
    border-radius: 14px !important;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, rgb(var(--button-rgb) / .56), rgb(var(--primary-rgb) / .22)) border-box !important;
    color: var(--button) !important;
    font-size: 12.5px !important;
    font-weight: 950 !important;
    box-shadow: 0 10px 22px rgba(17, 24, 39, .08) !important;
}

body:not(.admin-shell) .cart-add-button:hover,
body:not(.admin-shell) .cart-add-button.is-filled {
    background: linear-gradient(135deg, var(--button), var(--leaf)) !important;
    color: #fff !important;
    box-shadow: 0 14px 28px var(--button-shadow) !important;
}

body:not(.admin-shell) [id^="cart-control-"] > div[class*="bg-btnGreen"] {
    height: 45px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--button), var(--leaf)) !important;
    box-shadow: 0 14px 28px var(--button-shadow) !important;
}

body:not(.admin-shell) article[data-product-card] > .absolute.left-0.top-0,
body:not(.admin-shell) article[data-product-card] > .absolute.right-0.top-0 {
    top: 12px !important;
    bottom: auto !important;
    display: inline-flex !important;
    width: calc(50% - 16px) !important;
    max-width: none !important;
    min-height: 28px !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border-radius: 999px !important;
    padding: 6px 4px !important;
    font-size: 7.5px !important;
    line-height: 1 !important;
    transform: none !important;
    overflow: hidden !important;
    text-overflow: clip !important;
}

body:not(.admin-shell) article[data-product-card] > .absolute.right-0.top-0 {
    left: 12px !important;
    right: auto !important;
    background: linear-gradient(135deg, #fff1f4, #ffe4eb) !important;
    color: var(--rose) !important;
}

body:not(.admin-shell) article[data-product-card] > .absolute.left-0.top-0 {
    left: auto !important;
    right: 12px !important;
    background: #ffffff !important;
    color: var(--button) !important;
}

body:not(.admin-shell) article[data-product-card] > .absolute.left-0.top-0 i {
    margin-right: 2px !important;
}

body:not(.admin-shell) .cart-modal,
body:not(.admin-shell) #size-picker-modal {
    max-width: 560px;
    border-radius: 24px 24px 0 0 !important;
    box-shadow: 0 -24px 70px rgba(17, 24, 39, .22) !important;
}

body:not(.admin-shell) .cart-item {
    background: linear-gradient(135deg, #fff, #f8faf7) !important;
}

body:not(.admin-shell) .product-description-card,
body:not(.admin-shell) .details-card,
body:not(.admin-shell) .address-card,
body:not(.admin-shell) .track-card {
    border-color: rgba(17, 24, 39, .08) !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 18px 42px rgba(17, 24, 39, .08) !important;
}

body:not(.admin-shell) .store-bottom-nav {
    bottom: 8px;
    width: min(calc(100% - 18px), 680px);
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 20px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 48px rgba(17, 24, 39, .16);
}

body:not(.admin-shell) .store-bottom-nav-item {
    min-height: 50px;
    border-radius: 14px;
}

body:not(.admin-shell) .store-bottom-nav-item.active {
    color: var(--button);
    box-shadow: inset 0 0 0 1px rgb(var(--button-rgb) / .12);
}

body:not(.admin-shell) .site-footer {
    margin-top: 28px;
}

@media (min-width: 768px) {
    body:not(.admin-shell) #product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

    body:not(.admin-shell) .carousel-slide {
        height: 260px !important;
    }
}

@media (max-width: 520px) {
    body:not(.admin-shell) .site-logo {
        width: 38px;
        height: 38px;
    }

    body:not(.admin-shell) .site-brand-text span:first-child {
        font-size: 16px;
    }

    body:not(.admin-shell) #category-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 9px;
    }

    body:not(.admin-shell) .category-tile {
        width: 68px !important;
        height: 68px !important;
    }

    body:not(.admin-shell) #product-grid {
        gap: 12px;
    }

    body:not(.admin-shell) .product-card {
        padding: 9px !important;
        border-radius: 18px !important;
    }

    body:not(.admin-shell) .product-card div[class*="h-[160px]"] {
        height: 148px !important;
    }

    body:not(.admin-shell) .product-card h3 {
        min-height: 38px;
        font-size: 14px !important;
    }

    body:not(.admin-shell) .product-card .text-\[16px\] {
        font-size: 20px !important;
    }

    body:not(.admin-shell) .carousel-slide {
        min-height: 180px;
    }

    body:not(.admin-shell) [data-category-banner] {
        height: 104px !important;
    }
}
