/* =========================================================
   QAVERA v3 — shared design system
   Palette: ink, silver, forest, sand, oxblood
   Type: Bodoni Moda (display), Instrument Sans (text), DM Mono (captions)
========================================================= */

:root {
  --ink: #0F0E0E;
  --ink-2: #171515;
  --silver: #D8D8D8;
  --forest: #1A2D28;
  --sand: #C4A980;
  --oxblood: #3D030A;

  --line-dark: rgba(216,216,216,.16);
  --line-light: rgba(15,14,14,.16);
  --muted-dark: rgba(216,216,216,.66);
  --muted-light: rgba(15,14,14,.68);

  --display: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif;
  --text: 'Instrument Sans', system-ui, -apple-system, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--ink);
  color: var(--silver);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.v3-light { background: var(--silver); color: var(--ink); }

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 1px solid var(--sand); outline-offset: 4px; }

.v3-lock { overflow: hidden; }

/* ---------- Type helpers ---------- */
.caption {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.01em;
}

.display em, .display i { font-style: italic; }

.accent-sand { color: var(--sand); }
.accent-oxblood { color: var(--oxblood); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  font-family: var(--text);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 1.7rem;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), opacity .3s ease;
}

.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-solid { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn-solid:hover:not(:disabled) { background: var(--silver); border-color: var(--silver); }
.btn-line { color: var(--silver); border-color: rgba(216,216,216,.4); }
.btn-line:hover { border-color: var(--sand); color: var(--sand); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--silver); }
.btn-ink:hover:not(:disabled) { background: transparent; color: var(--ink); }
.btn-line-ink { color: var(--ink); border-color: rgba(15,14,14,.4); }
.btn-line-ink:hover { background: var(--ink); color: var(--silver); }
.btn-block { width: 100%; }

.arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: .4rem;
  border-bottom: 1px solid currentColor;
  background: none;
  border-top: 0; border-left: 0; border-right: 0;
  cursor: pointer;
}

/* ---------- Reveal on scroll ---------- */
.v3-js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.v3-js .reveal.in { opacity: 1; transform: none; }
.v3-js .reveal.d1 { transition-delay: .1s; }
.v3-js .reveal.d2 { transition-delay: .2s; }
.v3-js .reveal.d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v3-js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   LOADING SCREEN (first visit of the session)
========================================================= */
.v3-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity .9s var(--ease), visibility .9s;
}

.v3-loader.done { opacity: 0; visibility: hidden; }

.v3-loader-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }

.v3-loader img {
  width: min(44vw, 180px);
  height: auto;
  opacity: 0;
  transform: translateY(10px);
  animation: v3LoaderIn 1.1s var(--ease) .15s forwards;
}

.v3-loader-line {
  width: min(52vw, 180px);
  height: 1px;
  background: rgba(196,169,128,.2);
  overflow: hidden;
}

.v3-loader-line::after {
  content: '';
  display: block;
  height: 100%;
  width: 100%;
  background: var(--sand);
  transform: translateX(-100%);
  animation: v3LoaderLine 2.5s var(--ease) .3s forwards;
}

.v3-loader .caption { color: rgba(216,216,216,.5); opacity: 0; animation: v3Fade .8s ease .6s forwards; }

@keyframes v3LoaderIn { to { opacity: 1; transform: none; } }
@keyframes v3LoaderLine { to { transform: translateX(0); } }
@keyframes v3Fade { to { opacity: 1; } }

/* =========================================================
   HEADER
========================================================= */
.v3-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  background: rgba(15,14,14,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,169,128,.16);
  transition: background .5s var(--ease), border-color .5s var(--ease), height .5s var(--ease);
}

body.v3-overlay-header .v3-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
}

.v3-header.scrolled { height: 64px; }

.v3-nav { display: flex; align-items: center; gap: 1.9rem; }

.v3-nav a, .v3-header-right a, .v3-cart-button {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silver);
  transition: color .3s ease;
  position: relative;
}

.v3-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}

.v3-nav a:hover, .v3-nav a[aria-current="page"] { color: var(--sand); }
.v3-nav a:hover::after, .v3-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Pantry drop-down */
.v3-drop { position: relative; display: flex; align-items: center; }
.v3-drop-toggle {
  white-space: nowrap;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--silver);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: 0;
  line-height: inherit;
  transition: color .3s ease;
}
.v3-drop-toggle span { font-size: .6rem; transition: transform .4s var(--ease); }
.v3-drop:hover .v3-drop-toggle, .v3-drop.open .v3-drop-toggle, .v3-drop.is-current .v3-drop-toggle { color: var(--sand); }
.v3-drop.open .v3-drop-toggle span { transform: rotate(180deg); }
.v3-drop-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: -1.4rem;
  min-width: 260px;
  padding: .6rem 0;
  background: var(--ink-2);
  border: 1px solid rgba(196,169,128,.25);
  box-shadow: 0 30px 50px -25px rgba(0,0,0,.8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.v3-drop-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.v3-drop.open .v3-drop-panel { opacity: 1; visibility: visible; transform: none; }
.v3-drop-panel a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.4rem;
  padding: .75rem 1.4rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--display);
  font-size: 1.15rem;
}
.v3-drop-panel a::after { display: none; }
.v3-drop-panel a small { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; color: rgba(216,216,216,.45); }
.v3-drop-panel a:hover, .v3-drop-panel a[aria-current="page"] { color: var(--sand); background: rgba(196,169,128,.06); font-style: italic; }
.v3-drop-panel .v3-drop-all { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); border-top: 1px solid var(--line-dark); margin-top: .4rem; padding-top: .9rem; font-style: normal !important; }

.v3-brand img { height: 30px; width: auto; }

.v3-header-right { display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem; }

.v3-icon { display: inline-flex; align-items: center; gap: .45rem; }
.v3-icon svg, .v3-cart-button svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.3; flex-shrink: 0; }

.v3-cart-button { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; padding: .4rem 0; }
.v3-cart-button:hover, .v3-header-right a:hover { color: var(--sand); }

.v3-count {
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 .3rem;
  border-radius: 1rem;
  background: var(--sand);
  color: var(--ink);
  font-size: .66rem;
  letter-spacing: 0;
  display: inline-grid;
  place-items: center;
  transition: transform .4s var(--ease);
}

.v3-count.bump { transform: scale(1.35); }

.v3-menu-toggle { display: none; background: none; border: 0; color: var(--silver); cursor: pointer; width: 44px; height: 44px; margin-left: -10px; }
.v3-menu-toggle span { display: block; width: 22px; height: 1px; background: currentColor; margin: 6px auto; transition: transform .4s var(--ease); }
.v3-menu-open .v3-menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.v3-menu-open .v3-menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.v3-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--ink);
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto;
}

.v3-menu-open .v3-mobile-menu { opacity: 1; visibility: visible; }

.v3-mobile-menu nav { display: flex; flex-direction: column; }

.v3-mobile-menu nav a {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 1.25;
  text-decoration: none;
  color: var(--silver);
  transform: translateY(12px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s ease;
}

.v3-menu-open .v3-mobile-menu nav a { transform: none; opacity: 1; }
.v3-mobile-menu nav a:hover, .v3-mobile-menu nav a[aria-current="page"] { color: var(--sand); font-style: italic; }

.v3-mobile-group { transform: translateY(12px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.v3-menu-open .v3-mobile-group { transform: none; opacity: 1; }
.v3-mobile-group-toggle {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 2.8rem);
  line-height: 1.25;
  color: var(--silver);
  text-align: left;
  transition: color .3s ease;
}
.v3-mobile-group-toggle span { font-family: var(--mono); font-size: 1.1rem; color: var(--sand); transition: transform .4s var(--ease); }
.v3-mobile-group.open .v3-mobile-group-toggle span { transform: rotate(45deg); }
.v3-mobile-group.open .v3-mobile-group-toggle, .v3-mobile-group.is-current .v3-mobile-group-toggle { color: var(--sand); font-style: italic; }
.v3-mobile-group-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.v3-mobile-group.open .v3-mobile-group-panel { grid-template-rows: 1fr; }
.v3-mobile-group-panel > div { overflow: hidden; display: flex; flex-direction: column; visibility: hidden; transition: visibility 0s linear .45s; }
.v3-mobile-group.open .v3-mobile-group-panel > div { visibility: visible; transition-delay: 0s; }
.v3-mobile-group-panel > div > a:first-child { margin-top: .4rem; }
.v3-mobile-group-panel > div > a:last-child { margin-bottom: .6rem; }
.v3-mobile-menu nav .v3-mobile-group a { font-size: clamp(1.4rem, 6vw, 1.8rem); line-height: 1.4; padding-left: 1rem; border-left: 1px solid rgba(196,169,128,.3); }

.v3-mobile-menu-foot { display: flex; flex-direction: column; gap: .8rem; color: rgba(216,216,216,.55); margin-top: 2rem; }
.v3-mobile-menu-foot a { color: var(--sand); text-decoration: none; }

main.v3-main { padding-top: var(--header-h); }
body.v3-overlay-header main.v3-main { padding-top: 0; }

/* =========================================================
   SLIDE-OUT CART
========================================================= */
.v3-cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8,7,7,.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}

.v3-cart {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 90;
  width: min(460px, 100%);
  background: var(--ink-2);
  color: var(--silver);
  border-left: 1px solid rgba(196,169,128,.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .7s var(--ease), visibility .7s;
}

.v3-cart-open .v3-cart { transform: none; visibility: visible; }
.v3-cart-open .v3-cart-backdrop { opacity: 1; visibility: visible; }

.v3-cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.6rem;
  border-bottom: 1px solid var(--line-dark);
}

.v3-cart-head h2 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.v3-cart-head h2 em { color: var(--sand); }
.v3-cart-close { background: none; border: 0; cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; color: var(--silver); }
.v3-cart-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.3; }

.v3-cart-items { flex: 1; overflow-y: auto; padding: .6rem 1.6rem; }

.v3-cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.v3-cart-thumb { width: 76px; height: 76px; background: #fff; overflow: hidden; display: grid; place-items: center; }
.v3-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v3-cart-thumb.painted { background: #1c1a19; }
.v3-cart-thumb.painted .bonbon { width: 46px; margin: 0; }

.v3-cart-item h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; line-height: 1.2; }
.v3-cart-item .caption { font-size: .64rem; color: rgba(216,216,216,.55); display: block; margin-top: .3rem; }
.v3-cart-flavours { font-size: .78rem; color: rgba(216,216,216,.6); margin-top: .4rem; line-height: 1.5; }

.v3-cart-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: .6rem; }
.v3-cart-price { font-family: var(--mono); font-size: .8rem; color: var(--sand); white-space: nowrap; }

.v3-qty { display: inline-flex; align-items: center; border: 1px solid rgba(216,216,216,.25); }
.v3-qty button { width: 30px; height: 30px; background: none; border: 0; cursor: pointer; color: var(--silver); font-size: 1rem; line-height: 1; }
.v3-qty button:hover { color: var(--sand); }
.v3-qty span { min-width: 1.8rem; text-align: center; font-family: var(--mono); font-size: .8rem; }

.v3-cart-remove { background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(216,216,216,.45); padding: 0; }
.v3-cart-remove:hover { color: var(--sand); }

.v3-cart-empty { text-align: center; padding: 4rem 1rem; }
.v3-cart-empty .display { font-size: 2rem; margin: 1.4rem 0 .8rem; }
.v3-cart-empty p { color: rgba(216,216,216,.6); margin-bottom: 2rem; }

.v3-cart-foot { padding: 1.4rem 1.6rem 1.6rem; border-top: 1px solid var(--line-dark); background: var(--ink); }
.v3-cart-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .4rem; }
.v3-cart-row .caption { color: rgba(216,216,216,.6); }
.v3-cart-total { font-family: var(--display); font-size: 1.8rem; }
.v3-cart-note { font-size: .78rem; color: rgba(216,216,216,.5); margin: .2rem 0 1.2rem; }

/* =========================================================
   FOOTER
========================================================= */
.v3-footer { background: var(--ink); color: var(--silver); padding: clamp(4rem, 8vw, 6rem) var(--gutter) 2rem; border-top: 1px solid rgba(196,169,128,.16); }

.v3-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(196,169,128,.2);
}

.v3-footer-brand img { height: 42px; width: auto; margin-bottom: 1.4rem; }
.v3-footer-brand p { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.35; max-width: 18rem; color: rgba(216,216,216,.8); }
.v3-footer-col h4 { font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.2rem; }
.v3-footer-col a { display: block; text-decoration: none; color: rgba(216,216,216,.72); padding: .3rem 0; font-size: .95rem; transition: color .3s ease; }
.v3-footer-col a:hover { color: var(--sand); }
.v3-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; color: rgba(216,216,216,.4); }

/* =========================================================
   SHARED PAGE PIECES
========================================================= */

/* Inner-page title band */
.v3-page-head {
  position: relative;
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(80% 90% at 90% 0%, rgba(61,3,10,.5), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(26,45,40,.55), transparent 60%),
    var(--ink);
  overflow: hidden;
}

.v3-page-head .caption { color: var(--sand); margin-bottom: 1.6rem; }
.v3-page-head h1 { font-size: clamp(3rem, 8vw, 7.4rem); }
.v3-page-head h1 em { color: var(--sand); }
.v3-page-head p.lead { max-width: 34rem; margin-top: 1.8rem; color: var(--muted-dark); font-size: 1.05rem; }

.v3-crumbs { display: flex; gap: .7rem; color: rgba(216,216,216,.45); margin-bottom: 2.4rem; }
.v3-crumbs a { color: rgba(216,216,216,.6); text-decoration: none; }
.v3-crumbs a:hover { color: var(--sand); }

.v3-section { padding: clamp(4.5rem, 9vw, 8rem) var(--gutter); }
.v3-section.light { background: var(--silver); color: var(--ink); }
.v3-section.forest { background: var(--forest); }
.v3-section.oxblood { background: var(--oxblood); }
.v3-section.sand { background: var(--sand); color: var(--ink); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.6rem, 5vw, 4.5rem); }
.section-head .caption { margin-bottom: 1.3rem; color: var(--sand); }
.section-head h2 { font-size: clamp(2.5rem, 5.6vw, 5.2rem); }
.section-head h2 em { color: var(--sand); }
.section-head p { max-width: 24rem; color: var(--muted-dark); }
.light .section-head .caption, .sand .section-head .caption { color: var(--oxblood); }
.light .section-head h2 em, .sand .section-head h2 em { color: var(--oxblood); }
.light .section-head p, .sand .section-head p { color: var(--muted-light); }

/* A painted bonbon, drawn with CSS */
.bonbon {
  --a: var(--oxblood);
  --b: var(--sand);
  --paint: none;
  position: relative;
  width: clamp(64px, 7vw, 96px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.75) 0 5%, rgba(255,255,255,.2) 11%, transparent 22%),
    var(--paint),
    radial-gradient(circle at 40% 35%, var(--b), var(--a) 70%);
  box-shadow: inset -10px -12px 22px rgba(0,0,0,.45), inset 6px 6px 14px rgba(255,255,255,.12), 0 14px 20px -12px rgba(0,0,0,.6);
}

.p1 { --a: #5a2a12; --b: #c77b2b; --paint: radial-gradient(circle at 65% 70%, #f0d9a6 0 12%, transparent 13%), radial-gradient(circle at 30% 70%, #f0d9a6 0 6%, transparent 7%); }
.p2 { --a: #3b1d10; --b: #a4643a; --paint: repeating-linear-gradient(115deg, transparent 0 12%, rgba(240,220,190,.75) 12% 14%); }
.p3 { --a: #5e0715; --b: #d03a52; --paint: radial-gradient(circle at 70% 40%, #f6c2cb 0 9%, transparent 10%), radial-gradient(circle at 45% 70%, #f6c2cb 0 6%, transparent 7%), radial-gradient(circle at 25% 45%, #f6c2cb 0 4%, transparent 5%); }
.p4 { --a: #1f3a1e; --b: #7fa04a; --paint: linear-gradient(35deg, transparent 44%, #d8c38a 44% 52%, transparent 52%); }
.p5 { --a: #8e7d63; --b: #f2ead9; --paint: radial-gradient(circle at 60% 60%, #c4553a 0 14%, transparent 15%); }
.p6 { --a: #a4480b; --b: #f5a623; --paint: conic-gradient(from 20deg at 50% 50%, transparent 0 40deg, rgba(255,230,120,.8) 40deg 60deg, transparent 60deg 160deg, rgba(255,230,120,.8) 160deg 180deg, transparent 180deg 280deg, rgba(255,230,120,.8) 280deg 300deg, transparent 300deg); }
.p7 { --a: #2c1a0d; --b: #7a5230; --paint: radial-gradient(circle at 55% 45%, transparent 0 18%, rgba(196,169,128,.9) 18% 22%, transparent 22% 30%, rgba(196,169,128,.9) 30% 33%, transparent 33%); }
.p8 { --a: #4a2a14; --b: #b98553; --paint: repeating-radial-gradient(circle at 70% 70%, transparent 0 6%, rgba(60,30,10,.55) 6% 8%); }
.p9 { --a: #0f2622; --b: #2f6d60; --paint: linear-gradient(-30deg, transparent 38%, #c4a980 38% 45%, transparent 45% 58%, #c4a980 58% 62%, transparent 62%); }
.p10 { --a: #7a0b22; --b: #ff5d7a; --paint: radial-gradient(circle at 35% 65%, #fff 0 5%, transparent 6%), radial-gradient(circle at 62% 38%, #fff 0 4%, transparent 5%), radial-gradient(circle at 70% 70%, #fff 0 3%, transparent 4%); }
.p11 { --a: #5d7a24; --b: #d9e8a0; --paint: repeating-linear-gradient(0deg, transparent 0 9%, rgba(255,255,255,.55) 9% 10%); }
.p12 { --a: #1a120c; --b: #5a4130; --paint: radial-gradient(ellipse at 50% 50%, transparent 0 28%, rgba(216,216,216,.85) 28% 31%, transparent 31%); }

/* Forms */
.v3-field { display: flex; flex-direction: column; gap: .55rem; }
.v3-field label, .v3-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(216,216,216,.62); }
.v3-input, .v3-field input, .v3-field select, .v3-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(216,216,216,.3);
  color: var(--silver);
  font-family: var(--text);
  font-size: 1rem;
  padding: .75rem 0;
  border-radius: 0;
  outline: none;
  transition: border-color .3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.v3-field textarea { min-height: 120px; resize: vertical; }
.v3-field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--sand) 50%), linear-gradient(135deg, var(--sand) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 1.6rem; }
.v3-field select option { background: var(--ink); color: var(--silver); }
.v3-field input:focus, .v3-field select:focus, .v3-field textarea:focus { border-color: var(--sand); }
.v3-field input::placeholder, .v3-field textarea::placeholder { color: rgba(216,216,216,.35); }
.v3-field .error { font-size: .78rem; color: #e39a8e; }

.light .v3-field label, .light .v3-label { color: rgba(15,14,14,.6); }
.light .v3-field input, .light .v3-field select, .light .v3-field textarea { color: var(--ink); border-color: rgba(15,14,14,.3); }
.light .v3-field select option { background: var(--silver); color: var(--ink); }
.light .v3-field input::placeholder, .light .v3-field textarea::placeholder { color: rgba(15,14,14,.35); }
.light .v3-field input:focus, .light .v3-field textarea:focus { border-color: var(--oxblood); }

/* Toast */
.v3-toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  z-index: 120;
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  background: var(--silver);
  color: var(--ink);
  padding: .9rem 1.4rem;
  font-size: .88rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  max-width: calc(100% - 32px);
  text-align: center;
}
.v3-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* =========================================================
   RESPONSIVE (shared)
========================================================= */
@media (max-width: 1100px) {
  .v3-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1380px) {
  .v3-nav { gap: 1.4rem; }
}

@media (max-width: 1180px) {
  .v3-header { grid-template-columns: 1fr auto 1fr; }
  .v3-nav { display: none; }
  .v3-menu-toggle { display: block; justify-self: start; }
  .v3-brand { justify-self: center; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .v3-header.scrolled { height: var(--header-h); }
  .v3-brand img { height: 26px; }
  .v3-header-right .hide-sm { display: none; }
  .v3-header-right { gap: 1.1rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .v3-footer-brand { grid-column: 1 / -1; }
  .v3-footer-bottom { flex-direction: column; }
  .v3-cart-item { grid-template-columns: 64px 1fr auto; gap: .8rem; }
  .v3-cart-thumb { width: 64px; height: 64px; }
}
