/* css/fonts.css */
/* Self-hosted web fonts. Generated by scripts/fetch-fonts.mjs — do not edit.
 *
 * Served from our own origin so the browser does not pay a DNS lookup and a TLS
 * handshake to fonts.googleapis.com and another to fonts.gstatic.com before it
 * can draw text. font-display: swap keeps text visible while they load.
 */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jost-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jost-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jost-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jost-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/jost-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/jost-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/jost-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/jost-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* css/tokens/colors.css */
:root{
  /* ---- Base palette, sampled from the logo artwork ---- */
  /* Rose quartz — the "3" of the wordmark, the badge ring */
  --rose-50:#FBF0EC;--rose-100:#F5DED6;--rose-200:#EAC3B8;--rose-300:#DFAF9F;
  --rose-400:#D7A697;--rose-500:#C88E7C;--rose-600:#B07666;--rose-700:#8C5B4D;
  /* Sage — "Dreams", STUDIO, the leaf */
  --sage-50:#F0F1EA;--sage-100:#DDDFD1;--sage-200:#BEC1AC;--sage-300:#9C9F84;
  --sage-400:#85866C;--sage-500:#797D64;--sage-600:#5F6350;--sage-700:#454838;
  /* Gold — the hairlines and the nozzle */
  --gold-100:#F1E4C9;--gold-200:#E0C99B;--gold-300:#CDAF74;--gold-400:#BE9A5E;--gold-500:#9E7C45;
  /* Cream — the plate the logo is embossed on */
  --cream-50:#FEF9F1;--cream-100:#FEF5E5;--cream-200:#F4E6D8;--cream-300:#EEE1D1;
  --cream-400:#E8D9C9;--cream-500:#DACABA;--cream-600:#C7B39B;
  /* Ink */
  --ink-900:#2C2A24;--ink-800:#3D3A32;--ink-700:#555146;--ink-500:#7A7466;--ink-300:#A79F90;
  --white:#FFFFFF;

  /* ---- Semantic aliases ---- */
  --brand-primary:var(--rose-400);
  --brand-secondary:var(--sage-400);
  --brand-accent:var(--gold-400);

  --surface-page:var(--cream-200);
  --surface-card:var(--cream-100);
  --surface-raised:var(--cream-50);
  --surface-sunken:var(--cream-300);
  --surface-inverse:var(--sage-600);
  --surface-rose:var(--rose-100);
  --surface-sage:var(--sage-100);

  --text-body:var(--ink-800);
  --text-strong:var(--ink-900);
  --text-muted:var(--ink-500);
  --text-faint:var(--ink-300);
  --text-on-brand:var(--white);
  --text-on-inverse:var(--cream-100);
  --text-accent:var(--gold-500);
  --text-link:var(--sage-600);
  --text-link-hover:var(--rose-600);

  --border-hairline:var(--cream-500);
  --border-strong:var(--cream-600);
  --border-gold:var(--gold-300);
  --border-focus:var(--sage-400);

  /* Semantic status — kept inside the brand's muted range */
  --success-fg:#4F6B4A;--success-bg:#E4EDDF;
  --warning-fg:#8A6A2B;--warning-bg:#F7EBD2;
  --danger-fg:#9B4B44;--danger-bg:#F6E0DC;
  --info-fg:#4C6470;--info-bg:#E2EBEF;
}

/* css/tokens/typography.css */
:root{
  --font-display:"Playfair Display",Georgia,"Times New Roman",serif;
  --font-ui:"Jost","Helvetica Neue",Arial,sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,Menlo,monospace;

  --text-display-1:4.5rem;--text-display-2:3.5rem;--text-display-3:2.5rem;
  --text-h1:2rem;--text-h2:1.5rem;--text-h3:1.25rem;--text-h4:1.0625rem;
  --text-body-lg:1.125rem;--text-body:1rem;--text-body-sm:0.875rem;
  --text-caption:0.8125rem;--text-micro:0.6875rem;

  --leading-tight:1.06;--leading-snug:1.25;--leading-normal:1.55;--leading-loose:1.7;

  --weight-light:300;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;

  --tracking-tight:-0.02em;--tracking-normal:0;--tracking-wide:0.08em;
  --tracking-eyebrow:0.22em;--tracking-logo:0.34em;

  /* Semantic type roles */
  --type-hero-family:var(--font-display);
  --type-eyebrow-family:var(--font-ui);
  --type-body-family:var(--font-ui);
}

/* css/tokens/spacing.css */
:root{
  --space-0:0;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;
  --space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;
  --space-16:64px;--space-20:80px;--space-24:96px;--space-32:128px;

  --gutter-card:var(--space-6);
  --gutter-section:var(--space-24);
  --page-max:1200px;
  --page-pad:var(--space-8);
}

/* css/tokens/radius.css */
:root{
  --radius-xs:6px;--radius-sm:10px;--radius-md:14px;--radius-lg:22px;
  --radius-xl:32px;--radius-2xl:44px;--radius-pill:999px;--radius-circle:50%;
  --radius-control:var(--radius-pill);
  --radius-card:var(--radius-lg);
  --radius-media:var(--radius-xl);
  --radius-field:var(--radius-md);
}

/* css/tokens/elevation.css */
:root{
  /* Soft-clay elevation: wide diffuse drop + inner top highlight. No hard black. */
  --shadow-0:none;
  --shadow-1:0 1px 2px rgba(85,81,70,0.06),0 2px 8px rgba(85,81,70,0.05);
  --shadow-2:0 2px 4px rgba(85,81,70,0.06),0 8px 20px rgba(85,81,70,0.07);
  --shadow-3:0 4px 8px rgba(85,81,70,0.06),0 18px 38px rgba(85,81,70,0.10);
  --shadow-4:0 8px 16px rgba(85,81,70,0.07),0 34px 60px rgba(85,81,70,0.12);
  --shadow-emboss:inset 0 1px 0 rgba(255,255,255,0.85),inset 0 -1px 0 rgba(122,116,102,0.10);
  --shadow-inset:inset 0 2px 5px rgba(85,81,70,0.10);
  --shadow-brand:0 10px 24px rgba(176,118,102,0.24);
  --shadow-sage:0 10px 24px rgba(95,99,80,0.22);
  --ring-focus:0 0 0 3px rgba(133,134,108,0.32);
  --hairline-gold:inset 0 0 0 1px var(--gold-300);
}

/* css/tokens/motion.css */
:root{
  --ease-soft:cubic-bezier(0.22,0.61,0.36,1); /* @kind other */
  --ease-out:cubic-bezier(0.16,1,0.3,1); /* @kind other */
  --ease-in-out:cubic-bezier(0.65,0,0.35,1); /* @kind other */
  --duration-instant:90ms; /* @kind other */
  --duration-fast:160ms; /* @kind other */
  --duration-base:240ms; /* @kind other */
  --duration-slow:420ms; /* @kind other */
  --duration-ambient:9s; /* @kind other */
  --lift-hover:-2px;
  --press-scale:0.985; /* @kind other */
}

/* css/tokens/base.css */
/* Minimal element defaults so consumers inherit the brand voice for free. */
body{background:var(--surface-page);color:var(--text-body);font-family:var(--font-ui);font-size:var(--text-body);line-height:var(--leading-normal);-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--font-display);font-weight:var(--weight-500,500);color:var(--text-strong);line-height:var(--leading-snug);letter-spacing:var(--tracking-tight)}
a{color:var(--text-link);text-decoration:none;transition:color var(--duration-fast) var(--ease-soft)}
a:hover{color:var(--text-link-hover)}
::selection{background:var(--rose-200);color:var(--ink-900)}

/* css/ds.css */
/* 3Dreams Studio design system — component styles.
   Ported from _ds_bundle.js (components/*.jsx), which built these as inline
   styles on React elements. Values are unchanged; only the delivery differs. */

/* ---------------------------------------------------------------- Icon --- */
.icon {
  display: inline-block;
  flex: none;
  vertical-align: middle;
}

/* -------------------------------------------------------------- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 26px;
  font: var(--weight-medium) 15px/1 var(--font-ui);
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background var(--duration-fast) var(--ease-soft),
    transform var(--duration-fast) var(--ease-soft),
    box-shadow var(--duration-base) var(--ease-soft);
}

.btn--sm { height: 36px; padding: 0 18px; font-size: 13.5px; gap: 7px; }
.btn--lg { height: 56px; padding: 0 34px; font-size: 16.5px; }
.btn--block { width: 100%; }

.btn--primary   { background: var(--rose-400); color: var(--white);      box-shadow: var(--shadow-brand); }
.btn--secondary { background: var(--sage-500); color: var(--cream-100);  box-shadow: var(--shadow-sage); }
.btn--outline   { background: transparent; color: var(--sage-600); border-color: var(--gold-300); }
.btn--ghost     { background: transparent; color: var(--ink-700); }

.btn:hover:not(:disabled) {
  box-shadow: var(--shadow-3);
  transform: translateY(var(--lift-hover));
}
.btn--primary:hover:not(:disabled)   { background: var(--rose-500); }
.btn--secondary:hover:not(:disabled) { background: var(--sage-600); }
.btn--outline:hover:not(:disabled)   { background: var(--cream-100); }
.btn--ghost:hover:not(:disabled)     { background: var(--cream-300); }

.btn:active:not(:disabled) { transform: scale(var(--press-scale)); }

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

/* ----------------------------------------------------------------- Tag --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--cream-100);
  color: var(--ink-700);
  border: 1px solid var(--cream-500);
  border-radius: var(--radius-pill);
  font: var(--weight-regular) 13.5px/1 var(--font-ui);
  cursor: pointer;
  user-select: none;
  transition: all var(--duration-fast) var(--ease-soft);
}

.tag:hover { background: var(--cream-50); }

.tag[aria-pressed='true'] {
  background: var(--sage-500);
  color: var(--cream-100);
  border-color: transparent;
}

/* ------------------------------------------------------------ PriceTag --- */
.price {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.price--sm { font-size: 16px; }
.price--lg { font-size: 30px; }

/* ------------------------------------------------------ SectionHeading --- */
.heading { max-width: 560px; }

.heading--center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.heading__eyebrow {
  margin: 0 0 14px;
  font: var(--weight-medium) var(--text-micro) / 1 var(--font-ui);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-accent);
}

.heading__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-display-3);
  font-weight: 500;
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text-strong);
  text-wrap: pretty;
}

.heading--sm .heading__title { font-size: var(--text-h1); }
.heading--lg .heading__title { font-size: var(--text-display-2); }

.heading__rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: 20px 0 0;
  background: var(--gold-300);
}

.heading--center .heading__rule { margin: 20px auto 0; }

.heading__lead {
  margin: 18px 0 0;
  font-size: var(--text-body-lg);
  line-height: var(--leading-normal);
  color: var(--text-muted);
  text-wrap: pretty;
}

/* ------------------------------------------------------ MaterialSwatch --- */
.swatch {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(85, 81, 70, 0.14);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--duration-fast) var(--ease-soft);
}

.swatch[aria-pressed='true'] {
  box-shadow:
    0 0 0 2px var(--cream-100),
    0 0 0 4px var(--gold-400),
    var(--shadow-1);
}

.swatch .icon { display: none; }
.swatch[aria-pressed='true'] .icon { display: block; }

/* ----------------------------------------------------- QuantityStepper --- */
.stepper {
  display: inline-flex;
  align-items: center;
  background: var(--cream-50);
  border: 1px solid var(--cream-500);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-inset);
}

.stepper__btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--sage-600);
  cursor: pointer;
}

.stepper__btn:disabled {
  color: var(--text-faint);
  cursor: not-allowed;
}

.stepper__value {
  min-width: 26px;
  text-align: center;
  font: var(--weight-medium) 15px/1 var(--font-ui);
}

.stepper--sm .stepper__btn { width: 34px; height: 34px; }

/* --------------------------------------------------------------- Field --- */
.field {
  display: grid;
  gap: 7px;
}

.field__label {
  font: var(--weight-medium) 12px/1 var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-700);
}

.field__req { color: var(--rose-500); }

.field__hint {
  font: var(--weight-regular) var(--text-caption) / 1.4 var(--font-ui);
  color: var(--text-muted);
}

/* -------------------------------------------- Input / Textarea / Select --- */
.input,
.textarea,
.select {
  width: 100%;
  box-sizing: border-box;
  background: var(--cream-50);
  color: var(--text-body);
  border: 1px solid var(--cream-500);
  border-radius: var(--radius-field);
  font: var(--weight-regular) 15px/1 var(--font-ui);
  box-shadow: var(--shadow-inset);
  outline: none;
  transition: all var(--duration-fast) var(--ease-soft);
}

.input,
.select { height: 46px; padding: 0 16px; }

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--border-focus);
  box-shadow: var(--ring-focus);
}

.textarea {
  padding: 14px 16px;
  line-height: 1.55;
  resize: vertical;
}

.select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

/* Wrapper that positions the leading icon / trailing chevron. */
.control { position: relative; display: block; }

.control--icon .input { padding-left: 42px; }

.control__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: var(--ink-300);
}

.control__chevron {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: var(--gold-400);
  pointer-events: none;
}

/* ---------------------------------------------------------- EmptyState --- */
.empty {
  display: grid;
  gap: 14px;
  place-items: center;
  text-align: center;
  padding: 48px 24px;
}

.empty__disc {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-600);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-emboss);
}

.empty__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 500;
  color: var(--text-strong);
}

.empty__body {
  margin: 0;
  max-width: 340px;
  color: var(--text-muted);
  line-height: var(--leading-normal);
}

/* ------------------------------------------------------------- a11y --- */
:where(.btn, .tag, .swatch, .stepper__btn, .navlink, .linkbtn):focus-visible {
  outline: 2px solid var(--sage-600);
  outline-offset: 2px;
}

/* css/site.css */
/* 3Dreams Studio — site styles.
   Ported from the inline styles in "3Dreams Studio Site.dc.html". Colour and
   shadow values are carried over verbatim; the repeated soft-clay surfaces are
   collected here as .clay / .well so they are defined once. */

/* ------------------------------------------------------------- Layout --- */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* A textura vive no body e o gradiente da página fica quase opaco por cima —
   deixa passar só o grão. Fixa ao ecrã para não esticar numa página de 7000px. */
body {
  margin: 0;
  background: var(--cream-200) url('../assets/texture.jpg') center / cover fixed no-repeat;
  color: var(--ink-800);
  font-family: var(--font-ui);
}

.site {
  background: linear-gradient(180deg, rgba(251, 239, 225, 0.94) 0%, rgba(246, 231, 214, 0.94) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site__main { flex: 1 0 auto; }

/* width:100% matters — .container is also the <main>, a flex child of .site,
   and an auto cross-axis margin opts an item out of stretch. */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 32px;
}

.section { padding-bottom: 96px; }

/* .section só traz espaço em baixo, o que chega entre secções seguidas. Quando
   vem atrás de outra coisa — o herói, a grelha de valores, um painel — fica
   colada ao bloco anterior. */
:not(.section) + .section { padding-top: 96px; }

/* A última secção não repete o espaço que a própria página já dá em baixo. */
.page > .section:last-child { padding-bottom: 0; }

.page { padding-block: 56px 96px; }
.page--tight { padding-top: 32px; }
.page--narrow { max-width: 860px; }

a { color: var(--sage-600); text-decoration: none; }
a:hover { color: var(--rose-600); }

.linkbtn {
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.stack-h {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Language toggle — EN | PT. Segmented, not a dropdown: two options only. */
.langsw {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: var(--radius-pill, 999px);
  background: var(--surface-sunken, rgba(0, 0, 0, .05));
  flex: 0 0 auto;
}

.langsw__opt {
  border: 0;
  cursor: pointer;
  padding: 5px 9px;
  border-radius: var(--radius-pill, 999px);
  background: transparent;
  color: var(--text-muted, #6b6459);
  font: 500 12px/1 var(--font-sans, inherit);
  letter-spacing: .06em;
  transition: background var(--motion-fast, .18s) ease, color var(--motion-fast, .18s) ease;
}

.langsw__opt:hover { color: var(--text, #2c2a24); }

.langsw__opt[aria-pressed="true"] {
  background: var(--surface, #fff);
  color: var(--text, #2c2a24);
  box-shadow: var(--elevation-1, 0 1px 2px rgba(0, 0, 0, .12));
}

.langsw__opt:focus-visible {
  outline: 2px solid var(--focus, currentColor);
  outline-offset: 2px;
}

.drawer__foot .langsw { margin-bottom: 4px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skiplink {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--cream-50);
  color: var(--ink-900);
  box-shadow: var(--shadow-2);
  transition: top var(--duration-fast) var(--ease-soft);
}

.skiplink:focus { top: 12px; }

/* --------------------------------------------------- Soft-clay surfaces --- */
.clay {
  background: linear-gradient(152deg, #FFF9F0 0%, #F6E7D6 100%);
  box-shadow:
    14px 18px 36px rgba(150, 110, 90, 0.18),
    inset 2px 2px 4px rgba(255, 255, 255, 0.5),
    inset -3px -5px 10px rgba(150, 110, 90, 0.10);
}

.clay--lifted {
  box-shadow:
    16px 22px 44px rgba(150, 110, 90, 0.18),
    inset 2px 2px 4px rgba(255, 255, 255, 0.5),
    inset -3px -5px 10px rgba(150, 110, 90, 0.10);
}

.clay--flat {
  box-shadow:
    12px 16px 32px rgba(150, 110, 90, 0.16),
    inset 2px 2px 4px rgba(255, 255, 255, 0.5),
    inset -3px -5px 10px rgba(150, 110, 90, 0.10);
}

/* The pressed-in wells that product imagery sits in. */
.well {
  box-shadow:
    inset 7px 9px 18px rgba(150, 110, 90, 0.22),
    inset -7px -9px 18px rgba(255, 255, 255, 0.5);
}

.blob {
  width: 46%;
  height: 46%;
  border-radius: 50%;
  box-shadow:
    9px 13px 22px rgba(150, 110, 90, 0.24),
    inset -6px -9px 14px rgba(150, 110, 90, 0.16),
    inset 6px 7px 14px rgba(255, 255, 255, 0.7);
}

/* The inset pill used for step numbers and the active nav item. */
.pressed {
  background: #F3E2D2;
  box-shadow:
    inset 3px 4px 8px rgba(150, 110, 90, 0.22),
    inset -3px -4px 8px rgba(255, 255, 255, 0.55);
}

/* -------------------------------------------------------------- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 239, 225, 0.86);
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 26px rgba(150, 110, 90, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}

/* The supplied artwork, not typeset text. The horizontal lockup carries the
   whole mark, so it stands alone wherever the ground is cream. */
.brand__logo {
  display: block;
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.navlink {
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font-family: var(--font-ui);
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: box-shadow var(--duration-fast) var(--ease-soft);
}

.navlink[aria-current='page'] {
  color: var(--ink-900);
  background: #F3E2D2;
  box-shadow:
    inset 3px 4px 8px rgba(150, 110, 90, 0.22),
    inset -3px -4px 8px rgba(255, 255, 255, 0.55);
}

.cartbtn {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 0;
  background: linear-gradient(150deg, #FFF9F0, #F2DFCC);
  color: var(--ink-800);
  font-family: var(--font-ui);
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    6px 8px 16px rgba(150, 110, 90, 0.20),
    inset 1px 1px 2px rgba(255, 255, 255, 0.55);
}

.cartbtn:active {
  box-shadow:
    inset 3px 4px 8px rgba(150, 110, 90, 0.22),
    inset -3px -4px 8px rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------ Progress --- */
/* Reading progress, riding the bottom edge of the sticky header. */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(199, 179, 155, 0.28);
  transition: opacity var(--duration-base) var(--ease-soft);
}

/* Nothing to report at the top of the page — the track fades out of the way. */
.progress.is-idle { opacity: 0; }

.progress__fill {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--rose-400), var(--gold-300) 55%, var(--sage-400));
  box-shadow: 0 0 8px rgba(190, 154, 94, 0.45);
  will-change: transform;
}

/* ---------------------------------------------------------------- Hero --- */
.hero { position: relative; overflow: hidden; }

.hero__glow {
  position: absolute;
  pointer-events: none;
}

.hero__glow--rose {
  top: -160px;
  right: -140px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 34% 28%, #FBE3D8, #EFCBBB 70%, #E3B8A6);
  opacity: 0.75;
  border-radius: 58% 42% 47% 53% / 46% 51% 49% 54%;
  box-shadow: 24px 30px 60px rgba(150, 110, 90, 0.16);
}

.hero__glow--sage {
  bottom: -220px;
  left: -180px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle at 36% 30%, #EEF0E3, #D6D8C4 72%, #C3C6AE);
  opacity: 0.7;
  border-radius: 44% 56% 62% 38% / 54% 43% 57% 46%;
  box-shadow: 22px 28px 56px rgba(150, 110, 90, 0.14);
}

.hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 32px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: pretty;
}

.hero__lead {
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 46ch;
  text-wrap: pretty;
}

.hero__actions { margin-top: 32px; }

.hero__meta {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-500);
  font-family: var(--font-mono);
}

/* O palco está vazio de propósito — o selo é impresso pelo vídeo, atrás. Guarda
   a altura que o plinto tinha, para o herói manter as proporções e a marca do
   vídeo cair onde o selo caía. */
.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 463px;
}

.hero__dot {
  position: absolute;
  border-radius: 50%;
}

.hero__dot--rose {
  left: 2%;
  top: 6%;
  width: 74px;
  height: 74px;
  background: radial-gradient(circle at 32% 28%, #FBEDE2, #E4B7A4 68%, #CE9A86);
  box-shadow: 14px 18px 30px rgba(150, 110, 90, 0.22);
}

.hero__dot--sage {
  right: 4%;
  bottom: 8%;
  width: 52px;
  height: 52px;
  background: radial-gradient(circle at 34% 30%, #EFF0E4, #B7B99E 70%, #9B9D82);
  box-shadow: 10px 14px 24px rgba(150, 110, 90, 0.2);
}

.hero__cast {
  position: absolute;
  bottom: 6px;
  width: 70%;
  height: 34px;
  border-radius: 50%;
  background: rgba(150, 110, 90, 0.14);
  filter: blur(14px);
}

.hero__plinth {
  position: relative;
  background: linear-gradient(150deg, #FFF8EE 0%, #F6E7D6 100%);
  border-radius: 44px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow:
    22px 26px 56px rgba(150, 110, 90, 0.24),
    inset 2px 2px 5px rgba(255, 255, 255, 0.5),
    inset -4px -6px 12px rgba(150, 110, 90, 0.12);
}

.hero__logo {
  width: 250px;
  height: 250px;
  display: block;
  filter: drop-shadow(10px 14px 20px rgba(150, 110, 90, 0.28));
}

.hero__tagline {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-600);
}

/* ------------------------------------------------------------- Pillars --- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.pillar {
  border-radius: 28px;
  padding: 28px;
  transition:
    transform var(--duration-base) var(--ease-soft),
    box-shadow var(--duration-base) var(--ease-soft);
}

.pillar:hover {
  transform: translateY(-2px);
  box-shadow:
    18px 24px 44px rgba(150, 110, 90, 0.22),
    inset 2px 2px 4px rgba(255, 255, 255, 0.5),
    inset -3px -5px 10px rgba(150, 110, 90, 0.10);
}

.pillar__disc {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-100);
  margin-bottom: 18px;
  box-shadow:
    8px 10px 18px rgba(150, 110, 90, 0.26),
    inset 2px 3px 6px rgba(255, 255, 255, 0.35),
    inset -2px -3px 6px rgba(90, 70, 55, 0.18);
}

.pillar__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-900);
}

.pillar__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-500);
}

.pillar--value .pillar__title { font-size: 22px; }
.pillar--value .pillar__text { line-height: 1.6; }

/* -------------------------------------------------------- Product card --- */
.section__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.products { display: grid; gap: 22px; }

.card {
  border-radius: 30px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-700);
  background: rgba(255, 251, 245, 0.9);
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 3px 4px 10px rgba(150, 110, 90, 0.18);
}

/* Grows so the price row sits on the baseline whatever the title wraps to. */
.card__body {
  flex: 1;
  padding: 2px 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__cat {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink-900);
}

.card__name .linkbtn {
  font: inherit;
  color: inherit;
  text-align: left;
}

.card__rating {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}

.card__price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-900);
}

.addbtn {
  border: 0;
  background: linear-gradient(150deg, #E7B7A6, #D79684);
  color: #FFF8F2;
  font-family: var(--font-ui);
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    6px 9px 16px rgba(150, 110, 90, 0.28),
    inset 1px 2px 3px rgba(255, 255, 255, 0.5);
}

.addbtn:active {
  box-shadow: inset 3px 4px 8px rgba(120, 80, 65, 0.35);
}

/* --------------------------------------------------------- Custom band --- */
.band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #8E9077 0%, #767963 100%);
  border-radius: 36px;
  padding: 44px;
  box-shadow:
    18px 24px 48px rgba(110, 90, 70, 0.28),
    inset 2px 3px 6px rgba(255, 255, 255, 0.22),
    inset -4px -6px 14px rgba(60, 55, 40, 0.28);
}

.band__orb {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #A9AB8F, #7C7F68 72%, #6B6E58);
  box-shadow: inset -10px -14px 26px rgba(50, 48, 36, 0.35);
}

.band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.band__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-200);
  margin-bottom: 14px;
}

.band__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream-100);
}

.band__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cream-200);
  max-width: 44ch;
}

.band__action { display: flex; justify-content: flex-end; }

/* --------------------------------------------------------------- Steps --- */
.steps { margin-top: 36px; }

.step {
  border-radius: 28px;
  padding: 30px;
}

.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-700);
  letter-spacing: 0.06em;
}

.step__title {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-900);
}

.step__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-500);
}

/* ------------------------------------------------------------- Catalog --- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 28px;
}

/* ------------------------------------------------------------- Product --- */
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 28px;
}

.crumbs__sep { color: var(--gold-300); }

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.detail__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 10px 14px 28px rgba(150, 110, 90, 0.22),
    inset -10px -14px 28px rgba(255, 255, 255, 0.5),
    16px 20px 40px rgba(150, 110, 90, 0.16);
}

.detail__blob {
  width: 46%;
  height: 46%;
  border-radius: 50%;
  box-shadow:
    14px 20px 34px rgba(150, 110, 90, 0.26),
    inset -10px -14px 22px rgba(150, 110, 90, 0.16),
    inset 9px 11px 20px rgba(255, 255, 255, 0.7);
}

.detail__note {
  position: absolute;
  bottom: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}

.detail__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink-900);
}

.detail__text {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  max-width: 48ch;
}

.detail__group { margin-top: 32px; }

.detail__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 12px;
}

.swatches {
  display: flex;
  gap: 12px;
  align-items: center;
}

.swatches__name {
  font-size: 14px;
  color: var(--ink-500);
  margin-left: 6px;
}

.detail__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.specs {
  margin-top: 36px;
  border-top: 1px solid var(--cream-500);
  padding-top: 24px;
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-500);
}

.specs__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.specs__row dt { margin: 0; }
.specs__row dd { margin: 0; color: var(--ink-700); }

/* -------------------------------------------------------------- Custom --- */
.split {
  display: grid;
  gap: 32px;
  margin-top: 36px;
  align-items: start;
}

.split--form { grid-template-columns: 1.15fr 0.85fr; }
.split--contact { grid-template-columns: 0.9fr 1.1fr; }
.split--cart { grid-template-columns: 1.35fr 0.65fr; }

.panel {
  border-radius: 34px;
  padding: 34px;
}

.panel--aside {
  border-radius: 32px;
  padding: 30px;
}

.form { display: grid; gap: 22px; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.form__pair--divided {
  border-top: 1px solid var(--cream-500);
  padding-top: 22px;
}

.form__submit {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form__status {
  font-size: 13px;
  color: var(--ink-500);
}

.dropzone {
  display: block;
  cursor: pointer;
  border: 1px dashed var(--cream-600);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  background: #F7E9DA;
  color: var(--ink-500);
  box-shadow:
    inset 6px 8px 16px rgba(150, 110, 90, 0.18),
    inset -6px -8px 16px rgba(255, 255, 255, 0.5);
}

.dropzone.is-over {
  border-color: var(--sage-400);
  background: #F2E6DA;
}

.dropzone__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--sage-500);
}

.dropzone__text { display: block; font-size: 14px; }

.dropzone__hint {
  display: block;
  font-size: 12px;
  color: var(--ink-300);
  margin-top: 6px;
  font-family: var(--font-mono);
}

.aside__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-900);
}

.aside__steps { display: grid; gap: 18px; }

.aside__step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.aside__n {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
}

.aside__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-700);
}

.aside__facts {
  margin-top: 24px;
  border-top: 1px solid var(--cream-500);
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.8;
}

/* ---------------------------------------------------------------- Cart --- */
.lines { display: grid; gap: 16px; }

.line {
  border-radius: 28px;
  padding: 18px;
}

.line__inner {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  align-items: center;
}

.line__thumb {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 5px 7px 14px rgba(150, 110, 90, 0.22),
    inset -5px -7px 14px rgba(255, 255, 255, 0.5);
}

.line__blob {
  width: 46%;
  height: 46%;
  border-radius: 50%;
  box-shadow:
    5px 7px 12px rgba(150, 110, 90, 0.24),
    inset -4px -5px 9px rgba(150, 110, 90, 0.16),
    inset 4px 5px 9px rgba(255, 255, 255, 0.7);
}

.line__cat {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 6px;
}

.line__name {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-900);
}

.line__filament {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}

.line__chip {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(85, 81, 70, 0.18);
  box-shadow: var(--shadow-1);
}

.line__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.line__remove {
  color: var(--ink-500);
  font-size: 13px;
  text-decoration: underline;
}

.line__total {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-900);
}

.summary {
  position: sticky;
  top: 96px;
  border-radius: 32px;
  padding: 30px;
}

.summary__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink-900);
}

.summary__rows {
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-700);
}

.summary__row {
  display: flex;
  justify-content: space-between;
}

.summary__total {
  border-top: 1px solid var(--cream-500);
  margin: 20px 0;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.summary__label {
  font-size: 14px;
  color: var(--ink-500);
}

.summary__note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-500);
  text-align: center;
}

.empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

/* --------------------------------------------------------------- About --- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about__text {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 52ch;
}

.about__text:first-of-type { margin-top: 24px; }

.about__portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 36px;
  background: radial-gradient(circle at 34% 28%, #EFF0E4, #D8DAC6 72%, #C6C9B2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 10px 14px 28px rgba(120, 110, 80, 0.22),
    inset -10px -14px 28px rgba(255, 255, 255, 0.7),
    16px 20px 40px rgba(150, 110, 90, 0.16);
}

.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Legenda sobre a imagem: precisa da sua própria base para se ler. */
.about__note {
  position: absolute;
  bottom: 18px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 251, 244, 0.88);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-700);
  box-shadow: var(--shadow-1);
}

.values { margin-top: 80px; }

/* ----------------------------------------------------------------- FAQ --- */
.faqs {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.faq {
  border-radius: 26px;
  padding: 24px 26px;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.faq__label {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink-900);
}

.faq__icon {
  color: var(--gold-400);
  flex: 0 0 auto;
  display: flex;
}

.faq__a {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-700);
  max-width: 62ch;
}

/* ------------------------------------------------------------- Contact --- */
.contacts { display: grid; gap: 22px; }

.contact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact__disc {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #F3E2D2;
  color: var(--sage-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 3px 4px 8px rgba(150, 110, 90, 0.20),
    inset -3px -4px 8px rgba(255, 255, 255, 0.55);
}

.contact__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 5px;
}

.contact__value {
  display: block;
  font-size: 15px;
  color: var(--ink-800);
  line-height: 1.5;
}

.contact__note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--cream-500);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.7;
}

/* -------------------------------------------------------------- Footer --- */
.footer {
  background: linear-gradient(160deg, #8E9077 0%, #6F725C 100%);
  color: var(--cream-100);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.22),
    inset 0 -6px 18px rgba(50, 48, 36, 0.28);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}

/* On the sage ground the lockup's cream emboss shadows would halo, so the
   footer takes the badge — its own cream plate reads on any colour. */
.footer__logo {
  display: block;
  width: 88px;
  height: 88px;
}

.footer__blurb {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cream-200);
  max-width: 34ch;
}

.footer__title {
  display: block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-200);
  margin-bottom: 16px;
}

.footer__list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--cream-200);
}

.footer__list .linkbtn,
.footer__list a {
  text-align: left;
  color: var(--cream-200);
  font-size: 14px;
}

.footer__list .linkbtn:hover,
.footer__list a:hover { color: var(--white); }

.footer__bar { border-top: 1px solid var(--sage-500); }

.footer__bar div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cream-200);
}

/* --------------------------------------------------------------- Toast --- */
/* A deck: the toasts behind scale down and peek out, then fan open on hover.
   JS owns transform/height/opacity — this file owns the surface. */
.toasts {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 60;
  width: min(370px, calc(100vw - 40px));
  height: 0;
  pointer-events: none;
}

.toast {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  transform-origin: bottom center;
  background: linear-gradient(152deg, #FFFBF4 0%, #F7EADB 100%);
  border-radius: var(--radius-lg);
  box-shadow:
    0 2px 4px rgba(85, 81, 70, 0.06),
    14px 18px 40px rgba(150, 110, 90, 0.26),
    inset 2px 2px 4px rgba(255, 255, 255, 0.6),
    inset -2px -3px 8px rgba(150, 110, 90, 0.10);
  transition:
    transform var(--duration-slow) var(--ease-out),
    opacity var(--duration-base) var(--ease-soft),
    height var(--duration-base) var(--ease-soft);
}

.toast:active { cursor: grabbing; }

/* Only the front card shows its contents; the rest are just the deck edge. */
.toast[data-behind='true'] > * { opacity: 0; }

.toast > * {
  transition: opacity var(--duration-base) var(--ease-soft);
}

.toast__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sage-100);
  color: var(--sage-600);
  box-shadow: var(--shadow-emboss);
}

.toast__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.toast__title {
  font-size: 14px;
  font-weight: var(--weight-medium);
  color: var(--ink-900);
  line-height: 1.3;
}

.toast__desc {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-500);
  line-height: 1.4;
}

.toast__action {
  flex: 0 0 auto;
  border: 0;
  background: var(--sage-500);
  color: var(--cream-100);
  font: var(--weight-medium) 12.5px/1 var(--font-ui);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-soft);
}

.toast__action:hover { background: var(--sage-600); }

.toast__close {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  background: none;
  color: var(--ink-300);
  border-radius: 50%;
  cursor: pointer;
}

.toast__close:hover { color: var(--ink-700); background: var(--cream-300); }

/* -------------------------------------------------------------- Drawer --- */
body.is-locked { overflow: hidden; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--cream-400);
}

.drawer__logo {
  display: block;
  height: 46px;
  width: auto;
}

.drawer__nav {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px 14px;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font: var(--weight-regular) 16px/1 var(--font-ui);
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-soft);
}

.drawer__link .icon { color: var(--gold-400); opacity: 0; transition: opacity var(--duration-fast) var(--ease-soft); }
.drawer__link:hover { background: rgba(255, 251, 244, 0.7); }
.drawer__link:hover .icon { opacity: 1; }

.drawer__link[aria-current='page'] {
  color: var(--ink-900);
  background: #F3E2D2;
  box-shadow:
    inset 3px 4px 8px rgba(150, 110, 90, 0.20),
    inset -3px -4px 8px rgba(255, 255, 255, 0.55);
}

.drawer__link[aria-current='page'] .icon { opacity: 1; }

.drawer__foot {
  display: grid;
  gap: 6px;
  padding: 20px 22px;
  border-top: 1px solid var(--cream-400);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}

.menubtn {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  color: var(--ink-800);
  cursor: pointer;
  background: linear-gradient(150deg, #FFF9F0, #F2DFCC);
  box-shadow:
    6px 8px 16px rgba(150, 110, 90, 0.20),
    inset 1px 1px 2px rgba(255, 255, 255, 0.55);
}

.menubtn:active {
  box-shadow:
    inset 3px 4px 8px rgba(150, 110, 90, 0.22),
    inset -3px -4px 8px rgba(255, 255, 255, 0.55);
}

/* ---------------------------------------------------------- Responsive --- */
@media (max-width: 1080px) {
  .hero__inner,
  .about { grid-template-columns: 1fr; gap: 40px; }

  .hero__title { font-size: 48px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

  .detail { grid-template-columns: 1fr; gap: 36px; }
  .split--form,
  .split--contact,
  .split--cart { grid-template-columns: 1fr; }

  .summary { position: static; }
  .band__inner { grid-template-columns: 1fr; gap: 24px; }
  .band__action { justify-content: flex-start; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container,
  .header__inner,
  .hero__inner,
  .footer__inner,
  .footer__bar div { padding-inline: 20px; }

  .hero__inner { padding-top: 56px; padding-bottom: 64px; }
  .section { padding-bottom: 64px; }
  :not(.section) + .section { padding-top: 64px; }
  .page { padding-block: 36px 64px; }

  .hero__title { font-size: 38px; }
  .heading__title { font-size: var(--text-h1); }
  .detail__title { font-size: 32px; }
  .band { padding: 30px; }
  .band__title { font-size: 30px; }
  .panel { padding: 24px; border-radius: 28px; }

  /* The nav moves into the drawer rather than wrapping to a second row. */
  .nav { display: none; }
  .menubtn { display: grid; }
  .cartbtn { margin-left: auto; }
  .toasts { right: 16px; bottom: 16px; left: 16px; width: auto; }

  .grid-4,
  .grid-3,
  .products { grid-template-columns: 1fr !important; }

  .form__pair { grid-template-columns: 1fr; }
  .line__inner { grid-template-columns: 72px 1fr; }
  .line__thumb { width: 72px; height: 72px; }
  .line__total { grid-column: 2; }
  .footer__inner { grid-template-columns: 1fr; }
  .values { margin-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .btn:hover:not(:disabled),
  .pillar:hover { transform: none; }
}

/* css/shop.css */
/* Loja completa — componentes e páginas acrescentados sobre site.css.
   Continua tudo a sair dos tokens da marca. */

/* ------------------------------------------------------------- movimento --- */
/* O estado escondido depende de `.motion-on`, que só é posta quando o JS
   confirma que consegue revelar. Sem JS, ou sem IntersectionObserver, o
   conteúdo fica simplesmente visível em vez de desaparecer. */
.motion-on [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}
.motion-on [data-reveal].is-in { opacity: 1; transform: none; }

[data-tilt] {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
             translateZ(calc(var(--tilt-lift, 0) * 6px));
  transition: transform 260ms var(--ease-soft);
}

[data-parallax] { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .motion-on [data-reveal] { opacity: 1; transform: none; transition: none; }
  [data-tilt] { transform: none; }
}

/* --------------------------------------------------------------- topbar --- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 20px;
  background: linear-gradient(90deg, var(--sage-600), var(--sage-500) 50%, var(--sage-600));
  color: var(--cream-100);
  font-family: var(--font-mono);
  font-size: 12px;
}
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .iconbtn { color: var(--cream-200); background: none; box-shadow: none; }
.topbar .iconbtn:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }

/* ------------------------------------------------------------- iconbtn --- */
.iconbtn {
  display: grid;
  place-items: center;
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  color: var(--ink-800);
  cursor: pointer;
  background: linear-gradient(150deg, #FFF9F0, #F2DFCC);
  box-shadow: 6px 8px 16px rgba(150, 110, 90, 0.18), inset 1px 1px 2px rgba(255, 255, 255, 0.55);
  transition: transform var(--duration-fast) var(--ease-soft), color var(--duration-fast) var(--ease-soft);
}
.iconbtn:hover { transform: translateY(-1px); color: var(--rose-600); }
.iconbtn:active { transform: none; box-shadow: inset 3px 4px 8px rgba(150, 110, 90, 0.22); }
.iconbtn.is-on { color: var(--rose-500); }
.iconbtn.is-on .icon { fill: currentColor; }

.iconbtn--tiny { width: 32px; height: 32px; box-shadow: var(--shadow-1); }
.iconbtn--big { width: 56px; height: 56px; }
.iconbtn--ghost { background: none; box-shadow: none; color: var(--ink-500); }
.iconbtn--ghost:hover { background: var(--cream-300); }
.iconbtn--float { background: rgba(255, 251, 245, 0.92); box-shadow: 3px 5px 12px rgba(150, 110, 90, 0.22); }
.iconbtn--tiny.is-on { background: var(--sage-500); color: var(--cream-100); }

.dot {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rose-500);
  color: var(--white);
  font: var(--weight-medium) 10px/17px var(--font-ui);
}

.header__tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* No topo não há nada por trás e a translucidez assenta bem sobre o herói. A
   partir do momento em que passa por cima de conteúdo, tem de tapar: a 86% via-se
   o texto desfocado a atravessar o logótipo. */
.header.is-stuck {
  background: rgba(254, 249, 241, 0.97);
  box-shadow: 0 14px 32px rgba(150, 110, 90, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ----------------------------------------------------------------- hero --- */
/* O vídeo imprime o logótipo onde antes estava o plinto. O fotograma final é a
   mesma composição do poster, por isso o que se vê antes de tocar é o que fica. */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Véu em gradiente: quase opaco à esquerda, onde está o texto; a abrir para a
   direita, onde a marca se forma. Uniforme apagaria o gesto todo. */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(251, 239, 225, 0.97) 0%,
    rgba(251, 239, 225, 0.94) 30%,
    rgba(250, 238, 226, 0.62) 46%,
    rgba(249, 237, 226, 0.16) 60%,
    rgba(249, 237, 226, 0) 74%
  );
}

/* Os brilhos passaram para dentro do vídeo, por baixo do logótipo — o vídeo é
   opaco, portanto qualquer coisa desenhada por cima dele tapava a marca. Aqui
   só ficam escondidos; abaixo de 1080px, onde não há vídeo, voltam. */
.hero__glow { display: none; }
.hero__inner { position: relative; z-index: 2; }

/* O selo fixo só entra quando o vídeo sai (abaixo de 1080px). */
.hero__logo { display: none; }

.hero__copy .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.hero__line { display: block; }
.hero__line--accent {
  background: linear-gradient(96deg, var(--rose-500), var(--gold-400) 45%, var(--sage-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__stats {
  display: flex;
  gap: 36px;
  margin: 40px 0 0;
  flex-wrap: wrap;
}
.hero__stats div { display: grid; gap: 4px; }
.hero__stats dt {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1;
}
.hero__stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-500);
}
.about__stats { margin-top: 32px; }

.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 251, 244, 0.92);
  box-shadow: 6px 10px 20px rgba(150, 110, 90, 0.2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-700);
}
.hero__chip--a { top: 12%; right: -2%; }
.hero__chip--b { bottom: 14%; left: -4%; }

/* --------------------------------------------------------------- marquee --- */
/* Opaco de propósito: é a faixa que fecha o herói, e translúcida deixava ver a
   aresta do vídeo a atravessá-la. */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--cream-400);
  border-bottom: 1px solid var(--cream-400);
  background: #FCF4E9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 30s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  white-space: nowrap;
}
.marquee__item i { color: var(--gold-300); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ------------------------------------------------------------ categorias --- */
.cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.cat {
  border: 0;
  border-radius: 26px;
  padding: 14px 14px 18px;
  display: grid;
  justify-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-soft);
}
.cat:hover { transform: translateY(-3px); }

/* O disco de barro deu lugar a um estudo de matéria — abstrato, não uma peça. */
.cat__media {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(199, 179, 155, 0.5);
}
.cat__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}
.cat:hover .cat__img { transform: scale(1.06); }
.cat__name { font-family: var(--font-display); font-size: 16px; color: var(--ink-900); }
.cat__count { font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); }

/* --------------------------------------------------------------- badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font: var(--weight-medium) 10px/1 var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(255, 251, 245, 0.92);
  color: var(--ink-700);
  box-shadow: 3px 4px 10px rgba(150, 110, 90, 0.18);
}
.badge--new { background: var(--sage-500); color: var(--cream-100); }
.badge--sale { background: var(--rose-500); color: var(--white); }
.badge--out { background: var(--ink-700); color: var(--cream-100); }

/* --------------------------------------------------------------- rating --- */
.rating { display: inline-flex; align-items: center; gap: 8px; }
.stars { display: inline-flex; gap: 1px; }
.star { display: inline-flex; color: var(--gold-300); }
.star[data-fill="1"] .icon { fill: var(--gold-300); }
.star[data-fill="0.5"] .icon { fill: url(#half); opacity: 0.75; }
.star[data-fill="0"] { color: var(--cream-500); }
.rating__label { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-500); }

/* ---------------------------------------------------------------- stock --- */
.stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.stock--in { color: var(--success-fg); }
.stock--low { color: var(--warning-fg); }
.stock--out { color: var(--danger-fg); }

/* ---------------------------------------------------------------- trust --- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 244, 0.66);
  box-shadow: inset 0 0 0 1px var(--cream-400);
}
.trust__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-600);
}
.trust__item strong { display: block; font: var(--weight-medium) 14px/1.3 var(--font-ui); color: var(--ink-900); }
.trust__item small { display: block; margin-top: 3px; font-size: 12px; color: var(--ink-500); line-height: 1.45; }

/* ----------------------------------------------------------- cartão peça --- */
.card { position: relative; overflow: hidden; }
.card__media { position: relative; overflow: hidden; }
.card__hit { position: absolute; inset: 0; border: 0; background: none; cursor: pointer; z-index: 1; }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.card__tools {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--duration-base) var(--ease-soft), transform var(--duration-base) var(--ease-soft);
}
.card:hover .card__tools,
.card:focus-within .card__tools { opacity: 1; transform: none; }
.card__tools .iconbtn { width: 34px; height: 34px; }

.card__swatches {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 5px;
  z-index: 2;
}
.card__swatches i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 5px rgba(120, 90, 70, 0.28);
}
.card__prices { display: inline-flex; align-items: baseline; gap: 8px; }
.price__was { color: var(--text-faint); font-size: 13px; font-family: var(--font-ui); }
.addbtn:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

/* -------------------------------------------------------------- catálogo --- */
.catalog {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 36px;
  margin-top: 36px;
  align-items: start;
}
.filters {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 251, 244, 0.7);
  box-shadow: inset 0 0 0 1px var(--cream-400);
}
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.filters__title { margin: 0; display: flex; align-items: center; gap: 8px; font: var(--weight-medium) 14px/1 var(--font-ui); color: var(--ink-900); }
.filters__clear { font-size: 12.5px; color: var(--rose-600); text-decoration: underline; }
.filters__group { display: grid; gap: 10px; }
.filters__group h3 {
  margin: 0;
  font: var(--weight-medium) 11px/1 var(--font-ui);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.filters__group h3 b { color: var(--ink-700); letter-spacing: 0; text-transform: none; font-size: 12px; }
.filters__tags, .filters__swatches { display: flex; flex-wrap: wrap; gap: 7px; }

.panel__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--rose-400);
  color: var(--white);
  font: var(--weight-medium) 11px/1 var(--font-ui);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 6px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-ui);
}
.check__box {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--cream-600);
  background: var(--cream-50);
  color: var(--white);
  transition: all var(--duration-fast) var(--ease-soft);
}
.check[aria-checked="true"] .check__box { background: var(--sage-500); border-color: var(--sage-500); }
.check__text span { display: block; font-size: 14px; color: var(--ink-800); }
.check__text small { display: block; font-size: 11.5px; color: var(--ink-500); margin-top: 2px; }

.range { width: 100%; accent-color: var(--sage-500); }
.range__ends { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--ink-300); }

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.toolbar__search { flex: 1 1 220px; min-width: 180px; }
.toolbar__count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); }
.toolbar__sort { width: 190px; }
.toolbar__sort .select { height: 40px; }
.toolbar__cols { display: flex; gap: 5px; }
.toolbar__filters { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.chip-x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--cream-500);
  border-radius: var(--radius-pill);
  background: var(--cream-100);
  color: var(--ink-700);
  font: var(--weight-regular) 12.5px/1 var(--font-ui);
  cursor: pointer;
}
.chip-x:hover { background: var(--cream-50); color: var(--rose-600); }
.chips__clear { font-size: 12.5px; color: var(--rose-600); text-decoration: underline; margin-left: 4px; }

.loadmore { display: grid; justify-items: center; gap: 10px; margin-top: 40px; }
.loadmore__note { margin: 0; font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); }

/* --------------------------------------------------------------- produto --- */
.product__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.product__seek { display: flex; gap: 6px; }
.crumbs__link { color: var(--sage-600); font-size: 13px; }

.gallery { display: grid; gap: 14px; position: sticky; top: 104px; }
.gallery__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: inset 10px 14px 28px rgba(150, 110, 90, 0.22), inset -10px -14px 28px rgba(255, 255, 255, 0.5),
    16px 20px 40px rgba(150, 110, 90, 0.16);
}
.gallery__piece {
  position: absolute;
  transform: translate(-50%, -50%);
  transition: width var(--duration-slow) var(--ease-out), height var(--duration-slow) var(--ease-out),
    left var(--duration-slow) var(--ease-out), top var(--duration-slow) var(--ease-out),
    background var(--duration-base) var(--ease-soft);
}
.gallery__badges { position: absolute; top: 18px; left: 18px; display: flex; gap: 6px; }
.gallery__zoom {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 251, 245, 0.9);
  color: var(--ink-700);
  box-shadow: 3px 5px 12px rgba(150, 110, 90, 0.22);
}
.gallery__cap {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-500);
}
.gallery__engrave {
  position: absolute;
  bottom: 46px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 76%;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 251, 245, 0.86);
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink-900);
  box-shadow: var(--shadow-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: inset 3px 4px 9px rgba(150, 110, 90, 0.2), inset -3px -4px 9px rgba(255, 255, 255, 0.5);
  transition: box-shadow var(--duration-fast) var(--ease-soft);
}
.gallery__thumb .blob { position: absolute; transform: translate(-50%, -50%); }
.gallery__thumb.is-on { box-shadow: 0 0 0 2px var(--cream-100), 0 0 0 4px var(--gold-400); }

.buy { display: grid; gap: 0; align-content: start; }
.buy__meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.buy__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy__unitnote { margin: 6px 0 0; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-500); }
.buy__group { margin-top: 28px; }
.buy__label {
  display: block;
  margin-bottom: 12px;
  font: var(--weight-medium) 12px/1 var(--font-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.buy__label b { color: var(--ink-900); letter-spacing: 0; text-transform: none; font-size: 13px; }

.options { display: grid; gap: 10px; }
.options--row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--cream-500);
  border-radius: var(--radius-md);
  background: var(--cream-50);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: all var(--duration-fast) var(--ease-soft);
}
.option:hover { border-color: var(--gold-300); }
.option.is-on { border-color: var(--sage-500); background: #FBF6EC; box-shadow: var(--ring-focus); }
.option:disabled { opacity: 0.45; cursor: not-allowed; }
.option__dot {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--cream-600);
  background: var(--white);
  transition: all var(--duration-fast) var(--ease-soft);
}
.option.is-on .option__dot { border-color: var(--sage-500); border-width: 5px; }
.option__body { flex: 1; min-width: 0; }
.option__title { display: block; font-size: 14px; color: var(--ink-900); }
.option__note { display: block; font-size: 11.5px; color: var(--ink-500); margin-top: 2px; }
.option__price { font-family: var(--font-mono); font-size: 12px; color: var(--ink-700); white-space: nowrap; }

.control--counter { position: relative; display: block; }
.control--counter .input { padding-right: 62px; }
.control__count {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-300);
}
.control__count b { color: var(--ink-700); }

.buy__actions { display: flex; align-items: center; gap: 12px; margin: 28px 0 12px; flex-wrap: wrap; }
.buy__actions .btn { flex: 1 1 200px; }

.buy__delivery {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--sage-100);
  color: var(--sage-700);
  font-size: 13.5px;
  line-height: 1.5;
}
.buy__delivery b { color: var(--ink-900); }
.buy__pickup { color: var(--sage-600); text-decoration: underline; font-size: 13.5px; }

.buy__share { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.buy__share > span { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-500); margin-right: 4px; }

.stickybuy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 12px 0;
  background: rgba(253, 245, 234, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px rgba(150, 110, 90, 0.18);
  animation: slideup var(--duration-base) var(--ease-out);
}
@keyframes slideup { from { transform: translateY(100%); } }
.stickybuy__inner { display: flex; align-items: center; gap: 16px; }
.stickybuy__thumb {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.stickybuy__name { flex: 1; font-family: var(--font-display); font-size: 17px; color: var(--ink-900); min-width: 0; }
.stickybuy__name small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); }
.stickybuy__price { font-family: var(--font-display); font-size: 20px; color: var(--ink-900); }

/* Dois painéis seguidos: o de baixo não herda espaço de secção nenhuma. */
.tabsblock { border-radius: var(--radius-lg); padding: 8px 30px 30px; margin-bottom: 24px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--cream-400); margin-bottom: 22px; flex-wrap: wrap; }
.tabs__tab {
  border: 0;
  background: none;
  padding: 16px 18px;
  cursor: pointer;
  font: var(--weight-medium) 14px/1 var(--font-ui);
  color: var(--ink-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--duration-fast) var(--ease-soft);
}
.tabs__tab[aria-selected="true"] { color: var(--ink-900); border-bottom-color: var(--gold-400); }
.tabsblock__body { font-size: 15px; line-height: 1.7; color: var(--ink-700); max-width: 68ch; }
.tabsblock__body p { margin: 0 0 14px; }
.tabsblock__body .specs { margin-top: 0; border: 0; padding-top: 0; }

.reviews { border-radius: var(--radius-lg); padding: 30px; }
.reviews__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }
.reviews__head .heading { max-width: none; }

/* --------------------------------------------------------------- resumo --- */
.coupon { display: flex; gap: 8px; margin-bottom: 8px; }
.coupon .control { flex: 1; }
.coupon__hint { margin: 0 0 20px; font-size: 12px; color: var(--ink-500); display: flex; align-items: center; gap: 5px; }
.summary__methods { display: grid; gap: 8px; margin-bottom: 20px; }
.summary__methods--wide { margin-bottom: 22px; }
.summary__row--off span:last-child { color: var(--success-fg); }

.freeship { border-radius: var(--radius-lg); padding: 16px 20px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.freeship--won { color: var(--success-fg); }
.meter { display: grid; gap: 7px; width: 100%; }
.meter__track { height: 7px; border-radius: 999px; background: var(--cream-400); overflow: hidden; box-shadow: var(--shadow-inset); }
.meter__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose-400), var(--gold-300));
  transition: width var(--duration-slow) var(--ease-out);
}
.meter__label { font-size: 12.5px; color: var(--ink-500); }
.meter__label b { color: var(--ink-900); }

.line__save { display: inline-flex; align-items: center; gap: 6px; margin: 12px 0 0 116px; font-size: 12.5px; color: var(--sage-600); text-decoration: underline; }

/* -------------------------------------------------------------- checkout --- */
.steps-bar { display: flex; gap: 10px; list-style: none; margin: 30px 0 0; padding: 0; flex-wrap: wrap; }
.steps-bar__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 251, 244, 0.7);
  font-size: 13.5px;
  color: var(--ink-500);
  box-shadow: inset 0 0 0 1px var(--cream-400);
}
.steps-bar__n {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-300);
  color: var(--ink-700);
  font: var(--weight-medium) 12px/1 var(--font-ui);
}
.steps-bar__item.is-now { color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--gold-300); }
.steps-bar__item.is-now .steps-bar__n { background: var(--rose-400); color: var(--white); }
.steps-bar__item.is-done .steps-bar__n { background: var(--sage-500); color: var(--cream-100); }

.checkout { display: grid; gap: 20px; }
.panel__h { margin: 0; font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink-900); }
.checkout__nav { display: flex; gap: 12px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.cardfields { display: grid; gap: 20px; }
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--info-bg);
  color: var(--info-fg);
  font-size: 13.5px;
  line-height: 1.5;
}
.notice--warn { background: var(--warning-bg); color: var(--warning-fg); }

.done { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 48px 30px; }
.done__mark { color: var(--success-fg); }
.done__title { margin: 0; font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--ink-900); }
.done__lead { margin: 0; max-width: 46ch; color: var(--ink-500); line-height: 1.6; }
.done__ref { margin: 0; font-family: var(--font-mono); font-size: 13px; color: var(--ink-700); }
.done__lines { width: 100%; max-width: 460px; margin: 12px 0; display: grid; gap: 8px; }
.done__line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-400);
  font-size: 13.5px;
  color: var(--ink-700);
  text-align: left;
}
.done__line span:nth-child(2) { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-500); }
.done__line--total { border: 0; font-size: 16px; color: var(--ink-900); }
.done__ship { margin: 0; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-500); }

/* ---------------------------------------------------------- sobreposições --- */
.overlay { position: fixed; inset: 0; z-index: 45; pointer-events: none; }
.overlay:empty { display: none; }
.overlay > * { pointer-events: auto; }

.overlay .scrim {
  position: absolute;
  inset: 0;
  background: rgba(70, 58, 46, 0.4);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-soft);
}
.overlay.is-open .scrim { opacity: 1; }

.panel-drawer, .panel-sheet {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(380px, 90vw);
  display: flex;
  flex-direction: column;
  background: linear-gradient(196deg, #FDF4E8 0%, #F3E2D0 100%);
  box-shadow: -18px 0 48px rgba(120, 90, 70, 0.28);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
}
.overlay.is-open .panel-drawer,
.overlay.is-open .panel-sheet { transform: none; }

.panel-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(0.97);
  width: min(560px, 92vw);
  max-height: 86vh;
  overflow: auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #FFFBF4, #F6E9DA);
  box-shadow: 0 40px 80px rgba(120, 90, 70, 0.34);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-soft), transform var(--duration-base) var(--ease-out);
}
.overlay.is-open .panel-modal { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.overlay--wide .panel-modal { width: min(880px, 94vw); }
.overlay--top .panel-modal { top: 84px; transform: translate(-50%, -12px); width: min(680px, 94vw); }
.overlay--top.is-open .panel-modal { transform: translate(-50%, 0); }

.panel__title { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink-900); }

/* mini-carrinho */
.minicart { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.minicart__lines { flex: 1; overflow-y: auto; padding: 16px 18px; display: grid; gap: 12px; align-content: start; }
.minicart__empty { padding: 20px; display: grid; gap: 14px; }
.minicart__foot { padding: 18px; border-top: 1px solid var(--cream-400); display: grid; gap: 12px; }
.minicart__sum { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-800); }
.minicart__note { margin: 0; font-size: 11.5px; color: var(--ink-500); }
.minicart__won { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--success-fg); }

.mini { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: start; }
.mini--wide { grid-template-columns: 96px 1fr auto; }
.mini__thumb {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.mini__body { min-width: 0; }
.mini__name { margin: 0 0 4px; font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink-900); }
.mini__meta { margin: 0; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); }
.chip { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(85, 81, 70, 0.18); }
.mini__engrave { margin: 5px 0 0; display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--sage-600); }
.mini__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.mini__price { font-family: var(--font-display); font-size: 17px; color: var(--ink-900); }
.mini__remove { align-self: start; }
.line { padding: 18px; border-radius: var(--radius-lg); }

/* pesquisa */
.search { padding: 8px; }
.search__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--cream-400); color: var(--ink-500); }
.search__input { flex: 1; border: 0; background: none; outline: none; font: var(--weight-regular) 18px/1 var(--font-ui); color: var(--ink-900); }
.search__results { padding: 14px; max-height: 56vh; overflow-y: auto; }
.search__hint { margin: 10px 4px 8px; font: var(--weight-medium) 10.5px/1 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-500); }
.search__list { display: grid; gap: 4px; }
.search__tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 4px; }
.search__none { display: grid; justify-items: center; gap: 10px; }

.srow {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: var(--radius-md);
  background: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--duration-fast) var(--ease-soft);
}
.srow:hover { background: rgba(255, 251, 244, 0.9); }
.srow__thumb { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); display: grid; place-items: center; overflow: hidden; }
.srow__name { display: block; font-size: 15px; color: var(--ink-900); }
.srow__cat { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); }
.srow__price { font-family: var(--font-display); font-size: 16px; color: var(--ink-900); }

/* vista rápida */
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; }
.quick__close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.quick__media { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
.quick__media .badge { position: absolute; top: 16px; left: 16px; }
.quick__body { padding: 34px 30px; display: grid; gap: 12px; align-content: start; }
.quick__title { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--ink-900); }
.quick__price { display: flex; align-items: baseline; gap: 10px; }
.quick__text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-700); }
.quick__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* lightbox */
.lightbox { position: relative; padding: 20px; display: grid; gap: 14px; justify-items: center; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.lightbox__stage { position: relative; width: 100%; aspect-ratio: 1; max-height: 62vh; border-radius: var(--radius-xl); overflow: hidden; }
.lightbox__stage .blob { position: absolute; transform: translate(-50%, -50%); transition: all var(--duration-slow) var(--ease-out); }
.lightbox__cap { font-family: var(--font-mono); font-size: 12px; color: var(--ink-500); }
.lightbox__thumbs { display: flex; gap: 10px; }
.lightbox__thumb { position: relative; width: 64px; height: 64px; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.lightbox__thumb .blob { position: absolute; transform: translate(-50%, -50%); }
.lightbox__thumb.is-on { box-shadow: 0 0 0 2px var(--cream-100), 0 0 0 4px var(--gold-400); }

/* ------------------------------------------------------------ voltar topo --- */
.backtop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 34;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(150deg, #FFF9F0, #F2DFCC);
  color: var(--ink-800);
  box-shadow: 6px 10px 22px rgba(150, 110, 90, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--duration-base) var(--ease-soft), transform var(--duration-base) var(--ease-soft);
}
.backtop.is-on { opacity: 1; pointer-events: auto; transform: none; }

/* --------------------------------------------------------------- rodapé --- */
.footer__news { border-bottom: 1px solid var(--sage-500); }
.footer__news-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 34px; flex-wrap: wrap; }
.footer__news-title { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 500; color: var(--cream-100); }
.footer__news-text { margin: 6px 0 0; font-size: 13.5px; color: var(--cream-200); }
.footer__form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer__form .control { width: 260px; }
.footer__form .form__status { color: var(--gold-200); font-size: 12.5px; width: 100%; }
.footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.footer__social .iconbtn { color: var(--cream-200); width: 36px; height: 36px; }
.footer__social .iconbtn:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.footer__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; }
.footer__pay { display: inline-flex; align-items: center; gap: 7px; }

/* ------------------------------------------------------------ responsivo --- */
@media (max-width: 1080px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: grid; }
  .toolbar__filters { display: inline-flex; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { position: static; }
  .quick { grid-template-columns: 1fr; }
  .quick__media { border-radius: var(--radius-xl) var(--radius-xl) 0 0; aspect-ratio: 16/10; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__chip { display: none; }

  /* Herói em coluna única: o vídeo 2:1 ficaria esticado e a marca sairia do
     enquadramento. Volta o selo fixo, e poupam-se 84 KB em dados móveis. */
  .hero__video, .hero__veil { display: none; }
  .hero__glow { display: block; }
  .hero__logo {
    display: block;
    width: 250px;
    height: 250px;
    filter: drop-shadow(10px 14px 20px rgba(150, 110, 90, 0.28));
  }
  .hero__stage { min-height: 0; padding: 20px 0 10px; }
}

@media (max-width: 720px) {
  .topbar { font-size: 11px; padding: 8px 14px; }
  .topbar p { text-align: center; }
  .header__tools { gap: 4px; }
  .header__tools .iconbtn { width: 38px; height: 38px; }
  .hero__stats { gap: 22px; }
  .hero__stats dt { font-size: 26px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }

  /* Duas colunas apertam o título contra o preço dentro do cartão e deixam o
     terceiro acabamento órfão numa linha. Uma coluna resolve as duas coisas. */
  .options--row { grid-template-columns: 1fr; }

  /* Quantidade e favorito partilham a primeira linha; o botão ocupa a segunda
     inteira, em vez de empurrar o coração para uma linha sozinho. */
  .buy__actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  .buy__actions .stepper { grid-area: 1 / 1; }
  .buy__actions .iconbtn--big { grid-area: 1 / 2; justify-self: end; }
  .buy__actions .btn { grid-area: 2 / 1 / 3 / 3; width: 100%; }
  .tabsblock { padding: 6px 20px 24px; }
  .reviews { padding: 22px; }
  .steps-bar__item { flex: 1 1 auto; justify-content: center; padding: 9px 12px 9px 9px; font-size: 12.5px; }
  .stickybuy__name small { display: none; }
  .stickybuy__price { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__form .control { width: 100%; }
  .line__save { margin-left: 0; }
  .backtop { right: 16px; bottom: 84px; }
}
