/* ============================================================================
   TM FASHIONS — LUXURY FASHION DESIGNER WEBSITE
   Pure HTML5 + CSS3. Mobile-first. No frameworks.
   Palette: white · champagne gold · beige · soft pastels
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------------------- */
:root {
  /* Colour ramps */
  --gold-50:  #fbf7ee;
  --gold-100: #f6edda;
  --gold-200: #ecd9b0;
  --gold-300: #dcbf7e;
  --gold-400: #c9a24f;   /* primary champagne gold */
  --gold-500: #ad8138;
  --gold-600: #8a6128;

  --beige-50:  #faf8f4;
  --beige-100: #f3ede2;
  --beige-200: #e8ddc8;
  --beige-300: #d8c7a8;
  --beige-400: #c2a87f;

  --ink-900: #1c1a17;
  --ink-800: #2b2823;
  --ink-700: #3d3933;
  --ink-600: #57524a;
  --ink-500: #756f65;
  --ink-400: #9a938a;
  --ink-300: #c4bdb4;
  --ink-200: #e2ddd6;
  --ink-100: #f1eee9;

  --white: #ffffff;
  --cream: #fdfbf6;

  /* Accents */
  --rose:    #d8a7a0;
  --rose-50: #f7ecea;
  --mint:    #b9c9b6;
  --mint-50: #eef3ec;
  --sky:     #a9c0ce;
  --sky-50:  #eaf0f4;

  --success: #6b8e6b;
  --warning: #c9a24f;
  --error:   #b0584e;

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Jost", sans-serif;

  /* Spacing — 8px system */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Layout */
  --container: 1280px;
  --container-narrow: 980px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28,26,23,.06);
  --shadow: 0 8px 30px rgba(28,26,23,.08);
  --shadow-lg: 0 24px 60px rgba(28,26,23,.14);
  --shadow-gold: 0 14px 40px rgba(201,162,79,.22);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --dur: .5s;
  --dur-slow: .9s;

  /* Header */
  --header-h: 84px;
}

/* ----------------------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink-900);
  margin: 0;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1rem 0; }

a { color: var(--ink-800); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--gold-500); }

img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold-200); color: var(--ink-900); }

/* ----------------------------------------------------------------------------
   3. TYPOGRAPHY HELPERS
   ---------------------------------------------------------------------------- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--gold-500);
  display: inline-block;
}
.serif { font-family: var(--font-display); }
.lead { font-size: 1.15rem; line-height: 1.8; color: var(--ink-600); }
.text-center { text-align: center; }
.muted { color: var(--ink-500); }
.gold { color: var(--gold-500); }

.price {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 500;
}
.price .from { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-400); font-family: var(--font-body); display: block; margin-bottom: .15rem; }
.price .amount { font-size: 1.5rem; }

/* ----------------------------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--space-9) 0; }
.section--tight { padding: var(--space-7) 0; }
.section--cream { background: var(--cream); }
.section--beige { background: var(--beige-100); }
.section--ink { background: var(--ink-900); color: var(--beige-100); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--gold-300); }

.section-head { max-width: 640px; margin: 0 auto var(--space-7); text-align: center; }
.section-head p { margin-top: var(--space-2); color: var(--ink-500); }

.divider {
  width: 64px; height: 1px; background: var(--gold-400);
  margin: var(--space-2) auto; position: relative;
}
.divider::before, .divider::after {
  content: ""; position: absolute; top: 50%; width: 22px; height: 1px; background: var(--gold-300);
}
.divider::before { right: 100%; margin-right: 10px; }
.divider::after { left: 100%; margin-left: 10px; }
.section-head .divider { margin-top: var(--space-3); }

/* ----------------------------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 2.2rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: all var(--dur) var(--ease);
  position: relative; overflow: hidden;
  border: 1px solid transparent;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 18px 50px rgba(201,162,79,.32); }
.btn--outline {
  background: transparent; color: var(--ink-900);
  border-color: var(--ink-300);
}
.btn--outline:hover { border-color: var(--gold-400); color: var(--gold-500); background: var(--gold-50); }
.btn--light {
  background: rgba(255,255,255,.92); color: var(--ink-900); backdrop-filter: blur(6px);
}
.btn--light:hover { background: var(--white); transform: translateY(-2px); }
.btn--ghost-light {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.5);
}
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }
.btn--block { width: 100%; }
.btn--sm { padding: .7rem 1.5rem; font-size: .7rem; }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5a; color: #fff; transform: translateY(-2px); }

/* ----------------------------------------------------------------------------
   6. HEADER / NAV
   ---------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), height var(--dur) var(--ease);
  background: transparent;
}
.site-header.is-scrolled {
  background: rgba(253,251,246,.92);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(201,162,79,.18), var(--shadow-sm);
  height: 70px;
}
.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav-link { color: var(--ink-800); }
.site-header.is-scrolled .nav-link:hover { color: var(--gold-500); }
.site-header.is-scrolled .hamburger span { background: var(--ink-800); }

.nav {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600;
  letter-spacing: .22em; color: var(--white);
  transition: color var(--dur) var(--ease);
}
.brand .brand-mark { color: var(--gold-400); }
.brand small { display: block; font-family: var(--font-body); font-size: .55rem; letter-spacing: .5em; font-weight: 300; color: var(--gold-300); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: var(--space-5); }
.nav-link {
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  color: var(--white); position: relative; padding: .4rem 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold-400); transition: width var(--dur) var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--gold-400); }

.nav-cta { display: flex; align-items: center; gap: var(--space-3); }

.hamburger {
  display: none; width: 34px; height: 34px; position: relative; z-index: 110;
}
.hamburger span {
  display: block; position: absolute; left: 4px; width: 26px; height: 1.5px;
  background: var(--white); transition: all var(--dur) var(--ease);
}
.hamburger span:nth-child(1) { top: 9px; }
.hamburger span:nth-child(2) { top: 16px; }
.hamburger span:nth-child(3) { top: 23px; }
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg); top: 16px; }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg); top: 16px; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 105;
  background: var(--ink-900);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-4);
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
}
.mobile-nav.is-open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 2rem; color: var(--white);
  letter-spacing: .04em; opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color var(--dur);
}
.mobile-nav.is-open a { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open a:nth-child(1) { transition-delay: .12s; }
.mobile-nav.is-open a:nth-child(2) { transition-delay: .18s; }
.mobile-nav.is-open a:nth-child(3) { transition-delay: .24s; }
.mobile-nav.is-open a:nth-child(4) { transition-delay: .30s; }
.mobile-nav.is-open a:nth-child(5) { transition-delay: .36s; }
.mobile-nav a:hover { color: var(--gold-300); }
.mobile-nav .mobile-cta { margin-top: var(--space-3); }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
}

/* ----------------------------------------------------------------------------
   7. HERO
   ---------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 1;
  background: url("https://images.pexels.com/photos/13155751/pexels-photo-13155751.jpeg?auto=compress&cs=tinysrgb&w=1920") center/cover no-repeat;
  transform: scale(1.08);
  animation: heroZoom 14s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(28,26,23,.42) 0%, rgba(28,26,23,.25) 40%, rgba(28,26,23,.62) 100%);
}
.hero__content { position: relative; z-index: 3; padding: var(--space-7) var(--space-2); max-width: 820px; }
.hero__content .eyebrow { color: var(--gold-200); }
.hero h1 { color: var(--white); margin: var(--space-3) 0; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero h1 em { font-style: italic; color: var(--gold-200); }
.hero__tagline { font-size: 1.15rem; font-weight: 300; color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto var(--space-5); letter-spacing: .02em; }
.hero__actions { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.7); font-size: .65rem; letter-spacing: .3em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 40px; background: rgba(255,255,255,.5);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(.2); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ----------------------------------------------------------------------------
   8. CATEGORIES GRID
   ---------------------------------------------------------------------------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3);
}
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3/4; display: block; background: var(--beige-100);
  box-shadow: var(--shadow-sm);
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
  filter: saturate(.92);
}
.cat-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(28,26,23,.72) 100%);
  transition: background .5s var(--ease);
}
.cat-card:hover img { transform: scale(1.08); filter: saturate(1); }
.cat-card__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: var(--space-3); text-align: center; color: var(--white);
}
.cat-card__label span {
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .08em;
  display: block; position: relative; padding-bottom: .4rem;
}
.cat-card__label span::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 1px; background: var(--gold-300); transition: width .5s var(--ease);
}
.cat-card:hover .cat-card__label span::after { width: 36px; }

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); } .cat-card__label span { font-size: 1rem; } }

/* ----------------------------------------------------------------------------
   9. PRODUCT CARDS
   ---------------------------------------------------------------------------- */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__media {
  position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--beige-100);
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--gold-600);
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: var(--radius-full); backdrop-filter: blur(4px);
}
.product-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card__code { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-500); }
.product-card__name { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-900); line-height: 1.2; }
.product-card__meta { font-size: .82rem; color: var(--ink-500); }
.product-card__foot { margin-top: auto; padding-top: var(--space-2); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.product-card__foot .price .amount { font-size: 1.25rem; }
.product-card__view {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-800);
  display: inline-flex; align-items: center; gap: .4rem; padding-bottom: .3rem; border-bottom: 1px solid var(--ink-300);
  transition: color var(--dur), border-color var(--dur), gap var(--dur);
}
.product-card__view:hover { color: var(--gold-500); border-color: var(--gold-400); gap: .7rem; }

/* ----------------------------------------------------------------------------
   10. EXPERIENCE / FEATURES STRIP
   ---------------------------------------------------------------------------- */
.features {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3);
}
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }
.feature {
  text-align: center; padding: var(--space-3);
  border: 1px solid rgba(201,162,79,.22); border-radius: var(--radius);
  background: rgba(253,251,246,.5);
  transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.feature:hover { transform: translateY(-4px); border-color: var(--gold-300); }
.feature__icon {
  width: 52px; height: 52px; margin: 0 auto var(--space-2);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--gold-50); color: var(--gold-500);
  border: 1px solid var(--gold-200);
}
.feature__icon svg { width: 24px; height: 24px; stroke-width: 1.4; }
.feature h4 { font-family: var(--font-body); font-weight: 400; font-size: .95rem; letter-spacing: .04em; margin-bottom: .3rem; }
.feature p { font-size: .82rem; color: var(--ink-500); margin: 0; }

/* ----------------------------------------------------------------------------
   11. PAGE BANNER (inner pages)
   ---------------------------------------------------------------------------- */
.page-banner {
  position: relative; min-height: 52vh; display: flex; align-items: center;
  justify-content: center; text-align: center; color: var(--white); overflow: hidden;
  padding-top: var(--header-h);
}
.page-banner__bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 12s var(--ease-out) forwards; }
.page-banner__overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(28,26,23,.5), rgba(28,26,23,.55)); }
.page-banner__content { position: relative; z-index: 3; padding: var(--space-5) var(--space-2); }
.page-banner h1 { color: var(--white); margin: var(--space-2) 0; }
.page-banner p { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto; }

.breadcrumb { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold-200); }
.breadcrumb span { margin: 0 .4rem; color: var(--gold-300); }

/* ----------------------------------------------------------------------------
   12. DESIGNS PAGE — FILTERS
   ---------------------------------------------------------------------------- */
.designs-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  flex-wrap: wrap; margin-bottom: var(--space-5);
}
.search-box {
  position: relative; flex: 1; min-width: 220px; max-width: 360px;
}
.search-box input {
  width: 100%; padding: .8rem 1rem .8rem 2.6rem;
  border: 1px solid var(--ink-200); border-radius: var(--radius-full);
  background: var(--white); font-family: inherit; font-size: .9rem; color: var(--ink-800);
  transition: border-color var(--dur);
}
.search-box input:focus { outline: none; border-color: var(--gold-400); }
.search-box svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--ink-400); }

.filter-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip {
  padding: .55rem 1.2rem; border-radius: var(--radius-full);
  border: 1px solid var(--ink-200); background: var(--white);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-600);
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--gold-300); color: var(--gold-500); }
.chip.active { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }

.no-results { text-align: center; padding: var(--space-7) 0; color: var(--ink-500); }
.no-results h3 { margin-bottom: var(--space-2); }

/* ----------------------------------------------------------------------------
   13. PRODUCT DETAIL
   ---------------------------------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-6); align-items: start; }
@media (max-width: 900px) { .product-detail { grid-template-columns: 1fr; gap: var(--space-4); } }

.gallery { position: sticky; top: 96px; z-index: 1; }
@media (max-width: 900px) { .gallery { position: static; z-index: auto; } }
.gallery__main {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--beige-100); box-shadow: var(--shadow);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: opacity .4s var(--ease); }
.gallery__main .zoom-hint { position: absolute; bottom: 14px; right: 14px; background: rgba(255,255,255,.85); color: var(--ink-600); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--radius-full); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin-top: .6rem; }
.gallery__thumb {
  aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent;
  background: var(--beige-100); transition: border-color var(--dur);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.active { border-color: var(--gold-400); }
.gallery__thumb:hover { border-color: var(--gold-300); }

.info-block { padding-top: .5rem; }
.info-block .eyebrow { color: var(--gold-500); }
.info-block h1 { margin: var(--space-2) 0 .3rem; }
.info-block .code { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-400); margin-bottom: var(--space-3); }
.info-block .desc { color: var(--ink-600); margin-bottom: var(--space-4); }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2) var(--space-3); margin-bottom: var(--space-4); }
.spec { padding: .8rem 0; border-bottom: 1px solid var(--ink-100); }
.spec dt { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-400); margin-bottom: .25rem; }
.spec dd { margin: 0; font-size: .95rem; color: var(--ink-800); font-family: var(--font-display); }
.spec dd .pill { display: inline-block; background: var(--gold-50); color: var(--gold-600); border: 1px solid var(--gold-200); border-radius: var(--radius-full); padding: .15rem .6rem; font-size: .72rem; font-family: var(--font-body); margin: .15rem .2rem 0 0; }

/* Material table */
.material-table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-4); }
.material-table th, .material-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--ink-100); font-size: .9rem; }
.material-table th { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-400); font-weight: 400; }
.material-table td { color: var(--ink-800); }
.material-table tr:last-child td { border-bottom: none; }
.material-table .amt { font-family: var(--font-display); color: var(--ink-900); }

/* Price summary */
.price-summary {
  background: var(--gold-50); border: 1px solid var(--gold-200); border-radius: var(--radius-lg);
  padding: var(--space-3); margin-bottom: var(--space-4);
}
.price-summary__row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .92rem; color: var(--ink-700); }
.price-summary__row span:last-child { font-family: var(--font-display); color: var(--ink-900); }
.price-summary__row--total { border-top: 1px solid var(--gold-200); margin-top: .4rem; padding-top: .9rem; }
.price-summary__row--total span:first-child { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-600); }
.price-summary__row--total span:last-child { font-size: 1.7rem; color: var(--gold-600); }

/* Stitching tier cards */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); margin-bottom: var(--space-4); }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative; border: 1px solid var(--ink-200); border-radius: var(--radius); padding: var(--space-3);
  background: var(--white); cursor: pointer; transition: all var(--dur) var(--ease);
  text-align: left;
}
.tier:hover { border-color: var(--gold-300); transform: translateY(-3px); }
.tier.selected { border-color: var(--gold-400); background: var(--gold-50); box-shadow: var(--shadow-gold); }
.tier__tag { position: absolute; top: -10px; right: 14px; background: var(--gold-400); color: #fff; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; padding: .2rem .6rem; border-radius: var(--radius-full); }
.tier h4 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .3rem; }
.tier__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-600); margin-bottom: .5rem; }
.tier p { font-size: .82rem; color: var(--ink-500); margin-bottom: .6rem; }
.tier ul { font-size: .78rem; color: var(--ink-600); }
.tier ul li { padding: .15rem 0; padding-left: 1rem; position: relative; }
.tier ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-400); }

/* Customization panel */
.custom-panel { border: 1px solid var(--ink-200); border-radius: var(--radius-lg); padding: var(--space-3); margin-bottom: var(--space-4); background: var(--white); }
.custom-panel h3 { margin-bottom: var(--space-2); }
.custom-group { margin-bottom: var(--space-3); }
.custom-group > label { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-400); margin-bottom: .5rem; }
.custom-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt {
  padding: .5rem 1rem; border: 1px solid var(--ink-200); border-radius: var(--radius-full);
  font-size: .8rem; color: var(--ink-700); background: var(--white);
  transition: all var(--dur) var(--ease);
}
.opt:hover { border-color: var(--gold-300); }
.opt.selected { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
.opt .opt-price { font-size: .68rem; opacity: .7; margin-left: .3rem; }

.select-field {
  width: 100%; padding: .7rem 1rem; border: 1px solid var(--ink-200); border-radius: var(--radius);
  background: var(--white); font-family: inherit; font-size: .9rem; color: var(--ink-800);
  appearance: none; cursor: pointer;
}

.size-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ----------------------------------------------------------------------------
   14. CONTACT PAGE
   ---------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--space-4); } }

.contact-info h2 { margin-bottom: var(--space-2); }
.contact-list { margin-top: var(--space-4); }
.contact-list li { display: flex; align-items: flex-start; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--ink-100); }
.contact-list li:last-child { border-bottom: none; }
.contact-list .ci-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--gold-50); color: var(--gold-500); display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold-200); }
.contact-list .ci-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.contact-list .ci-label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-400); }
.contact-list .ci-value { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-900); }
.contact-list .ci-value a { color: var(--ink-900); }
.contact-list .ci-value a:hover { color: var(--gold-500); }

.social-row { display: flex; gap: .8rem; margin-top: var(--space-3); }
.social-row a {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--ink-200); color: var(--ink-700);
  transition: all var(--dur) var(--ease);
}
.social-row a:hover { background: var(--gold-400); border-color: var(--gold-400); color: #fff; transform: translateY(-3px); }
.social-row svg { width: 20px; height: 20px; }

.contact-form { background: var(--white); border: 1px solid var(--ink-100); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: var(--space-3); }
.form-row label { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-400); margin-bottom: .5rem; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: .85rem 1rem; border: 1px solid var(--ink-200); border-radius: var(--radius);
  background: var(--cream); font-family: inherit; font-size: .95rem; color: var(--ink-800);
  transition: border-color var(--dur);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--gold-400); background: var(--white); }
.form-row textarea { min-height: 130px; resize: vertical; }
.form-msg { padding: .8rem 1rem; border-radius: var(--radius); font-size: .85rem; margin-top: var(--space-2); display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: var(--mint-50); color: var(--success); border: 1px solid #c7d8c6; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-3); }
.hours-table td { padding: .7rem 0; border-bottom: 1px solid var(--ink-100); font-size: .92rem; }
.hours-table td:first-child { color: var(--ink-600); }
.hours-table td:last-child { text-align: right; font-family: var(--font-display); color: var(--ink-900); }
.hours-table tr:last-child td { border-bottom: none; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: var(--space-4); border: 1px solid var(--ink-100); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ----------------------------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------------------------- */
.site-footer { background: var(--ink-900); color: var(--beige-200); padding: var(--space-7) 0 var(--space-3); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-4); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: var(--space-2); font-size: .9rem; color: var(--ink-400); max-width: 280px; }
.footer-col h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: var(--space-2); font-weight: 400; }
.footer-col ul li { padding: .3rem 0; }
.footer-col ul li a { color: var(--beige-200); font-size: .9rem; }
.footer-col ul li a:hover { color: var(--gold-300); }
.footer-delivery {
  margin-top: var(--space-2); padding: var(--space-2); border: 1px dashed rgba(201,162,79,.3); border-radius: var(--radius);
  font-size: .82rem; color: var(--beige-200);
}
.footer-delivery strong { color: var(--gold-300); font-family: var(--font-display); font-size: 1.1rem; }
.footer-bottom {
  margin-top: var(--space-5); padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); flex-wrap: wrap;
  font-size: .78rem; color: var(--ink-400);
}
.footer-bottom .social-row a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: var(--beige-200); }
.footer-bottom .social-row a:hover { background: var(--gold-400); border-color: var(--gold-400); color: #fff; }

/* ----------------------------------------------------------------------------
   16. LIGHTBOX
   ---------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,18,15,.94);
  display: flex; align-items: center; justify-content: center; padding: var(--space-4);
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img { max-width: 90vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform var(--dur) var(--ease-out); }
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close, .lightbox__nav {
  position: absolute; color: var(--white); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center;
  transition: all var(--dur); background: rgba(255,255,255,.06);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold-400); border-color: var(--gold-400); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; stroke-width: 1.5; }
.lightbox__counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; }

/* ----------------------------------------------------------------------------
   17. LOADER
   ---------------------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 300; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { font-family: var(--font-display); font-size: 2rem; letter-spacing: .3em; color: var(--gold-500); }
.loader__bar { width: 140px; height: 1px; background: var(--ink-200); overflow: hidden; position: relative; }
.loader__bar::after { content: ""; position: absolute; left: -40%; top: 0; height: 100%; width: 40%; background: var(--gold-400); animation: loadBar 1.1s var(--ease) infinite; }
@keyframes loadBar { 0% { left: -40%; } 100% { left: 100%; } }

/* ----------------------------------------------------------------------------
   18. BACK TO TOP
   ---------------------------------------------------------------------------- */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink-900); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all var(--dur) var(--ease);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--gold-400); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; stroke-width: 1.6; }

/* ----------------------------------------------------------------------------
   19. REVEAL ANIMATIONS
   ---------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .page-banner__bg { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------------------------------------------------------
   20. UTILITIES
   ---------------------------------------------------------------------------- */
.hidden { display: none !important; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-4 { margin-bottom: var(--space-4); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* ============================================================================
   ADMIN PANEL — hidden pages (admin.html, dashboard.html)
   ============================================================================ */
.admin-body { background: var(--beige-50); }

/* ---- Login ---- */
.admin-auth {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: var(--space-4); background: linear-gradient(160deg, var(--cream), var(--beige-100));
}
.admin-auth__card {
  width: 100%; max-width: 400px; background: var(--white);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-lg); text-align: center;
}
.admin-auth__brand {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 600;
  letter-spacing: .2em; color: var(--ink-900); margin-bottom: var(--space-2);
}
.admin-auth__brand .brand-mark { color: var(--gold-400); }
.admin-auth__title { font-size: 1.6rem; margin-bottom: .25rem; }
.admin-auth__sub { color: var(--ink-500); font-size: .85rem; margin-bottom: var(--space-4); }
.admin-auth__form { text-align: left; }
.admin-auth__error { color: var(--error); font-size: .82rem; min-height: 1.2rem; margin-top: var(--space-2); text-align: center; }

/* ---- Shared form fields ---- */
.admin-field { margin-bottom: var(--space-3); }
.admin-field label {
  display: block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-600); margin-bottom: .4rem; font-weight: 400;
}
.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%; padding: .7rem .9rem;
  font-family: var(--font-body); font-size: .9rem; font-weight: 300;
  color: var(--ink-800); background: var(--white);
  border: 1px solid var(--ink-200); border-radius: var(--radius);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(201,162,79,.12);
}
.admin-field textarea { resize: vertical; }
.admin-hint { font-size: .72rem; color: var(--ink-400); display: block; margin-top: .3rem; }

/* ---- Topbar ---- */
.admin-topbar {
  background: var(--ink-900); color: var(--white);
  padding: var(--space-2) clamp(1rem, 4vw, 3rem);
  position: sticky; top: 0; z-index: 50;
  box-shadow: var(--shadow);
}
.admin-topbar__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-topbar__brand {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  letter-spacing: .2em; color: var(--white);
}
.admin-topbar__brand .brand-mark { color: var(--gold-400); }
.admin-topbar__brand small {
  font-family: var(--font-body); font-size: .55rem; letter-spacing: .4em;
  color: var(--gold-300); margin-left: .5rem;
}
.admin-topbar__actions { display: flex; align-items: center; gap: var(--space-3); }
.admin-link {
  color: var(--gold-300); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
}
.admin-link:hover { color: var(--gold-200); }

/* ---- Main layout ---- */
.admin-main { max-width: var(--container); margin: 0 auto; padding: var(--space-5) clamp(1rem, 4vw, 3rem); }
.admin-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--space-4); gap: var(--space-3); flex-wrap: wrap;
}
.admin-section__head h1 { font-size: 2.2rem; }

/* ---- Stats ---- */
.admin-stats { display: flex; gap: var(--space-3); margin-bottom: var(--space-4); flex-wrap: wrap; }
.admin-stat {
  background: var(--white); border-radius: var(--radius); padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-sm); min-width: 140px;
}
.admin-stat strong {
  display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--ink-900);
}
.admin-stat span { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-400); }

/* ---- Table ---- */
.admin-table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 400; padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--ink-100);
}
.admin-table td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--beige-100); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gold-50); }
.admin-table__img img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); }
.admin-noimg { color: var(--ink-300); }
.admin-table__actions { display: flex; gap: .5rem; }
.admin-empty { text-align: center; color: var(--ink-400); padding: var(--space-5); }

/* ---- Buttons (admin-specific) ---- */
.btn--ghost { background: transparent; color: var(--ink-700); border-color: var(--ink-300); }
.btn--ghost:hover { border-color: var(--gold-400); color: var(--gold-500); background: var(--gold-50); }
.btn--danger { background: transparent; color: var(--error); border-color: var(--error); }
.btn--danger:hover { background: var(--error); color: var(--white); }

/* ---- Form view ---- */
.admin-form { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.form-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) {
  .form-grid, .form-grid--3, .form-grid--4 { grid-template-columns: 1fr; }
}
.admin-subhead {
  font-size: 1.1rem; margin: var(--space-4) 0 var(--space-2);
  padding-bottom: .5rem; border-bottom: 1px solid var(--ink-100);
}
.admin-form__actions {
  display: flex; gap: var(--space-2); justify-content: flex-end;
  margin-top: var(--space-4); padding-top: var(--space-3);
  border-top: 1px solid var(--ink-100);
}

/* ---- Image upload ---- */
.admin-upload {
  border: 2px dashed var(--ink-200); border-radius: var(--radius);
  padding: var(--space-4); text-align: center; cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  margin-bottom: var(--space-2);
}
.admin-upload:hover { border-color: var(--gold-400); background: var(--gold-50); }
.admin-upload.is-drag { border-color: var(--gold-500); background: var(--gold-100); }
.admin-upload__prompt svg { color: var(--gold-400); margin: 0 auto var(--space-1); }
.admin-upload__prompt p { font-size: .9rem; color: var(--ink-700); margin-bottom: .2rem; }
.admin-upload__prompt span { font-size: .75rem; color: var(--ink-400); }

.admin-thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: var(--space-2); }
.admin-thumb {
  position: relative; width: 88px; height: 88px;
  border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--ink-200);
}
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-thumb__badge {
  position: absolute; top: 4px; left: 4px;
  background: var(--gold-400); color: var(--white);
  font-size: .55rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
}
.admin-thumb__remove {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(28,26,23,.7); color: var(--white);
  font-size: 14px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.admin-thumb__remove:hover { background: var(--error); }

/* ---- Toast ---- */
.admin-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink-900); color: var(--white);
  padding: .8rem 1.6rem; border-radius: var(--radius-full);
  font-size: .82rem; letter-spacing: .1em; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .4s var(--ease); z-index: 200;
}
.admin-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.admin-toast--error { background: var(--error); }
