/* ============================================================
   DIGIMART — Modern 2024 Stylesheet
   ============================================================ */


:root {
    --p:          #7c3aed;
    --p-light:    #8b5cf6;
    --p-soft:     #f5f3ff;
    --p-glow:     rgba(124,58,237,.15);
    --ink:        #09090b;
    --ink-2:      #3f3f46;
    --ink-3:      #71717a;
    --line:       #f4f4f5;
    --line-2:     #e4e4e7;
    --bg:         #ffffff;
    --bg-2:       #fafafa;
    --bg-3:       #f4f4f5;
    --success:    #16a34a;
    --danger:     #dc2626;
    --r:          16px;
    --r-sm:       10px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
    --shadow-lg:  0 20px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
    --shadow-p:   0 8px 24px rgba(124,58,237,.22);
    --t:          .2s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Noto Sans Georgian', 'Inter', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    line-height: 1.65;
    font-weight: 400;
    font-size: .95rem;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans Georgian', 'Inter', sans-serif;
    font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--ink);
}
p { line-height: 1.7; }
.page-title    { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.2; }
.section-title { font-size: 1.1rem;  font-weight: 800; letter-spacing: -.01em; color: var(--ink); line-height: 1.3; }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 1000;
}

/* Topbar */
.header-topbar {
    background: var(--ink);
    color: rgba(255,255,255,.65);
    font-size: .72rem;
    letter-spacing: .02em;
}
.header-topbar a { color: rgba(255,255,255,.65); transition: color var(--t); }
.header-topbar a:hover { color: #fff; }

/* Main row */
.header-main { padding: 10px 0; }

/* Logo */
.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -.05em;
    color: var(--ink);
}
.logo-text .accent { color: var(--p); }

/* Search */
.header-search { position: relative; }
.search-input {
    height: 42px;
    border-radius: 12px 0 0 12px !important;
    border: 1.5px solid var(--line-2);
    border-right: none;
    background: var(--bg-2);
    font-size: .875rem;
    padding: 0 16px;
    color: var(--ink);
    transition: all var(--t);
}
.search-input::placeholder { color: var(--ink-3); }
.search-input:focus {
    outline: none;
    border-color: var(--p);
    background: #fff;
    box-shadow: 0 0 0 3px var(--p-glow);
}
.search-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 0 12px 12px 0 !important;
    background: var(--p);
    border: 1.5px solid var(--p);
    color: #fff;
    font-size: .9rem;
    transition: background var(--t);
}
.search-btn:hover { background: var(--p-light); border-color: var(--p-light); }

/* Search dropdown */
.search-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    z-index: 1050; max-height: 380px; overflow-y: auto;
    display: none;
}
.search-dropdown.show { display: block; }
.search-result-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; border-bottom: 1px solid var(--line);
    cursor: pointer; transition: background var(--t);
}
.search-result-item:last-child { border-bottom: 0; }
.search-result-item:hover { background: var(--p-soft); }
.search-result-img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex-shrink: 0; }
.search-result-name  { font-size: .84rem; font-weight: 600; }
.search-result-price { font-size: .78rem; color: var(--p); font-weight: 700; }

/* Header action buttons */
.header-action-btn {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--ink-2); font-size: 1.2rem;
    padding: 8px 10px; border-radius: 10px;
    position: relative; transition: all var(--t);
}
.header-action-btn:hover { background: var(--bg-3); color: var(--p); }
.header-action-btn span { font-size: .8rem; font-weight: 500; }

/* Cart badge */
.cart-badge {
    position: absolute; top: 2px; right: 2px;
    background: var(--p); color: #fff;
    font-size: .58rem; font-weight: 800;
    min-width: 16px; height: 16px;
    border-radius: 8px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1; border: 2px solid #fff;
}

/* Lang btn */
.lang-btn {
    display: inline-flex; align-items: center;
    padding: 4px 10px; border-radius: 8px;
    font-size: .7rem; font-weight: 700; letter-spacing: .04em;
    color: var(--ink-3); border: 1.5px solid var(--line-2);
    transition: all var(--t);
}
.lang-btn:hover, .header-topbar .lang-btn:hover { background: var(--p); color: #000; border-color: var(--p); box-shadow: var(--shadow-p); }
.lang-btn.active { background: var(--p); color: #fff; border-color: var(--p); box-shadow: var(--shadow-p); }

/* Cart dropdown */
.cart-wrapper { position: relative; }
.cart-dropdown {
    position: absolute; top: calc(100% + 12px); right: 0;
    width: 320px; background: #fff;
    border: 1px solid var(--line-2); border-radius: var(--r);
    box-shadow: var(--shadow-lg); z-index: 1100;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px) scale(.97);
    transition: all .18s cubic-bezier(.4,0,.2,1);
    transform-origin: top right;
}
@media (hover: hover) {
    .cart-wrapper:hover .cart-dropdown,
    .cart-dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
}
.cart-dropdown-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; border-bottom: 1px solid var(--line);
    font-size: .875rem; font-weight: 700;
}
.cart-dropdown-items { max-height: 240px; overflow-y: auto; }
.cart-dropdown-item { padding: 10px 16px; transition: background var(--t); background: #fff; }
.cart-dropdown-item:hover { background: var(--bg-2); }
.cart-dropdown-item > a:first-child { display: block; flex-shrink: 0; line-height: 0; }
.cart-item-thumb { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); flex-shrink: 0; display: block; }
.cart-item-info { overflow: hidden; min-width: 0; flex-grow: 1; flex-shrink: 1; }
.cart-item-name  { font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; color: var(--ink); text-decoration: none; }
.cart-item-price { font-size: .76rem; color: var(--ink-3); margin-top: 1px; }
.btn-remove-cart-item { background: none; border: none; color: var(--ink-3); padding: 3px 6px; border-radius: 6px; transition: all var(--t); flex-shrink: 0; }
.btn-remove-cart-item:hover { background: #fef2f2; color: var(--danger); }
.cart-dropdown-footer { padding: 12px 16px; border-top: 1px solid var(--line); }
.cart-empty-msg { padding: 24px 16px; }

/* Nav */
.header-nav { background: var(--bg); border-top: 1px solid var(--line); }
.nav-link-item {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 12px; font-size: .84rem; font-weight: 500;
    color: var(--ink-3); white-space: nowrap;
    border-bottom: 2px solid transparent; transition: all var(--t);
}
.nav-link-item:hover, .nav-link-item.active { color: var(--p); border-bottom-color: var(--p); }
.nav-dropdown-wrap { position: relative; }
.nav-dropdown {
    position: absolute; top: 100%; left: 0; min-width: 200px;
    background: #fff; border: 1px solid var(--line-2);
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    box-shadow: var(--shadow-md); z-index: 999;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: all .18s ease;
}
.nav-dropdown-wrap:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-item {
    display: block; padding: 9px 16px;
    font-size: .84rem; color: var(--ink-2);
    border-bottom: 1px solid var(--line); transition: all var(--t);
}
.nav-dropdown-item:last-child { border-bottom: 0; }
.nav-dropdown-item:hover { background: var(--p-soft); color: var(--p); padding-left: 20px; }

/* Mobile menu */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.4);
    z-index: 1200; opacity: 0; visibility: hidden;
    transition: all .25s ease; backdrop-filter: blur(4px);
}
.mobile-menu-overlay.show { opacity: 1; visibility: visible; }
.mobile-menu {
    position: fixed; top: 0; left: -100%; width: 290px; height: 100%;
    background: #fff; z-index: 1300; overflow-y: auto;
    transition: left .28s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-lg);
}
.mobile-menu.open { left: 0; }
.mobile-menu-link {
    display: flex; align-items: center; padding: 10px 12px;
    color: var(--ink); border-radius: 10px; font-size: .9rem; font-weight: 500;
    transition: all var(--t);
}
.mobile-menu-link:hover { background: var(--p-soft); color: var(--p); }
.mobile-menu-link-sub {
    display: block; padding: 7px 12px;
    font-size: .84rem; color: var(--ink-3); transition: color var(--t);
}
.mobile-menu-link-sub:hover { color: var(--p); }
.mob-toggle-btn {
    background: none; border: none; padding: 4px 8px;
    color: var(--ink-3); cursor: pointer; flex-shrink: 0;
    transition: color var(--t), transform .2s ease;
    border-radius: 6px;
}
.mob-toggle-btn:hover { color: var(--p); background: var(--p-soft); }
.mob-toggle-btn[aria-expanded="true"] i,
.mob-toggle-btn.collapsed i { }
.mob-toggle-btn .bi-chevron-down { transition: transform .2s ease; display: block; }
.mob-toggle-btn[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section { background: var(--bg-2); padding: 12px 0; }
.hero-inner { border-radius: 20px; overflow: visible; box-shadow: var(--shadow-md); }
.hero-inner > .col-lg-10, .hero-inner > .col-md-9 { overflow: hidden; border-radius: 0 20px 20px 0; }
.hero-inner > .col-12 { overflow: hidden; border-radius: 0 20px 20px 0; }
@media (max-width: 767px) { .hero-inner > .col-12 { border-radius: 20px; } }
.hero-inner > .col-lg-2, .hero-inner > .col-md-3 { border-radius: 20px 0 0 20px; overflow: visible; }

/* Category sidebar */
.categories-sidebar { background: #fff; border-right: 1px solid var(--line); }
.cats-header { background: var(--p); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .01em; }
.cat-list { list-style: none; }
.cat-item { position: relative; }
.cat-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 14px; font-size: .82rem; font-weight: 500;
    color: var(--ink-2); border-left: 3px solid transparent;
    transition: all var(--t);
}
.cat-link:hover { background: var(--p-soft); color: var(--p); border-left-color: var(--p); }
.cat-arrow { font-size: .6rem; color: var(--ink-3); }
.cat-submenu {
    display: none; position: absolute; left: 100%; top: 0;
    min-width: 200px; background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 0 var(--r) var(--r) 0;
    box-shadow: var(--shadow-lg); z-index: 100;
}
.cat-item:hover .cat-submenu { display: block; }
.cat-sub-item {
    display: block; padding: 8px 16px; font-size: .82rem;
    color: var(--ink-2); transition: all var(--t);
}
.cat-sub-item:hover { background: var(--p-soft); color: var(--p); padding-left: 22px; }

/* Slider */
.hero-swiper, .hero-placeholder { height: 480px; }
@media (max-width: 991px) { .hero-swiper, .hero-placeholder { height: 320px; } }
@media (max-width: 575px)  { .hero-swiper, .hero-placeholder { height: 240px; } }
.hero-slide-img { width: 100%; height: 100%; object-fit: cover; }
.slide-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
    color: #fff;
}
.slide-title   { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 5px; color: #e7e7e7; }
.slide-subtitle { font-size: .8rem; opacity: .85; margin-bottom: 12px; }
.slide-btn {
    display: inline-flex; align-items: center;
    padding: 8px 20px; border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,.7);
    background: rgba(255,255,255,.12); color: #fff;
    font-size: .84rem; font-weight: 600; backdrop-filter: blur(8px);
    transition: all var(--t);
}
.slide-btn:hover { background: var(--p); color: #fff; border-color: var(--p); }
.swiper-button-prev, .swiper-button-next { color: #fff !important; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 1rem !important; }

/* ── Section header pills & all-link ── */
.section-pill {
    display: inline-flex; align-items: center;
    padding: 3px 10px; border-radius: 20px;
    font-size: .68rem; font-weight: 800; letter-spacing: .04em;
    line-height: 1.6;
}
.sale-pill    { background: #fef2f2; color: #dc2626; }
.new-pill     { background: #f0fdf4; color: #16a34a; }
.popular-pill { background: #fffbeb; color: #d97706; }

.section-all-link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .8rem; font-weight: 700; color: var(--p);
    transition: gap var(--t);
}
.section-all-link:hover { color: var(--p-light); gap: 8px; }

/* ── Product card overlay ── */
.card-add-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 14px;
    background: linear-gradient(to top, rgba(0,0,0,.45) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .22s ease;
}
.product-card:hover .card-add-overlay { opacity: 1; }

.card-add-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px;
    background: #fff; color: var(--ink);
    border: none; border-radius: 50px;
    font-size: .72rem; font-weight: 800;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    transform: translateY(8px);
    transition: transform .22s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
    cursor: pointer;
}
.product-card:hover .card-add-btn { transform: translateY(0); }
.card-add-btn:hover { background: var(--p); color: #fff; }
@media (max-width: 575px) {
    .card-add-btn { padding: 5px 10px; font-size: .64rem; gap: 4px; }
    .card-add-overlay { padding: 8px; }
}

/* Swiper nav buttons */
.swiper-nav-btn {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1.5px solid var(--line-2); background: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; color: var(--ink-3); font-size: .78rem;
    transition: all var(--t); box-shadow: var(--shadow-sm);
}
.swiper-nav-btn:hover { background: var(--p); border-color: var(--p); color: #fff; box-shadow: var(--shadow-p); }

/* ══════════════════════════════════════════
   PRODUCT CARD
══════════════════════════════════════════ */
.product-card {
    background: #fff;
    border-radius: var(--r);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex; flex-direction: column; height: 100%;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.product-card:hover {
    box-shadow: 0 6px 24px rgba(124,58,237,.13), 0 2px 8px rgba(0,0,0,.05);
    border-color: rgba(124,58,237,.25);
}
.product-img-wrap {
    display: block; position: relative; padding-top: 100%;
    background: var(--bg-2); overflow: hidden;
}
.product-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: contain; padding: 16px;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-img { transform: scale(1.07); }

.product-badge {
    position: absolute; top: 10px; left: 10px; z-index: 1;
    font-size: .66rem; font-weight: 800; letter-spacing: .04em;
    padding: 4px 10px; border-radius: 20px; line-height: 1;
}
.badge-sale { background: var(--p); color: #fff; }
.badge-new  { background: var(--success); color: #fff; }

.product-out-stock {
    position: absolute; inset: 0;
    background: rgba(255,255,255,.82); backdrop-filter: blur(2px);
    display: flex; align-items: center; justify-content: center;
    font-size: .78rem; font-weight: 700; color: var(--ink-3);
}

.product-info {
    padding: 14px 14px 12px;
    display: flex; flex-direction: column; flex: 1; gap: 6px;
}
.product-name {
    font-size: .85rem; font-weight: 600; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.55; flex: 1;
    transition: color var(--t); letter-spacing: -.005em;
}
.product-name:hover { color: var(--p); }
.product-sku { font-size: .7rem; color: var(--ink-3); letter-spacing: .01em; }

.price-new { font-size: 1rem; font-weight: 800; color: #e8506b; letter-spacing: -.02em; }
.price-regular { font-size: 1rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-old { font-size: .76rem; color: var(--ink-3); text-decoration: line-through; }

.btn-add-cart {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 9px 0;
    background: var(--p); color: #fff; border: none;
    border-radius: 10px; font-size: .8rem; font-weight: 700;
    font-family: 'Noto Sans Georgian', 'Inter', sans-serif;
    letter-spacing: .005em; transition: all var(--t);
}
.btn-add-cart:hover { background: var(--p-light); transform: translateY(-1px); box-shadow: var(--shadow-p); }
.btn-add-cart.disabled { background: var(--bg-3); color: var(--ink-3); box-shadow: none; cursor: not-allowed; }
@media (max-width: 575px) {
    .btn-add-cart { font-size: .68rem; padding: 7px 4px; gap: 3px; white-space: nowrap; }
    .btn-add-cart i { font-size: .72rem; }
}

/* Flying cart animation */
@keyframes flyToCart { 0%{opacity:1;transform:scale(1)} 100%{opacity:0;transform:scale(.1)} }
.cart-fly-item {
    position: fixed; width: 48px; height: 48px;
    border-radius: 50%; object-fit: cover; z-index: 9999;
    pointer-events: none; border: 2px solid var(--p);
    box-shadow: var(--shadow-p);
}

/* ══════════════════════════════════════════
   BANNERS
══════════════════════════════════════════ */
.banner-full  { border-radius: 20px; overflow: hidden; display: block; }
.banner-double {
    border-radius: 20px; overflow: hidden; display: block;
    height: 220px; object-fit: cover;
    transition: transform .3s ease;
}
.banner-double:hover { transform: scale(1.015); }
@media (max-width: 767px) { .banner-double { height: 150px; } }

/* ══════════════════════════════════════════
   BRANDS
══════════════════════════════════════════ */
.brands-section { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brand-item {
    background: #fff; border-radius: var(--r);
    display: flex; align-items: center; justify-content: center;
    height: 68px; border: 1px solid var(--line);
    transition: all var(--t);
}
.brand-item:hover { box-shadow: var(--shadow-md); border-color: var(--line-2); transform: translateY(-2px); }
.brand-img { max-height: 38px; max-width: 80%; object-fit: contain; filter: grayscale(1) opacity(.55); transition: filter var(--t); }
.brand-item:hover .brand-img { filter: grayscale(0) opacity(1); }

/* ══════════════════════════════════════════
   FILTER SIDEBAR
══════════════════════════════════════════ */
.filter-sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.filter-group-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; }
.filter-cat-link {
    display: flex; align-items: center;
    padding: 5px 8px; font-size: .84rem; color: var(--ink-2);
    border-radius: 8px; transition: all var(--t);
}
.filter-cat-link:hover, .filter-cat-link.active {
    background: var(--p-soft); color: var(--p); font-weight: 600;
}

/* ══════════════════════════════════════════
   PRODUCT DETAIL PAGE (PDP)
══════════════════════════════════════════ */

/* Wrapper & Gallery */
.pdp-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
}
.pdp-gallery {
    display: flex;
    gap: 10px;
    padding: 20px;
    height: 100%;
}

/* Vertical thumbnail strip */
.pdp-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 68px;
    max-height: 460px;
    overflow-y: auto;
}
.pdp-thumb-btn {
    width: 68px; height: 68px;
    border: 2px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-2);
    padding: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color var(--t);
}
.pdp-thumb-btn img { width: 100%; height: 100%; object-fit: contain; }
.pdp-thumb-btn.active,
.pdp-thumb-btn:hover { border-color: var(--p); }

/* Main image */
.pdp-main-img-wrap {
    flex: 1;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-2);
    min-height: 380px;
    display: flex; align-items: center; justify-content: center;
}
.pdp-main-img {
    max-width: 100%; max-height: 420px;
    object-fit: contain;
    padding: 12px;
    transition: transform .35s ease;
}
.pdp-main-img-wrap:hover .pdp-main-img { transform: scale(1.04); }

/* Discount / New badges */
.pdp-discount-badge,
.pdp-new-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    font-size: .72rem; font-weight: 800; letter-spacing: .04em;
    padding: 5px 11px; border-radius: 20px; line-height: 1;
}
.pdp-discount-badge { background: var(--p); color: #fff; }
.pdp-new-badge { background: var(--success); color: #fff; top: 12px; left: auto; right: 12px; }

/* Info panel */
.pdp-info {
    padding: 28px 28px 24px;
    display: flex; flex-direction: column; gap: 14px;
}

/* Title */
.pdp-title {
    font-size: 1.45rem; font-weight: 800;
    letter-spacing: -.03em; line-height: 1.25;
    color: var(--ink);
}

/* Meta row (SKU + stock) */
.pdp-meta {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
}
.pdp-sku { font-size: .75rem; color: var(--ink-3); }
.pdp-stock { font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
.pdp-stock.in  { color: var(--success); }
.pdp-stock.out { color: var(--danger); }

/* Price block */
.pdp-price-block { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.pdp-price-new { font-size: 2rem; font-weight: 900; color: #e8506b; line-height: 1; }
.pdp-price-regular { font-size: 2rem; font-weight: 900; color: var(--ink); line-height: 1; }
.pdp-price-old { font-size: 1rem; color: var(--ink-3); text-decoration: line-through; }
.pdp-price-save {
    font-size: .72rem; font-weight: 800; letter-spacing: .04em;
    background: #fef2f2; color: #dc2626;
    padding: 3px 9px; border-radius: 20px;
    align-self: center;
}
.pdp-sale-until {
    width: 100%; font-size: .76rem; color: var(--ink-3); margin-top: 2px;
}

/* Divider */
.pdp-divider { border: none; border-top: 1px solid var(--line); margin: 2px 0; }

/* Options */
.pdp-option-group { display: flex; flex-direction: column; gap: 4px; }
.pdp-option-label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.pdp-option-selected { font-weight: 500; color: var(--p); }

.option-btn {
    padding: 6px 16px; border: 1.5px solid var(--line-2);
    border-radius: 8px; background: #fff; font-size: .82rem; font-weight: 500;
    transition: all var(--t);
}
.option-btn:hover { border-color: var(--p); color: var(--p); }
.option-btn.selected { background: var(--p); border-color: var(--p); color: #fff; }
.option-color { width: 30px; height: 30px; border-radius: 50% !important; padding: 0 !important; border-width: 2px; }
.option-color.selected { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--p); }

/* Actions (qty + buttons) */
.pdp-actions { display: flex; flex-direction: column; gap: 12px; }
.pdp-qty-row { display: flex; align-items: center; gap: 10px; }
.pdp-qty-label { font-size: .78rem; color: var(--ink-3); }

.qty-input { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.qty-btn { width: 36px; height: 38px; background: none; border: none; font-size: 1rem; font-weight: 600; color: var(--p); transition: background var(--t); }
.qty-btn:hover { background: var(--p-soft); }
.qty-field { width: 48px; height: 38px; border: none; text-align: center; font-weight: 700; font-size: .9rem; background: none; }
.qty-field:focus { outline: none; }

.pdp-btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-add-btn {
    flex: 1; min-width: 160px;
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 20px;
    background: var(--p); color: #fff;
    border: none; border-radius: 12px;
    font-size: .9rem; font-weight: 700;
    transition: all var(--t);
}
.pdp-add-btn:hover { background: var(--p-light); box-shadow: var(--shadow-p); transform: translateY(-1px); }
.pdp-add-btn.disabled { background: var(--bg-3); color: var(--ink-3); cursor: not-allowed; box-shadow: none; transform: none; }

.pdp-buy-btn {
    flex: 1; min-width: 120px;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 20px;
    background: var(--ink); color: #fff;
    border: none; border-radius: 12px;
    font-size: .9rem; font-weight: 700;
    transition: all var(--t);
}
.pdp-buy-btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.pdp-buy-btn.disabled { pointer-events: none; opacity: .45; }

/* Trust badges */
.pdp-trust {
    display: flex; gap: 16px; flex-wrap: wrap;
    padding: 14px 0 2px;
    border-top: 1px solid var(--line);
}
.pdp-trust-item {
    display: flex; align-items: center; gap: 7px;
    font-size: .78rem; font-weight: 600; color: var(--ink-2);
}
.pdp-trust-item i { font-size: 1.1rem; color: var(--p); }

/* ── Tabs ── */
.pdp-tabs-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}
.pdp-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}
.pdp-tab-btn {
    padding: 13px 20px;
    background: none; border: none;
    font-size: .875rem; font-weight: 600;
    color: var(--ink-3);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color var(--t), border-color var(--t);
    cursor: pointer;
}
.pdp-tab-btn:hover { color: var(--p); }
.pdp-tab-btn.active { color: var(--p); border-bottom-color: var(--p); }

.pdp-tabs-body { padding: 24px; }
.pdp-tab-pane { display: none; }
.pdp-tab-pane.active { display: block; }

.pdp-description { font-size: .9rem; line-height: 1.8; color: var(--ink-2); }
.pdp-description p { margin-bottom: .75rem; }
.pdp-description h2, .pdp-description h3 { font-weight: 700; margin: 1rem 0 .5rem; }

/* Specs grid */
.pdp-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.pdp-spec-row {
    display: grid; grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
}
.pdp-spec-row:last-child { border-bottom: none; }
.pdp-spec-row:nth-child(even) { background: var(--bg-2); }
.pdp-spec-key, .pdp-spec-val {
    padding: 10px 16px;
    font-size: .875rem;
}
.pdp-spec-key { font-weight: 600; color: var(--ink-2); border-right: 1px solid var(--line); }
.pdp-spec-val { color: var(--ink); }

/* PDP Responsive */
@media (max-width: 991px) {
    .pdp-info { padding: 20px; }
    .pdp-title { font-size: 1.2rem; }
    .pdp-price-new, .pdp-price-regular { font-size: 1.6rem; }
    .pdp-main-img-wrap { min-height: 280px; }
}
@media (max-width: 767px) {
    .pdp-gallery { padding: 12px; flex-direction: column-reverse; }
    .pdp-thumbs { flex-direction: row; width: 100%; max-height: none; }
    .pdp-thumb-btn { width: 56px; height: 56px; }
    .pdp-main-img-wrap { min-height: 240px; }
    .pdp-add-btn, .pdp-buy-btn { font-size: .82rem; padding: 10px 14px; }
    .pdp-btn-row { flex-direction: column; }
    .pdp-add-btn, .pdp-buy-btn { width: 100%; flex: none; min-width: 0; }
    .pdp-tabs-body { padding: 16px; }
}

/* ══════════════════════════════════════════
   CART
══════════════════════════════════════════ */
.cart-item-img { width: 68px; height: 68px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); padding: 4px; }
.cart-item-link { font-weight: 700; color: var(--ink); transition: color var(--t); }
.cart-item-link:hover { color: var(--p); }
.order-summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }

/* ══════════════════════════════════════════
   CHECKOUT
══════════════════════════════════════════ */
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.checkout-card-title { font-size: .95rem; font-weight: 800; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.payment-method-item { border: 1.5px solid var(--line-2); border-radius: 10px; padding: 12px 16px; margin-bottom: 8px; cursor: pointer; transition: all var(--t); }
.payment-method-item:has(input:checked) { border-color: var(--p); background: var(--p-soft); }

/* ══════════════════════════════════════════
   PROFILE
══════════════════════════════════════════ */
.profile-sidebar { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; position: sticky; top: 76px; }
.profile-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--p); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; font-weight: 800;
}
.profile-nav-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: .875rem; font-weight: 500; color: var(--ink-2); transition: all var(--t); margin-bottom: 2px; }
.profile-nav-link:hover, .profile-nav-link.active { background: var(--p-soft); color: var(--p); font-weight: 600; }
.profile-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }

/* ══════════════════════════════════════════
   AUTH
══════════════════════════════════════════ */
.auth-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: 20px; padding: 36px 32px;
    box-shadow: 0 24px 64px rgba(0,0,0,.08);
}
.auth-title { font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; color: var(--ink); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.site-footer { background: var(--ink); color: #71717a; }
.footer-heading { color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links a, .footer-contact a { color: #71717a; font-size: .84rem; display: block; padding: 3px 0; transition: all var(--t); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; padding-left: 6px; }
.footer-desc { color: #52525b !important; font-size: .84rem !important; line-height: 1.65 !important; }
.footer-bottom { border-top: 1px solid #27272a; font-size: .8rem; color: #52525b; }
.social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 8px;
    background: #18181b; color: #71717a; font-size: .95rem;
    border: 1px solid #27272a; transition: all var(--t);
}
.social-btn:hover { background: var(--p); color: #fff; border-color: var(--p); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   MISC COMPONENTS
══════════════════════════════════════════ */
/* Breadcrumb */
.breadcrumb { font-size: .8rem; }
.breadcrumb-item a { color: var(--ink-3); transition: color var(--t); }
.breadcrumb-item a:hover { color: var(--p); }
.breadcrumb-item.active { color: var(--ink-3); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--line-2); }

/* Pagination */
.pagination .page-link { border-radius: 8px !important; margin: 0 2px; color: var(--ink-2); border-color: var(--line-2); font-weight: 600; font-size: .84rem; transition: all var(--t); }
.pagination .page-item.active .page-link { background: var(--p); border-color: var(--p); }
.pagination .page-link:hover { background: var(--p-soft); color: var(--p); border-color: var(--p); }

/* Order success */
.success-circle {
    width: 88px; height: 88px; border-radius: 50%;
    background: #dcfce7; display: flex; align-items: center; justify-content: center;
    font-size: 2.4rem; color: var(--success);
    animation: pop .35s cubic-bezier(.4,0,.2,1);
}
@keyframes pop { 0%{transform:scale(0)} 70%{transform:scale(1.12)} 100%{transform:scale(1)} }

/* Back to top */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--ink); color: #fff; border: none;
    z-index: 500; opacity: 0; visibility: hidden;
    transition: all .3s ease; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--p); transform: translateY(-3px); box-shadow: var(--shadow-p); }

/* Static pages */
.static-page-content { font-size: .95rem; line-height: 1.8; color: var(--ink-2); }
.static-page-content h2 { font-size: 1.15rem; font-weight: 800; margin-top: 1.5rem; color: var(--ink); }
.static-page-content p { margin-bottom: 1rem; }

/* Voucher */
.voucher-section input { text-transform: uppercase; letter-spacing: 3px; font-weight: 700; font-size: .875rem; }

/* Alerts */
.alert { border: none; border-radius: 10px; font-weight: 500; font-size: .875rem; }
.alert-success { background: #f0fdf4; color: #166534; }
.alert-danger   { background: #fef2f2; color: #991b1b; }
.alert-warning  { background: #fffbeb; color: #92400e; }
.alert-info     { background: var(--p-soft); color: var(--p); }

/* Badges */
.badge.bg-primary { background: var(--p) !important; }

/* ══════════════════════════════════════════
   BOOTSTRAP OVERRIDES
══════════════════════════════════════════ */
.btn-primary {
    background: var(--p); border-color: var(--p);
    font-weight: 600; border-radius: 10px;
    transition: all var(--t);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--p-light); border-color: var(--p-light);
    box-shadow: var(--shadow-p); transform: translateY(-1px);
}
.btn-outline-primary { color: var(--p); border-color: var(--p); border-radius: 10px; font-weight: 600; }
.btn-outline-primary:hover { background: var(--p); border-color: var(--p); color: #fff; }
.btn-secondary { background: var(--bg-3); border-color: var(--line-2); color: var(--ink-2); border-radius: 10px; font-weight: 600; }
.btn-secondary:hover { background: var(--line-2); border-color: var(--line-2); color: var(--ink); }

.form-control, .form-select {
    border-color: var(--line-2); border-radius: 10px;
    font-size: .875rem; color: var(--ink);
    transition: all var(--t);
}
.form-control:focus, .form-select:focus {
    border-color: var(--p);
    box-shadow: 0 0 0 3px var(--p-glow);
}
.form-label { font-size: .84rem; font-weight: 600; color: var(--ink-2); margin-bottom: 5px; }
.form-check-input:checked { background-color: var(--p); border-color: var(--p); }
.dropdown-item:active { background: var(--p); }

/* ══════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--p); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 991px) {
    .product-detail-title { font-size: 1.25rem; }
    .detail-price-new, .detail-price-regular { font-size: 1.5rem; }
    .gallery-img { height: 300px; }
}
@media (max-width: 767px) {
    .page-title { font-size: 1.4rem; }
    .cart-item-img { width: 52px; height: 52px; }
    .order-summary-card, .profile-card, .checkout-card { padding: 16px; }
    .gallery-img { height: 260px; }
    .auth-card { padding: 24px 20px; }
}
@media (max-width: 575px) {
    .header-main { padding: 8px 0; }
    .product-info { padding: 10px; }
    .price-new, .price-regular { font-size: .92rem; }
    .section-title { font-size: .82rem; letter-spacing: -.01em; }
    .section-pill { font-size: .6rem; padding: 2px 7px; }
    .section-all-link { font-size: .72rem; }
    .section-header { gap: 6px !important; }
    .swiper-nav-btn { width: 26px; height: 26px; font-size: .68rem; }
}

/* ── text utility ── */
.text-primary { color: var(--p) !important; }

/* ══════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════ */
.contact-info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px 24px;
    height: 100%;
}
.contact-info-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item:last-of-type { border-bottom: none; }
.contact-info-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--p-soft); color: var(--p);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.contact-info-label {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--ink-3); margin-bottom: 3px;
}
.contact-info-value {
    font-size: .9rem; font-weight: 600; color: var(--ink);
    text-decoration: none; transition: color var(--t);
}
a.contact-info-value:hover { color: var(--p); }

.contact-form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 32px 28px;
}
.contact-form-title {
    font-size: 1.05rem; font-weight: 800;
    color: var(--ink); margin-bottom: 22px;
    padding-bottom: 14px; border-bottom: 1px solid var(--line);
}

/* ══════════════════════════════════════════
   TOPBAR — light brand strip
══════════════════════════════════════════ */
.header-topbar {
    background: var(--p-soft);
    color: var(--ink-3);
    border-bottom: 1px solid rgba(124,58,237,.1);
    font-size: .72rem; letter-spacing: .02em;
}
.header-topbar a { color: var(--ink-3); transition: color var(--t); }
.header-topbar a:hover { color: var(--p); }

/* ══════════════════════════════════════════
   HEADER — improved auth + cart buttons
══════════════════════════════════════════ */
.header-login-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 18px; border-radius: 50px;
    font-size: .82rem; font-weight: 700;
    color: var(--p);
    background: rgba(124,58,237,.08);
    border: 1.5px solid rgba(124,58,237,.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--t); text-decoration: none;
    white-space: nowrap;
}
.header-login-btn:hover {
    background: rgba(124,58,237,.15);
    border-color: rgba(124,58,237,.5);
    color: var(--p);
    box-shadow: 0 4px 16px rgba(124,58,237,.2), inset 0 1px 0 rgba(255,255,255,.6);
    transform: translateY(-1px);
}

.header-register-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 18px; border-radius: 50px;
    font-size: .82rem; font-weight: 700;
    color: #fff;
    background: rgba(124,58,237,.75);
    border: 1.5px solid rgba(255,255,255,.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(124,58,237,.3), inset 0 1px 0 rgba(255,255,255,.2);
    transition: all var(--t); text-decoration: none;
    white-space: nowrap;
}
.header-register-btn:hover {
    background: rgba(124,58,237,.9);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(124,58,237,.4), inset 0 1px 0 rgba(255,255,255,.25);
    color: #fff;
}

.header-cart-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 16px; border-radius: 12px;
    background: #fff; color: var(--ink);
    font-size: .85rem; font-weight: 700;
    border: 1.5px solid var(--line-2); position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    transition: all var(--t); text-decoration: none;
    white-space: nowrap;
}
.header-cart-btn:hover {
    border-color: var(--p); color: var(--p);
    box-shadow: 0 4px 14px rgba(124,58,237,.15);
    transform: translateY(-1px);
}
.header-cart-btn .cart-badge {
    position: absolute; top: -6px; right: -6px;
    min-width: 17px; height: 17px; border-radius: 9px;
    background: #e8506b; color: #fff;
    font-size: .6rem; font-weight: 900;
    padding: 0 4px; border: 2px solid #fff;
    display: inline-flex; align-items: center; justify-content: center;
    line-height: 1;
}
.cart-wrapper { position: relative; }

/* ══════════════════════════════════════════
   MOBILE HEADER — search hidden, clean 3-col
══════════════════════════════════════════ */
@media (max-width: 767px) {
    .header-search-wrap { display: none !important; }
    .header-mobile-toggle { display: flex !important; }
    .header-auth { display: none !important; }
    body { padding-bottom: 64px; }
}
.header-mobile-toggle {
    display: none;
    align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--bg-3); border: none;
    color: var(--ink); font-size: 1.3rem;
    transition: background var(--t);
}
.header-mobile-toggle:hover { background: var(--p-soft); color: var(--p); }

/* ══════════════════════════════════════════
   MOBILE BOTTOM NAV
══════════════════════════════════════════ */
.mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    height: 62px; z-index: 1200;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 24px rgba(0,0,0,.08);
}
@media (max-width: 767px) { .mobile-bottom-nav { display: flex; } }

.mbn-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    padding: 6px 4px; border: none; background: none;
    color: var(--ink-3); font-size: .62rem; font-weight: 600;
    letter-spacing: .02em; cursor: pointer; text-decoration: none;
    transition: color .15s ease; position: relative;
}
.mbn-item.active, .mbn-item:hover { color: var(--p); }
.mbn-item i { font-size: 1.3rem; line-height: 1; }
.mbn-item .mbn-badge {
    position: absolute; top: 4px; right: calc(50% - 14px);
    background: var(--p); color: #fff;
    font-size: .55rem; font-weight: 800;
    min-width: 16px; height: 16px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px; border: 2px solid #fff;
}

/* Mobile search overlay */
.mobile-search-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 1300;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(4px);
    align-items: flex-start; padding-top: 80px;
}
.mobile-search-overlay.show { display: flex; }
#mobileSearchClose { background: #fff; }
.mobile-search-box {
    width: 100%; max-width: 560px;
    margin: 0 auto; padding: 0 16px;
}

/* ══════════════════════════════════════════
   FOOTER — dark navy tone
══════════════════════════════════════════ */
.site-footer { background: #0f0a1e; color: #9ca3af; }
.site-footer .text-muted { color: #9ca3af !important; }
.site-footer .text-muted.small, .site-footer span.text-muted { color: #9ca3af !important; }
.footer-main { padding: 48px 0 32px; }
.footer-heading { color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-links a, .footer-contact a { color: #9ca3af; font-size: .84rem; display: block; padding: 3px 0; transition: all var(--t); }
.footer-links a:hover, .footer-contact a:hover { color: #e5e7eb; padding-left: 6px; }
.footer-desc { color: #9ca3af !important; font-size: .84rem !important; line-height: 1.65 !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08) !important; font-size: .8rem; color: #9ca3af; }
.footer-bottom .text-muted { color: #9ca3af !important; }
.footer-bottom a.text-muted { color: #9ca3af !important; }
.footer-bottom a.text-muted:hover { color: #fff !important; }
.social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,.06); color: #9ca3af; font-size: .95rem;
    border: 1px solid rgba(255,255,255,.1); transition: all var(--t);
}
.social-btn:hover { background: var(--p); color: #fff; border-color: var(--p); transform: translateY(-2px); box-shadow: var(--shadow-p); }

/* ══════════════════════════════════════════
   CATEGORY SIDEBAR — redesigned
══════════════════════════════════════════ */
.categories-sidebar {
    background: #fff;
    display: flex; flex-direction: column;
    border-radius: 20px 0 0 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 10;
    transition: box-shadow var(--t);
}
.categories-sidebar:hover {
    overflow: visible;
    z-index: 200;
}
.categories-sidebar.has-overflow:hover {
    box-shadow: 0 24px 48px rgba(0,0,0,.14);
}
.cats-header {
    background: #101010;
    color: #fff;
    font-size: .8rem; font-weight: 700; letter-spacing: .04em;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 20px 0 0 0;
    flex-shrink: 0;
}
.cat-list {
    list-style: none;
    overflow: visible;
    flex: 1;
}
.categories-sidebar.has-overflow:hover .cat-list {
    position: absolute;
    top: 44px;
    left: -1px; right: -1px;
    background: #fff;
    border: 1px solid var(--line-2);
    border-top: none;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 24px 48px rgba(0,0,0,.14);
    overflow-y: auto;
    max-height: 60vh;
    z-index: 200;
}
.cat-item { position: relative; }
.cat-link {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px; font-size: .8rem; font-weight: 500;
    color: var(--ink-2); border-left: 3px solid transparent;
    transition: all var(--t);
}
.cat-link i.bi:not(.cat-arrow) { font-size: .95rem; color: var(--ink-3); width: 16px; text-align: center; flex-shrink: 0; transition: color var(--t); }
.cat-link:hover { background: var(--p-soft); color: var(--p); border-left-color: var(--p); }
.cat-link:hover i { color: var(--p); }
.cat-arrow { font-size: .58rem; color: var(--ink-3); margin-left: auto; flex-shrink: 0; }
.cat-submenu {
    display: none; position: absolute; left: 100%; top: 0;
    min-width: 200px; background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 0 var(--r) var(--r) var(--r);
    box-shadow: var(--shadow-lg); z-index: 500;
}
.cat-item:hover .cat-submenu { display: block; }
.cat-submenu-inner { padding: 6px 0; }
.cat-sub-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; font-size: .82rem; color: var(--ink-2); transition: all var(--t);
}
.cat-sub-item:hover { background: var(--p-soft); color: var(--p); padding-left: 22px; }

/* ══════════════════════════════════════════
   FILTER SIDEBAR — redesigned
══════════════════════════════════════════ */
.filter-sidebar {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); overflow: hidden;
}
.filter-sidebar-header {
    padding: 14px 18px; border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    display: flex; align-items: center; justify-content: space-between;
}
.filter-sidebar-header h5 {
    font-size: .9rem; font-weight: 800; color: var(--ink); margin: 0;
    display: flex; align-items: center; gap: 7px;
}
.filter-sidebar-header h5 i { color: var(--p); }
.filter-body { padding: 16px 18px; }
.filter-group { margin-bottom: 20px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group-title {
    font-size: .68rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .1em; color: var(--ink-3); margin-bottom: 8px;
    padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.filter-cat-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 10px; font-size: .84rem; color: var(--ink-2);
    border-radius: 8px; transition: all var(--t);
}
.filter-cat-link:hover, .filter-cat-link.active {
    background: var(--p-soft); color: var(--p); font-weight: 600;
}
.filter-cat-link.active::before {
    content: ''; display: inline-block; width: 4px; height: 4px;
    border-radius: 50%; background: var(--p); margin-right: 4px;
}

/* ══════════════════════════════════════════
   PRODUCTS PAGE — enhanced add to cart btn
══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   CART PAGE — redesigned
══════════════════════════════════════════ */
.cart-table-wrap {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); overflow: hidden;
}
.cart-table { margin: 0; }
.cart-table thead th {
    background: var(--bg-2); font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3);
    border-bottom: 1px solid var(--line); padding: 12px 16px;
}
.cart-table tbody td { padding: 14px 16px; border-color: var(--line); vertical-align: middle; }
.cart-table tbody tr:last-child td { border-bottom: none; }
.cart-table tbody tr:hover td { background: var(--bg-2); }

.cart-img-link { display: block; }
.cart-item-img {
    width: 72px; height: 72px; object-fit: contain;
    border-radius: 12px; border: 1px solid var(--line);
    background: var(--bg-2); padding: 4px;
}
.cart-item-link { font-weight: 700; color: var(--ink); font-size: .875rem; transition: color var(--t); }
.cart-item-link:hover { color: var(--p); }
.cart-item-price { font-size: .9rem; font-weight: 700; color: var(--ink); }
.cart-item-total { font-size: 1rem; font-weight: 800; color: var(--ink); }

.order-summary-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r); padding: 20px;
    position: sticky; top: 80px;
}
.order-summary-card h5 { font-size: .95rem; font-weight: 800; margin-bottom: 16px; }
.summary-rows .row-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; font-size: .875rem; border-bottom: 1px solid var(--line);
}
.summary-rows .row-item:last-child { border-bottom: none; }
.summary-rows .row-total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; font-size: 1.05rem; font-weight: 800;
}
.delivery-row { color: var(--success); }
.delivery-free { color: var(--success); font-weight: 700; }

/* ══════════════════════════════════════════
   CHECKOUT — delivery fee row
══════════════════════════════════════════ */
.checkout-delivery-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0; font-size: .875rem;
}
.checkout-delivery-row .free-tag { color: var(--success); font-weight: 700; }
.checkout-delivery-row .paid-tag { color: var(--ink-2); font-weight: 600; }
.delivery-info-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: #f0fdf4; color: #166534;
    border: 1px solid #bbf7d0; border-radius: 8px;
    padding: 6px 12px; font-size: .78rem; font-weight: 600;
    margin-bottom: 10px;
}

/* ══════════════════════════════════════════
   SLIDER — enhanced controls
══════════════════════════════════════════ */
.swiper-button-prev, .swiper-button-next {
    width: 38px !important; height: 38px !important;
    background: rgba(255,255,255,.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.15) !important;
    color: var(--ink) !important;
    transition: all var(--t) !important;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    background: var(--p) !important; color: #fff !important;
}
.swiper-button-prev::after, .swiper-button-next::after {
    font-size: .75rem !important; font-weight: 800 !important;
}
.swiper-pagination-bullet { background: rgba(255,255,255,.6) !important; opacity: 1 !important; width: 7px !important; height: 7px !important; }
.swiper-pagination-bullet-active { background: #fff !important; width: 20px !important; border-radius: 4px !important; }

/* FB Share button */
.fb-share-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 18px; border-radius: 10px;
    background: #1877f2; color: #fff;
    font-size: .82rem; font-weight: 700;
    border: none; transition: all var(--t);
}
.fb-share-btn:hover { background: #1565d8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(24,119,242,.35); color: #fff; }

/* ── Mobile header: 3-col layout ── */
@media (max-width: 767px) {
    .header-main .flex-grow-1 { display: none !important; }
    .header-main .d-flex { justify-content: space-between; }
}

/* ══════════════════════════════════════════
   FILTER SIDEBAR (products.php)
══════════════════════════════════════════ */
.filter-sidebar {
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}
.filter-sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px;
    background: #271347;
    color: #fff;
    border-radius: 10px;
}
.filter-sidebar-header h5 {
    margin: 0; font-size: .95rem; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    color: #fff;
}
.filter-sidebar-header .btn-outline-secondary {
    color: #fff; border-color: rgba(255,255,255,.4);
}
.filter-sidebar-header .btn-outline-secondary i { color: #fff; }

/* Sections */
.fsb-section {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}
.fsb-section:last-of-type { border-bottom: none; }
.fsb-section-title {
    font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--ink-2);
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 10px;
}
.fsb-section-title i { color: var(--p); font-size: .8rem; }

/* Collapsible attribute sections */
.fsb-collapsible {
    width: 100%; background: none; border: none; padding: 0;
    cursor: pointer; margin-bottom: 0;
    display: flex; align-items: center; justify-content: space-between;
}
.fsb-collapsible:hover { color: var(--p); }
.fsb-chevron {
    font-size: .7rem; color: var(--ink-3); flex-shrink: 0;
    transition: transform .22s ease;
}
.fsb-collapsible.collapsed .fsb-chevron { transform: rotate(-90deg); }
.fsb-active-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--p); flex-shrink: 0;
}
.fsb-collapse-body {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .22s ease;
}
.fsb-collapse-body.open { grid-template-rows: 1fr; }
.fsb-collapse-inner { overflow: hidden; padding-top: 8px; }

/* Category list */
.fsb-cat-list { display: flex; flex-direction: column; gap: 2px; }
.fsb-cat-item {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; border-radius: 10px;
    font-size: .85rem; font-weight: 500; color: var(--ink-2);
    text-decoration: none; transition: all var(--t);
}
.fsb-cat-item i { font-size: .85rem; color: var(--p); flex-shrink: 0; }
.fsb-cat-item:hover { background: var(--p-soft); color: var(--p); }
.fsb-cat-item.active {
    background: var(--p-soft); color: var(--p);
    font-weight: 700;
}
.fsb-cat-child { padding-left: 24px; font-size: .82rem; }

/* Price display */
.fsb-price-display {
    display: flex; align-items: center; gap: 6px;
    font-size: .9rem; font-weight: 700; color: var(--ink);
    margin-bottom: 14px;
}
.fsb-price-dash { color: var(--ink-2); font-weight: 400; }

/* Dual range slider */
.fsb-range-wrap {
    position: relative; height: 20px; margin-bottom: 4px;
}
.fsb-range-track {
    position: absolute; top: 50%; left: 0; right: 0;
    height: 5px; border-radius: 3px;
    background: var(--line); transform: translateY(-50%);
}
.fsb-range-fill {
    position: absolute; top: 0; height: 100%;
    background: var(--p); border-radius: 3px;
}
.fsb-range {
    position: absolute; top: 50%; width: 100%;
    transform: translateY(-50%);
    -webkit-appearance: none; appearance: none;
    background: transparent; pointer-events: none;
    height: 20px; margin: 0;
}
.fsb-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--p); border: 2px solid #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.25);
    pointer-events: auto; cursor: pointer;
    transition: transform var(--t);
}
.fsb-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
.fsb-range::-moz-range-thumb {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--p); border: 2px solid #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.25);
    pointer-events: auto; cursor: pointer;
}

/* Custom checkboxes */
.fsb-check-item {
    display: flex; align-items: center; gap: 9px;
    padding: 6px 8px; border-radius: 9px;
    cursor: pointer; transition: background var(--t);
    font-size: .85rem; color: var(--ink-2);
    user-select: none;
}
.fsb-check-item:hover { background: var(--p-soft); }
.fsb-check-item.checked { color: var(--p); font-weight: 600; }
.fsb-check-input { display: none; }
.fsb-check-box {
    width: 17px; height: 17px; border-radius: 5px;
    border: 2px solid var(--line); background: var(--surface);
    flex-shrink: 0; transition: all var(--t);
    display: flex; align-items: center; justify-content: center;
}
.fsb-check-item.checked .fsb-check-box {
    background: var(--p); border-color: var(--p);
}
.fsb-check-item.checked .fsb-check-box::after {
    content: ''; display: block;
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none; border-left: none;
    transform: rotate(45deg) translateY(-1px);
}
.fsb-check-label { flex: 1; }

/* Action buttons */
.fsb-actions {
    display: flex; flex-direction: column; gap: 8px;
    padding: 14px 16px;
}
.fsb-btn-apply {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 10px 16px; border-radius: 12px;
    background: var(--p); color: #fff;
    font-size: .87rem; font-weight: 700;
    border: none; cursor: pointer; transition: all var(--t);
}
.fsb-btn-apply:hover { background: var(--p-dark, #5c2e9e); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(111,66,193,.35); }
.fsb-btn-clear {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 9px 16px; border-radius: 12px;
    background: transparent; color: var(--ink-2);
    font-size: .85rem; font-weight: 600;
    border: 1px solid var(--line); cursor: pointer;
    transition: all var(--t); text-decoration: none;
}
.fsb-btn-clear:hover { border-color: #e8506b; color: #e8506b; background: #fff5f7; }

/* ══════════════════════════════════════════
   AUTH PAGES — login / register
══════════════════════════════════════════ */
.auth-page {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    padding: 40px 16px;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #f0fdf4 100%);
}
.auth-wrap { width: 100%; display: flex; justify-content: center; }
.auth-box {
    width: 100%; max-width: 440px;
    background: #fff; border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 24px 64px rgba(124,58,237,.12), 0 4px 16px rgba(0,0,0,.06);
    border: 1px solid rgba(124,58,237,.1);
}
.auth-box-wide { max-width: 620px; }

.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-brand-name {
    font-size: 1.6rem; font-weight: 900;
    background: linear-gradient(135deg, var(--p), #a855f7);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}
.auth-heading {
    font-size: 1.35rem; font-weight: 800;
    color: var(--ink); margin: 0 0 4px; letter-spacing: -.03em;
}
.auth-subheading { font-size: .875rem; color: var(--ink-3); margin: 0; }

.auth-alert {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px; border-radius: 12px;
    font-size: .875rem; font-weight: 500;
    margin-bottom: 20px;
}
.auth-alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.auth-alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.auth-field { margin-bottom: 16px; }
.auth-label {
    display: block; font-size: .8rem; font-weight: 600;
    color: var(--ink-2); margin-bottom: 6px; letter-spacing: .01em;
}
.auth-input-wrap {
    position: relative; display: flex; align-items: center;
}
.auth-input-icon {
    position: absolute; left: 13px;
    color: var(--ink-3); font-size: .9rem; pointer-events: none;
}
.auth-input {
    width: 100%; padding: 11px 40px 11px 38px;
    border: 1.5px solid var(--line-2); border-radius: 12px;
    font-size: .9rem; color: var(--ink);
    background: var(--bg-2); outline: none;
    transition: all var(--t);
}
.auth-input:focus {
    border-color: var(--p); background: #fff;
    box-shadow: 0 0 0 3px var(--p-glow);
}
.auth-eye {
    position: absolute; right: 10px;
    background: none; border: none;
    color: var(--ink-3); cursor: pointer; padding: 4px 6px;
    font-size: .9rem; transition: color var(--t);
}
.auth-eye:hover { color: var(--p); }
.auth-pass-strength { font-size: .74rem; font-weight: 600; margin-top: 5px; display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; }
.auth-pass-bad  { color: #dc2626; background: #fef2f2; }
.auth-pass-good { color: #16a34a; background: #f0fdf4; }
.auth-input-error { border-color: #dc2626 !important; box-shadow: 0 0 0 3px rgba(220,38,38,.12) !important; }
.auth-forgot { font-size: .78rem; color: var(--p); text-decoration: none; font-weight: 600; }
.auth-forgot:hover { text-decoration: underline; }

.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .auth-row { grid-template-columns: 1fr; } }

.auth-checks { margin: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.auth-check-label {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: .82rem; color: var(--ink-2); cursor: pointer;
    flex-wrap: wrap; word-break: break-word;
}
.auth-check-label span.auth-check-box { flex-shrink: 0; }
.auth-check-label a { text-decoration: underline; color: var(--p); font-weight: 600; }
.auth-check-label a:hover { color: var(--p-light); }
.auth-check-label.is-invalid .auth-check-box {
    border-color: #e8506b; background: #fff0f3;
}
.auth-check-input { display: none; }
.auth-check-box {
    width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px;
    border: 2px solid var(--line-2); border-radius: 5px;
    background: var(--bg-2); transition: all var(--t);
    display: flex; align-items: center; justify-content: center;
}
.auth-check-input:checked + .auth-check-box {
    background: var(--p); border-color: var(--p);
}
.auth-check-input:checked + .auth-check-box::after {
    content: ''; display: block;
    width: 4px; height: 8px;
    border: 2px solid #fff; border-top: none; border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.auth-submit {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, var(--p), #a855f7);
    color: #fff; border: none; border-radius: 13px;
    font-size: .95rem; font-weight: 700;
    cursor: pointer; transition: all var(--t);
    box-shadow: 0 4px 16px rgba(124,58,237,.3);
    margin-top: 4px;
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,.4); }
.auth-submit:active { transform: translateY(0); }

.auth-footer {
    text-align: center; margin-top: 22px;
    font-size: .875rem; color: var(--ink-3);
}
.auth-switch-link {
    color: var(--p); font-weight: 700;
    text-decoration: none; margin-left: 4px;
}
.auth-switch-link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   USER PROFILE DROPDOWN
══════════════════════════════════════════ */
.user-trigger {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 10px; border-radius: 12px;
    text-decoration: none; color: var(--ink);
    transition: background var(--t);
}
.user-trigger:hover { background: var(--p-soft); color: var(--p); }
.user-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, var(--p), #a855f7);
    color: #fff; font-size: .85rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.user-trigger-name { font-size: .875rem; font-weight: 600; color: var(--ink); }
.user-trigger-chevron { font-size: .65rem; color: var(--ink-3); }

.user-dropdown {
    min-width: 230px; padding: 0; border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
    overflow: hidden; margin-top: 8px !important;
}
.user-dropdown-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-bottom: 1px solid var(--line);
}
.user-dropdown-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--p), #a855f7);
    color: #fff; font-size: 1rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.user-dropdown-name { font-size: .9rem; font-weight: 700; color: var(--ink); }
.user-dropdown-email { font-size: .75rem; color: var(--ink-3); margin-top: 1px; }

.user-dropdown-body { padding: 8px; }
.user-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 10px;
    font-size: .875rem; font-weight: 500; color: var(--ink-2);
    text-decoration: none; transition: all var(--t);
}
.user-dropdown-item:hover { background: var(--p-soft); color: var(--p); }
.udi-icon {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--bg-3); color: var(--p);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; flex-shrink: 0;
    transition: all var(--t);
}
.user-dropdown-item:hover .udi-icon { background: var(--p); color: #fff; }
.udi-admin { color: var(--p); font-weight: 600; }
.udi-logout { color: var(--danger); }
.udi-logout:hover { background: #fef2f2; color: var(--danger); }
.udi-logout:hover .udi-icon { background: var(--danger); color: #fff; }
.user-dropdown-divider { height: 1px; background: var(--line); margin: 6px 0; }

/* ── Products carousel ── */
.products-swiper { overflow: hidden; }

/* ── Cart dropdown footer buttons ── */
.cart-footer-btn-view {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    flex: 1; padding: 5px 10px; border-radius: 20px;
    font-size: .74rem; font-weight: 600;
    color: var(--ink-2);
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.08);
    text-decoration: none; transition: all var(--t);
}
.cart-footer-btn-view:hover { background: rgba(0,0,0,.08); color: var(--ink); }

.cart-footer-btn-checkout {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    flex: 1; padding: 5px 10px; border-radius: 20px;
    font-size: .74rem; font-weight: 700;
    color: #fff;
    background: var(--p);
    border: none;
    box-shadow: 0 2px 8px rgba(124,58,237,.3);
    text-decoration: none; transition: all var(--t);
}
.cart-footer-btn-checkout:hover {
    background: rgba(124,58,237,.96);
    box-shadow: 0 6px 20px rgba(124,58,237,.45), inset 0 1px 0 rgba(255,255,255,.2);
    transform: translateY(-1px); color: #fff;
}

/* ── products.php sidebar categories ── */
.fsb-cats-sidebar { padding-bottom: 4px; }
.fsb-cat-list-sidebar { display: flex; flex-direction: column; gap: 2px; }
.fsb-scat-item {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 10px; border-radius: 8px;
    font-size: .85rem; color: var(--ink-2);
    transition: background var(--t), color var(--t);
    text-decoration: none;
}
.fsb-scat-item i { font-size: .85rem; color: var(--ink-3); flex-shrink: 0; }
.fsb-scat-item:hover { background: var(--bg-3); color: var(--ink); }
.fsb-scat-item.active { background: var(--p-soft); color: var(--p); font-weight: 700; }
.fsb-scat-item.active i { color: var(--p); }
.fsb-scat-child { padding-left: 24px; font-size: .8rem; }

/* ── Cart page buttons ── */
.cart-continue-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 18px; border-radius: 50px;
    font-size: .82rem; font-weight: 600;
    color: var(--ink-2);
    background: rgba(0,0,0,.04);
    border: 1px solid rgba(0,0,0,.1);
    text-decoration: none; transition: all var(--t);
}
.cart-continue-btn:hover { background: rgba(0,0,0,.08); color: var(--ink); transform: translateX(-2px); }

.voucher-apply-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0 16px; border-radius: 0 10px 10px 0;
    font-size: .8rem; font-weight: 700;
    color: #fff;
    background: rgba(124,58,237,.85);
    border: none;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
    cursor: pointer; transition: all var(--t);
    white-space: nowrap;
}
.voucher-apply-btn:hover { background: var(--p); }

/* Voucher tags */
.voucher-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--p-soft); border: 1.5px solid rgba(124,58,237,.25);
    color: var(--p); border-radius: 50px;
    padding: 4px 10px 4px 12px; font-size: .8rem; font-weight: 700;
    margin-right: 6px; margin-bottom: 4px;
}
.voucher-tag-code { letter-spacing: 1px; }
.voucher-tag-discount { color: #16a34a; font-weight: 800; }
.voucher-tag-remove {
    background: none; border: none; padding: 0 2px;
    color: var(--ink-3); cursor: pointer; line-height: 1;
    display: flex; align-items: center;
    transition: color var(--t);
}

/* ══════════════════════════════════════════
   CART — Mobile card layout
══════════════════════════════════════════ */
.cart-mobile-list { display: flex; flex-direction: column; }
.cart-mobile-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.cart-mobile-item:last-child { border-bottom: none; }
.cart-mobile-img-wrap { flex-shrink: 0; }
.cart-mobile-img {
    width: 80px; height: 80px; object-fit: contain;
    border-radius: 10px; border: 1px solid var(--line);
    background: var(--bg-2); padding: 4px; display: block;
}
.cart-mobile-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-mobile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.cart-mobile-name {
    font-weight: 700; color: var(--ink); font-size: .88rem;
    line-height: 1.3; text-decoration: none; flex: 1;
}
.cart-mobile-name:hover { color: var(--p); }
.cart-mobile-remove {
    background: none; border: none; padding: 2px 4px;
    color: var(--ink-3); cursor: pointer; font-size: .85rem;
    flex-shrink: 0; line-height: 1;
}
.cart-mobile-remove:hover { color: var(--danger, #dc2626); }
.cart-mobile-price-row,
.cart-mobile-qty-row,
.cart-mobile-total-row {
    display: flex; align-items: center; gap: 6px; font-size: .85rem; flex-wrap: wrap;
}
.cart-mobile-label { color: var(--ink-3); font-size: .78rem; font-weight: 600; }
.voucher-tag-remove:hover { color: #e8506b; }
