/* ========================================================================
   TADAP WEAR — Design System
   Deep red. Black ink. Gold. Cream.
   Playfair Display + Poppins. Cinematic. Desi. Bold.
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Poppins:wght@200;300;400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Color — refined deeper palette */
  --red: #8B0000;
  --red-deep: #3A0000;
  --red-glow: #C8102E;
  --red-wine: #5C0817;
  --red-soft: rgba(139, 0, 0, 0.12);
  --black: #000000;
  --ink: #08050A;
  --ink-2: #110A0E;
  --ink-3: #1F1418;
  --gold: #FFD700;
  --gold-warm: #D4AF37;
  --gold-deep: #8B6F1F;
  --gold-foil-1: #FFE56B;
  --gold-foil-2: #D4AF37;
  --gold-foil-3: #8B6F1F;
  --cream: #FFF5E4;
  --cream-2: #ECD9B6;
  --line: rgba(255, 215, 0, 0.18);
  --line-soft: rgba(255, 245, 228, 0.08);
  --muted: rgba(255, 245, 228, 0.60);
  --muted-2: rgba(255, 245, 228, 0.38);

  /* Type */
  --f-mega: 'Italiana', 'Playfair Display', serif;
  --f-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --f-serif: 'Cormorant Garamond', 'Playfair Display', serif;
  --f-body: 'Poppins', system-ui, -apple-system, sans-serif;

  /* Sizing */
  --shell: 1360px;
  --shell-wide: 1520px;
  --radius: 2px;
  --radius-card: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body { min-height: 100vh; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============== Typography ============== */
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 500; margin: 0; line-height: 1.05; letter-spacing: -0.01em; }
.h-display { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.95; }
.h-italic { font-style: italic; font-weight: 400; }
.h-script { font-family: var(--f-serif); font-style: italic; font-weight: 500; }
.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow.cream { color: var(--cream-2); }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; letter-spacing: 0.04em; }

/* ============== Layout ============== */
.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.shell-wide { max-width: var(--shell-wide); margin: 0 auto; padding: 0 28px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-lg { padding: 160px 0; }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }
.divider-gold { height: 1px; background: linear-gradient(90deg, transparent, var(--gold-warm), transparent); border: 0; margin: 0; }

/* ============== Announcement bar ============== */
.announce {
  background: var(--red-deep);
  color: var(--cream);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  padding: 9px 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}
.announce__track {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.announce__item { display: inline-flex; align-items: center; gap: 14px; }
.announce__item::before {
  content: "✦";
  color: var(--gold);
  font-size: 9px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== Header / Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 7, 8, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 76px;
  padding: 0 36px;
  max-width: var(--shell-wide);
  margin: 0 auto;
}
.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--cream);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: var(--gold); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--gold); }

.nav__logo {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.32em;
  color: var(--cream);
  white-space: nowrap;
  text-align: center;
}
.nav__logo .dot { color: var(--red-glow); }

.nav__actions {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  align-items: center;
}
.nav__icon {
  background: transparent;
  border: 0;
  color: var(--cream);
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__icon:hover { color: var(--gold); }
.nav__icon svg { width: 19px; height: 19px; }
.nav__badge {
  position: absolute;
  top: -4px; right: -8px;
  background: var(--red-glow);
  color: var(--cream);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1px solid var(--ink);
}

@media (max-width: 880px) {
  .nav__inner { grid-template-columns: auto 1fr auto; padding: 0 18px; height: 64px; }
  .nav__links { display: none; }
  .nav__logo { font-size: 17px; text-align: left; letter-spacing: 0.24em; }
  .nav__actions { gap: 12px; }
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--cream);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateY(-1px); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--cream); }
.btn--red:hover { background: var(--red-glow); border-color: var(--red-glow); color: var(--cream); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--gold {
  background: linear-gradient(180deg, #F4D169, var(--gold-warm) 60%, var(--gold-deep));
  color: var(--ink);
  border-color: var(--gold-warm);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--gold:hover { filter: brightness(1.1); }
.btn--lg { padding: 19px 38px; font-size: 12px; }
.btn--sm { padding: 11px 20px; font-size: 10.5px; letter-spacing: 0.22em; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  transition: gap 0.3s var(--ease);
}
.link-gold:hover { gap: 16px; }

/* ============== Product card ============== */
.pcard { position: relative; }
.pcard__media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-2);
  cursor: pointer;
}
.pcard__art {
  position: absolute; inset: 0;
  transition: transform 1.2s var(--ease);
}
.pcard:hover .pcard__art { transform: scale(1.06); }
.pcard__badges {
  position: absolute;
  top: 14px; left: 14px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
}
.pcard__badge {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 9px;
  font-weight: 500;
  background: var(--cream);
  color: var(--ink);
}
.pcard__badge--sale { background: var(--red-glow); color: var(--cream); }
.pcard__badge--new { background: var(--gold); color: var(--ink); }
.pcard__badge--out { background: var(--ink-2); color: var(--muted); border: 1px solid var(--line); }
.pcard__wish {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(10, 7, 8, 0.55);
  border: 1px solid var(--line-soft);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(8px);
}
.pcard__wish:hover { color: var(--red-glow); border-color: var(--red-glow); }
.pcard__wish.is-active { color: var(--red-glow); background: rgba(200, 16, 46, 0.18); border-color: var(--red-glow); }
.pcard__wish svg { width: 15px; height: 15px; fill: currentColor; }

.pcard__quick {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 16px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s var(--ease);
  z-index: 2;
  cursor: pointer;
  border: 0;
}
.pcard:hover .pcard__quick { opacity: 1; transform: translateY(0); }
.pcard__quick:hover { background: var(--gold); }

.pcard__info { padding: 18px 4px 8px; }
.pcard__cat {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 6px;
}
.pcard__name {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
  color: var(--cream);
}
.pcard__price { font-size: 14px; color: var(--cream); display: flex; gap: 10px; align-items: baseline; }
.pcard__price .was { color: var(--muted-2); text-decoration: line-through; font-size: 12px; }

/* ============== Form ============== */
.fld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.fld label {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-2);
  font-weight: 500;
}
.fld input, .fld select, .fld textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
  padding: 12px 0;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--gold); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--muted-2); }
.fld select option { background: var(--ink); color: var(--cream); }
.fld textarea { resize: vertical; min-height: 110px; }
.fld--boxed input, .fld--boxed select, .fld--boxed textarea {
  border: 1px solid var(--line);
  padding: 13px 16px;
  background: rgba(255, 245, 228, 0.02);
}
.fld--boxed input:focus, .fld--boxed select:focus, .fld--boxed textarea:focus { border-color: var(--gold); }
.fld--row { flex-direction: row; align-items: center; gap: 10px; }

/* ============== Drawer ============== */
.drawer-shade {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
  z-index: 100;
  backdrop-filter: blur(4px);
}
.drawer-shade.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 460px;
  max-width: 100vw;
  background: var(--ink);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  z-index: 101;
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line-soft);
}
.drawer__head h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
}
.drawer__close {
  background: transparent;
  border: 0;
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer__body { flex: 1; overflow-y: auto; padding: 24px 28px; }
.drawer__foot { padding: 24px 28px; border-top: 1px solid var(--line-soft); background: var(--ink-2); }

/* ============== Footer ============== */
.foot {
  background: var(--ink-2);
  color: var(--cream);
  padding: 90px 0 30px;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.foot__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 60px;
}
.foot__brand .nav__logo { font-size: 26px; text-align: left; margin-bottom: 14px; }
.foot__brand p { color: var(--muted); max-width: 320px; font-size: 14px; line-height: 1.7; }
.foot__col h5 {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.foot__col a { font-size: 13px; color: var(--cream-2); transition: color 0.3s var(--ease); }
.foot__col a:hover { color: var(--gold); }
.foot__social { display: flex; gap: 12px; margin-top: 18px; }
.foot__social a {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--cream);
  transition: all 0.3s var(--ease);
  border-radius: 999px;
}
.foot__social a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.foot__social svg { width: 15px; height: 15px; }
.foot__bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.foot__bottom p { margin: 0; font-size: 12px; color: var(--muted-2); letter-spacing: 0.06em; }
.foot__trust {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 11px; color: var(--muted-2); letter-spacing: 0.16em; text-transform: uppercase;
}

@media (max-width: 980px) {
  .foot__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .foot { padding: 60px 0 24px; }
}

/* ============== Utilities ============== */
.grid { display: grid; }
.flex { display: flex; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 14px; }
.gap-4 { gap: 22px; }
.gap-6 { gap: 36px; }
.center { text-align: center; }
.between { justify-content: space-between; }
.align-c { align-items: center; }
.col { flex-direction: column; }
.hide-mob { display: initial; }
.show-mob { display: none; }
@media (max-width: 768px) {
  .hide-mob { display: none; }
  .show-mob { display: initial; }
  .section { padding: 70px 0; }
  .section-lg { padding: 90px 0; }
}

/* ============== Toast ============== */
.toast-host {
  position: fixed;
  top: 96px; right: 24px;
  z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 14px 22px;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 215, 0, 0.1);
  display: flex; gap: 12px; align-items: center;
  min-width: 280px;
  animation: toast-in 0.4s var(--ease);
  pointer-events: auto;
}
.toast .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 999px; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ============== Section heads ============== */
.shead { text-align: center; margin-bottom: 64px; }
.shead .eyebrow { margin-bottom: 18px; display: inline-block; }
.shead h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 68px);
  letter-spacing: -0.018em;
  line-height: 1;
  margin: 0;
}
.shead h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.shead p { color: var(--muted); max-width: 540px; margin: 22px auto 0; font-size: 15px; line-height: 1.7; }
.shead--left { text-align: left; }
.shead--left p { margin-left: 0; }

/* ============== Decorative ============== */
.ornament {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--gold-warm);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.ornament::before, .ornament::after {
  content: ""; width: 36px; height: 1px; background: var(--gold-warm); opacity: 0.5;
}

/* ============== Generic page hero ============== */
.phero {
  padding: 130px 0 80px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.phero h1 {
  font-family: var(--f-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.96;
  margin: 12px 0 18px;
}
.phero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.phero p { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 15px; }
.crumbs {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted-2);
  display: inline-flex; gap: 10px; align-items: center; margin-bottom: 14px;
}
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: var(--gold-warm); }

/* ============== Product artwork — silk-texture tiles ============== */
/* used as a fallback hero "image" for products and categories;
   each art is generated with overlapping conic & radial gradients */
.art {
  position: absolute; inset: 0;
  background: var(--ink-2);
  overflow: hidden;
}
.art::before {
  content: "";
  position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse at 30% 40%, var(--art-a, var(--red)) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 65%, var(--art-b, var(--red-deep)) 0%, transparent 60%),
    radial-gradient(circle at 50% 100%, var(--art-c, var(--ink)) 0%, transparent 70%),
    conic-gradient(from 200deg at 50% 50%, var(--art-a, var(--red)) 0%, transparent 25%, var(--art-b, var(--red-deep)) 50%, transparent 75%, var(--art-a, var(--red)) 100%);
  filter: blur(40px) saturate(1.1);
  opacity: 0.95;
}
.art::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      var(--art-angle, 110deg),
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
  mix-blend-mode: overlay;
}
.art__mono {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.art__mono span {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 6vw, 64px);
  color: rgba(255, 245, 228, 0.92);
  text-align: center;
  padding: 0 16px;
  text-shadow: 0 6px 32px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.art__brand {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255, 245, 228, 0.5);
  z-index: 2;
}
/* Palette variants */
.art--red { --art-a: #C8102E; --art-b: #4A0000; --art-c: #0A0708; }
.art--burgundy { --art-a: #8B0000; --art-b: #2A0A0A; --art-c: #0A0708; }
.art--noir { --art-a: #1F1A18; --art-b: #0A0708; --art-c: #000; --art-angle: 80deg; }
.art--noir .art__mono span { color: rgba(255, 215, 0, 0.85); }
.art--gold { --art-a: #D4AF37; --art-b: #5A4218; --art-c: #1F1A18; }
.art--gold .art__mono span { color: rgba(10, 7, 8, 0.9); }
.art--rose { --art-a: #B85C7D; --art-b: #5A1A2A; --art-c: #1A0A14; }
.art--ivory { --art-a: #ECD9B6; --art-b: #8B6F4F; --art-c: #2A1F1A; }
.art--ivory .art__mono span { color: rgba(10, 7, 8, 0.85); }
.art--plum { --art-a: #6B1F4A; --art-b: #2A0A1F; --art-c: #0A0708; }
.art--midnight { --art-a: #1F2A4A; --art-b: #0A0A1F; --art-c: #000; }
.art--blush { --art-a: #D9A89C; --art-b: #8B4A4A; --art-c: #2A1A1A; }
.art--emerald { --art-a: #1F4A3A; --art-b: #0A1F1A; --art-c: #000; }
.art--bronze { --art-a: #A56B3A; --art-b: #4A2A14; --art-c: #1A0E08; }
.art--velvet { --art-a: #4A1A2A; --art-b: #14080F; --art-c: #000; }

/* ============== Animations ============== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-up { opacity: 0; animation: fade-up 0.9s var(--ease) forwards; }
.fade-up.d1 { animation-delay: 0.15s; }
.fade-up.d2 { animation-delay: 0.30s; }
.fade-up.d3 { animation-delay: 0.45s; }
.fade-up.d4 { animation-delay: 0.60s; }
.fade-up.d5 { animation-delay: 0.75s; }
.fade-up.d6 { animation-delay: 0.90s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* Selection */
::selection { background: var(--gold); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ============== Gold-foil text effect ============== */
.gold-foil {
  background: linear-gradient(135deg, var(--gold-foil-1) 0%, var(--gold-foil-2) 30%, #FFF6C4 50%, var(--gold-foil-2) 70%, var(--gold-foil-3) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gold-shimmer 8s ease-in-out infinite;
  filter: drop-shadow(0 4px 18px rgba(255, 215, 0, 0.15));
}
@keyframes gold-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ============== Ornamental dividers ============== */
.flourish {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--gold-warm);
  margin: 20px 0;
}
.flourish::before, .flourish::after {
  content: ""; flex: 1; max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-warm), transparent);
}
.flourish svg { width: 16px; height: 16px; opacity: 0.7; }

/* ============== WhatsApp FAB (site-wide) ============== */
.wa-fab {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: wa-pulse 2.4s ease-out infinite;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab__bubble {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: var(--ink);
  border: 1px solid var(--gold);
  color: var(--cream);
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-family: var(--f-display);
  font-style: italic;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.4s var(--ease);
  pointer-events: none;
}
.wa-fab:hover .wa-fab__bubble { opacity: 1; transform: translateX(0); }
.wa-fab__bubble::after {
  content: "";
  position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid var(--gold);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============== Live chat widget ============== */
.chat-panel {
  position: fixed;
  bottom: 100px; right: 24px;
  width: 340px;
  max-width: calc(100vw - 48px);
  background: var(--ink);
  border: 1px solid var(--gold);
  z-index: 95;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  opacity: 0; pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transform-origin: bottom right;
  transition: all 0.4s var(--ease);
}
.chat-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.chat-panel__head {
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--red-deep), var(--red));
  display: flex; align-items: center; gap: 14px;
}
.chat-panel__head .av {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
}
.chat-panel__head h4 { font-family: var(--f-display); font-size: 17px; font-weight: 500; margin: 0; color: var(--cream); }
.chat-panel__head p { font-size: 11px; color: var(--cream-2); margin: 2px 0 0; letter-spacing: 0.1em; display: flex; align-items: center; gap: 6px; }
.chat-panel__head p::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #6BBA8E; box-shadow: 0 0 6px #6BBA8E; }
.chat-panel__close {
  background: transparent; border: 0; color: var(--cream);
  margin-left: auto; font-size: 18px; cursor: pointer; opacity: 0.8;
}
.chat-panel__body {
  padding: 20px;
  background: var(--ink-2);
  max-height: 340px;
  overflow-y: auto;
}
.chat-msg {
  background: var(--ink);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--cream-2);
  border: 1px solid var(--line-soft);
  margin-bottom: 10px;
  max-width: 85%;
  line-height: 1.5;
}
.chat-msg.them {
  border-left: 2px solid var(--gold);
}
.chat-msg.me {
  margin-left: auto;
  background: var(--red-wine);
  color: var(--cream);
  border-color: var(--red);
}
.chat-panel__quick {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
}
.chat-quick {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.chat-quick:hover { border-color: var(--gold); color: var(--gold); }
.chat-panel__foot {
  padding: 14px 20px;
  border-top: 1px solid var(--line-soft);
}
.chat-panel__foot a {
  display: flex; align-items: center; gap: 10px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.chat-panel__foot a svg { width: 16px; height: 16px; }


/* ============== Global responsive safety layer ============== */
img, video, canvas, svg { max-width: 100%; }
@media (max-width: 880px) { input, select, textarea { font-size: 16px !important; } } /* prevents iOS zoom */
@media (max-width: 1080px) {
  [style*="grid-template-columns:repeat(4,1fr)"], [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
  [style*="grid-template-columns:repeat(7,1fr)"] { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
}
@media (max-width: 880px) {
  [style*="grid-template-columns:1.2fr 1fr"], [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr;gap:80px"], [style*="grid-template-columns:280px 1fr"] { grid-template-columns: 1fr !important; gap: 36px !important; }
  [style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  [style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 16px !important; }
  .qv-modal > div { grid-template-columns: 1fr !important; overflow-y: auto !important; }
  .qv-modal > div > div:first-child { aspect-ratio: 4/3 !important; }
  .drawer { width: 100vw !important; }
  .toast-host { top: 76px; right: 12px; left: 12px; }
  .toast { min-width: 0; }
  .shead { margin-bottom: 40px; }
  .phero { padding: 90px 0 50px; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 560px) {
  .shell, .shell-wide { padding: 0 18px; }
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:repeat(6,1fr)"] { grid-template-columns: repeat(5, minmax(0,1fr)) !important; }
  .btn--lg { padding: 16px 26px; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 92px; }
  .wa-fab { bottom: 18px; right: 18px; width: 56px; height: 56px; }
}

/* ============== Art-tile containment (fixes tiles escaping small thumbnails) ============== */
*:has(> .art) { position: relative; overflow: hidden; }
.product-row .img, .o-row .img, .oi-row .img, .lb-pick .img, .mini-row .img, .cart-row .img, .thumb, .ig__art, .cat__art, .lb-tile__art { position: relative; overflow: hidden; }
.cat__art, .ig__art, .lb-tile__art, .pcard__art { position: absolute; inset: 0; }
.product-row .art__mono span, .o-row .art__mono span, .oi-row .art__mono span, .lb-pick .art__mono span,
.mini-row .art__mono span, .thumb .art__mono span, td .art__mono span { font-size: 13px; padding: 0 2px; }
.product-row .art__brand, .o-row .art__brand, .oi-row .art__brand, .mini-row .art__brand, td .art__brand, .thumb .art__brand { display: none; }
