/* ==========================================================================
   Velora — Modern E-commerce Template
   Bootstrap 5.3 · jQuery 3.7 · Swiper 11 · noUiSlider · AOS
   --------------------------------------------------------------------------
   01. Tokens & base          10. Promo / deal / brands
   02. Buttons & utilities    11. Testimonials / newsletter / instagram
   03. Topbar & header        12. Footer
   04. Mega menu & search     13. Page header & breadcrumbs
   05. Offcanvas / mini cart  14. Shop & filters
   06. Hero                   15. Product detail
   07. Section heads          16. Cart & checkout
   08. Categories             17. Auth & account
   09. Product card           18. Misc (toasts, back-to-top, bottom nav, 404)
   ========================================================================== */

/* 01. Tokens & base ------------------------------------------------------- */
/* Light theme (default). Dark overrides live in [data-bs-theme="dark"] below. */
:root {
  --ink: #111111;          /* headings, primary text, "dark" buttons */
  --ink-2: #2b2b2b;        /* body text */
  --solid: #111111;        /* dark fills (buttons, badges, toasts) — stay dark in both themes */
  --solid-border: #111111;
  --on-solid: #ffffff;     /* text/icons on --solid */
  --muted: #6f6f6f;
  --line: #ebe8e4;
  --soft: #f6f4f1;
  --soft-2: #efebe6;
  --bg: #ffffff;           /* page background */
  --surface: #ffffff;      /* cards, inputs, dropdowns */
  --glass: rgba(255, 255, 255, .92);
  --inverse: #111111;      /* always-dark blocks: topbar, footer, deal */
  --check: #111111;
  --white: #ffffff;
  --accent: #e0573f;
  --accent-dark: #c4442e;
  --accent-soft: #fcebe6;
  --success: #1f9d6b;
  --star: #f5a623;
  --hero-1: #efe7e1;
  --hero-2: #e5eef3;
  --hero-3: #f3ecd9;
  --map-filter: grayscale(1);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, .05);
  --shadow: 0 12px 40px rgba(17, 17, 17, .08);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  --bs-body-font-family: var(--font);
  --bs-body-color: var(--ink-2);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 17, 17, 17;
  --bs-link-hover-color-rgb: 224, 87, 63;
  --bs-primary: var(--accent);
  --bs-primary-rgb: 224, 87, 63;
  color-scheme: light;
}

/* Dark theme ---------------------------------------------------------------- */
[data-bs-theme="dark"] {
  --ink: #f3f1ee;
  --ink-2: #c9c6c1;
  --solid: #2a2826;        /* lifted charcoal so dark fills still read on the dark page */
  --solid-border: #3d3a37;
  --muted: #9a968f;
  --line: #2c2b2a;
  --soft: #1b1a19;
  --soft-2: #2a2826;
  --bg: #111010;
  --surface: #1c1b1a;
  --glass: rgba(20, 19, 19, .86);
  --inverse: #0a0a0a;
  --check: var(--accent);
  --accent: #ec6a52;
  --accent-dark: #d4553e;
  --accent-soft: #2e1c17;
  --success: #3cc68f;
  --hero-1: #2a221e;
  --hero-2: #1c252b;
  --hero-3: #2a2619;
  --map-filter: grayscale(1) invert(.92) contrast(.9);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);

  --bs-body-color: var(--ink-2);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 243, 241, 238;
  --bs-link-hover-color-rgb: 236, 106, 82;
  --bs-emphasis-color: var(--ink);
  --bs-secondary-bg: var(--soft);
  --bs-tertiary-bg: var(--soft);
  --bs-primary-rgb: 236, 106, 82;
  color-scheme: dark;
}
[data-bs-theme="dark"] .status-delivered { background: rgba(60, 198, 143, .14); }
[data-bs-theme="dark"] .status-shipped { background: rgba(88, 148, 230, .16); color: #7fb0f0; }
[data-bs-theme="dark"] .status-processing { background: rgba(230, 170, 60, .15); color: #e6b04a; }
[data-bs-theme="dark"] .status-cancelled { background: rgba(236, 106, 82, .15); }
[data-bs-theme="dark"] .site-footer { border-top: 1px solid var(--line); }
[data-bs-theme="dark"] .deal { border: 1px solid var(--line); }
[data-bs-theme="dark"] .product-media,
[data-bs-theme="dark"] .cat-tile img,
[data-bs-theme="dark"] .hero-media img,
[data-bs-theme="dark"] .promo-card img { filter: brightness(.92); }
[data-bs-theme="dark"] .form-control::placeholder { color: #75716b; }
/* borderless dark fills get a hairline edge so they don't melt into the dark page */
[data-bs-theme="dark"] :is(.btn-add-cart, .badge-hot, .badge-ink, .cat-label i, .account-nav .nav-link.active, .checkout-block h5 b, .checkout-steps span.done b, .order-line .thumb span) { box-shadow: inset 0 0 0 1px var(--solid-border); }
[data-bs-theme="dark"] :is(.toast-lite, .back-to-top) { box-shadow: inset 0 0 0 1px var(--solid-border), var(--shadow-lg); }
[data-bs-theme="dark"] .swatch { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.newsletter-form .form-control { background: transparent; }

/* Smooth colour change when the user toggles the theme */
.theme-transition, .theme-transition *, .theme-transition *::before, .theme-transition *::after {
  transition: background-color .35s ease, border-color .35s ease, color .35s ease, fill .35s ease !important;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: .95rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.text-dark { color: var(--ink) !important; }
.badge-ink { background: var(--solid); color: var(--on-solid); }
.badge-soft { background: var(--soft); color: var(--ink); border: 1px solid var(--line); }

/* Theme toggle */
.theme-toggle .bi-sun { display: none; }
[data-bs-theme="dark"] .theme-toggle .bi-sun { display: inline-block; }
[data-bs-theme="dark"] .theme-toggle .bi-moon-stars { display: none; }
.theme-toggle i { transition: transform .5s var(--ease); }
.theme-toggle:hover i { transform: rotate(-25deg); }
.theme-switch-row { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; border-top: 1px solid var(--line); margin-top: 1rem; font-weight: 600; color: var(--ink); }
.theme-switch-row .form-switch .form-check-input { width: 2.6em; height: 1.4em; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
a { text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.bg-soft { background: var(--soft); }
.bg-ink { background: var(--inverse); color: #cfcfcf; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--muted) !important; }
.fw-800 { font-weight: 800; }
.rounded-xl { border-radius: var(--radius) !important; }

/* 02. Buttons & utilities ---------------------------------------------------- */
.btn { font-weight: 600; font-size: .9rem; padding: .7rem 1.4rem; border-radius: var(--radius-sm); transition: all .25s var(--ease); }
.btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .45rem .9rem; font-size: .8rem; }
.btn-dark { --bs-btn-color: var(--on-solid); --bs-btn-bg: var(--solid); --bs-btn-border-color: var(--solid-border); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--accent); --bs-btn-hover-border-color: var(--accent); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--accent-dark); --bs-btn-active-border-color: var(--accent-dark); --bs-btn-disabled-bg: var(--solid); --bs-btn-disabled-color: var(--on-solid); }
.btn-outline-dark { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-color: var(--on-solid); --bs-btn-hover-bg: var(--solid); --bs-btn-hover-border-color: var(--solid); --bs-btn-active-color: var(--on-solid); --bs-btn-active-bg: var(--solid); --bs-btn-active-border-color: var(--solid); }
.btn-link { --bs-btn-color: var(--ink); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--solid); border-color: var(--solid-border); color: var(--on-solid); }
.btn:hover { transform: translateY(-1px); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover i { transform: translateX(4px); }

.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 50px; color: var(--ink-2); background: var(--surface); font-size: .82rem; font-weight: 500; transition: all .2s; }
.chip:hover, .chip.active { border-color: var(--solid-border); background: var(--solid); color: var(--on-solid); }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: currentColor; }

.form-control, .form-select { border-radius: var(--radius-sm); border-color: var(--line); padding: .75rem 1rem; font-size: .92rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--ink); box-shadow: 0 0 0 .2rem rgba(17, 17, 17, .08); }
.form-label { font-weight: 600; font-size: .85rem; color: var(--ink); }
.form-check-input { border-color: #c4beb7; cursor: pointer; background-color: var(--surface); }
[data-bs-theme="dark"] .form-check-input { border-color: #4a4744; }
.form-check-input:checked { background-color: var(--check); border-color: var(--check); }

.card-soft { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }

/* 03. Topbar & header ----------------------------------------------------- */
.topbar { background: var(--inverse); color: #d8d8d8; padding: .5rem 0; font-size: .8rem; }
.topbar a { color: #d8d8d8; }
.topbar a:hover { color: #fff; }
.topbar .dropdown-menu { font-size: .85rem; border-radius: var(--radius-sm); border: 0; box-shadow: var(--shadow); }
.topbar-ticker { flex: 1; text-align: center; }
.topbar-ticker strong { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 1030; background: var(--glass); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header > .container > nav { height: var(--header-h); }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, .05); }

.brand { font-size: 1.7rem; font-weight: 800; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.brand span { color: var(--accent); }
.brand:hover { color: var(--ink); }
.brand-light, .brand-light:hover { color: #fff; }

.main-nav { list-style: none; margin: 0; padding: 0; gap: .25rem; height: 100%; align-items: center; }
.main-nav > li { height: 100%; display: flex; align-items: center; }
.main-nav > li > a { position: relative; display: flex; align-items: center; gap: .3rem; padding: .5rem .9rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.main-nav > li > a i { font-size: .65rem; transition: transform .25s; }
.main-nav > li > a::after { content: ''; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > li:hover > a::after, .main-nav > li > a.active::after { transform: scaleX(1); }
.main-nav > li:hover > a i { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: .6rem; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); }
.nav-dropdown a { display: block; padding: .5rem .8rem; border-radius: var(--radius-xs); color: var(--ink-2); font-size: .88rem; font-weight: 500; }
.nav-dropdown a:hover { background: var(--soft); color: var(--ink); padding-left: 1.1rem; }
.has-dropdown:hover .nav-dropdown { opacity: 1; visibility: visible; transform: none; }

.header-actions { display: flex; align-items: center; gap: .25rem; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); font-size: 1.2rem; transition: background .2s; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn .count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.icon-btn .count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

/* 04. Mega menu & search -------------------------------------------------- */
.has-mega { position: static !important; }
.mega-menu { position: absolute; left: 0; right: 0; top: 100%; padding: 2.2rem 0; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 30px 50px rgba(0, 0, 0, .07); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.has-mega:hover .mega-menu { opacity: 1; visibility: visible; transform: none; }
.mega-menu h6 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.mega-menu .col-lg-2 a { display: block; padding: .3rem 0; color: var(--ink-2); font-weight: 500; font-size: .9rem; }
.mega-menu .col-lg-2 a:hover { color: var(--accent); transform: translateX(3px); }
.mega-promo { position: relative; display: block; height: 100%; min-height: 210px; border-radius: var(--radius); overflow: hidden; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-promo:hover img { transform: scale(1.05); }
.mega-promo-text { position: absolute; inset: auto 0 0 0; padding: 1.4rem; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); color: #fff; display: flex; flex-direction: column; }
.mega-promo-text strong { font-size: 1.4rem; margin-bottom: .4rem; }
.mega-promo-text .link-arrow { color: #fff; align-self: flex-start; }

.search-panel { border-top: 1px solid var(--line); background: var(--surface); }
.search-form { position: relative; display: flex; gap: .5rem; align-items: center; }
.search-form > i { position: absolute; left: 1.2rem; color: var(--muted); }
.search-form .form-control { padding: .95rem 1rem .95rem 3rem; border-radius: 50px; background: var(--soft); border-color: transparent; }
.search-form .form-control:focus { background: var(--surface); }
.search-form-sm .form-control { padding: .7rem 1rem .7rem 2.7rem; }
.search-form-sm > i { left: 1rem; }

/* 05. Offcanvas / mini cart ----------------------------------------------- */
.offcanvas { border: 0 !important; }
.offcanvas-header { padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.offcanvas-body { padding: 1.5rem; }
.mobile-nav { list-style: none; padding: 0; margin: 0; }
.mobile-nav > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: .85rem 0; color: var(--ink); font-weight: 600; }
.mobile-nav ul { list-style: none; padding: 0 0 .6rem .8rem; }
.mobile-nav ul a { padding: .45rem 0; font-weight: 500; color: var(--muted); }

.mini-cart { width: 420px !important; }
.free-ship { background: var(--soft); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: 1rem; }
.free-ship .progress { height: 6px; background: var(--surface); }
.free-ship .progress-bar { background: var(--accent); transition: width .6s var(--ease); }
.mini-cart-items { overflow-y: auto; margin: 0 -1.5rem; padding: 0 1.5rem; }
.mini-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.mini-item img { width: 76px; height: 92px; object-fit: cover; border-radius: var(--radius-xs); background: var(--soft); }
.mini-item h6 { font-size: .9rem; margin-bottom: .2rem; }
.mini-item .remove { border: 0; background: none; color: var(--muted); font-size: .8rem; padding: 0; text-decoration: underline; }
.mini-item .remove:hover { color: var(--accent); }
.mini-cart-footer { border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: auto; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty i { font-size: 3rem; color: var(--line); display: block; margin-bottom: .75rem; }

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 50px; background: var(--surface); height: 46px; }
.qty-btn { width: 38px; height: 100%; border: 0; background: none; color: var(--ink); font-size: 1rem; }
.qty-btn:hover { color: var(--accent); }
.qty-input { width: 38px; border: 0; text-align: center; font-weight: 700; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-inner-spin-button, .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-input:focus { outline: none; }
.qty-sm { height: 34px; }
.qty-sm .qty-btn { width: 30px; font-size: .85rem; }
.qty-sm .qty-input { width: 28px; font-size: .85rem; }

/* 06. Hero ---------------------------------------------------------------- */
.hero { padding: 24px 0 0; }
.hero-swiper { border-radius: 28px; overflow: hidden; }
.hero-slide { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 600px; padding: 0 0 0 80px; overflow: hidden; }
.hero-slide.s1 { background: var(--hero-1); }
.hero-slide.s2 { background: var(--hero-2); }
.hero-slide.s3 { background: var(--hero-3); }
.hero-content { position: relative; z-index: 2; max-width: 520px; padding: 60px 0; }
.hero-content h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; margin: 1rem 0 1.25rem; }
.hero-content h1 .serif { font-size: 1.1em; color: var(--accent); }
.hero-content p { font-size: 1.05rem; color: var(--ink-2); max-width: 420px; margin-bottom: 2rem; }
.hero-media { position: relative; align-self: stretch; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-float { position: absolute; z-index: 3; background: var(--glass); backdrop-filter: blur(10px); border-radius: var(--radius-sm); padding: .8rem 1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .7rem; font-size: .82rem; animation: float 5s ease-in-out infinite; }
.hero-float strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.hero-float .ico { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 1.1rem; }
.hero-float.f1 { left: -40px; bottom: 90px; }
.hero-float.f2 { right: 30px; top: 60px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-stats { display: flex; gap: 2.2rem; margin-top: 2.6rem; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--ink); font-weight: 800; }
.hero-stats span { font-size: .8rem; color: var(--muted); }
.hero-swiper .swiper-pagination { bottom: 28px !important; left: 80px !important; width: auto !important; }
.swiper-pagination-bullet { width: 8px; height: 8px; background: var(--ink); opacity: .25; transition: all .3s; }
.swiper-pagination-bullet-active { width: 28px; border-radius: 5px; opacity: 1; background: var(--ink); }
.hero-swiper .swiper-slide-active .hero-content > * { animation: fadeUp .9s var(--ease) both; }
.hero-swiper .swiper-slide-active .hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-swiper .swiper-slide-active .hero-content > *:nth-child(3) { animation-delay: .2s; }
.hero-swiper .swiper-slide-active .hero-content > *:nth-child(4) { animation-delay: .3s; }
.hero-swiper .swiper-slide-active .hero-content > *:nth-child(5) { animation-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* 07. Section heads -------------------------------------------------------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; margin: .5rem 0 0; }
.section-head h2 .serif { color: var(--accent); font-size: 1.1em; }
.section-head p { color: var(--muted); margin: .5rem 0 0; max-width: 480px; }
.swiper-nav { display: flex; gap: .5rem; }
.swiper-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: all .2s; }
.swiper-nav button:hover { background: var(--solid); color: var(--on-solid); border-color: var(--solid-border); }
.swiper-nav button.swiper-button-disabled { opacity: .4; pointer-events: none; }

.pill-tabs { display: inline-flex; gap: .25rem; padding: .3rem; background: var(--soft); border-radius: 50px; border: 0; flex-wrap: wrap; }
.pill-tabs .nav-link { border: 0; border-radius: 50px; color: var(--muted); font-weight: 600; font-size: .88rem; padding: .55rem 1.2rem; }
.pill-tabs .nav-link.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* 08. Categories ---------------------------------------------------------- */
.cat-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 7 / 8; background: var(--soft); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile .cat-label { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem; background: var(--glass); backdrop-filter: blur(8px); border-radius: var(--radius-sm); color: var(--ink); }
.cat-label strong { font-size: .95rem; line-height: 1.2; }
.cat-label small { display: block; color: var(--muted); font-size: .75rem; }
.cat-label i { width: 30px; height: 30px; border-radius: 50%; background: var(--solid); color: var(--on-solid); display: grid; place-items: center; font-size: .8rem; transition: all .3s; }
.cat-tile:hover .cat-label i { background: var(--accent); transform: rotate(-45deg); }

/* 09. Product card -------------------------------------------------------- */
.product-card { position: relative; height: 100%; display: flex; flex-direction: column; }
.product-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 4 / 5; }
.product-img { display: block; width: 100%; height: 100%; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.06); }
.badge-tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: .28rem .7rem; border-radius: 50px; font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.badge-sale { background: var(--accent); color: #fff; }
.badge-new { background: var(--surface); color: var(--ink); }
.badge-hot { background: var(--solid); color: var(--on-solid); }
.product-actions { position: absolute; top: 14px; right: 14px; z-index: 2; display: flex; flex-direction: column; gap: .45rem; }
.action-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(12px); transition: all .3s var(--ease); }
.action-btn:nth-child(2) { transition-delay: .04s; }
.action-btn:nth-child(3) { transition-delay: .08s; }
.product-card:hover .action-btn, .action-btn.active { opacity: 1; transform: none; }
.action-btn:hover { background: var(--solid); color: var(--on-solid); }
.action-btn.active { color: var(--accent); }
.action-btn.active:hover { color: var(--on-solid); }
.btn-add-cart { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; border: 0; padding: .75rem; border-radius: 50px; background: var(--solid); color: var(--on-solid); font-weight: 600; font-size: .85rem; display: flex; align-items: center; justify-content: center; gap: .45rem; opacity: 0; transform: translateY(14px); transition: all .35s var(--ease); }
.product-card:hover .btn-add-cart { opacity: 1; transform: none; }
.btn-add-cart:hover { background: var(--accent); }
.product-body { padding: 1rem .25rem 0; }
.product-cat { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-title { font-size: .98rem; font-weight: 600; margin: .25rem 0 .35rem; letter-spacing: -.01em; }
.product-title a { color: var(--ink); }
.product-title a:hover { color: var(--accent); }
.product-rating { color: var(--star); font-size: .72rem; display: flex; align-items: center; gap: 2px; }
.product-rating span { color: var(--muted); margin-left: .35rem; font-size: .78rem; }
.product-price { margin-top: .4rem; display: flex; align-items: baseline; gap: .55rem; }
.product-price .price { font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.product-price del { color: var(--muted); font-size: .85rem; }
.product-desc, .list-add { display: none; }
@media (hover: none) {
  .action-btn { opacity: 1; transform: none; width: 34px; height: 34px; }
  .action-btn.js-quickview, .action-btn.js-compare { display: none; }
  .btn-add-cart { opacity: 1; transform: none; left: auto; width: 42px; height: 42px; padding: 0; font-size: 0; }
  .btn-add-cart i { font-size: 1.05rem; }
}

/* list view */
.products-list > [class*="col"] { width: 100%; }
.products-list .product-card { flex-direction: row; gap: 1.75rem; align-items: center; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.products-list .product-media { width: 260px; flex-shrink: 0; }
.products-list .btn-add-cart { display: none; }
.products-list .product-title { font-size: 1.25rem; }
.products-list .product-desc { display: block; color: var(--muted); margin: .5rem 0 0; max-width: 520px; }
.products-list .list-add { display: inline-block; }
@media (max-width: 575.98px) { .products-list .product-media { width: 140px; } .products-list .product-card { gap: 1rem; } .products-list .product-desc { display: none; } }

/* 10. Promo / deal / brands ----------------------------------------------- */
.promo-card { position: relative; display: flex; align-items: flex-end; min-height: 380px; border-radius: var(--radius); overflow: hidden; padding: 2.2rem; color: #fff; }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.promo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 30%, rgba(0, 0, 0, .65)); }
.promo-card:hover img { transform: scale(1.05); }
.promo-card > div { position: relative; z-index: 2; }
.promo-card h3 { color: #fff; font-size: 1.9rem; font-weight: 800; margin: .4rem 0 1rem; }
.promo-card small { text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: .72rem; opacity: .85; }
.promo-card .link-arrow { color: #fff; }

.deal { border-radius: 28px; overflow: hidden; background: var(--inverse); color: #cfcfcf; }
.deal-content { padding: 70px 60px; }
.deal h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.04em; }
.deal h2 .serif { color: var(--accent); }
.deal-img { position: relative; height: 100%; min-height: 360px; }
.deal-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.countdown { display: flex; gap: .75rem; margin: 2rem 0; }
.countdown div { min-width: 76px; padding: .9rem .5rem; text-align: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-sm); }
.countdown strong { display: block; color: #fff; font-size: 1.8rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; }

.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; overflow: hidden; }
.marquee { display: flex; gap: 4.5rem; width: max-content; animation: marquee 30s linear infinite; }
.brands:hover .marquee { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: 2rem; color: #b5b0aa; white-space: nowrap; transition: color .2s; }
.marquee span:nth-child(even) { font-family: var(--font); font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em; font-style: normal; }
.marquee span:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 11. Testimonials / newsletter / instagram ------------------------------- */
.testimonial { background: var(--surface); border-radius: var(--radius); padding: 2rem; height: 100%; border: 1px solid var(--line); }
.testimonial .quote { font-size: 1.05rem; color: var(--ink); margin: 1rem 0 1.5rem; }
.testimonial .who { display: flex; align-items: center; gap: .8rem; }
.testimonial .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial .who .avatar-initials { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--soft-2); color: var(--ink); font-size: .9rem; font-weight: 700; }
.testimonial .who strong { display: block; color: var(--ink); font-size: .92rem; }
.testimonial .who span { font-size: .8rem; color: var(--muted); }
.testimonial-swiper .swiper-slide { height: auto; }

.newsletter { border-radius: 28px; background: var(--accent-soft); padding: 70px 30px; text-align: center; position: relative; overflow: hidden; }
.newsletter::before, .newsletter::after { content: ''; position: absolute; border-radius: 50%; background: rgba(224, 87, 63, .08); }
.newsletter::before { width: 320px; height: 320px; left: -120px; top: -140px; }
.newsletter::after { width: 240px; height: 240px; right: -80px; bottom: -120px; }
.newsletter h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; }
.newsletter-form { max-width: 520px; margin: 2rem auto 0; display: flex; gap: .5rem; padding: .4rem; background: var(--surface); border-radius: 50px; box-shadow: var(--shadow); position: relative; z-index: 2; }
.newsletter-form .form-control { border: 0; border-radius: 50px; padding-left: 1.3rem; }
.newsletter-form .form-control:focus { box-shadow: none; }
.newsletter-form .btn { border-radius: 50px; white-space: nowrap; }

.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-grid a { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-grid a::after { content: '\F437'; font-family: bootstrap-icons; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; }
.insta-grid a:hover::after { opacity: 1; }
.insta-grid a:hover img { transform: scale(1.08); }
@media (max-width: 767.98px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }

/* 12. Footer -------------------------------------------------------------- */
.features-strip { padding: 50px 0; border-top: 1px solid var(--line); }
.feature { display: flex; gap: 1rem; align-items: center; }
.feature i { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--soft); color: var(--ink); display: grid; place-items: center; font-size: 1.4rem; }
.feature h6 { margin: 0 0 .1rem; font-size: .95rem; }
.feature p { margin: 0; font-size: .82rem; color: var(--muted); }
.site-footer { background: var(--inverse); color: #a8a8a8; padding: 80px 0 0; font-size: .9rem; }
.site-footer h6 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.3rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .7rem; }
.site-footer a { color: #a8a8a8; }
.site-footer a:hover { color: #fff; }
.footer-text { max-width: 340px; }
.footer-contact li { display: flex; gap: .8rem; }
.footer-contact i { color: var(--accent); }
.socials { display: flex; gap: .5rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); display: grid; place-items: center; color: #fff; transition: all .25s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-bottom { margin-top: 60px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .82rem; }
.payments { display: flex; gap: .5rem; flex-wrap: wrap; }
.payments span { padding: .3rem .7rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 6px; color: #d0d0d0; font-size: .75rem; font-weight: 600; }

/* 13. Page header & breadcrumbs -------------------------------------------- */
.page-header { padding: 56px 0 50px; background: var(--soft); text-align: center; position: relative; overflow: hidden; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: .6rem; }
.page-header h1 .serif { color: var(--accent); }
.breadcrumb { justify-content: center; margin: 0; font-size: .85rem; --bs-breadcrumb-divider: '/'; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-item.active { color: var(--ink); font-weight: 600; }
.breadcrumb-left { justify-content: flex-start; }

/* 14. Shop & filters ------------------------------------------------------- */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.25rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.shop-toolbar .form-select { width: auto; border-radius: 50px; padding: .5rem 2.4rem .5rem 1rem; font-size: .85rem; }
.view-toggle { display: inline-flex; gap: .25rem; padding: .25rem; background: var(--soft); border-radius: 50px; }
.view-toggle button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.view-toggle button.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.active-filters { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.active-filters .chip i { font-size: .7rem; }

.filter-block { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.filter-block:first-child { padding-top: 0; }
.filter-title { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; background: none; padding: 0; font-weight: 700; color: var(--ink); font-size: .95rem; }
.filter-title i { transition: transform .25s; font-size: .8rem; }
.filter-title.collapsed i { transform: rotate(-90deg); }
.filter-body { padding-top: 1rem; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { display: flex; justify-content: space-between; align-items: center; padding: .3rem 0; }
.filter-list .form-check { margin: 0; }
.filter-list .form-check-label { font-size: .9rem; cursor: pointer; }
.filter-list .cnt { font-size: .75rem; color: var(--muted); background: var(--soft); border-radius: 50px; padding: .05rem .55rem; }

.price-slider { margin: .6rem .4rem 1.4rem; }
.noUi-target { background: var(--line); border: 0; box-shadow: none; height: 4px; }
.noUi-connect { background: var(--ink); }
.noUi-horizontal .noUi-handle { width: 20px; height: 20px; right: -10px; top: -8px; border-radius: 50%; border: 3px solid var(--ink); background: var(--surface); box-shadow: none; cursor: grab; }
.noUi-handle::before, .noUi-handle::after { display: none; }
.price-inputs { display: flex; align-items: center; gap: .5rem; }
.price-inputs .form-control { padding: .5rem .75rem; font-size: .85rem; text-align: center; }

.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { position: relative; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .2s; }
.swatch:hover { transform: scale(1.1); }
.btn-check:checked + .swatch { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.size-options { display: flex; flex-wrap: wrap; gap: .45rem; }
.size-options label { min-width: 46px; height: 42px; padding: 0 .8rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-xs); font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .2s; background: var(--surface); color: var(--ink); }
.size-options label:hover { border-color: var(--ink); }
.btn-check:checked + label { background: var(--solid); color: var(--on-solid); border-color: var(--solid-border); }
.btn-check:disabled + label { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.shop-banner { position: relative; border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; }
.shop-banner img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.shop-banner div { position: absolute; inset: auto 0 0 0; padding: 1.5rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.shop-banner h5 { color: #fff; }

.pagination { gap: .4rem; }
.page-link { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50% !important; border: 1px solid var(--line); color: var(--ink); font-weight: 600; padding: 0; }
.page-link:hover { background: var(--soft); color: var(--ink); }
.active > .page-link { background: var(--solid); border-color: var(--solid-border); color: var(--on-solid); }
.page-link:focus { box-shadow: none; }

/* 15. Product detail ------------------------------------------------------- */
.pd-gallery { display: flex; gap: 1rem; position: sticky; top: calc(var(--header-h) + 20px); }
.pd-thumbs { width: 90px; flex-shrink: 0; height: 560px; }
.pd-thumbs .swiper-slide { height: auto !important; border-radius: var(--radius-xs); overflow: hidden; cursor: pointer; opacity: .5; border: 2px solid transparent; transition: all .2s; }
.pd-thumbs .swiper-slide-thumb-active { opacity: 1; border-color: var(--ink); }
.pd-thumbs img { width: 100%; aspect-ratio: 9 / 11; object-fit: cover; }
.pd-main { flex: 1; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.pd-main .swiper-slide { aspect-ratio: 9 / 11; overflow: hidden; cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out; }
.pd-main .zoomed img { transform: scale(1.8); }
.pd-main .swiper-button-next, .pd-main .swiper-button-prev { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.pd-main .swiper-button-next::after, .pd-main .swiper-button-prev::after { font-size: .9rem; font-weight: 800; }
@media (max-width: 767.98px) { .pd-gallery { flex-direction: column-reverse; position: static; } .pd-thumbs, .pd-main { width: 100%; max-width: 100%; height: auto; flex: none; } }

.pd-info h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.035em; }
.pd-price { font-size: 1.8rem; font-weight: 800; color: var(--ink); }
.pd-price del { font-size: 1.1rem; font-weight: 500; color: var(--muted); margin-left: .5rem; }
.pd-price .save { font-size: .8rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: .25rem .65rem; border-radius: 50px; margin-left: .6rem; vertical-align: middle; }
.pd-option-label { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .6rem; }
.pd-option-label strong { color: var(--ink); }
.pd-meta { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.pd-meta li { padding: .3rem 0; }
.pd-meta span { display: inline-block; min-width: 90px; color: var(--muted); }
.pd-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.pd-perks div { display: flex; gap: .7rem; align-items: center; padding: .9rem 1rem; background: var(--soft); border-radius: var(--radius-sm); font-size: .82rem; }
.pd-perks i { font-size: 1.3rem; color: var(--ink); }
.stock-bar { height: 5px; background: var(--line); border-radius: 5px; overflow: hidden; }
.stock-bar div { height: 100%; background: linear-gradient(90deg, var(--accent), #f19a57); }
.wish-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.15rem; flex-shrink: 0; transition: all .2s; }
.wish-btn:hover, .wish-btn.active { border-color: var(--accent); color: var(--accent); }

.pd-tabs { border-bottom: 1px solid var(--line); gap: 2rem; }
.pd-tabs .nav-link { border: 0; padding: 1rem 0; color: var(--muted); font-weight: 600; position: relative; background: none; }
.pd-tabs .nav-link.active { color: var(--ink); }
.pd-tabs .nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); }
.spec-table td { padding: .85rem 0; border-color: var(--line); }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.rating-summary { text-align: center; padding: 2rem; background: var(--soft); border-radius: var(--radius); }
.rating-summary .big { font-size: 3.5rem; font-weight: 800; color: var(--ink); line-height: 1; }
.rating-bars .row-bar { display: flex; align-items: center; gap: .7rem; font-size: .82rem; margin-bottom: .45rem; }
.rating-bars .progress { flex: 1; height: 6px; }
.rating-bars .progress-bar { background: var(--star); }
.review { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.review img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.review .avatar-initials { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--soft-2); color: var(--ink); font-size: .85rem; font-weight: 700; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.4rem; color: var(--line); cursor: pointer; transition: color .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--star); }

.sticky-atc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, .06); padding: .75rem 0; transform: translateY(110%); transition: transform .35s var(--ease); }
.sticky-atc.show { transform: none; }
.sticky-atc img { width: 48px; height: 58px; object-fit: cover; border-radius: var(--radius-xs); }

/* 16. Cart & checkout ------------------------------------------------------ */
.cart-table { width: 100%; }
.cart-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding: 0 0 1rem; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 1.5rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-product { display: flex; gap: 1rem; align-items: center; }
.cart-product img { width: 90px; height: 110px; object-fit: cover; border-radius: var(--radius-sm); background: var(--soft); }
.cart-product h6 { margin-bottom: .2rem; }
.cart-remove { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: all .2s; }
.cart-remove:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
@media (max-width: 767.98px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
  .cart-table td:nth-child(4) { text-align: right; }
  .cart-table td { padding: 0; border: 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .cart-table td.price-col { display: none; }
}
.summary-card { background: var(--soft); border-radius: var(--radius); padding: 2rem; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .92rem; }
.summary-row.total { border-top: 1px solid var(--soft-2); margin-top: .75rem; padding-top: 1.1rem; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.coupon-form { display: flex; gap: .5rem; }
.coupon-form .form-control { border-radius: 50px; background: var(--surface); }

.checkout-steps { display: flex; justify-content: center; gap: .75rem; margin-top: 1.2rem; flex-wrap: wrap; }
.checkout-steps span { display: flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.checkout-steps span b { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: .75rem; }
.checkout-steps span.done, .checkout-steps span.current { color: var(--ink); }
.checkout-steps span.done b { background: var(--solid); color: var(--on-solid); border-color: var(--solid-border); }
.checkout-steps .sep { width: 40px; height: 1px; background: var(--line); align-self: center; }

.checkout-block { margin-bottom: 2.5rem; }
.checkout-block h5 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; }
.checkout-block h5 b { width: 28px; height: 28px; border-radius: 50%; background: var(--solid); color: var(--on-solid); font-size: .8rem; display: grid; place-items: center; }
.option-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: all .2s; margin-bottom: .6rem; background: var(--surface); }
.option-card:hover { border-color: #cfcac4; }
.option-card .form-check-input { margin: 0; flex-shrink: 0; }
.option-card:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.option-card .opt-body { flex: 1; }
.option-card .opt-body strong { display: block; color: var(--ink); font-size: .92rem; }
.option-card .opt-body small { color: var(--muted); }
.option-card .opt-icons { font-size: 1.4rem; display: flex; gap: .4rem; color: var(--ink); }
.card-fields { display: none; padding: 1rem 0 .5rem; }
.card-fields.show { display: block; }
.order-line { display: flex; gap: .9rem; align-items: center; padding: .7rem 0; }
.order-line .thumb { position: relative; flex-shrink: 0; }
.order-line img { width: 60px; height: 72px; object-fit: cover; border-radius: var(--radius-xs); }
.order-line .thumb span { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; background: var(--solid); color: var(--on-solid); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.order-line h6 { font-size: .88rem; margin: 0; }

/* 17. Auth & account ------------------------------------------------------- */
.auth-wrap { min-height: calc(100vh - 120px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-media { position: relative; overflow: hidden; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-media .auth-quote { position: absolute; left: 40px; right: 40px; bottom: 40px; padding: 1.75rem; border-radius: var(--radius); background: var(--glass); backdrop-filter: blur(12px); }
.auth-quote p { font-family: var(--serif); font-size: 1.6rem; line-height: 1.25; color: var(--ink); font-style: italic; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.auth-form > div { width: 100%; max-width: 420px; }
.auth-form h1 { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.social-login .btn { border: 1px solid var(--line); background: var(--surface); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.social-login .btn:hover { border-color: var(--ink); }
.divider { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .8rem; margin: 1.5rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.pw-field { position: relative; }
.pw-field .form-control { padding-right: 3rem; }
.pw-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); width: 36px; height: 36px; }
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } .auth-media { display: none; } }

.account-nav { background: var(--soft); border-radius: var(--radius); padding: 1.25rem; }
.account-user { display: flex; align-items: center; gap: .9rem; padding: .5rem .5rem 1.25rem; margin-bottom: .75rem; border-bottom: 1px solid var(--soft-2); }
.account-user img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.account-initials { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 1.1rem; }
.account-nav .nav-link { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 500; font-size: .92rem; }
.account-nav button.nav-link { width: 100%; border: 0; background: none; text-align: left; }
.account-nav .nav-link:hover { background: var(--surface); }
.account-nav .nav-link.active { background: var(--solid); color: var(--on-solid); }
.stat-card { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); display: flex; gap: 1rem; align-items: center; }
.stat-card i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: var(--accent-soft); color: var(--accent); }
.stat-card strong { font-size: 1.6rem; color: var(--ink); font-weight: 800; display: block; line-height: 1.1; }
.stat-card span { font-size: .82rem; color: var(--muted); }
.table-orders { font-size: .9rem; }
.table-orders th { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; border-bottom-width: 1px; }
.table-orders td { padding: 1rem .5rem; vertical-align: middle; }
.status { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-delivered { background: #e6f6ef; color: var(--success); }
.status-shipped { background: #e7f0fb; color: #2f6fca; }
.status-processing { background: #fff4e0; color: #c47d0c; }
.status-cancelled { background: var(--accent-soft); color: var(--accent); }
.address-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; height: 100%; position: relative; }
.address-card.default { border-color: var(--ink); }

/* 18. Misc ----------------------------------------------------------------- */
.toast-container { z-index: 1090; margin-top: 70px; }
.toast-lite { display: flex; align-items: center; gap: .8rem; min-width: 300px; padding: .9rem 1rem; background: var(--solid); color: var(--on-solid); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: .88rem; }
.toast-lite img { width: 42px; height: 50px; object-fit: cover; border-radius: 6px; }
.toast-lite .ico { width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
.toast-lite a { color: var(--on-solid); text-decoration: underline; font-weight: 600; margin-left: auto; white-space: nowrap; }

.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 1025; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--solid); color: var(--on-solid); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s var(--ease); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; justify-content: space-around; background: var(--glass); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: .45rem 0 calc(.45rem + env(safe-area-inset-bottom)); }
.bottom-nav a { display: flex; flex-direction: column; align-items: center; font-size: .68rem; font-weight: 600; color: var(--muted); gap: .1rem; }
.bottom-nav a i { font-size: 1.2rem; }
.bottom-nav a.active { color: var(--ink); }
@media (max-width: 991.98px) { body { padding-bottom: 64px; } .back-to-top { bottom: 84px; right: 16px; } .sticky-atc { bottom: 60px; } }

.quick-view { border: 0; border-radius: var(--radius); overflow: hidden; }
.quick-view .btn-close { position: absolute; right: 18px; top: 18px; z-index: 3; background-color: var(--surface); border-radius: 50%; padding: .6rem; opacity: 1; }
.quick-view .qv-img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.quick-view h3 { font-size: 1.6rem; }

.error-page { padding: 100px 0; text-align: center; }
.error-page .code { font-size: clamp(7rem, 22vw, 14rem); font-weight: 800; letter-spacing: -.08em; line-height: .9; color: var(--ink); }
.error-page .code .serif { color: var(--accent); letter-spacing: 0; }

.success-icon { width: 96px; height: 96px; margin: 0 auto 1.5rem; border-radius: 50%; background: #e6f6ef; color: var(--success); display: grid; place-items: center; font-size: 2.8rem; animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: none; opacity: 1; } }

.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: .75rem; overflow: hidden; }
.faq .accordion-button { font-weight: 600; color: var(--ink); padding: 1.2rem 1.4rem; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--soft); }
.faq .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; background: var(--soft); }

.contact-card { display: flex; gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--soft); height: 100%; }
.contact-card i { width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--accent); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 380px; filter: var(--map-filter); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; min-height: 380px; }

.about-img { border-radius: var(--radius); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.stat-big strong { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; display: block; line-height: 1; }
.team-card img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 1rem; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero-slide { padding-left: 50px; }
  .hero-float.f1 { left: 16px; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .brand { font-size: 1.5rem; }
  .site-header > .container > nav .brand { position: absolute; left: 50%; transform: translateX(-50%); }
  .hero-slide { grid-template-columns: 1fr; padding: 0; min-height: 0; }
  .hero-content { padding: 44px 28px 70px; max-width: none; }
  .hero-media { min-height: 380px; order: -1; }
  .hero-swiper .swiper-pagination { left: 28px !important; }
  .hero-float.f1 { bottom: 20px; }
  .deal-content { padding: 44px 28px; }
  .mini-cart { width: 100% !important; max-width: 420px; }
}
@media (max-width: 575.98px) {
  .hero-stats { gap: 1.4rem; }
  .hero-float.f2 { display: none; }
  .countdown div { min-width: 64px; }
  .newsletter-form { flex-direction: column; border-radius: var(--radius); }
  .newsletter-form .form-control { padding: .9rem 1rem; }
  .products-grid { --bs-gutter-x: .9rem; }
  .product-title { font-size: .88rem; }
}
