@charset "UTF-8";
/* ============================================================
   SmartComm - Theme: "Plum & Gold"
   Deep violet primary * Amber gold accent * Warm off-white bg
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* -- Design tokens ------------------------------------------ */
:root {
    --primary:        #6d28d9;
    --primary-dark:   #5b21b6;
    --primary-light:  #8b5cf6;
    --primary-xlight: #ede9fe;
    --primary-rgb:    109,40,217;

    --gold:           #d97706;
    --gold-light:     #fbbf24;
    --gold-bg:        #fef3c7;

    --success:        #059669;
    --success-bg:     #d1fae5;
    --danger:         #dc2626;
    --danger-bg:      #fee2e2;
    --warning:        #d97706;

    --dark:           #1e1b4b;   /* deep indigo-dark */
    --text:           #27272a;
    --text-sub:       #71717a;
    --text-light:     #a1a1aa;

    --bg:             #faf9ff;   /* warm near-white with slight violet tint */
    --light:          #f4f3ff;
    --white:          #ffffff;
    --border:         #e4e4e7;
    --border-soft:    #f0eeff;

    --radius-sm:      5px;
    --radius:         8px;
    --radius-lg:      12px;
    --radius-xl:      18px;

    --shadow-xs:      0 1px 3px rgba(0,0,0,.05);
    --shadow-sm:      0 2px 10px rgba(0,0,0,.07);
    --shadow:         0 6px 24px rgba(0,0,0,.09);
    --shadow-md:      0 10px 36px rgba(109,40,217,.12);
    --shadow-lg:      0 20px 56px rgba(109,40,217,.15);

    --nav-h:          62px;
    --t:              .18s ease;
}

/* -- Base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5,h6 { font-weight: 800; color: var(--dark); line-height: 1.2; }

/* -- Top bar ------------------------------------------------ */
.topbar {
    background: var(--topbar-bg, var(--dark));
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 0;
}
.topbar .container { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #c4b5fd; transition: color var(--t); }
.topbar a:hover { color: #fff; }
.topbar .sep { color: rgba(255,255,255,.2); }

/* -- Navbar ------------------------------------------------- */
.navbar {
    background: var(--white) !important;
    border-bottom: 2px solid var(--primary-xlight);
    padding: 0;
    height: var(--nav-h);
}
.navbar.sticky-top { box-shadow: 0 2px 16px rgba(109,40,217,.08); }
.navbar .container { height: 100%; }

.navbar-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo {
    height: 42px;
    max-width: 140px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}
.brand-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.brand-gem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 7px;
    color: #fff;
    font-size: 13px;
}

.search-form { width: 420px; }
.search-wrap {
    display: flex;
    align-items: center;
    background: var(--light);
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--t), box-shadow var(--t);
}
.search-wrap:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.1);
    background: var(--white);
}
.search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 14px;
    height: 40px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    color: var(--text);
    outline: none !important;
    box-shadow: none !important;
}
.search-input::placeholder { color: var(--text-light); }
.btn-search {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 16px;
    height: 40px;
    font-size: 14px;
    cursor: pointer;
    transition: background var(--t);
    flex-shrink: 0;
}
.btn-search:hover { background: var(--primary-dark); }

.nav-icon-btn {
    color: var(--text-sub);
    padding: 8px 9px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t), color var(--t);
    font-size: 18px;
    position: relative;
}
.nav-icon-btn:hover { background: var(--primary-xlight); color: var(--primary); }

.cart-badge {
    position: absolute; top: 3px; right: 3px;
    background: var(--gold);
    color: #fff;
    font-size: 9px; font-weight: 900;
    min-width: 17px; height: 17px;
    border-radius: 9px; padding: 0 3px;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid var(--white);
}

.navbar-nav .nav-link {
    font-weight: 600; font-size: 14px;
    color: var(--text-sub) !important;
    padding: 6px 12px !important;
    border-radius: var(--radius-sm);
    transition: color var(--t), background var(--t);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary) !important; background: var(--primary-xlight); }

/* -- Nav dropdown (Categories) ------------------------------ */
.nav-dropdown-toggle { display: flex; align-items: center; gap: 6px; }
.nav-caret { font-size: 10px; margin-left: 2px; transition: transform var(--t); opacity: .6; }
.nav-item.dropdown.show .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
    border: 1.5px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 6px;
    min-width: 200px;
    margin-top: 6px !important;
    background: var(--white);
}
.nav-dropdown-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 13px; font-weight: 600;
    color: var(--text);
    transition: background var(--t), color var(--t);
}
.nav-dropdown-item:hover, .nav-dropdown-item:focus {
    background: var(--primary-xlight);
    color: var(--primary);
}
.nav-dropdown-icon { color: var(--text-light); font-size: 11px; width: 14px; text-align: center; transition: color var(--t); }
.nav-dropdown-item:hover .nav-dropdown-icon { color: var(--primary); }

.nav-dropdown-divider { border-color: var(--border-soft); margin: 4px 6px; }

.nav-dropdown-all { color: var(--gold) !important; font-weight: 700; }
.nav-dropdown-all .nav-dropdown-icon { color: var(--gold) !important; }
.nav-dropdown-all:hover { background: var(--gold-bg) !important; color: var(--gold) !important; }

/* -- Hero --------------------------------------------------- */
.hero-section {
    background: linear-gradient(150deg, #2e1065 0%, #4c1d95 40%, #6d28d9 100%);
    min-height: 480px;
    display: flex; align-items: center;
    position: relative; overflow: hidden;
}
/* Geometric decoration */
.hero-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    border: 80px solid rgba(255,255,255,.04);
    right: -200px; top: -200px;
    pointer-events: none;
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 50px solid rgba(255,255,255,.04);
    right: 60px; bottom: -140px;
    pointer-events: none;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
/* Per-slide caption — bottom-left of hero */
.hero-slide-caption {
    position: absolute;
    bottom: 28px; left: 32px;
    z-index: 3;
    max-width: 520px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-left: 3px solid var(--gold-light);
    border-radius: 4px;
    padding: 14px 20px 12px;
}
.hero-slide-caption-title {
    font-size: 1.65rem; font-weight: 800;
    color: #fff; line-height: 1.2;
    margin: 0 0 6px;
}
.hero-slide-caption-desc {
    font-size: 0.92rem; color: rgba(255,255,255,.82);
    margin: 0; font-weight: 500; line-height: 1.45;
}
@media (max-width: 576px) {
    .hero-slide-caption { left: 14px; right: 14px; bottom: 18px; max-width: 100%; }
    .hero-slide-caption-title { font-size: 1.2rem; }
}

.btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold);
    color: var(--dark);
    border: none; border-radius: var(--radius);
    padding: 13px 28px; font-weight: 800; font-size: 15px;
    box-shadow: 0 4px 20px rgba(217,119,6,.4);
    transition: transform var(--t), box-shadow var(--t), background var(--t);
    font-family: inherit;
}
.btn-hero:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 26px rgba(217,119,6,.5); color: var(--dark); }

.btn-hero-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: var(--radius);
    padding: 12px 24px; font-weight: 700; font-size: 15px;
    transition: background var(--t), border-color var(--t);
    font-family: inherit;
}
.btn-hero-outline:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }

.hero-trust-strip {
    display: flex; align-items: center; justify-content: center; gap: 24px;
    padding: 16px 24px;
    background: #e8e8eb;
    flex-wrap: wrap;
}
.hero-trust-strip-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust-strip .btn-hero {
    background: var(--dark);
    color: #fff;
    box-shadow: none;
}
.hero-trust-strip .btn-hero:hover {
    background: #2d2a6e;
    color: #fff;
    box-shadow: 0 4px 16px rgba(30,27,75,.3);
}
.hero-trust-strip .btn-hero-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}
.hero-trust-strip .btn-hero-outline:hover {
    background: rgba(30,27,75,.08);
    border-color: var(--dark);
    color: var(--dark);
}
@media (max-width: 575px) {
    .hero-trust-strip { gap: 12px; }
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; }
.hero-trust-item span { font-size: 13px; color: rgba(255,255,255,.75); font-weight: 600; }
.hero-trust-icon { font-size: 18px; color: var(--gold-light); }

/* -- Hero Slider -------------------------------------------- */
.hero-slider {
    position: absolute; inset: 0;
    overflow: hidden;
    z-index: 0;
}
.hero-slides {
    display: flex;
    width: 100%; height: 100%;
    transition: transform 0.7s cubic-bezier(0.77,0,0.18,1);
    will-change: transform;
}
.hero-slide {
    flex: 0 0 100%;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Dark overlay over slide images so text stays readable */
.hero-has-slides::before,
.hero-has-slides::after { display: none; }
.hero-has-slides .hero-grid { display: none; }
.hero-slide-overlay {
    position: absolute; inset: 0;
    /* Light scrim — image stays clearly visible, text stays readable */
    background:
        linear-gradient(to bottom,
            rgba(0,0,0,.30) 0%,
            rgba(0,0,0,.10) 45%,
            rgba(0,0,0,.50) 100%);
    z-index: 1;
    pointer-events: none;
}
@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-slide-text-in {
    animation: heroTextIn 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
/* Prev / Next buttons */
.hero-slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .2s;
    font-size: 14px;
}
.hero-slider-btn:hover { background: rgba(255,255,255,.3); }
.hero-slider-prev { left: 16px; }
.hero-slider-next { right: 16px; }
/* Dot indicators */
.hero-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 7px; z-index: 3;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.4);
    cursor: pointer; transition: background .25s, transform .25s;
    border: none; padding: 0;
}
.hero-dot.active { background: #fff; transform: scale(1.3); }

/* -- Section headings --------------------------------------- */
.section-hd { margin-bottom: 28px; }
.section-label {
    display: inline-block;
    background: var(--primary-xlight);
    color: var(--primary);
    font-size: 11px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    padding: 4px 12px; border-radius: 4px;
    margin-bottom: 8px;
}
.section-title {
    font-size: 24px; font-weight: 900;
    color: var(--dark); margin: 0;
    letter-spacing: -0.3px;
}
.section-sub { color: var(--text-sub); font-size: 14px; font-weight: 500; margin-top: 4px; }

.btn-view-all {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary-xlight);
    color: var(--primary);
    border: 1.5px solid #c4b5fd;
    border-radius: 30px;
    padding: 7px 18px;
    font-size: 13px; font-weight: 800;
    font-family: inherit;
    transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
    white-space: nowrap;
}
.btn-view-all:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* -- Category bubbles --------------------------------------- */

/* Outer mask: clips overflow and adds fade edges */
.cat-scroll-wrap {
    overflow: hidden;
    position: relative;
    padding: 12px 0 16px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
    mask-image:         linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
/* Pause handled by JS on mouseenter/mouseleave */

/* Static mode: categories fit without scrolling */
.cat-no-scroll {
    -webkit-mask-image: none;
    mask-image: none;
    display: flex;
    justify-content: center;
}
.cat-no-scroll .cat-track {
    justify-content: center;
}
.cat-no-scroll .cat-dup { display: none; }

/* Scrolling track — items rendered twice for seamless infinite loop.
   No CSS animation here; movement driven by JS requestAnimationFrame. */
.cat-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 36px;
    width: max-content;
    will-change: transform;
}

.cat-tile {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; width: 140px;
    flex-shrink: 0;
    text-decoration: none; color: inherit;
    transition: transform .2s ease;
}
.cat-tile:hover { transform: translateY(-6px); color: inherit; }

/* circle */
.cat-tile-circle {
    width: 128px; height: 128px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px; color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    transition: box-shadow .2s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
    position: relative;
    overflow: hidden;
}
.cat-tile-circle::after {
    content: '';
    position: absolute; inset: 4px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.3);
    pointer-events: none;
    z-index: 1;
}
/* image inside circle */
.cat-tile-circle img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    position: relative; z-index: 0;
}
.cat-tile:hover .cat-tile-circle {
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    transform: scale(1.08);
}

.cat-tile-name {
    font-size: 13px; font-weight: 700;
    color: var(--text); text-align: center;
    line-height: 1.3;
    transition: color .2s ease;
}
.cat-tile:hover .cat-tile-name { color: var(--primary); }

/* gradient per nth-child (also serves as image loading bg) */
.cat-tile:nth-child(6n+1) .cat-tile-circle { background: linear-gradient(145deg, #6d28d9, #a78bfa); }
.cat-tile:nth-child(6n+2) .cat-tile-circle { background: linear-gradient(145deg, #b45309, #fbbf24); }
.cat-tile:nth-child(6n+3) .cat-tile-circle { background: linear-gradient(145deg, #047857, #6ee7b7); }
.cat-tile:nth-child(6n+4) .cat-tile-circle { background: linear-gradient(145deg, #b91c1c, #f87171); }
.cat-tile:nth-child(6n+5) .cat-tile-circle { background: linear-gradient(145deg, #1d4ed8, #93c5fd); }
.cat-tile:nth-child(6n+6) .cat-tile-circle { background: linear-gradient(145deg, #0f766e, #5eead4); }

/* All Products */
.cat-tile-all .cat-tile-circle { background: linear-gradient(145deg, #1e1b4b, #4338ca) !important; }
.cat-tile-all:hover .cat-tile-name { color: var(--dark); }

/* -- Product card ------------------------------------------- */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border);
    overflow: hidden;
    display: flex; flex-direction: column;
    height: 100%;
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}
.product-card-img-wrap {
    display: block; position: relative;
    overflow: hidden; aspect-ratio: 1/1;
    background: var(--light);
}
.product-card-img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.product-card:hover .product-card-img { transform:scale(1.06); }
.product-card-no-img {
    display:flex; align-items:center; justify-content:center; height:100%;
    background: linear-gradient(135deg, var(--light), var(--primary-xlight));
}
.product-card-no-img i { color:#c4b5fd; font-size:2.5rem; }

.badge-sale {
    position:absolute; top:10px; left:10px;
    background: var(--gold);
    color: var(--dark);
    font-size:10px; font-weight:900;
    padding:3px 9px; border-radius:4px; letter-spacing:.3px; z-index:1;
}
.badge-oos {
    position:absolute; top:10px; right:10px;
    background:rgba(39,39,42,.65);
    backdrop-filter:blur(4px);
    color:#fff; font-size:10px; font-weight:700;
    padding:3px 8px; border-radius:4px; z-index:1;
}

.product-card-body {
    padding:14px 14px 16px;
    display:flex; flex-direction:column; flex:1; gap:4px;
}
.product-category { color:var(--primary-light); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:1px; }
.product-name { font-size:14px; font-weight:700; line-height:1.35; flex:1; color:var(--dark); margin:0; }
.product-name a { color:inherit; transition:color var(--t); }
.product-name a:hover { color:var(--primary); }
.product-price { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin:4px 0 8px; }
.price-current { font-size:17px; font-weight:900; color:var(--primary); }
.price-old { font-size:12px; color:var(--text-light); text-decoration:line-through; font-weight:500; }
.price-tag { font-size:10px; font-weight:800; background:var(--gold-bg); color:var(--gold); padding:1px 6px; border-radius:3px; }
.price-currency { font-size:.65em; font-weight:600; opacity:.75; letter-spacing:.3px; vertical-align:baseline; }

.btn-add-cart {
    display:flex; align-items:center; justify-content:center; gap:7px;
    background: var(--primary);
    color:#fff; border:none; border-radius:var(--radius);
    font-size:13px; padding:9px 14px; font-weight:700;
    transition:background var(--t), transform var(--t);
    margin-top:auto; font-family:inherit; cursor:pointer;
}
.btn-add-cart:hover { background:var(--primary-dark); color:#fff; transform:translateY(-1px); }

/* -- Perks strip -------------------------------------------- */
.perks-strip { background:var(--white); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.perk-item { display:flex; align-items:center; gap:14px; padding:20px 16px; }
.perk-icon { width:46px; height:46px; border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.perk-icon-purple { background:var(--primary-xlight); color:var(--primary); }
.perk-icon-gold   { background:var(--gold-bg);         color:var(--gold);    }
.perk-icon-green  { background:var(--success-bg);      color:var(--success); }
.perk-icon-red    { background:var(--danger-bg);        color:var(--danger);  }
.perk-title { font-size:14px; font-weight:800; color:var(--dark); margin:0 0 1px; }
.perk-sub   { font-size:12px; color:var(--text-sub);   font-weight:500; margin:0; }

/* -- Filter sidebar ----------------------------------------- */
.filter-box { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:18px; box-shadow:var(--shadow-xs); }
.filter-title { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:1.3px; color:var(--text-sub); margin-bottom:12px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.filter-list { list-style:none; padding:0; margin:0; }
.filter-list li { font-size:14px; font-weight:500; }
.filter-list li + li { border-top:1px solid #f4f4f5; }
.filter-list li a { display:flex; justify-content:space-between; align-items:center; color:var(--text-sub); padding:7px 2px; transition:color var(--t), padding-left var(--t); }
.filter-list li a:hover { color:var(--primary); padding-left:4px; }
.filter-list li.active a { color:var(--primary); font-weight:800; }

.shop-toolbar { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius); padding:10px 16px; margin-bottom:18px; box-shadow:var(--shadow-xs); display:flex; align-items:center; flex-wrap:wrap; gap:10px; }

/* -- Product detail ----------------------------------------- */
.detail-card { background:var(--white); border-radius:var(--radius-xl); border:1.5px solid var(--border); overflow:hidden; box-shadow:var(--shadow-sm); }
.detail-img-col { padding:24px; background:var(--bg); }
.detail-img-wrap { border-radius:var(--radius-lg); overflow:hidden; border:1.5px solid var(--border); aspect-ratio:1/1; background:var(--light); display:flex; align-items:center; justify-content:center; }
.detail-main-img { width:100%; height:100%; object-fit:contain; transition:transform .4s; }
.detail-img-wrap:hover .detail-main-img { transform:scale(1.03); }
.detail-no-img { display:flex; align-items:center; justify-content:center; width:100%; height:100%; }
.detail-thumb { width:64px; height:64px; object-fit:cover; border-radius:var(--radius-sm); border:2px solid var(--border); cursor:pointer; transition:all var(--t); }
.detail-thumb:hover { border-color:var(--primary-light); transform:scale(1.05); }
.detail-thumb.active { border-color:var(--primary); box-shadow:0 0 0 3px rgba(var(--primary-rgb),.15); }
.detail-info-col { padding:28px; display:flex; flex-direction:column; gap:16px; }
.detail-cat  { color:var(--primary-light); font-size:11px; font-weight:800; letter-spacing:1.2px; text-transform:uppercase; }
.detail-name { font-size:26px; font-weight:900; color:var(--dark); line-height:1.15; }
.detail-price-current { font-size:32px; font-weight:900; color:var(--primary); line-height:1; }
.detail-price-old { font-size:17px; color:var(--text-light); text-decoration:line-through; font-weight:500; }
.detail-save-tag { display:inline-block; background:var(--gold-bg); color:var(--gold); font-size:12px; font-weight:800; padding:3px 10px; border-radius:4px; }
.detail-divider { border:none; border-top:1px solid var(--border); margin:0; }
.detail-desc { background:var(--light); border-left:3px solid var(--primary); border-radius:0 var(--radius-sm) var(--radius-sm) 0; padding:14px 16px; font-size:14px; color:#4b5563; line-height:1.8; }
.detail-delivery { background:var(--primary-xlight); border:1px solid #c4b5fd; border-radius:var(--radius); padding:12px 16px; font-size:13px; color:var(--primary-dark); display:flex; align-items:center; gap:10px; }

.btn-variant { border:1.5px solid var(--border); background:var(--white); color:var(--text); border-radius:var(--radius-sm); padding:7px 18px; font-size:13px; cursor:pointer; transition:all var(--t); font-weight:600; font-family:inherit; }
.btn-variant:hover { border-color:var(--primary-light); color:var(--primary); background:var(--primary-xlight); }
.btn-variant.active { border-color:var(--primary); color:var(--primary); background:var(--primary-xlight); font-weight:800; }
.variant-list { display:flex; flex-wrap:wrap; gap:8px; }

.qty-control { display:flex; align-items:center; background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.qty-btn { width:40px; height:44px; background:var(--light); border:none; font-size:18px; cursor:pointer; font-weight:800; color:var(--primary); transition:background var(--t); font-family:inherit; }
.qty-btn:hover { background:var(--primary-xlight); }
.qty-input { width:56px; height:44px; border:none; text-align:center; font-size:15px; font-weight:800; outline:none; color:var(--dark); font-family:inherit; }

/* -- Cart --------------------------------------------------- */
.cart-table { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-xs); }
.cart-row { display:flex; align-items:center; gap:14px; padding:14px 18px; border-bottom:1px solid #f4f4f5; transition:background var(--t); }
.cart-row:last-child { border-bottom:none; }
.cart-row:hover { background:var(--light); }
.cart-img { width:72px; height:72px; flex-shrink:0; border-radius:var(--radius); overflow:hidden; background:var(--light); border:1px solid var(--border); }
.cart-img img { width:100%; height:100%; object-fit:cover; }
.cart-no-img { display:flex; align-items:center; justify-content:center; height:100%; color:var(--text-light); }
.cart-info { flex:1; min-width:0; }
.cart-product-name { font-weight:800; font-size:14px; color:var(--dark); }
.cart-variant { font-size:12px; color:var(--text-sub); font-weight:500; margin-top:1px; }
.cart-unit-price { font-size:14px; font-weight:800; color:var(--primary); margin-top:3px; }
.cart-qty { flex-shrink:0; }
.cart-line-total { min-width:80px; text-align:right; font-weight:900; font-size:15px; color:var(--dark); }
.btn-remove-cart { color:#d4d4d8; border:none; background:none; padding:8px; border-radius:var(--radius-sm); cursor:pointer; transition:all var(--t); font-size:15px; }
.btn-remove-cart:hover { color:var(--danger); background:var(--danger-bg); }
.cart-summary { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:22px; box-shadow:var(--shadow-xs); position:sticky; top:80px; }
.cart-summary h5 { font-weight:900; font-size:17px; }
.summary-row { display:flex; justify-content:space-between; align-items:center; font-size:14px; padding:5px 0; }
.summary-row.total { font-size:18px; font-weight:900; padding-top:10px; color:var(--dark); }
.summary-row.total .val { color:var(--primary); }

/* -- Checkout ----------------------------------------------- */
.checkout-section { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:22px; box-shadow:var(--shadow-xs); margin-bottom:16px; }
.checkout-section-hd { display:flex; align-items:center; gap:12px; margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.checkout-step-num { width:30px; height:30px; border-radius:50%; background:var(--primary); color:#fff; font-size:13px; font-weight:900; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.checkout-section-hd h5 { margin:0; font-size:16px; font-weight:800; }
.delivery-area-group { display:flex; flex-direction:column; gap:10px; }
.delivery-area-option { display:flex; align-items:center; gap:14px; border:1.5px solid var(--border); border-radius:var(--radius); padding:14px 18px; cursor:pointer; transition:all var(--t); }
.delivery-area-option:hover { border-color:var(--primary-light); background:var(--light); }
.delivery-area-option.active { border-color:var(--primary); background:var(--primary-xlight); }
.delivery-area-option input { accent-color:var(--primary); width:17px; height:17px; flex-shrink:0; }
.delivery-option-title { font-weight:800; font-size:14px; color:var(--dark); }
.delivery-option-sub { font-size:12px; color:var(--text-sub); font-weight:500; }
.delivery-option-price { font-weight:900; font-size:15px; color:var(--primary); margin-left:auto; }
.cod-badge { display:flex; align-items:center; gap:12px; background:var(--success-bg); border:1.5px solid #6ee7b7; border-radius:var(--radius); padding:14px 18px; }

/* -- Form controls ------------------------------------------ */
.form-label { font-size:13px; font-weight:700; color:var(--text); margin-bottom:5px; }
.form-control, .form-select { border:1.5px solid var(--border); border-radius:var(--radius-sm); font-size:14px; font-family:inherit; font-weight:500; color:var(--text); background:var(--white); padding:9px 12px; transition:border-color var(--t), box-shadow var(--t); height:auto; }
.form-control:focus, .form-select:focus { border-color:var(--primary); box-shadow:0 0 0 3px rgba(var(--primary-rgb),.1); outline:none; }
.form-control::placeholder { color:var(--text-light); font-weight:400; }
textarea.form-control { resize:vertical; }

/* -- Buttons ------------------------------------------------ */
.btn-primary { background:var(--primary); border-color:var(--primary); font-weight:800; font-family:inherit; transition:background var(--t), transform var(--t), box-shadow var(--t); }
.btn-primary:hover { background:var(--primary-dark); border-color:var(--primary-dark); transform:translateY(-1px); box-shadow:0 4px 14px rgba(var(--primary-rgb),.35); }
.btn-outline-primary { border-color:var(--primary); color:var(--primary); font-weight:700; font-family:inherit; }
.btn-outline-primary:hover { background:var(--primary); border-color:var(--primary); color:#fff; }
.btn-lg { padding:12px 24px; font-size:15px; border-radius:var(--radius); }
.btn-sm { padding:5px 12px; font-size:13px; border-radius:var(--radius-sm); font-weight:700; }

/* -- Auth --------------------------------------------------- */
.auth-page { min-height:calc(100vh - var(--nav-h)); display:flex; align-items:stretch; }
.auth-panel-left { background:linear-gradient(150deg, #2e1065 0%, #4c1d95 40%, #6d28d9 100%); padding:48px 40px; display:flex; flex-direction:column; justify-content:center; position:relative; overflow:hidden; }
.auth-panel-left::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:40px 40px; pointer-events:none; }
.auth-panel-right { background:var(--bg); padding:48px 40px; display:flex; flex-direction:column; justify-content:center; }
@media(max-width:767px) { .auth-panel-left { display:none; } .auth-panel-right { padding:32px 20px; } }
.auth-card { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-xl); padding:36px; box-shadow:var(--shadow-md); max-width:420px; width:100%; }
.auth-box { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:28px; box-shadow:var(--shadow-sm); }
.auth-icon-wrap { width:56px; height:56px; border-radius:var(--radius-lg); background:var(--primary-xlight); display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--primary); margin:0 auto 16px; }
.alert { border-radius:var(--radius); border:none; font-size:14px; font-weight:600; }
.alert-danger { background:var(--danger-bg); color:#991b1b; border-left:3px solid var(--danger); }
.alert-success { background:var(--success-bg); color:#166534; border-left:3px solid var(--success); }

/* -- Confirmation ------------------------------------------- */
.confirm-wrap { max-width:600px; margin:0 auto; }
.confirm-icon-ring { width:92px; height:92px; border-radius:50%; background:linear-gradient(135deg, var(--success-bg), #a7f3d0); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:44px; box-shadow:0 0 0 12px rgba(5,150,105,.08); animation:pop-in .5s cubic-bezier(.175,.885,.32,1.275) both; }
@keyframes pop-in { 0%{transform:scale(0);opacity:0;} 100%{transform:scale(1);opacity:1;} }
.order-no-badge { display:inline-flex; align-items:center; gap:8px; background:var(--primary-xlight); border:1.5px solid #c4b5fd; border-radius:var(--radius); padding:7px 20px; font-size:15px; font-weight:800; color:var(--primary); }
.order-detail-box { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:22px; box-shadow:var(--shadow-xs); }
.order-meta-row { display:flex; padding:8px 0; font-size:14px; border-bottom:1px solid #f4f4f5; }
.order-meta-row:last-child { border:none; }
.order-meta-lbl { color:var(--text-sub); font-weight:600; width:130px; flex-shrink:0; }
.order-meta-val { font-weight:700; color:var(--dark); }
.order-item-row { display:flex; justify-content:space-between; align-items:center; padding:7px 0; font-size:14px; border-bottom:1px solid #f4f4f5; }
.order-item-row:last-child { border:none; }
.order-total-row { display:flex; justify-content:space-between; padding:6px 0; font-size:14px; }
.order-total-row.grand { font-size:18px; font-weight:900; color:var(--primary); padding-top:12px; }

/* -- My Orders ---------------------------------------------- */
.order-card { background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:16px 20px; box-shadow:var(--shadow-xs); transition:box-shadow var(--t), border-color var(--t); display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.order-card:hover { box-shadow:var(--shadow-sm); border-color:var(--primary-light); }
.order-card-no { font-weight:900; font-size:15px; color:var(--dark); }
.order-card-date { font-size:12px; color:var(--text-sub); font-weight:500; }
.status-pill { font-size:11px; font-weight:800; padding:4px 12px; border-radius:20px; display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.status-pill::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.status-pending   { background:#fef9c3; color:#854d0e; }
.status-confirmed { background:var(--primary-xlight); color:var(--primary-dark); }
.status-shipped   { background:#e0e7ff; color:#3730a3; }
.status-delivered { background:var(--success-bg); color:#166534; }
.status-cancelled { background:var(--danger-bg); color:#991b1b; }

/* -- Breadcrumb --------------------------------------------- */
.breadcrumb { background:none; padding:0; margin:0 0 16px; }
.breadcrumb-item a { color:var(--text-sub); font-size:13px; font-weight:600; transition:color var(--t); }
.breadcrumb-item a:hover { color:var(--primary); }
.breadcrumb-item.active { color:var(--text-sub); font-size:13px; font-weight:600; }
.breadcrumb-item + .breadcrumb-item::before { color:#d4d4d8; content:'>'; font-size:16px; }

/* -- Pagination --------------------------------------------- */
.page-item { margin:0 2px; }
.page-item .page-link { border-radius:var(--radius-sm) !important; border:1.5px solid var(--border); color:var(--text); font-weight:700; font-size:13px; padding:7px 13px; font-family:inherit; transition:all var(--t); }
.page-item.active .page-link { background:var(--primary); border-color:var(--primary); }
.page-item:not(.active) .page-link:hover { background:var(--primary-xlight); border-color:var(--primary); color:var(--primary); }

/* -- Footer ------------------------------------------------- */
.sc-footer { background:var(--footer-bg, #1e1b4b); color:#a5b4fc; padding:52px 0 0; }
.footer-brand { font-size:21px; font-weight:900; color:#fff; display:inline-flex; align-items:center; gap:8px; margin-bottom:10px; }
.footer-brand-gem { width:26px; height:26px; background:linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--dark); }
.footer-tagline { color:#818cf8; font-size:13.5px; line-height:1.75; margin-bottom:16px; font-weight:500; }
.footer-contact { color:#818cf8; font-size:13px; margin-bottom:6px; display:flex; align-items:center; gap:8px; font-weight:500; }
.footer-contact i { color:#6366f1; width:14px; text-align:center; }
.footer-heading { color:#e0e7ff; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:1.3px; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { padding:4px 0; }
.footer-links li a { color:#818cf8; font-size:14px; font-weight:500; display:inline-flex; align-items:center; gap:6px; transition:color var(--t), gap var(--t); }
.footer-links li a:hover { color:#fff; gap:10px; }
.social-btn { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:var(--radius-sm); background:rgba(255,255,255,.07); color:#818cf8; font-size:15px; border:1px solid rgba(255,255,255,.07); transition:all var(--t); }
.social-btn:hover { background:var(--gold); color:var(--dark); border-color:var(--gold); transform:translateY(-2px); }
.footer-badge { display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius:var(--radius-sm); padding:6px 12px; font-size:12px; color:#818cf8; font-weight:600; }
.footer-bottom { background:var(--footer-bottom-bg, rgba(0,0,0,.3)); margin-top:40px!important; padding:16px 0; color:#6366f1; font-size:13px; font-weight:500; }
.footer-bottom a { color:#818cf8; transition:color var(--t); }
.footer-bottom a:hover { color:#fff; }

/* -- Toast -------------------------------------------------- */
.sc-toast { position:fixed; bottom:24px; right:24px; padding:13px 18px; border-radius:var(--radius); font-size:14px; font-weight:700; opacity:0; transform:translateY(14px) scale(.97); transition:all .25s cubic-bezier(.4,0,.2,1); z-index:9999; box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:9px; max-width:300px; }
.sc-toast.show { opacity:1; transform:translateY(0) scale(1); }
.sc-toast.bg-success { background:#1e1b4b; color:#a5b4fc; }
.sc-toast.bg-danger  { background:#450a0a; color:#fca5a5; }

/* -- Scroll to top ------------------------------------------ */
#scroll-top { position:fixed; bottom:24px; left:24px; width:40px; height:40px; border-radius:var(--radius-sm); background:var(--white); border:1.5px solid var(--border); color:var(--primary); font-size:15px; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm); cursor:pointer; opacity:0; pointer-events:none; transform:translateY(8px); transition:all var(--t); z-index:900; }
#scroll-top.show { opacity:1; pointer-events:all; transform:translateY(0); }
#scroll-top:hover { background:var(--primary); color:#fff; border-color:var(--primary); }

/* -- Empty state -------------------------------------------- */
.empty-state { text-align:center; padding:56px 16px; }
.empty-state-icon { width:88px; height:88px; border-radius:var(--radius-xl); background:var(--light); display:flex; align-items:center; justify-content:center; font-size:34px; color:#c4b5fd; margin:0 auto 20px; }
.empty-state h5 { font-weight:800; color:var(--dark); margin-bottom:8px; }
.empty-state p  { color:var(--text-sub); font-size:14px; }

/* -- Responsive --------------------------------------------- */
@media(max-width:992px) { .search-form { width:100%; } }
@media(max-width:767px)  { .detail-info-col { padding:16px; } }
@media(max-width:576px)  { .hero-section{min-height:360px;} .detail-name{font-size:21px;} .cart-line-total{display:none;} .section-title{font-size:20px;} }

::-webkit-scrollbar { width:5px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:#c4b5fd; border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--primary-light); }
