/* ============================================================
   Q CEYLON GEM & JEWELLERY  -  Premium Luxury Stylesheet
   ============================================================
   Palette
     Backgrounds : #ffffff, #faf9f7, #e7e5df
     Gold accents : #c49520  (primary — royal satin gold)
                    #8a6610  (dark) / #a67e18 (hover)
                    #f8edd0  (light / background tint)
     Text         : #333333  (primary)
                    #767676  (secondary / muted)
                    #a5a5a5  (faint)
     Borders      : #e5e7eb  (light)
                    #d1d5db  (medium)
   Typography
     Headings : Marcellus SC, serif
     Body     : Lora, serif
   ============================================================ */

/* ============================================================
   1.  RESET  &  CSS VARIABLES
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* --- Colours ------------------------------------------------ */
  --clr-bg:            #ffffff;
  --clr-bg-light:      #faf9f7;
  --clr-bg-section:    #e7e5df;
  --clr-bg-card:       #ffffff;
  --clr-bg-input:      #ffffff;

  --clr-gold:          #c49520;
  --clr-gold-hover:    #a67e18;
  --clr-gold-dark:     #8a6610;
  --clr-gold-light:    #f8edd0;
  --clr-gold-gradient: linear-gradient(135deg, #d4a520 0%, #8a6610 100%);

  --clr-text:          #333333;
  --clr-text-muted:    #767676;
  --clr-text-faint:    #a5a5a5;
  --clr-white:         #ffffff;

  --clr-border:        #e5e7eb;
  --clr-border-med:    #d1d5db;
  --clr-border-gold:   rgba(196, 149, 32, .25);

  --clr-success:       #059669;
  --clr-success-bg:    #ecfdf5;
  --clr-error:         #dc2626;
  --clr-error-bg:      #fef2f2;
  --clr-warning:       #d97706;
  --clr-warning-bg:    #fffbeb;
  --clr-info:          #2563eb;
  --clr-info-bg:       #eff6ff;

  /* --- Typography --------------------------------------------- */
  --ff-heading: 'Marcellus SC', Georgia, 'Times New Roman', serif;
  --ff-body:    'Lora', Georgia, 'Times New Roman', serif;

  --fs-xs:   .75rem;
  --fs-sm:   .875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3rem;

  /* --- Spacing ------------------------------------------------ */
  --space-xs:  .25rem;
  --space-sm:  .5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 5rem;

  /* --- Radii -------------------------------------------------- */
  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-full: 9999px;

  /* --- Shadows ------------------------------------------------ */
  --shadow-sm:   0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 12px rgba(0,0,0,.07);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.08);
  --shadow-xl:   0 20px 50px rgba(0,0,0,.10);
  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-card-hover: 0 12px 28px rgba(0,0,0,.10);
  --shadow-gold: 0 4px 14px rgba(196,149,32,.25);

  /* --- Transitions -------------------------------------------- */
  --ease:       cubic-bezier(.4, 0, .2, 1);
  --duration:   .25s;
  --duration-lg:.4s;

  /* --- Z-index layers ----------------------------------------- */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-drawer:   300;
  --z-modal:    400;
  --z-toast:    500;

  /* --- Admin sidebar ------------------------------------------ */
  --admin-sidebar-w: 260px;
  --admin-sidebar-bg: #0f0f0f;
}

/* --- Dark theme ------------------------------------------------ */
[data-theme="dark"] {
  --clr-bg:            #111111;
  --clr-bg-light:      #1a1a1a;
  --clr-bg-section:    #1e1e1e;
  --clr-bg-card:       #1a1a1a;
  --clr-bg-input:      #1e1e1e;

  --clr-text:          #e8e4de;
  --clr-text-muted:    #a09a90;
  --clr-text-faint:    #6b665e;
  --clr-white:         #ffffff;

  --clr-border:        #2a2a2a;
  --clr-border-med:    #3a3a3a;

  --clr-success-bg:    #0d2618;
  --clr-error-bg:      #2a1010;
  --clr-warning-bg:    #2a1f08;
  --clr-info-bg:       #0d1a2e;

  --shadow-sm:   0 1px 2px rgba(0,0,0,.2);
  --shadow-md:   0 4px 12px rgba(0,0,0,.3);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.35);
  --shadow-xl:   0 20px 50px rgba(0,0,0,.4);
  --shadow-card: 0 1px 3px rgba(0,0,0,.25), 0 1px 2px rgba(0,0,0,.2);
  --shadow-card-hover: 0 12px 28px rgba(0,0,0,.4);
}

html[data-theme] body,
html[data-theme] .site-header,
html[data-theme] .product-card,
html[data-theme] .newsletter,
html[data-theme] .mobile-bottom-nav {
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}

[data-theme="dark"] .site-header {
  background: rgba(17,17,17,.95);
  border-bottom-color: var(--clr-border);
}
[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
}

[data-theme="dark"] .announce-bar {
  background: #080808;
}

[data-theme="dark"] .newsletter {
  background: linear-gradient(135deg, #1a1917 0%, #151412 100%);
}
[data-theme="dark"] .newsletter-form input,
[data-theme="dark"] .newsletter-field input {
  background: var(--clr-bg-input);
  border-color: var(--clr-border-med);
  color: var(--clr-text);
}

[data-theme="dark"] .contact-form-wrap {
  background: var(--clr-bg-card);
  border-color: var(--clr-border);
}

[data-theme="dark"] .gallery-slider {
  background: var(--clr-bg-section);
}

[data-theme="dark"] .mobile-drawer .drawer-panel {
  background: #111;
}
[data-theme="dark"] .mobile-drawer .drawer-overlay {
  background: rgba(0,0,0,.7);
}

[data-theme="dark"] .mobile-bottom-nav {
  background: #111;
  border-top-color: #222;
}

[data-theme="dark"] .search-results {
  background: var(--clr-bg-card);
  border-color: var(--clr-border);
}

[data-theme="dark"] .breadcrumb .current {
  color: var(--clr-text);
}

[data-theme="dark"] .page-hero {
  background-color: #1a1a1a;
}
[data-theme="dark"] .page-hero.has-banner {
  background-color: transparent;
}

[data-theme="dark"] .standard-card,
[data-theme="dark"] .contact-card {
  background: var(--clr-bg-card);
  border-color: var(--clr-border);
}

[data-theme="dark"] .desc-section {
  border-top-color: var(--clr-border);
}

[data-theme="dark"] .trust-strip .trust-item {
  border-color: var(--clr-border);
}

[data-theme="dark"] .qty-input button {
  background: var(--clr-bg-section);
  color: var(--clr-text);
  border-color: var(--clr-border);
}

/* Theme toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--clr-text);
  cursor: pointer;
  transition: all .3s var(--ease);
  position: relative;
}
.theme-toggle:hover {
  background: var(--clr-bg-section);
  color: var(--clr-gold);
}
.theme-toggle svg { transition: transform .4s var(--ease); }
.theme-toggle:hover svg { transform: rotate(30deg); }
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { position: absolute; transition: opacity .3s, transform .3s; }
.theme-toggle .icon-sun { opacity: 1; transform: scale(1); }
.theme-toggle .icon-moon { opacity: 0; transform: scale(.5); }
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 0; transform: scale(.5); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: scale(1); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--clr-gold);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover {
  color: var(--clr-gold-hover);
}

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--clr-gold-light);
  color: var(--clr-text);
}

/* ============================================================
   2.  TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 600;
  color: var(--clr-text);
}

h1 { font-size: var(--fs-4xl); font-family: var(--ff-heading); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--fs-3xl); font-family: var(--ff-heading); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: var(--fs-2xl); font-weight: 600; }
h4 { font-size: var(--fs-xl);  font-weight: 600; }
h5 { font-size: var(--fs-lg);  font-weight: 600; }
h6 { font-size: var(--fs-md);  font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

p:last-child { margin-bottom: 0; }

small, .small { font-size: var(--fs-sm); }

strong { font-weight: 600; color: var(--clr-text); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: .75rem;
}

/* ============================================================
   3.  LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
}

/* generic grid helper */
.grid {
  display: grid;
  gap: 1.5rem;
}

/* ============================================================
   4.  BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .35s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  background: var(--clr-gold-gradient);
  color: var(--clr-white);
  border-color: var(--clr-gold);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s ease;
}
.btn:hover::before { left: 100%; }
.btn:hover {
  box-shadow: 0 6px 24px rgba(196,149,32,.4);
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0) scale(.98); }

.hero-btns,
.slide-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* gold solid (same as default, explicit class) */
.btn-gold {
  background: var(--clr-gold-gradient);
  color: var(--clr-white);
  border-color: var(--clr-gold);
}
.btn-gold:hover {
  background: var(--clr-gold-gradient);
  border-color: var(--clr-gold-hover);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(196,149,32,.35);
}

/* outline */
.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border-med);
}
.btn-outline::before { display: none; }
.btn-outline:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(196,149,32,.04);
  box-shadow: 0 2px 12px rgba(196,149,32,.1);
}

/* outline light (for dark backgrounds) */
.btn-outline-light {
  background: rgba(255,255,255,.06);
  color: var(--clr-white);
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-outline-light::before { display: none; }
.btn-outline-light:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.14);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(255,255,255,.08);
}

/* outline gold */
.btn-outline-gold {
  background: transparent;
  color: var(--clr-gold);
  border-color: var(--clr-gold);
}
.btn-outline-gold::before { display: none; }
.btn-outline-gold:hover {
  background: var(--clr-gold-gradient);
  color: var(--clr-white);
  box-shadow: 0 6px 24px rgba(196,149,32,.4);
}

/* dark solid */
.btn-dark {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
.btn-dark:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

/* sizes */
.btn-sm {
  padding: .45rem 1rem;
  font-size: 11px;
  letter-spacing: .08em;
}

.btn-lg {
  padding: 1.05rem 2.8rem;
  font-size: 12.5px;
  letter-spacing: .2em;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* disabled */
.btn:disabled,
.btn.disabled {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* icon-only button helper */
.btn-icon {
  padding: .6rem;
  border-radius: var(--radius-full);
  line-height: 1;
}

/* ============================================================
   5.  HEADER
   ============================================================ */

/* Announce bar */
.announce-bar {
  background: #000;
  color: #fff;
  padding: .5rem 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.announce-msg {
  text-align: center;
}
.announce-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.announce-right a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #fff;
  font-size: 11px;
  text-decoration: none;
  opacity: .85;
  transition: opacity .2s;
}
.announce-right a:hover { opacity: 1; color: #fff; }
.announce-right a svg { flex-shrink: 0; }
@media (max-width: 768px) {
  .announce-right { display: none; }
}

/* Header main */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  border-color: transparent;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

/* brand */
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.15;
}
.brand:hover .brand-name { color: var(--clr-gold); }
.brand-name {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--clr-text);
  letter-spacing: .02em;
  transition: color .2s;
}
.brand-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.brand img {
  height: 44px;
  width: auto;
}

/* primary nav */
.primary-nav {
  display: flex;
  align-items: center;
}
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}
.primary-nav a,
.primary-nav .nav-link {
  display: inline-flex;
  align-items: center;
  padding: .5rem .9rem;
  font-family: var(--ff-heading);
  font-size: 14px;
  font-weight: 400;
  color: var(--clr-text);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav .nav-link:hover {
  color: var(--clr-gold);
}
.primary-nav a.active,
.primary-nav .nav-link.active {
  color: var(--clr-gold);
}
.primary-nav .caret {
  font-size: 10px;
  margin-left: 3px;
  opacity: .6;
}

/* dropdown */
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 210px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration) var(--ease);
  z-index: var(--z-dropdown);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: .55rem 1.15rem;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.dropdown a:hover {
  background: var(--clr-bg-light);
  color: var(--clr-gold);
}

/* header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}

/* icon buttons in header */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--clr-text);
  transition: color var(--duration) var(--ease);
  position: relative;
  text-decoration: none;
}
.icon-btn:hover {
  color: var(--clr-gold);
}

/* cart badge */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #000;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  line-height: 17px;
  text-align: center;
  border-radius: var(--radius-full);
}

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }
}

/* ============================================================
   6.  SEARCH  (header inline)
   ============================================================ */
.header-search-wrap {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search .search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-faint);
  pointer-events: none;
  z-index: 1;
}
.header-search input[type="search"] {
  width: 100%;
  padding: .5rem 1rem .5rem 2.35rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--clr-text);
  background: var(--clr-bg-light);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.header-search input[type="search"]:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(196,149,32,.1);
  background: #fff;
}
.header-search input[type="search"]::placeholder {
  color: var(--clr-text-faint);
  font-weight: 400;
}
@media (max-width: 1024px) {
  .header-search-wrap { width: 180px; }
}
@media (max-width: 900px) {
  .header-search-wrap { display: none; }
}

/* search results dropdown */
.search-results {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  right: 0;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: var(--z-dropdown);
  display: none;
}
.search-results.active { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1rem;
  transition: background var(--duration) var(--ease);
  text-decoration: none;
  color: var(--clr-text);
}
.search-result-item:hover { background: var(--clr-bg-light); }

.search-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--clr-bg-section);
}
.search-info { flex: 1; min-width: 0; }
.search-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-price {
  font-size: var(--fs-xs);
  color: var(--clr-gold);
  font-weight: 600;
  margin-top: 2px;
}
.search-no-result {
  padding: 1.5rem;
  text-align: center;
  color: var(--clr-text-faint);
  font-size: var(--fs-sm);
}

/* ============================================================
   7.  MOBILE DRAWER
   ============================================================ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity var(--duration-lg) var(--ease);
}
.mobile-drawer.open .drawer-overlay {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--duration-lg) var(--ease);
}
.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--clr-border);
  flex-shrink: 0;
}
.drawer-header .brand { font-size: 1.15rem; }
.drawer-brand-logo { height: 32px; width: auto; }
.drawer-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--clr-text-muted);
  font-size: 1.15rem;
  transition: background var(--duration) var(--ease);
}
.drawer-close:hover { background: var(--clr-bg-light); }

.drawer-nav {
  flex: 1;
  padding: 1rem 0;
}
.drawer-nav a {
  display: block;
  padding: .75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--clr-text);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.drawer-nav a:hover {
  background: var(--clr-bg-light);
  color: var(--clr-gold);
}
.drawer-nav a.active {
  color: var(--clr-gold);
  font-weight: 600;
}

/* accordion inside drawer */
.drawer-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .75rem 1.5rem;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--clr-text);
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: background .2s, color .2s;
}
.drawer-accordion-btn:hover { background: var(--clr-bg-light); }
.drawer-accordion.open .drawer-accordion-btn { color: var(--clr-gold); }
.drawer-chevron {
  font-size: 10px;
  transition: transform .2s;
}
.drawer-accordion.open .drawer-chevron { transform: rotate(180deg); }
.drawer-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s var(--ease);
  padding-left: 1rem;
}
.drawer-accordion.open .drawer-accordion-body {
  max-height: 400px;
}
.drawer-accordion-body a {
  display: block;
  padding: .5rem 1.5rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}
.drawer-accordion-body a:hover {
  color: var(--clr-gold);
}

/* ============================================================
   8.  HERO / SLIDER
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f9f7f4 0%, #ece8e1 50%, #e7e5df 100%);
  color: var(--clr-text);
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
}
.hero .eyebrow {
  color: var(--clr-gold);
}
.hero h1 {
  font-family: var(--ff-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--clr-text);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.hero .tagline {
  color: var(--clr-text-muted);
  font-size: var(--fs-md);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 540px;
  max-height: 800px;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}
.slide:first-child { position: relative; }
.slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Ken Burns zoom */
.slide picture,
.slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.slide picture img,
.slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8s ease-out;
}
.slide.active picture img,
.slide.active > img {
  transform: scale(1.08);
}

/* Cinematic gradient overlay */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.05) 100%),
    linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 40%);
  z-index: 1;
}

/* Caption with staggered entrance */
.slide-caption {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 0 2rem 0 clamp(2rem, 6vw, 6rem);
}
.slide-caption .eyebrow {
  color: var(--clr-gold);
  margin-bottom: .75rem;
  font-size: .7rem;
  letter-spacing: .25em;
  opacity: 0;
  transform: translateY(20px);
}
.slide.active .slide-caption .eyebrow {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease .2s, transform .6s ease .2s;
}
.slide-caption h1,
.slide-caption h2 {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
}
.slide.active .slide-caption h1,
.slide.active .slide-caption h2 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease .4s, transform .6s ease .4s;
}
.slide-caption p {
  color: rgba(255,255,255,.8);
  font-size: var(--fs-base);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
}
.slide.active .slide-caption p {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease .6s, transform .6s ease .6s;
}
.slide-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}
.slide.active .slide-btns {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease .8s, transform .6s ease .8s;
}

/* Slim arrow navigation */
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  color: var(--clr-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
  transition: all .3s var(--ease);
  opacity: 0;
}
.hero-slider:hover .slide-nav { opacity: 1; }
.slide-nav:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.35);
}
.slide-nav.prev { left: 1.5rem; }
.slide-nav.next { right: 1.5rem; }

/* Progress bar indicators */
.slide-dots {
  position: absolute;
  bottom: 2rem;
  left: clamp(2rem, 6vw, 6rem);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.slide-dots button {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: all .4s var(--ease);
  position: relative;
  overflow: hidden;
  padding: 0;
}
.slide-dots button::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--clr-gold);
  border-radius: 2px;
}
.slide-dots button.active {
  width: 48px;
  background: rgba(255,255,255,.2);
}
.slide-dots button.active::after {
  animation: slideProgress 5s linear forwards;
}
@keyframes slideProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Slide counter */
.slide-counter {
  position: absolute;
  bottom: 2rem;
  right: clamp(2rem, 6vw, 6rem);
  z-index: 3;
  color: rgba(255,255,255,.5);
  font-size: var(--fs-sm);
  font-family: var(--ff-body);
  letter-spacing: .05em;
}
.slide-counter .current-num {
  color: var(--clr-white);
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero-slider { height: 70vh; min-height: 420px; }
  .slide-caption { padding: 0 1.5rem; }
  .slide-nav { display: none; }
  .slide-dots { left: 1.5rem; bottom: 1.5rem; }
  .slide-counter { right: 1.5rem; bottom: 1.5rem; }
}

/* ============================================================
   9.  PRODUCT CARDS  &  PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 400px)  { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--clr-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--clr-border-gold);
}

.product-card .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--clr-bg-section);
}
.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .img-wrap img {
  transform: scale(1.06);
}

/* horizontal image track */
.img-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.img-track::-webkit-scrollbar { display: none; }
.img-track img {
  scroll-snap-align: start;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* card dots */
.card-dots {
  position: absolute;
  bottom: .65rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}
.card-dots span {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.5);
  transition: background var(--duration) var(--ease);
}
.card-dots span.active { background: var(--clr-white); }

/* tags */
.new-tag,
.sale-tag {
  position: absolute;
  top: .75rem;
  z-index: 2;
  padding: .25rem .65rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.new-tag {
  left: .75rem;
  background: var(--clr-text);
  color: var(--clr-white);
}
.sale-tag {
  right: .75rem;
  background: var(--clr-error);
  color: var(--clr-white);
}

/* card body */
.card-body {
  padding: 1rem 1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: 400;
  margin-bottom: .25rem;
  line-height: 1.4;
  color: var(--clr-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-category {
  display: block;
  font-size: var(--fs-xs);
  color: var(--clr-text-faint);
  margin-bottom: .5rem;
}
.card-body .price {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-gold);
  margin-top: auto;
}
.card-body .price .old-price {
  text-decoration: line-through;
  color: var(--clr-text-faint);
  font-weight: 400;
  margin-left: .5rem;
  font-size: var(--fs-xs);
}

/* ============================================================
   10.  CATEGORY GRID
   ============================================================ */
.cat-grid {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0 .5rem;
}
.cat-grid::-webkit-scrollbar { display: none; }

.cat-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  scroll-snap-align: center;
  padding: .5rem;
}
.cat-card .cat-img-wrap {
  width: clamp(90px, 10vw, 130px);
  height: clamp(90px, 10vw, 130px);
  border-radius: var(--radius-full);
  border: 2px solid var(--clr-border-gold);
  padding: 3px;
  transition: all .4s var(--ease);
  position: relative;
}
.cat-card .cat-img-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: border-color .4s var(--ease);
}
.cat-card:hover .cat-img-wrap {
  border-color: var(--clr-gold);
  box-shadow: 0 4px 20px rgba(196,149,32,.2);
  transform: translateY(-4px);
}
.cat-card:hover .cat-img-wrap::after {
  border-color: var(--clr-border-gold);
}
.cat-card img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  object-fit: cover;
  object-position: center;
  transition: transform .5s var(--ease);
}
.cat-card:hover img { transform: scale(1.08); }

.cat-card h3,
.cat-card span,
.cat-card .cat-name {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-text);
  text-align: center;
  margin: 0;
  transition: color .3s var(--ease);
}
.cat-card:hover h3,
.cat-card:hover span,
.cat-card:hover .cat-name {
  color: var(--clr-gold);
}

@media (max-width: 600px) {
  .cat-grid { gap: 1rem; justify-content: flex-start; }
  .cat-card .cat-img-wrap { width: 80px; height: 80px; }
}

/* ============================================================
   11.  SHOP  PAGE  -  SMART FILTER
   ============================================================ */
.smart-filter {
  margin-bottom: 2rem;
}
.sf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sf-toolbar .sf-result-count {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin: 0;
}
.sf-toolbar .sf-result-count strong { color: var(--clr-text); }
.sf-sort {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}
.sf-sort select {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: .4rem .75rem;
  font-size: var(--fs-sm);
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-white);
  cursor: pointer;
}

.sf-categories {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--clr-border);
}
.sf-cat {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.15rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  background: var(--clr-white);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.sf-cat img {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}
.sf-cat:hover,
.sf-cat.active {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(196,149,32,.06);
}

.sf-inline-filters {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1.25rem;
}

.sf-chip-row {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}
.sf-chip-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-text);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.sf-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--clr-text-muted);
  background: var(--clr-white);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.sf-chip:hover,
.sf-chip.active {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
  background: rgba(196,149,32,.06);
}

.sf-chip-all {
  font-weight: 600;
  color: var(--clr-text);
}

.sf-swatch {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  border: 2px solid var(--clr-border);
  display: inline-block;
  flex-shrink: 0;
}

.sf-chip-img {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
}
.sf-chip-name { white-space: nowrap; }

.sf-result-count {
  font-size: var(--fs-sm);
  color: var(--clr-text-faint);
  margin-bottom: 1rem;
}

/* pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}
.page-num,
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  background: var(--clr-white);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}
.page-num:hover,
.page-btn:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.page-num.active {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-white);
  pointer-events: none;
}
.page-dots {
  padding: 0 .25rem;
  color: var(--clr-text-faint);
}

/* ============================================================
   12.  PRODUCT  DETAIL
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 2rem; }
}

/* gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-bg-section);
}
.gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.gallery-slide:first-child { position: relative; }
.gallery-slide.active { opacity: 1; z-index: 1; }
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--clr-white);
  border: 1px solid var(--clr-border-gold);
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all .3s var(--ease);
  box-shadow: 0 4px 16px rgba(196,149,32,.15);
}
.gallery-slider:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-white);
  box-shadow: 0 6px 24px rgba(196,149,32,.35);
  transform: translateY(-50%) scale(1.08);
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}
.gallery-dots span {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0,0,0,.2);
  cursor: pointer;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.gallery-dots span::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0;
  background: var(--clr-gold);
  border-radius: 2px;
  transition: width .35s var(--ease);
}
.gallery-dots span.active {
  width: 36px;
  background: rgba(0,0,0,.12);
}
.gallery-dots span.active::after {
  width: 100%;
}

.thumbs {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
}
.thumbs img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease), opacity var(--duration) var(--ease);
  opacity: .6;
}
.thumbs img:hover { opacity: .85; }
.thumbs img.active {
  border-color: var(--clr-gold);
  opacity: 1;
}

/* product info */
.product-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.category-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: .5rem;
}

.product-info h1 {
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  margin-bottom: .25rem;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin: .75rem 0 1rem;
}
.current-price {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--clr-gold);
}
.price-block .old-price {
  font-size: var(--fs-base);
  color: var(--clr-text-faint);
  text-decoration: line-through;
}

.short-desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* variant groups */
.variant-group {
  margin-bottom: 1.25rem;
}
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.label-row label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
}
.label-row span {
  font-size: var(--fs-xs);
  color: var(--clr-text-faint);
}

.group-swatches {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: .45rem .85rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text);
  background: var(--clr-white);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.swatch:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.swatch.selected {
  border-color: var(--clr-gold);
  background: var(--clr-gold);
  color: var(--clr-white);
}

/* color dot swatches */
.swatch .dot {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--clr-border);
  display: inline-block;
}
.swatch.selected .dot {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 2px var(--clr-white), 0 0 0 4px var(--clr-gold);
}

/* qty input */
.qty-input {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qty-input button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-text);
  background: var(--clr-bg-light);
  transition: background var(--duration) var(--ease);
  border: none;
  cursor: pointer;
}
.qty-input button:hover { background: var(--clr-border); }
.qty-input input {
  width: 50px;
  text-align: center;
  border: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  background: var(--clr-white);
  -moz-appearance: textfield;
}
.qty-input input::-webkit-inner-spin-button,
.qty-input input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* trust strip */
.trust-strip {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}
.trust-item i,
.trust-item svg {
  font-size: 1rem;
  color: var(--clr-gold);
}

/* description section (tabs / accordion) */
.desc-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}
.desc-section h3,
.desc-section h4 {
  font-size: var(--fs-md);
  margin-bottom: .75rem;
}
.desc-section p,
.desc-section li {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.8;
}
.desc-section ul { padding-left: 1.25rem; }
.desc-section ul li { list-style: disc; margin-bottom: .35rem; }

/* ============================================================
   13.  CART
   ============================================================ */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table th {
  text-align: left;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-text-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .85rem 1rem;
  border-bottom: 2px solid var(--clr-border);
}
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--clr-border);
  vertical-align: middle;
  font-size: var(--fs-sm);
}
.cart-table img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.cart-table .remove-btn {
  color: var(--clr-text-faint);
  font-size: var(--fs-sm);
  transition: color var(--duration) var(--ease);
  cursor: pointer;
  background: none;
  border: none;
}
.cart-table .remove-btn:hover { color: var(--clr-error); }

.cart-summary {
  background: var(--clr-bg-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
  border: 1px solid var(--clr-border);
}
.cart-summary .total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--clr-text);
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 2px solid var(--clr-border);
}

@media (max-width: 600px) {
  .cart-table thead { display: none; }
  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td { display: block; width: 100%; }
  .cart-table tr {
    margin-bottom: 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: .75rem;
  }
  .cart-table td { border: none; padding: .35rem .5rem; }
}

/* ============================================================
   14.  CHECKOUT
   ============================================================ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

.card {
  background: var(--clr-bg-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.card h3,
.card h4 {
  margin-bottom: 1rem;
}

/* ============================================================
   15.  ABOUT  PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, #f9f7f4 0%, #f3efe8 50%, #ece8e1 100%);
  color: var(--clr-text);
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-hero.has-banner {
  padding: 6rem 0 5.5rem;
  color: #fff;
}
.page-hero.has-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 100%);
  z-index: 1;
}
.page-hero.has-banner .container { position: relative; z-index: 2; }
.page-hero.has-banner h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.page-hero.has-banner .breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero.has-banner .breadcrumb a:hover { color: var(--clr-gold); }
.page-hero.has-banner .breadcrumb .sep,
.page-hero.has-banner .breadcrumb .current { color: rgba(255,255,255,.7); }
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--clr-gold);
  z-index: 2;
}
.page-hero h1 {
  font-family: var(--ff-heading);
  color: var(--clr-text);
  margin-bottom: .5rem;
}
.page-hero p {
  color: var(--clr-text-muted);
  max-width: 520px;
  margin: 0 auto;
}
.page-hero .breadcrumb a { color: var(--clr-text-muted); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .about-layout { grid-template-columns: 1fr; gap: 2rem; } }

.about-text .eyebrow {
  margin-bottom: .5rem;
}
.about-text h2 {
  font-family: var(--ff-heading);
  margin-bottom: 1.25rem;
}
.about-text h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--clr-gold);
  margin-top: .75rem;
}
.about-text p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-text blockquote {
  border-left: 3px solid var(--clr-gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--clr-text-muted);
  font-size: var(--fs-md);
  line-height: 1.8;
}
.about-list {
  padding-left: 1.25rem;
  margin: 1rem 0;
}
.about-list li {
  list-style: disc;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: .35rem;
}
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196,149,32,.12);
  pointer-events: none;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
  transition: transform .6s var(--ease);
}
.about-img:hover img {
  transform: scale(1.03);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-border-gold);
}
.value-card:hover::before {
  transform: scaleX(1);
}
.value-card i,
.value-card svg {
  font-size: 2rem;
  color: var(--clr-gold);
  margin-bottom: .75rem;
  display: block;
}
.value-card h4 { margin-bottom: .5rem; }
.value-card p { font-size: var(--fs-sm); }

/* ============================================================
   16.  ABOUT  PREVIEW  (Home)
   ============================================================ */
.about-preview {
  background: #fff;
}
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) { .about-preview-grid { grid-template-columns: 1fr; gap: 2rem; } }

.about-preview-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-preview-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196,149,32,.15);
  pointer-events: none;
}
.about-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.about-preview-img:hover img {
  transform: scale(1.03);
}

.about-preview-text .eyebrow {
  margin-bottom: .5rem;
}
.about-preview-text h2 {
  font-family: var(--ff-heading);
  margin-bottom: 1.25rem;
}
.about-preview-text h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--clr-gold);
  margin-top: .75rem;
}
.about-preview-text p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

/* ============================================================
   16b.  SIGNATURE STANDARDS (Home)
   ============================================================ */
.signature-standards {
  background: var(--clr-bg-light);
}
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) { .standards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .standards-grid { grid-template-columns: 1fr; } }

.standard-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.standard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.standard-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-border-gold);
}
.standard-card:hover::before {
  transform: scaleX(1);
}
.standard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(196,149,32,.08);
  color: var(--clr-gold);
  margin-bottom: 1rem;
}
.standard-card h4 {
  font-size: var(--fs-base);
  margin-bottom: .5rem;
}
.standard-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin: 0;
}

/* ============================================================
   17.  COLLECTIONS
   ============================================================ */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.collection-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  text-decoration: none;
  display: block;
  background: linear-gradient(145deg, #1a1611 0%, #2c2318 40%, #1a1410 100%);
  border: 1px solid rgba(196,149,32,.15);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
  border-color: rgba(196,149,32,.35);
}
.collection-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.collection-card:hover img { transform: scale(1.06); }

.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.75rem;
  color: var(--clr-white);
  transition: background .4s var(--ease);
}
.collection-card:hover .collection-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.15) 65%);
}
.collection-overlay::before {
  content: '';
  position: absolute;
  top: 1.25rem;
  left: 1.75rem;
  width: 28px;
  height: 1px;
  background: var(--clr-gold);
  opacity: .6;
  transition: width .4s var(--ease);
}
.collection-card:hover .collection-overlay::before {
  width: 48px;
  opacity: 1;
}
.collection-overlay h3 {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  margin-bottom: .65rem;
  transform: translateY(0);
  transition: transform .4s var(--ease);
}
.collection-card:hover .collection-overlay h3 {
  transform: translateY(-4px);
}
.collection-overlay .btn {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.collection-card:hover .collection-overlay .btn {
  opacity: 1;
  transform: translateY(0);
}
.collection-overlay p {
  color: rgba(255,255,255,.8);
  font-size: var(--fs-sm);
}

/* ============================================================
   18.  CONTACT
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info h2 {
  font-family: var(--ff-heading);
  margin-bottom: .5rem;
}
.contact-info > p {
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--clr-bg-light);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
}
.contact-card i,
.contact-card svg {
  font-size: 1.25rem;
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-card h4 {
  font-size: var(--fs-sm);
  margin-bottom: .2rem;
}
.contact-card p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.contact-form-wrap {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-success {
  text-align: center;
  padding: 2rem;
}
.contact-success i,
.contact-success svg {
  font-size: 2.5rem;
  color: var(--clr-success);
  margin-bottom: .75rem;
  display: block;
}

/* ============================================================
   19.  NEWSLETTER
   ============================================================ */
.newsletter {
  background: linear-gradient(135deg, #f9f7f4 0%, #f3efe8 100%);
  padding: 72px 0;
  position: relative;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: var(--clr-gold);
}
.newsletter-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-inner .eyebrow {
  color: var(--clr-gold);
}
.newsletter-inner h2 {
  font-family: var(--ff-heading);
  margin-bottom: .5rem;
  color: var(--clr-text);
}
.newsletter-inner p {
  color: var(--clr-text-muted);
  margin-bottom: 1.75rem;
  font-size: var(--fs-sm);
}

.newsletter-form {
  display: flex;
  gap: .5rem;
  max-width: 420px;
  margin: 0 auto;
}
.newsletter-field {
  display: flex;
  gap: .5rem;
  width: 100%;
}
.newsletter-form input,
.newsletter-field input {
  flex: 1;
  padding: .75rem 1.15rem;
  border: 1px solid var(--clr-border-med);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  background: #fff;
  color: var(--clr-text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.newsletter-form input:focus,
.newsletter-field input:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(196,149,32,.1);
}
.newsletter-form .btn,
.newsletter-field .btn {
  flex-shrink: 0;
}
.newsletter-msg {
  display: block;
  margin-top: .5rem;
  font-size: var(--fs-xs);
  color: var(--clr-success);
}

@media (max-width: 480px) {
  .newsletter-form,
  .newsletter-field { flex-direction: column; }
}

/* ============================================================
   20.  FOOTER
   ============================================================ */
.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,.7);
  padding: 4.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  margin-bottom: .75rem;
  display: block;
}
.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: .75rem;
  filter: brightness(0) invert(1);
  opacity: .85;
  transition: opacity .2s;
}
.footer-logo:hover { opacity: 1; }

.site-footer h4 {
  color: var(--clr-white);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255,255,255,.65);
  font-size: var(--fs-sm);
  display: block;
  padding: .25rem 0;
  transition: color var(--duration) var(--ease);
}
.site-footer a:hover { color: var(--clr-gold); }

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: all var(--duration) var(--ease);
  padding: 0;
}
.footer-social a:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.6);
  transition: color var(--duration) var(--ease);
}
.footer-bottom a:hover { color: var(--clr-gold); }

/* ============================================================
   21.  MOBILE  BOTTOM  NAV
   ============================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--clr-white);
  border-top: 1px solid var(--clr-border);
  padding: .4rem 0 env(safe-area-inset-bottom, .35rem);
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}

@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; justify-content: space-around; }
  body { padding-bottom: 64px; }
}

.mbn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: .65rem;
  font-weight: 500;
  color: #c9a84c;
  text-decoration: none;
  position: relative;
  padding: .35rem .5rem;
  transition: all var(--duration) var(--ease);
}
.mbn-item i,
.mbn-item svg {
  font-size: 1.2rem;
  stroke-width: 1.6;
}
.mbn-item.active {
  color: #d4a520;
  font-weight: 700;
}
.mbn-item:hover {
  color: #d4a520;
}
.mbn-badge {
  position: absolute;
  top: 0;
  right: .15rem;
  background: var(--clr-gold);
  color: var(--clr-white);
  font-size: .55rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: var(--radius-full);
}

/* ============================================================
   22.  BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-faint);
  padding: 1rem 0;
}
.breadcrumb a {
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.breadcrumb a:hover { color: var(--clr-gold); }
.breadcrumb .sep { color: var(--clr-text-faint); font-size: .75rem; }
.breadcrumb .current { color: var(--clr-text); font-weight: 500; }

/* ============================================================
   23.  FLASH  MESSAGES
   ============================================================ */
.flash {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  animation: flashIn .35s var(--ease) both;
}
.flash-success {
  background: var(--clr-success-bg);
  color: var(--clr-success);
  border-color: rgba(5,150,105,.15);
}
.flash-error {
  background: var(--clr-error-bg);
  color: var(--clr-error);
  border-color: rgba(220,38,38,.15);
}
.flash-warning {
  background: var(--clr-warning-bg);
  color: var(--clr-warning);
  border-color: rgba(217,119,6,.15);
}
.flash-info {
  background: var(--clr-info-bg);
  color: var(--clr-info);
  border-color: rgba(37,99,235,.15);
}

@keyframes flashIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   24.  FORMS
   ============================================================ */
label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: .4rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  color: var(--clr-text);
  background: var(--clr-bg-input);
  outline: none;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(196,149,32,.10);
}
input::placeholder,
textarea::placeholder {
  color: var(--clr-text-faint);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  margin-bottom: 1.15rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* checkbox / radio custom */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  accent-color: var(--clr-gold);
}

/* ============================================================
   25.  EMPTY  STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
}
.empty-state i,
.empty-state svg {
  font-size: 3rem;
  color: var(--clr-text-faint);
  margin-bottom: 1rem;
  display: block;
}
.empty-state h3 {
  font-size: var(--fs-xl);
  margin-bottom: .5rem;
}
.empty-state p {
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   26.  UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.muted { color: var(--clr-text-muted); }

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-gap { gap: 1rem; }

.hidden  { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ============================================================
   27.  SECTION  TITLES
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-title .eyebrow {
  display: block;
  margin-bottom: .5rem;
}
.section-title h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-3xl);
}
.section-title h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--clr-gold);
  margin: .75rem auto 0;
}
.section-title p {
  max-width: 560px;
  margin: .75rem auto 0;
  color: var(--clr-text-muted);
  font-size: var(--fs-base);
}

@media (max-width: 768px) {
  .section-title h2 { font-size: var(--fs-2xl); }
}

/* ============================================================
   28.  PAGE  CONTENT
   ============================================================ */
.page-content {
  min-height: 50vh;
  padding: 2rem 0 4rem;
}

/* ============================================================
   29.  LOGIN  /  AUTH
   ============================================================ */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--clr-bg-light);
  padding: 2rem;
}
.login-shell {
  width: 100%;
  max-width: 440px;
}
.login-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-lg);
}
.login-brand {
  text-align: center;
  font-family: var(--ff-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: .35rem;
}
.login-sub {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: 1.75rem;
}
.login-card .form-row { margin-bottom: 1rem; }
.login-card .btn-gold { width: 100%; margin-top: .5rem; }

.login-card .login-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}
.login-card .login-footer a {
  color: var(--clr-gold);
  font-weight: 600;
}

/* ============================================================
   30 - 39.  ADMIN  PANEL
   ============================================================ */

/* ------ 30. Admin Layout ------ */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: var(--admin-sidebar-w);
  background: var(--admin-sidebar-bg);
  color: rgba(255,255,255,.8);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: var(--z-sticky);
  transition: transform var(--duration-lg) var(--ease);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.admin-content {
  flex: 1;
  margin-left: var(--admin-sidebar-w);
  background: #f6f6f3;
  min-height: 100vh;
  padding: 2rem 2.25rem;
}

@media (max-width: 900px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-content {
    margin-left: 0;
    padding: 1.25rem 1rem;
  }
}

/* ------ 31. Admin Sidebar ------ */
.admin-brand {
  padding: 1.35rem 1.25rem .85rem;
  font-family: var(--ff-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: .5rem;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.admin-brand small {
  display: block;
  font-family: var(--ff-body);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: .15rem;
}
.admin-brand:hover { color: var(--clr-gold); }

.admin-sidebar nav {
  flex: 1;
  padding: .5rem 0;
}
.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1.25rem;
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.65);
  border-radius: 0;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  position: relative;
}
.admin-sidebar nav a:hover {
  background: rgba(255,255,255,.06);
  color: var(--clr-white);
}
.admin-sidebar nav a.active {
  background: rgba(196,149,32,.12);
  color: var(--clr-gold);
  font-weight: 600;
}
.admin-sidebar nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--clr-gold);
  border-radius: 0 3px 3px 0;
}

.admin-sidebar nav a i,
.admin-sidebar nav a svg {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: var(--clr-gold);
  color: var(--clr-white);
  font-size: .65rem;
  font-weight: 700;
  padding: .1rem .45rem;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

.admin-sidebar .sidebar-section {
  padding: .75rem 1.25rem .35rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
}

.nav-divider {
  height: 1px;
  background: rgba(255,255,255,.08);
  margin: .5rem 1.25rem;
}

/* ------ 32. Admin Header ------ */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.admin-header h1 {
  font-size: var(--fs-xl);
  font-weight: 700;
  font-family: var(--ff-body);
  color: var(--clr-text);
}
.admin-header .btn { flex-shrink: 0; }

/* ------ 33. Admin Cards ------ */
.admin-content .card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow var(--duration) var(--ease);
}
.admin-content .card:hover {
  box-shadow: var(--shadow-md);
}
.admin-content .card + .card { margin-top: 1.25rem; }
.admin-content .card h2 {
  font-size: var(--fs-lg);
  font-family: var(--ff-body);
  font-weight: 600;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--clr-border);
}
.admin-content .card h3,
.admin-content .card h4 {
  margin-bottom: 1rem;
  font-size: var(--fs-md);
}

/* ------ 34. Admin Tables ------ */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  font-size: .68rem;
  font-weight: 700;
  color: var(--clr-text-faint);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .85rem 1rem;
  border-bottom: 2px solid var(--clr-border);
  white-space: nowrap;
  background: var(--clr-bg-light);
}
.admin-table td {
  padding: .85rem 1rem;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
  vertical-align: middle;
}
.admin-table tbody tr {
  transition: background var(--duration) var(--ease);
}
.admin-table tbody tr:hover {
  background: rgba(196,149,32,.04);
}
.admin-table tbody tr:last-child td { border-bottom: none; }

.admin-table .thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--clr-bg-section);
  border: 1px solid var(--clr-border);
}

/* badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  font-size: .7rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  white-space: nowrap;
  letter-spacing: .02em;
}
.badge-published  { background: #ecfdf5; color: #059669; }
.badge-draft      { background: #f3f4f6; color: #6b7280; }
.badge-pending    { background: #fffbeb; color: #d97706; }
.badge-confirmed  { background: #eff6ff; color: #2563eb; }
.badge-processing { background: #fef3c7; color: #92400e; }
.badge-shipped    { background: #dbeafe; color: #1d4ed8; }
.badge-completed  { background: #ecfdf5; color: #059669; }
.badge-cancelled  { background: #fef2f2; color: #dc2626; }

/* ------ 35. Stats Grid ------ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
  transform-origin: left;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-border-gold);
}
.stat-card:hover::before {
  transform: scaleX(1);
}
.stat-card .stat-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-text-faint);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}
.stat-card .stat-value {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.2;
}
.stat-card .stat-change {
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-top: .35rem;
}
.stat-card .stat-change.up   { color: var(--clr-success); }
.stat-card .stat-change.down { color: var(--clr-error); }

/* ------ 36. Product Edit ------ */
.product-edit-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 900px) { .product-edit-grid { grid-template-columns: 1fr; } }

.inline-add {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.inline-add input {
  flex: 1;
}

/* chips (tag/category selector) */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .75rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--clr-text-muted);
  background: var(--clr-white);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}
.chip:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold);
}
.chip.selected {
  border-color: var(--clr-gold);
  background: var(--clr-gold);
  color: var(--clr-white);
}
.chip .chip-remove {
  font-size: .75rem;
  opacity: .7;
  cursor: pointer;
}
.chip .chip-remove:hover { opacity: 1; }

.chip-swatch {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0,0,0,.1);
  flex-shrink: 0;
}

/* variant images */
.variant-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.variant-image-card {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: .75rem;
  text-align: center;
  transition: border-color var(--duration) var(--ease);
}
.variant-image-card:hover { border-color: var(--clr-border-med); }

.vi-label {
  display: flex;
  align-items: center;
  gap: .35rem;
  justify-content: center;
  margin-bottom: .5rem;
}
.vi-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0,0,0,.1);
}
.vi-name {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--clr-text);
}

.vi-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: .5rem;
  background: var(--clr-bg-section);
}
.vi-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--clr-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-faint);
  font-size: 2rem;
  margin-bottom: .5rem;
}

.vi-choose,
.vi-remove {
  font-size: var(--fs-xs);
  cursor: pointer;
  transition: color var(--duration) var(--ease);
  background: none;
  border: none;
}
.vi-choose { color: var(--clr-gold); font-weight: 600; }
.vi-choose:hover { color: var(--clr-gold-hover); }
.vi-remove { color: var(--clr-text-faint); margin-left: .5rem; }
.vi-remove:hover { color: var(--clr-error); }

/* image uploader */
.image-uploader {
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.image-uploader:hover {
  border-color: var(--clr-gold);
  background: rgba(196,149,32,.03);
}
.image-uploader i,
.image-uploader svg {
  font-size: 2rem;
  color: var(--clr-text-faint);
  margin-bottom: .5rem;
  display: block;
}
.image-uploader p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}

.upload-thumb {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--clr-border);
}
.upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--clr-border);
}
.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview .remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: rgba(0,0,0,.6);
  color: var(--clr-white);
  font-size: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  border: none;
}
.preview .remove:hover { background: var(--clr-error); }

/* ------ 37. Slider Admin ------ */
.slider-admin-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.slider-admin-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  transition: border-color var(--duration) var(--ease);
}
.slider-admin-item:hover { border-color: var(--clr-border-med); }

.slider-admin-thumb {
  width: 80px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--clr-bg-section);
  flex-shrink: 0;
}
.slider-admin-idx {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--clr-text-faint);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.slider-admin-detail {
  flex: 1;
  min-width: 0;
}
.slider-admin-detail h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: .15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slider-admin-detail p {
  font-size: var(--fs-xs);
  color: var(--clr-text-faint);
  margin: 0;
}

.slider-admin-actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

.slide-edit-toggle {
  font-size: var(--fs-xs);
  color: var(--clr-gold);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--duration) var(--ease);
}
.slide-edit-toggle:hover { color: var(--clr-gold-hover); }

/* ------ 38. Messages (admin inbox) ------ */
.msg-unread {
  background: rgba(196,149,32,.04);
  font-weight: 600;
}
.msg-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--clr-border);
  margin-right: .5rem;
}
.msg-dot.unread { background: var(--clr-gold); }

.msg-detail {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.msg-detail h2 { margin-bottom: .5rem; }
.msg-detail .msg-meta {
  font-size: var(--fs-sm);
  color: var(--clr-text-faint);
  margin-bottom: 1.5rem;
}

.msg-body {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.8;
}
.msg-body p + p { margin-top: 1rem; }

/* ------ 39. Admin Actions ------ */
.actions {
  display: flex;
  gap: .35rem;
  align-items: center;
}
.actions a,
.actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .6rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.actions .btn-edit {
  color: var(--clr-info);
  background: var(--clr-info-bg);
}
.actions .btn-edit:hover { background: #dbeafe; }
.actions .btn-delete,
.actions .btn-danger {
  color: var(--clr-error);
  background: var(--clr-error-bg);
}
.actions .btn-delete:hover,
.actions .btn-danger:hover { background: #fee2e2; }
.actions .btn-view {
  color: var(--clr-text-muted);
  background: var(--clr-bg-light);
}
.actions .btn-view:hover { background: var(--clr-border); }

/* ============================================================
   40.  ANIMATIONS
   ============================================================ */

/* --- Fade-in on scroll --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-in.visible,
.fade-in.no-animate {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: show content after 1s even if JS observer doesn't fire */
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}

/* stagger children */
.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.fade-in-stagger.visible > *:nth-child(1) { transition-delay: .05s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: .10s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: .15s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: .20s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: .25s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: .30s; }
.fade-in-stagger.visible > *:nth-child(7) { transition-delay: .35s; }
.fade-in-stagger.visible > *:nth-child(8) { transition-delay: .40s; }
.fade-in-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* slide caption entrance */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* gentle pulse (for loading states, etc.) */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}
.animate-pulse { animation: pulse 2s var(--ease) infinite; }

/* spin (for loaders) */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin { animation: spin .75s linear infinite; }

/* shimmer (skeleton loader) */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--clr-bg-section) 25%, var(--clr-border) 37%, var(--clr-bg-section) 63%);
  background-size: 800px 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: var(--radius-sm);
}

/* ============================================================
   41.  SCROLL-BAR  STYLING
   ============================================================ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--clr-bg-light); }
::-webkit-scrollbar-thumb {
  background: var(--clr-border-med);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--clr-text-faint); }

/* ============================================================
   42.  RESPONSIVE  OVERRIDES
   ============================================================ */

/* ---------- MAX 1024px ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.85rem; }
  .container { max-width: 960px; }
}

/* ---------- MAX 768px ---------- */
@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .header-inner { height: 56px; }
  .brand { font-size: 1.1rem; }
  .brand img { height: 32px; }

  .header-search-wrap { max-width: 100%; order: 10; flex-basis: 100%; margin-top: .5rem; }

  .checkout-grid { gap: 1.5rem; }
  .cart-summary { padding: 1.25rem; }

  .about-values { grid-template-columns: 1fr; }
  .contact-layout { gap: 2rem; }

  .footer-grid { gap: 1.5rem; }
  .footer-bottom { justify-content: center; text-align: center; }

  /* admin responsive */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-edit-grid { grid-template-columns: 1fr; }
}

/* ---------- MAX 480px ---------- */
@media (max-width: 480px) {
  .btn { padding: .6rem 1.25rem; font-size: var(--fs-xs); }
  .btn-lg { padding: .75rem 1.5rem; font-size: var(--fs-sm); }

  .slide-caption h1,
  .slide-caption h2 { font-size: 1.5rem; }

  .product-grid { gap: .75rem; }
  .card-body { padding: .75rem; }
  .card-body h3 { font-size: .8rem; }

  .product-detail { gap: 1.5rem; }
  .thumbs img { width: 56px; height: 56px; }

  .stats-grid { grid-template-columns: 1fr; }

  .login-card { padding: 1.75rem 1.25rem; }
}

/* ============================================================
   43.  PRINT
   ============================================================ */
@media print {
  .site-header,
  .site-footer,
  .mobile-bottom-nav,
  .announce-bar,
  .mobile-drawer,
  .drawer-overlay,
  .admin-sidebar { display: none !important; }
  .admin-content { margin-left: 0 !important; }
  body { color: #000; background: #fff; }
  .card, .product-card, .stat-card { box-shadow: none; border: 1px solid #ccc; }
}
