/* =====================================================================
   ZMAN storefront theme — "Berry & Blush"
   Loaded LAST in master.blade.php (after page @stack('css')), so equal-
   specificity rules here win. Brand colors follow Admin → General
   Settings (primary_color → --brand-primary, secodery_color →
   --brand-secondary); everything else is derived from those two.
   Rules prefixed with `body` beat the inline <style> blocks that
   master.blade.php prints inside <body> (floating cart, sidebar cart).
   ===================================================================== */

:root {
    --z-primary: var(--brand-primary, #a3134f);
    --z-deep: var(--brand-secondary, #5b0e3c);
    --z-accent: #e5487a;
    --z-ink: #2b1622;
    --z-muted: #6f5663;
    --z-faint: #8a7480;
    --z-blush: #fff5f8;
    --z-petal: #fce6ee;
    --z-line: #f0dce4;
    --z-page: #fcf8fa;
    --z-gold: #d99a26;
    --z-ring: rgba(163, 19, 79, 0.14);
    --z-grad: linear-gradient(120deg, var(--z-deep) 0%, var(--z-primary) 55%, var(--z-accent) 100%);
    --z-shadow-sm: 0 1px 2px rgba(91, 14, 60, 0.06);
    --z-shadow: 0 1px 2px rgba(91, 14, 60, 0.05), 0 18px 36px -22px rgba(91, 14, 60, 0.45);
    --z-font: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --z-display: 'Bricolage Grotesque', 'Hind Siliguri', 'Plus Jakarta Sans', system-ui, sans-serif;
}

@supports (color: color-mix(in oklab, red, blue)) {
    :root {
        --z-accent: color-mix(in oklab, var(--z-primary) 55%, #ff8fa6);
        --z-petal: color-mix(in oklab, var(--z-primary) 11%, #fff);
        --z-blush: color-mix(in oklab, var(--z-primary) 4%, #fff);
        --z-line: color-mix(in oklab, var(--z-primary) 13%, #f1ecee);
        --z-ring: color-mix(in oklab, var(--z-primary) 16%, transparent);
    }
}

/* ---------- Base ---------- */
body {
    font-family: var(--z-font);
    color: var(--z-ink);
    background: var(--z-page);
    -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea, .form-control, .form-select { font-family: var(--z-font); }

.category-products-title, .flash-sales-title, .section-title, .pd-info-card .name,
.checkout-section .checkout-header h6, .nf-title, .sidebar-cart-title,
.gomobd-review-section .gomobd-review-title, .pd-details-body .description h2,
.pd-details-body .pro_vide h2, .flash-price-new, .flash-count-val {
    font-family: var(--z-display);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, label:focus-visible {
    outline: 2px solid var(--z-primary);
    outline-offset: 2px;
}

::selection { background: var(--z-petal); color: var(--z-deep); }

/* ---------- Top strip (hotline + track order) ---------- */
.z-topbar { background: var(--z-grad); color: #fff; font-size: 12.5px; font-weight: 500; }
.z-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 7px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.z-topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.z-topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.z-topbar i { margin-right: 6px; opacity: 0.9; }
.z-topbar-links { display: flex; gap: 18px; }

/* ---------- Header ---------- */
body .top-header {
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--z-line);
}
.brands-link { color: var(--z-ink); font-weight: 600; text-transform: none; }
.brands-link:hover { color: var(--z-primary); }

.search-bar {
    background: var(--z-blush);
    border: 1.5px solid var(--z-line);
    padding: 5px 5px 5px 20px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.search-bar:focus-within { background: #fff; border-color: var(--z-primary); box-shadow: 0 0 0 4px var(--z-ring); }
.search-bar input { color: var(--z-ink); }
.search-bar input::placeholder { color: var(--z-faint); }
.search-icon-btn { background: var(--z-grad); width: 42px; height: 42px; }
.search_product .price, .search_view_all { color: var(--z-primary); }

.btn-wishlist, .btn-login {
    background: transparent;
    color: var(--z-ink) !important;
    border: 1.5px solid var(--z-line);
    padding: 10px 18px;
    text-transform: none;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}
.btn-wishlist:hover, .btn-login:hover { border-color: var(--z-primary); color: var(--z-primary) !important; }
.btn-bag {
    background: var(--z-grad);
    padding: 10px 18px 10px 16px;
    text-transform: none;
    font-size: 13px;
    box-shadow: 0 10px 22px -12px var(--z-primary);
}
.btn-bag .bag-count, .bag-count { color: var(--z-primary) !important; }

body .header-cart-hover-dropdown { border-color: var(--z-line); border-radius: 18px; box-shadow: var(--z-shadow); }
body .header-cart-hover-checkout { background: var(--z-grad); border-radius: 12px; }

/* ---------- Main nav + mega menu ---------- */
.main-nav { border-bottom: 1px solid var(--z-line); padding-block: 10px; }
.nav-link-main { color: var(--z-ink); font-weight: 600; }
.nav-item-dropdown:hover .nav-link-main,
.nav-item-dropdown:focus-within .nav-link-main { color: var(--z-primary); border-bottom-color: var(--z-primary); }

.main-nav .pill {
    background: var(--z-petal);
    color: var(--z-deep);
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    padding: 8px 16px;
    transition: background 0.2s, color 0.2s;
}
.main-nav .pill:hover,
.main-nav .nav-pill-dropdown:focus-within .pill { background: var(--z-grad); color: #fff; }

.mega-menu-inner,
.mega-menu-panel--single .mega-menu-single-inner {
    border: 1px solid var(--z-line);
    border-radius: 18px;
    box-shadow: var(--z-shadow);
}
.mega-menu-heading { color: var(--z-deep); letter-spacing: 0; font-size: 13.5px; }
.mega-menu-heading:hover, .mega-menu-list a:hover,
.mega-menu-single-list a:hover, .mega-menu-single-link:hover { color: var(--z-primary); }

/* Mobile drawer */
.mobile-nav-header { background: var(--z-grad); border-bottom: 0; }
.mobile-nav-close { color: #fff; }
.mobile-nav-title { color: var(--z-primary); text-transform: none; font-size: 13px; font-weight: 800; }
.mobile-nav-toggle { color: var(--z-primary); }
.mobile-nav-main-link { text-transform: none; font-weight: 600; letter-spacing: 0; }
.mobile-menu-btn span { background: var(--z-ink); }

/* ---------- Hero ---------- */
.hero-section { max-width: 1400px; margin: 18px auto 0; padding: 0 20px; }
.hero-slider { border-radius: 26px; background: var(--z-grad); min-height: 200px; }
.hero-slider .slide img { max-height: 520px; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--z-line); transition: width 0.3s, background 0.3s; }
.carousel-dots span.active { width: 26px; background: var(--z-grad); }

/* ---------- Section titles ---------- */
.section-title,
.section-deals-title {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    color: var(--z-ink);
    text-align: left;
    text-transform: none;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
}

/* ---------- Banner blocks ---------- */
.eid-banner-link, .major-card, .promo-card, .deal-content, .flash-card {
    border-radius: 20px;
    background: var(--z-petal);
}
.deal-card-green, .deal-card-gray { background: linear-gradient(150deg, var(--z-blush), var(--z-petal)); }
.deal-badge, .deal-card-green .deal-badge {
    background: rgba(255, 255, 255, 0.94);
    color: var(--z-deep);
    border-radius: 99px;
    padding: 7px 14px;
    font-size: 12px;
    box-shadow: var(--z-shadow-sm);
}
.deal-badge-pink { background: var(--z-grad) !important; }

/* ---------- Product sections ---------- */
.category-products-section,
.flash-products-section {
    background: #fff;
    border: 1px solid var(--z-line);
    border-radius: 26px;
    padding: 22px 22px 18px;
    box-shadow: var(--z-shadow-sm);
}
.category-products-head { margin-bottom: 18px; flex-wrap: wrap; }
.category-products-title {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    color: var(--z-ink);
    letter-spacing: -0.015em;
}
.category-products-more, .category-products-pill {
    background: var(--z-blush);
    border: 1.5px solid var(--z-line);
    color: var(--z-deep);
    padding: 8px 16px;
    font-weight: 700;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.category-products-more:hover { background: var(--z-grad); border-color: transparent; color: #fff; }

/* Countdown: days / hours / minutes / seconds */
.flash-countdown { gap: 6px; }
.flash-count-cell {
    min-width: 54px;
    padding: 7px 8px 6px;
    border-radius: 14px;
    background: var(--z-grad);
    box-shadow: 0 10px 20px -14px var(--z-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flash-count-val { font-size: 19px; font-weight: 700; line-height: 1.1; }
.flash-count-label { color: rgba(255, 255, 255, 0.85); font-size: 10.5px; font-weight: 600; letter-spacing: 0; margin-top: 1px; }

/* Flash sale = the one full-color band on the page */
.flash-products-section--premium {
    background: var(--z-grad);
    border: 0;
    box-shadow: 0 30px 60px -40px var(--z-primary);
}
.flash-products-section--premium .flash-sales-title { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; }
.flash-products-section--premium .flash-sales-subtitle { color: rgba(255, 255, 255, 0.86); font-size: 14px; }
.flash-products-section--premium .flash-count-cell { background: #fff; box-shadow: none; }
.flash-products-section--premium .flash-count-val { color: var(--z-primary); }
.flash-products-section--premium .flash-count-label { color: var(--z-muted); }
.flash-products-section--premium .flash-product-card { border-color: transparent; }

.flash-products-section .flash-sale-master .owl-nav button,
.category-products-section .category-products-slider .owl-nav button {
    background: #fff !important;
    color: var(--z-primary) !important;
    border: 1px solid var(--z-line) !important;
    box-shadow: var(--z-shadow);
}
.flash-products-section .flash-sale-master .owl-nav button:hover,
.category-products-section .category-products-slider .owl-nav button:hover {
    background: var(--z-grad) !important;
    color: #fff !important;
    filter: none;
}

/* ---------- Product card ---------- */
.flash-product-card {
    background: #fff;
    border: 1px solid var(--z-line);
    border-radius: 20px;
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.flash-product-img-wrap {
    margin: 8px 8px 0;
    /* arch-topped "vanity" well; white product photos melt into it via multiply */
    border-radius: 50% 50% 16px 16px / 30% 30% 16px 16px;
    background: radial-gradient(120% 90% at 50% 18%, #fff 0%, var(--z-blush) 48%, var(--z-petal) 100%);
    isolation: isolate;
}
.flash-product-img-wrap img {
    object-fit: contain;
    padding: 9%;
    mix-blend-mode: multiply;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.flash-product-img-wrap.is-noimg::after {
    content: attr(data-initial);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--z-display);
    font-size: 44px;
    font-weight: 700;
    color: var(--z-primary);
    opacity: 0.35;
}
@media (hover: hover) {
    .flash-product-card:hover { border-color: var(--z-petal); box-shadow: var(--z-shadow); }
    .flash-product-card:hover .flash-product-img-wrap img { transform: scale(1.06); }
}

.flash-sale-badge-circle {
    top: auto;
    right: auto;
    left: 10px;
    bottom: 10px;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: baseline;
    gap: 3px;
    padding: 5px 10px;
    border-radius: 99px;
    background: var(--z-grad);
    box-shadow: 0 8px 16px -10px var(--z-primary);
    line-height: 1;
}
.flash-sale-pct { font-size: 12.5px; font-weight: 800; }
.flash-sale-txt { font-size: 11px; font-weight: 600; }

.flash-stock-out {
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(43, 22, 34, 0.84);
    padding: 7px 14px;
    border-radius: 99px;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
.flash-product-card.is-soldout .flash-product-img-wrap img { filter: grayscale(0.7); opacity: 0.55; }

.flash-product-body { padding: 12px 14px 8px; gap: 6px; }
.flash-product-name { font-size: 13.5px; font-weight: 600; color: var(--z-ink); line-height: 1.4; min-height: 2.8em; }
.flash-product-name:hover { color: var(--z-primary); }
.flash-product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.flash-price-new { color: var(--z-primary); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.flash-price-old { color: var(--z-faint); font-size: 12.5px; font-weight: 500; margin: 0; }
.z-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.z-card-save {
    background: var(--z-petal);
    color: var(--z-deep);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
}
.flash-sold { background: none; color: var(--z-muted); padding: 0; font-size: 11px; font-weight: 600; border-radius: 0; }

.flash-product-actions { padding: 4px 12px 12px; gap: 8px; }
.flash-btn-order {
    background: var(--z-grad);
    border-radius: 12px;
    min-height: 42px;
    font-size: 13px;
    padding: 9px 8px;
    white-space: nowrap;
    box-shadow: 0 10px 18px -14px var(--z-primary);
    transition: filter 0.2s, box-shadow 0.2s;
}
.flash-btn-order:hover { filter: brightness(1.08) saturate(1.05); }
.flash-btn-order--ghost {
    background: var(--z-blush);
    color: var(--z-deep) !important;
    border: 1.5px solid var(--z-line);
    box-shadow: none;
}
.flash-btn-cart {
    background: var(--z-petal);
    border-radius: 12px;
    transition: background 0.2s;
}
.flash-btn-cart .flash-cart-ico path { fill: var(--z-primary); transition: fill 0.2s; }
.flash-btn-cart:hover { background: var(--z-grad); filter: none; }
.flash-btn-cart:hover .flash-cart-ico path { fill: #fff; }

/* ---------- Shop by category ---------- */
.category-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.category-card {
    aspect-ratio: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    align-items: center;
    gap: 10px;
    text-align: center;
}
.category-card .category-card-media {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50% 50% 18px 18px / 36% 36% 18px 18px;
    background: var(--z-grad);
    border: 1px solid var(--z-line);
    text-shadow: none;
}
.category-card .category-card-media::before {
    content: attr(data-initial);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--z-display);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
}
.category-card .category-card-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.category-card .category-card-name {
    position: static;
    transform: none;
    color: var(--z-ink);
    text-shadow: none;
    text-transform: none;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
}
@media (hover: hover) {
    .category-card:hover .category-card-media img { transform: scale(1.06); }
    .category-card:hover .category-card-name { color: var(--z-primary); }
}

/* ---------- Brands ---------- */
.master-brands-section { border: 1px solid var(--z-line); border-radius: 26px; padding: 22px; }
.brand-master-item { border-color: var(--z-line); border-radius: 16px; }
.brand-master-item:hover { border-color: var(--z-primary); }
.brand-master-name { color: var(--z-ink); font-weight: 700; }
.brand-master-fallback { background: var(--z-petal); color: var(--z-primary); }

/* ---------- Blog ---------- */
.home-blog-card { border-color: var(--z-line); border-radius: 20px; }
.home-blog-card__img { background: var(--z-petal); }
.home-blog-view-all, .home-blog-card__more, .home-blog-card__title a:hover { color: var(--z-primary); }
.home-blog-view-all:hover { color: var(--z-deep); }

/* ---------- Footer ---------- */
.nf-footer {
    position: relative;
    margin-top: 64px;
    background: var(--footer-bg, #2a0b1f);
    padding: 56px 0 20px;
}
.nf-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--z-grad);
}
.nf-title { color: #fff; text-transform: none; letter-spacing: 0; font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.nf-list li a, .nf-about-text { color: rgba(255, 255, 255, 0.78); }
.nf-list li a:hover { color: #fff; }
.nf-newsletter-form { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); padding: 4px; }
.nf-newsletter-input { background: transparent; }
.nf-newsletter-btn { background: var(--z-grad); border-radius: 99px; min-width: 48px; height: 42px; }
.nf-social-link { background: rgba(255, 255, 255, 0.12); transition: background 0.2s; }
.nf-social-link:hover { background: var(--z-grad); }
.nf-bottom { border-top-color: rgba(255, 255, 255, 0.14); }
.nf-bottom-inner, .nf-bottom-inner span { color: rgba(255, 255, 255, 0.7); }
.nf-bottom-inner a.nf-powered-link, .nf-powered a { color: #fff; font-weight: 800; }
.nf-powered a:hover { color: #ffd6e4; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 769px) {
    .nf-bottom-inner { justify-content: space-between; }
}

/* ---------- Floating cart + sidebar cart (beat inline <style> in body) ---------- */
body .floating-cart-widget { background: var(--z-grad); box-shadow: -6px 8px 24px -10px var(--z-primary); }
body .floating-cart-badge { color: var(--z-primary); border-color: #fff; box-shadow: var(--z-shadow-sm); }

body .sidebar-cart-header { background: var(--z-grad); }
body .sidebar-cart-title { font-size: 20px; }
body .sidebar-cart-body { background: var(--z-blush); }
body .sidebar-cart-item { border: 1px solid var(--z-line); border-radius: 16px; box-shadow: none; }
body .sidebar-cart-item-img { border-radius: 12px; background: var(--z-petal); }
body .sidebar-cart-item-title { color: var(--z-ink); }
body .sidebar-cart-item-savings { color: #0f7a53; }
body .sidebar-cart-item-remove { color: var(--z-faint); }
body .sidebar-cart-item-remove:hover { color: var(--z-primary); opacity: 1; }
body .sidebar-cart-qty { border-color: var(--z-line); border-radius: 99px; }
body .sidebar-qty-btn { background: var(--z-blush); color: var(--z-primary); }
body .sidebar-qty-btn:hover { background: var(--z-primary); color: #fff; }
body .sidebar-cart-footer { border-top-color: var(--z-line); }
body .sidebar-cart-total-amount { color: var(--z-primary); font-family: var(--z-display); }
body .sidebar-cart-checkout-btn {
    background: var(--z-grad);
    border-radius: 14px;
    box-shadow: 0 14px 28px -16px var(--z-primary);
}
body .sidebar-cart-empty .sidebar-cart-checkout-btn { display: inline-block; width: auto; margin-top: 12px; }

/* Variant quick-buy popup styles live in partials/variant_popup.blade.php (vq-* classes). */

/* ---------- Mobile bottom nav ---------- */
.mobile-bottom-nav { border-top: 1px solid var(--z-line); box-shadow: 0 -10px 26px -18px rgba(91, 14, 60, 0.35); }
.mobile-bottom-nav .bottom-nav-item { color: var(--z-muted); text-transform: none; font-size: 11.5px; }
.mobile-bottom-nav .bottom-nav-item.active { color: var(--z-primary); }
.mobile-bottom-nav .cart-badge { background: var(--z-grad); }

/* ---------- Category / subcategory / brand / search listing pages ---------- */
.sorting-section { border-color: var(--z-line); border-radius: 18px; }
.category-breadcrumb strong { color: var(--z-ink); }
.filter_sidebar .sidebar_item { border-color: var(--z-line); border-radius: 18px; }
.filter_sidebar .accordion-button,
.filter_sidebar .accordion-button:not(.collapsed) {
    background: var(--z-blush);
    color: var(--z-deep);
    text-transform: none;
    font-family: var(--z-display);
    font-size: 15px;
}
.filter_sidebar .accordion-button::after { filter: none; }
.filter_btn, .filter_close { background: var(--z-grad); }
.cust_according_body ul li a:hover { color: var(--z-primary); }

/* ---------- Product details ---------- */
.pd-modern { background: linear-gradient(180deg, var(--z-blush) 0%, var(--z-page) 100%); padding: 22px 0 36px; }
.pd-breadcrumb-bar {
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 500;
}
.pd-breadcrumb-bar a { color: var(--z-muted); }
.pd-breadcrumb-bar a:hover { color: var(--z-primary); }
.pd-breadcrumb-bar .pd-bc-sep { color: var(--z-line); }
.pd-breadcrumb-bar .pd-bc-current { color: var(--z-ink); font-weight: 700; }

.pd-gallery-card, .pd-info-card { border: 1px solid var(--z-line); border-radius: 28px; box-shadow: var(--z-shadow-sm); }
.pd-gallery-card { padding: 18px; }
.pd-gallery-card .details_slider {
    border-radius: 50% 50% 22px 22px / 24% 24% 22px 22px;
    overflow: hidden;
    background: radial-gradient(110% 80% at 50% 16%, #fff 0%, var(--z-blush) 50%, var(--z-petal) 100%);
    isolation: isolate;
}
.pd-gallery-card .dimage_item { aspect-ratio: 1 / 1; }
.pd-gallery-card .details_slider .block__pic {
    width: 100%;
    height: 100%;
    max-height: none;
    padding: 8%;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    mix-blend-mode: multiply;
}
.pd-gallery-card .product-details-discount-badge { top: 22px; right: 22px; }
.pd-gallery-card .sale-badge-box {
    width: 76px;
    height: 76px;
    background: var(--z-grad);
    box-shadow: 0 14px 26px -14px var(--z-primary);
    transform: rotate(-8deg);
}
.pd-gallery-card .indicator-item {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    border: 2px solid var(--z-line);
    background: var(--z-blush);
}
.pd-gallery-card .indicator-item img { object-fit: contain; padding: 5px; mix-blend-mode: multiply; }
.pd-gallery-card .indicator-item:hover,
.pd-gallery-card .indicator-item.active { border-color: var(--z-primary); box-shadow: 0 0 0 3px var(--z-ring); }

.pd-info-card { padding: 28px 28px 24px; }
.pd-info-card .name {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--z-ink);
    margin-bottom: 12px;
}
.pd-info-card .details-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.pd-info-card .details-price #newPrice {
    order: -1;
    font-family: var(--z-display);
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 700;
    color: var(--z-primary);
}
.pd-info-card .details-price del { color: var(--z-faint); font-size: 17px; margin: 0; }
.pd-info-card .details-ratting-wrapper {
    font-size: 13.5px;
    color: var(--z-muted);
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px dashed var(--z-line);
}
.pd-info-card .details-ratting-wrapper .fa-star,
.pd-info-card .details-ratting-wrapper .fa-star-half-alt { color: var(--z-gold); }
.pd-info-card .all-reviews-button { color: var(--z-primary); text-decoration: underline; text-underline-offset: 3px; }

.pd-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.pd-spec { background: var(--z-blush); border: 1px solid var(--z-line); border-radius: 14px; padding: 9px 12px; }
.pd-spec dt { margin: 0; font-size: 11.5px; font-weight: 600; color: var(--z-muted); }
.pd-spec dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--z-ink); overflow-wrap: anywhere; }
.pd-spec--in dd { color: #0f7a53; }
.pd-spec--out dd { color: #b42318; }

.pd-info-card .qty-cart { display: flex; align-items: center; gap: 14px; }
.pd-qty-label { font-size: 13.5px; font-weight: 700; color: var(--z-muted); }
.pd-info-card .quantity { border: 1.5px solid var(--z-line); border-radius: 99px; background: #fff; padding: 3px; }
.pd-info-card .quantity .minus,
.pd-info-card .quantity .plus {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--z-blush);
    color: var(--z-primary);
    transition: background 0.2s, color 0.2s;
}
.pd-info-card .quantity .minus:hover,
.pd-info-card .quantity .plus:hover { background: var(--z-primary); color: #fff; }
.pd-info-card .quantity input[name="qty"] { width: 52px; font-size: 16px; color: var(--z-ink); }

.pd-actions { gap: 10px; margin-top: 16px; }
.pd-info-card .add_cart_btn,
.pd-info-card .order_now_btn {
    min-height: 54px;
    border-radius: 16px !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
}
.pd-info-card .order_now_btn {
    background: var(--z-grad) !important;
    box-shadow: 0 16px 30px -18px var(--z-primary);
}
.pd-info-card .add_cart_btn {
    background: #fff !important;
    color: var(--z-primary) !important;
    border: 2px solid var(--z-primary) !important;
}
.pd-info-card .add_cart_btn:hover { background: var(--z-blush) !important; }

.pd-support-grid { gap: 8px; margin-top: 12px; }
.pd-support-btn { border-radius: 14px; min-height: 48px; font-size: 14px; }
.pd-support-btn--phone { background: var(--z-blush); color: var(--z-deep) !important; border: 1.5px solid var(--z-line); }
.pd-support-btn--wa { background: #1faa59; }

.pd-variant-block { background: var(--z-blush); border-color: var(--z-line); border-radius: 18px; box-shadow: none; }
.pd-variant-head { border-bottom-color: var(--z-line); }
.pd-variant-block--color .pd-variant-icon,
.pd-variant-block--size .pd-variant-icon { background: var(--z-petal); color: var(--z-primary); }
.pd-swatch-input:checked + .pd-swatch-row .pd-swatch-visual { border-color: var(--z-primary); box-shadow: 0 0 0 3px var(--z-ring), 0 4px 14px rgba(43, 22, 34, 0.12); }
.pd-swatch-input:checked + .pd-swatch-row .pd-swatch-name { color: var(--z-primary); }
.pd-size-label { border-color: var(--z-line); color: var(--z-ink); }
.pd-size-label:hover { border-color: var(--z-primary); color: var(--z-primary); box-shadow: 0 6px 16px -10px var(--z-primary); }
.pd-size-input:checked + .pd-size-label { background: var(--z-grad); box-shadow: 0 10px 20px -12px var(--z-primary); }

.pd-desc-nav-wrap { border-bottom-color: var(--z-line); }
.pd-desc-nav-wrap .desc-nav-ul a { background: var(--z-blush); color: var(--z-deep); }
.pd-desc-nav-wrap .desc-nav-ul a:hover { background: var(--z-grad); color: #fff; border-color: transparent; }

.pd-details-body, .pd-related-wrap { background: var(--z-page); }
.pd-details-body .description.tab-content,
.pd-details-body .details-action-box,
.pd-details-body .pro_vide { border-color: var(--z-line); border-radius: 24px; box-shadow: var(--z-shadow-sm); }
.pd-details-body .description { color: #4a3843; font-size: 15px; line-height: 1.75; }
.pd-details-body .description h2,
.pd-details-body .pro_vide h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--z-ink);
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 18px;
}
.pd-details-body .description h2::after,
.pd-details-body .pro_vide h2::after {
    content: '';
    display: block;
    width: 44px;
    height: 4px;
    margin-top: 10px;
    border-radius: 99px;
    background: var(--z-grad);
}

.gomobd-review-section { font-family: var(--z-font); }
.gomobd-review-section .gomobd-review-title { color: var(--z-ink); font-size: 22px; }
.gomobd-review-section .gomobd-review-card { border-color: var(--z-line); border-radius: 16px; }
.gomobd-review-section .gomobd-review-avatar { background: var(--z-grad); }
.gomobd-review-section .gomobd-review-stars { color: var(--z-gold); }
.gomobd-review-section .gomobd-review-empty { background: var(--z-blush); border-radius: 18px; color: var(--z-muted); }
.gomobd-review-section .text-success { color: var(--z-primary) !important; }
.gomobd-review-btn.btn {
    background: var(--z-grad) !important;
    border: 0 !important;
    border-radius: 99px;
    padding: 8px 18px;
    font-weight: 700;
}

/* ---------- Checkout ---------- */
.checkout-section {
    --primary-color: var(--z-deep);
    --secondary-color: var(--z-primary);
    --border-color: var(--z-line);
    --bg-color: var(--z-page);
    --text-dark: var(--z-ink);
    --text-light: var(--z-muted);
    background: linear-gradient(180deg, var(--z-blush) 0, var(--z-page) 360px);
    padding: 36px 0 60px;
    font-family: var(--z-font);
}
.checkout-section .checkout-card { border-radius: 24px; box-shadow: var(--z-shadow-sm); }
.checkout-section .checkout-header { padding: 18px 24px; }
.checkout-section .checkout-header i {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--z-grad);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}
.checkout-section .checkout-header h6 { font-size: 18px; text-transform: none; letter-spacing: 0; color: var(--z-ink); }
.checkout-section .card-body-custom { padding: 26px; }
.checkout-section .form-control-custom { height: 52px; border: 1.5px solid var(--z-line); border-radius: 14px; }
.checkout-section textarea.form-control-custom { height: auto; }
.checkout-section .form-control-custom:focus { border-color: var(--z-primary); box-shadow: 0 0 0 4px var(--z-ring); }
.checkout-section .form-label-custom { font-size: 14px; color: var(--z-ink); }
.checkout-section .select2-container--default .select2-selection--single {
    height: 52px;
    border: 1.5px solid var(--z-line);
    border-radius: 14px;
}
.checkout-section .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 49px; padding-left: 16px; color: var(--z-ink); }
.checkout-section .select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px; right: 8px; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--z-primary); }

.checkout-section .payment-option-label { border: 1.5px solid var(--z-line); border-radius: 16px; }
.checkout-section .payment-option-label:hover { border-color: var(--z-petal); background: var(--z-blush); }
.checkout-section .payment-option-label:has(input:checked) { border-color: var(--z-primary); background: var(--z-blush); box-shadow: 0 0 0 1px var(--z-primary); }
.checkout-section .payment-option-label input:checked ~ .check-circle { border-color: var(--z-primary); background: var(--z-primary); }
.checkout-section .payment-option-label .fa-truck { color: var(--z-primary) !important; }

.checkout-section .checkout-pro-img { border-radius: 14px; border-color: var(--z-line); background: var(--z-blush); object-fit: contain; }
.checkout-section .checkout-item { border-bottom-color: var(--z-line); }
.checkout-section .checkout-pro-info h6 { padding-right: 28px; }
.checkout-section .remove-item-btn { color: var(--z-faint); }
.checkout-section .remove-item-btn:hover { color: var(--z-primary); }
.checkout-section .qty-box { background: var(--z-blush); border-radius: 99px; }
.checkout-section .qty-btn { border-radius: 50%; color: var(--z-primary); }
.checkout-section .qty-btn:hover { background: var(--z-primary); color: #fff; }

.checkout-section .coupon-wrapper { background: var(--z-blush); }
.checkout-section .coupon-group-modern { border: 1.5px solid var(--z-line); border-radius: 14px; }
.checkout-section .coupon-group-modern:focus-within { border-color: var(--z-primary); box-shadow: 0 0 0 4px var(--z-ring); }
.checkout-section .coupon-btn-modern { background: var(--z-deep); text-transform: none; letter-spacing: 0; }
.checkout-section .coupon-btn-modern:hover { background: var(--z-primary); }

.checkout-section .total-row.final {
    color: var(--z-primary);
    font-family: var(--z-display);
    font-size: 22px;
    font-weight: 700;
    border-top-color: var(--z-line);
}
.checkout-section .btn-place-order {
    background: var(--z-grad);
    border-radius: 16px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 17px;
    box-shadow: 0 18px 32px -18px var(--z-primary);
    transition: filter 0.2s, transform 0.2s;
}
.checkout-section .btn-place-order:hover { background: var(--z-grad); filter: brightness(1.08); transform: translateY(-1px); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .pd-info-card { padding: 22px 18px 20px; }
}

@media (max-width: 768px) {
    body { background: var(--z-page); padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
    .z-topbar-inner { padding: 6px 14px; justify-content: center; }
    .z-topbar-hide-sm { display: none; }

    .hero-section { margin-top: 12px; padding: 0 12px; }
    .hero-slider { border-radius: 20px; }

    .section-title, .section-deals-title { font-size: 20px; color: var(--z-ink) !important; }
    .category-products-section, .flash-products-section { border-radius: 22px; padding: 16px 12px 12px; margin-left: 10px; margin-right: 10px; }
    .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
    .category-card .category-card-name { font-size: 11px; max-width: 100%; overflow-wrap: anywhere; }
    /* swipe works on touch; arrows would sit on top of the cards */
    .flash-products-section .flash-sale-master .owl-nav,
    .category-products-section .category-products-slider .owl-nav { display: none !important; }
    .flash-count-cell { min-width: 44px; padding: 6px 6px 5px; border-radius: 12px; }
    .flash-count-val { font-size: 15px; }
    .flash-count-label { font-size: 9.5px; }
    .nf-footer { margin-top: 40px; padding-top: 40px; }

    .checkout-section { padding: 18px 0 40px; }
    .checkout-section .card-body-custom { padding: 18px; }
    .checkout-section .checkout-header { padding: 16px 18px; }
}

@media (max-width: 480px) {
    .flash-product-img-wrap { margin: 6px 6px 0; }
    .flash-product-body { padding: 10px 10px 6px; }
    .flash-product-name { font-size: 12.5px; }
    .flash-price-new { font-size: 16px; }
    .flash-product-actions { padding: 2px 8px 10px; gap: 6px; }
    .flash-btn-order { font-size: 12px; min-height: 38px; padding: 8px 4px; border-radius: 10px; }
    .flash-btn-cart { width: 38px; min-width: 38px; min-height: 38px; border-radius: 10px; }
    .flash-sale-badge-circle { left: 8px; bottom: 8px; padding: 4px 8px; }
    .pd-specs { grid-template-columns: 1fr 1fr; }
    .pd-info-card .add_cart_btn, .pd-info-card .order_now_btn { min-width: 0; }
}

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