@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('assets/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #27172d;
  --muted: #66586d;
  --plum: #35183d;
  --brand: #6d2077;
  --deep: #2e1236;
  --gold: #ffad00;
  --paper: #fffcff;
  --lilac: #f6eff7;
  --line: #e6dbe8;
  --display: 'Bricolage Grotesque', 'Arial', sans-serif;
  --sans: 'DM Sans', 'Arial', sans-serif;
  --anchor-offset: 98px;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: var(--anchor-offset); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
::selection { color: #29102e; background: #edc9f4; }

.wrap { width: min(1280px, calc(100% - 104px)); margin-inline: auto; }
.sr-only, .icon-defs {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.icon {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip-link {
  position: fixed;
  z-index: 15;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 9px;
  color: white;
  background: var(--deep);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid #eee6ef;
  background: rgba(255, 252, 255, .96);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}
.lockup {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 17px;
}
.lockup img, .site-footer img { height: auto; }
.lockup-divider { width: 1px; height: 28px; background: #decfe1; }
.san-logo { width: 88px; }
.maggenta-logo { width: 117px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  padding-block: 16px;
  color: #504253;
  font-size: .91rem;
  font-weight: 650;
  transition: color .16s ease;
}
.main-nav a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 5px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.button-header { justify-self: end; background: var(--deep); color: #fff; }
.button-header:hover { background: var(--brand); }
.button-header .icon { width: 19px; height: 19px; }
.cart-count {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding-inline: 4px;
  border-radius: 999px;
  color: #321538;
  background: #f8d68d;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
.button-primary { background: var(--brand); color: white; }
.button-primary:hover { background: #52145c; box-shadow: 0 4px 12px #64207026; }
.button-outline { background: #fff; color: var(--brand); border-color: #d8c2db; }
.button-outline:hover { background: var(--lilac); border-color: var(--brand); }
.icon-button {
  display: inline-grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--plum);
  background: transparent;
}
.icon-button:hover { background: #eaddec; }

.hero {
  display: grid;
  grid-template-columns: 47% 53%;
  min-height: 510px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #e9dcea;
  border-radius: 28px;
  background: #f0e4f0;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 46px clamp(26px, 4.4vw, 67px);
  background: radial-gradient(ellipse at 12% 0, #fff9f5, transparent 61%),
    linear-gradient(145deg, #f8eff8 0%, #efe1f0 100%);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .11em;
  line-height: 1.5;
  text-transform: uppercase;
}
.gold-dot {
  flex: 0 0 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.hero h1 {
  margin-top: 19px;
  font: 740 clamp(3.2rem, 5.3vw, 5.25rem)/.99 var(--display);
  letter-spacing: -.048em;
  color: #2d1635;
}
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-description {
  max-width: 390px;
  margin-top: 23px;
  color: #55405a;
  font-size: clamp(1rem, 1.36vw, 1.15rem);
  line-height: 1.53;
}
.hero-cta {
  min-height: 52px;
  margin-top: 26px;
  gap: 18px;
  border-radius: 12px;
  padding-inline: 18px;
}
.hero-signature { margin-top: 22px; color: #645068; font-size: .83rem; }
.hero-signature strong { color: #44264b; font-weight: 750; }
.signature-divider { margin-inline: 2px; color: #80628a; }
.hero-stage { position: relative; isolation: isolate; min-width: 0; overflow: hidden; background: #341740; }
.stage-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-floor {
  position: absolute;
  bottom: 12%;
  left: 8%;
  width: 84%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #180a27a8 4%, #1e0b3b40 50%, transparent 70%);
  transform: translateY(24%);
}
.stage-item {
  position: absolute;
  bottom: 15%;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(5px 12px 13px #15082054);
}
.stage-bag { left: 22%; height: 61%; bottom: 20%; z-index: 1; }
/* O contorno externo preserva a sombra. O interno abre o vão da alça. */
.stage-yellow {
  left: 12.5%;
  height: 53%;
  bottom: 18%;
  z-index: 2;
  transform: rotate(-7deg);
  clip-path: polygon(evenodd,
    -50% -50%, 150% -50%, 150% 150%, -50% 150%, -50% -50%,
    14.64% 60.55%, 15.04% 62.52%, 15.14% 64.22%,
    15.14% 66.71%, 15.18% 69.20%, 15.36% 71.95%,
    15.43% 74.97%, 15.50% 77.20%, 15.72% 78.51%,
    15.11% 79.16%, 13.63% 80.08%, 12.05% 80.87%,
    10.50% 81.39%, 9.21% 81.65%, 8.56% 81.13%,
    7.66% 80.34%, 7.16% 79.16%, 7.12% 77.59%,
    7.23% 76.02%, 7.70% 74.18%, 8.60% 72.21%,
    9.42% 70.25%, 10.40% 68.28%, 11.37% 66.45%,
    12.30% 64.61%, 13.13% 62.91%, 13.92% 61.47%,
    14.64% 60.55%
  );
}
.stage-notebook { left: 54%; height: 41%; bottom: 12%; z-index: 3; transform: rotate(5deg); }
.stage-bottle {
  right: 8%;
  height: 61%;
  bottom: 15%;
  z-index: 4;
  transform: rotate(3deg);
  clip-path: polygon(evenodd,
    -50% -50%, 150% -50%, 150% 150%, -50% 150%, -50% -50%,
    86.68% 15.20%, 87.59% 15.74%, 88.66% 17.25%,
    89.37% 18.39%, 90.00% 19.40%, 90.36% 20.65%,
    90.87% 21.91%, 91.07% 23.05%, 91.54% 24.43%,
    91.70% 25.57%, 91.70% 27.20%, 91.54% 28.21%,
    91.30% 28.97%, 90.59% 29.60%, 89.60% 29.47%,
    89.01% 28.97%, 88.89% 27.83%, 88.89% 26.45%,
    88.81% 25.06%, 88.42% 23.93%, 87.55% 22.92%,
    86.44% 22.29%, 85.22% 21.54%, 85.02% 21.03%,
    85.61% 20.15%, 85.38% 19.52%, 84.94% 19.02%,
    84.94% 18.26%, 84.98% 17.38%, 85.49% 16.37%,
    85.97% 15.62%, 86.68% 15.20%
  );
}

.occasions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 17px;
}
.occasion {
  display: grid;
  min-height: 78px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffaff;
  transition: border-color .18s ease, background .18s ease;
}
.occasion:hover, .occasion[aria-current="true"] { border-color: #a368aa; background: #f6ecf7; }
.occasion-icon {
  display: grid;
  width: 41px;
  height: 41px;
  place-items: center;
  border-radius: 11px;
  background: #f0e1f2;
  color: var(--brand);
}
.occasion:nth-of-type(2) .occasion-icon { background: #f9ebcd; color: #734700; }
.occasion strong { display: block; color: var(--plum); font-size: .95rem; font-weight: 790; }
.occasion small { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.occasion-arrow { width: 17px; height: 17px; color: var(--brand); }

.catalog-section { margin-top: 46px; padding-block: 39px 57px; border-top: 1px solid #eee6ef; background: #fcf9fc; }
.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px 30px; }
.catalog-heading h2, .contact h2 {
  font: 750 clamp(2.5rem, 4.35vw, 4rem)/1.02 var(--display);
  letter-spacing: -.044em;
}
.catalog-heading h2 { color: var(--deep); }
.catalog-heading p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.search-field {
  display: flex;
  position: relative;
  width: min(340px, 100%);
  min-height: 50px;
  flex: 0 0 auto;
  align-items: center;
  padding-inline: 14px 6px;
  border: 1px solid #decfe0;
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
}
.search-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 2px #a14faa26; }
.search-field > .icon { width: 20px; height: 20px; }
.search-field input {
  width: 100%;
  height: 48px;
  min-width: 0;
  padding: 0 37px 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: .94rem;
}
.search-field input::placeholder { color: #68576e; opacity: 1; }
.search-field input::-webkit-search-cancel-button { display: none; }
.clear-search { position: absolute; inset-inline-end: 6px; width: 34px; height: 34px; }
.clear-search .icon { width: 17px; height: 17px; }
.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 24px;
  margin-bottom: 14px;
}
.filters { display: flex; min-width: 0; gap: 7px; flex-wrap: wrap; }
.filter {
  min-height: 39px;
  padding: 6px 13px;
  border: 1px solid #e5d8e7;
  border-radius: 999px;
  background: #fff;
  color: #5f4365;
  font-size: .84rem;
  font-weight: 690;
  line-height: 1.2;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.filter:hover { border-color: #a868ae; }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: white; }
.result-count { flex: 0 0 auto; color: var(--muted); font-size: .83rem; font-weight: 650; }
.occasion-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 0 0 14px;
  padding: 11px 12px 11px 16px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
  border-radius: 12px;
  background: #f3e9f4;
}
.occasion-filter strong { display: block; color: var(--brand); }
.occasion-filter p { margin-top: 3px; color: #5b4562; font-size: .9rem; line-height: 1.45; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 8px;
  border: 1px solid #e8dce9;
  border-radius: 17px;
  background: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { border-color: #c4a4ca; box-shadow: 0 6px 22px #3b154b0b; }
.surface-hidratacao { background: linear-gradient(145deg, #f6eff7, #e8d9ec); }
.surface-papelaria { background: linear-gradient(145deg, #f1e7f3, #e6d3e8); }
.surface-viagem { background: linear-gradient(145deg, #f3ecf4, #e9dfed); }
.surface-acessorios { background: linear-gradient(145deg, #f8f2ed, #eee5ef); }
.surface-celebracao { background: linear-gradient(145deg, #f9f2e6, #f0e8ef); }
.product-image {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.18;
  padding: 0;
  border: none;
  border-radius: 11px;
}
.product-image img {
  position: absolute;
  top: 9%;
  left: 10%;
  width: 80%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .23s ease;
}
.product-image:hover img { transform: scale(1.045); }
[data-product="cm451"] .product-image img,
[data-product="cm320"] .product-image img,
[data-product="caneta-roxa"] .product-image img { rotate: -12deg; }
.image-action {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #fffcffeb;
  color: var(--brand);
}
.image-action .icon { width: 16px; height: 16px; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 13px 5px 4px; }
.product-code {
  align-self: flex-start;
  color: var(--brand);
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .045em;
  line-height: 1.4;
}
.product-info h3 { margin-top: 3px; font: 750 clamp(1.05rem, 1.5vw, 1.24rem)/1.13 var(--display); letter-spacing: -.027em; }
.product-info h3 button {
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: var(--deep);
  background: none;
  text-align: start;
  font: inherit;
}
.product-info h3 button:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.product-summary { margin-top: 5px; margin-bottom: 12px; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 4px 7px; margin-top: auto; padding-top: 8px; border-top: 1px solid #f0e9f0; }
.variant-hint { display: inline-flex; min-width: 0; align-items: center; gap: 5px; color: #64506a; font-size: .73rem; line-height: 1.25; }
.swatch-group { display: inline-flex; padding-inline-start: 1px; }
.swatch {
  display: inline-block;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border: 1px solid #0003;
  border-radius: 50%;
  background: #c7a7d0;
}
.swatch-group .swatch + .swatch { margin-inline-start: -4px; box-shadow: 0 0 0 1px #fff; }
.swatch-preto { background: #24222a; }
.swatch-branco { background: #fff; }
.swatch-roxo { background: #7a3584; }
.swatch-amarelo { background: #ffca36; }
.swatch-prata { background: #b9b7bf; }
.swatch-cinza { background: #918a85; }
.swatch-natural { background: #d8ccb0; }
.swatch-madeira { background: #ac774d; }
.product-add {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid #e5d5e7;
  border-radius: 8px;
  background: #faf4fa;
  color: var(--brand);
  font-size: .78rem;
  font-weight: 760;
  transition: background .17s ease, color .17s ease;
}
.product-add:hover { background: var(--brand); color: #fff; }
.product-add .icon { width: 15px; height: 15px; }
.empty-results { padding: 48px 20px; border: 1px dashed #d8c5db; border-radius: 18px; background: #fff; text-align: center; }
.empty-results > .icon { width: 32px; height: 32px; color: var(--brand); }
.empty-results h3 { margin-top: 8px; font-size: 1.2rem; }
.empty-results p { margin: 6px 0 16px; color: var(--muted); }

.contact { margin-top: 43px; }
.contact-inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.25fr minmax(270px, .8fr);
  align-items: center;
  gap: 26px;
  overflow: hidden;
  padding: clamp(27px, 5.3vw, 65px);
  border-radius: 24px;
  color: white;
  background: #35123d;
}
.contact-inner::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 87% 105%, #88449480, transparent 61%),
    radial-gradient(ellipse at -10% 0%, #59196f, transparent 60%);
  content: '';
}
.contact .eyebrow { color: #f9d386; }
.contact h2 { margin: 11px 0 14px; }
.contact-copy > p:last-child { max-width: 425px; color: #ebdcee; font-size: 1rem; line-height: 1.5; }
.contact-card {
  display: grid;
  gap: 7px;
  padding: 17px;
  border: 1px solid #aa75b1;
  border-radius: 16px;
  background: #ffffff0d;
}
.contact-intro { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.contact-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--deep);
  background: #ffda88;
  font-family: var(--display);
  font-weight: 800;
}
.contact-intro h3 { font-size: 1.17rem; font-weight: 780; line-height: 1.15; }
.contact-intro p { margin-top: 3px; color: #e8d5ed; font-size: .82rem; }
.contact-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border: 1px solid #ffffff48;
  border-radius: 10px;
}
.contact-link:hover { background: #fff2; border-color: #fff9; }
.contact-link:focus-visible { outline-color: var(--gold); }
.contact-link strong { display: block; font-size: .88rem; }
.contact-link small { display: block; overflow-wrap: anywhere; margin-top: 2px; color: #efdeef; font-size: .81rem; }
.contact-arrow { width: 16px; height: 16px; color: #ffda88; }
.site-footer {
  display: flex;
  min-height: 90px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: .82rem;
}
.footer-link { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 740; }
.footer-link .icon { width: 14px; height: 14px; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 4px; }

dialog {
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1px solid #e9dcea;
  border-radius: 21px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 90px #1d0e2f55;
}
dialog::backdrop { background: #211027aa; backdrop-filter: blur(3px); }
.product-dialog { width: 910px; }
.dialog-top { position: sticky; z-index: 2; top: 0; height: 0; }
.dialog-top .dialog-close { position: absolute; top: 11px; right: 11px; }
.dialog-close { background: #f4eaf5; }
.detail-layout { display: grid; grid-template-columns: 45% 55%; }
.detail-image { display: grid; min-height: 350px; place-items: center; }
.detail-image img {
  width: min(76%, 375px);
  height: clamp(210px, 36vh, 360px);
  object-fit: contain;
  mix-blend-mode: multiply;
}
.detail-info { padding: 34px 31px 27px 26px; }
.detail-code { padding-right: 36px; color: var(--brand); font-size: .76rem; font-weight: 800; letter-spacing: .07em; }
.detail-info h2 { margin-top: 6px; font: 740 clamp(2rem, 3.6vw, 2.9rem)/1.03 var(--display); letter-spacing: -.035em; }
.detail-description { margin-top: 11px; color: var(--muted); font-size: .94rem; line-height: 1.48; }
.detail-options { margin-top: 14px; }
.detail-options p, .detail-form label { color: #513757; font-size: .84rem; font-weight: 740; }
.option-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.option {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #e7d9e9;
  border-radius: 8px;
  background: #fff;
  color: #54355a;
  font-size: .76rem;
  font-weight: 690;
  text-align: left;
}
.option:hover { border-color: #9752a1; }
.option[aria-pressed="true"] { border-color: #9752a1; background: #f3e8f5; color: var(--brand); }
.option[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #9752a1; }
.product-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 15px; overflow: hidden; border: 1px solid #eee2f0; border-radius: 9px; background: #eee2f0; font-size: .83rem; }
.product-specs > div { padding: 6px 9px; background: #fdf9fd; }
.product-specs dt { color: #6b526f; font-size: .74rem; }
.product-specs dd { margin-top: 2px; color: var(--deep); font-weight: 690; }
.detail-form { display: flex; align-items: end; flex-wrap: wrap; gap: 9px 12px; margin-top: 16px; }
.detail-form label { display: block; margin-bottom: 4px; }
.detail-form .button { flex: 1 1 auto; min-height: 42px; padding-inline: 11px; }
.detail-form .button .icon { width: 17px; height: 17px; }
.quantity-control {
  display: inline-flex;
  height: 42px;
  max-width: 100%;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e5d6e7;
  border-radius: 8px;
  background: #fff;
}
.quantity-control button { display: grid; width: 34px; height: 100%; place-items: center; padding: 0; border: 0; background: #fbf5fc; color: var(--brand); }
.quantity-control button:hover { background: #f1e2f4; }
.quantity-control button:focus-visible, .quantity-control input:focus-visible { outline-offset: -2px; }
.quantity-control .icon { width: 16px; height: 16px; }
.quantity-control input {
  width: 59px;
  height: 100%;
  appearance: textfield;
  padding: 0 2px;
  border: 0;
  text-align: center;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }

.cart-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  width: 480px;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 19px 0 0 19px;
}
.cart-dialog[open] { display: flex; flex-direction: column; }
.cart-header { display: flex; flex: 0 0 auto; justify-content: space-between; gap: 8px; align-items: flex-start; padding: 21px 21px 15px; border-bottom: 1px solid #ede3ef; }
.cart-header h2 { font: 750 2rem/1.1 var(--display); letter-spacing: -.045em; }
.cart-header p { margin-top: 4px; color: var(--muted); font-size: .87rem; }
.cart-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 19px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: min(16vh,100px) 10px 26px; text-align: center; }
.cart-empty > span { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 15px; background: #f2e5f4; color: var(--brand); }
.cart-empty > span .icon { width: 28px; height: 28px; }
.cart-empty h3 { margin-top: 6px; font-size: 1.12rem; }
.cart-empty p { color: var(--muted); font-size: .91rem; }
.cart-empty .button { margin-top: 6px; }
.cart-items { margin: 0; padding: 0; list-style: none; }
.cart-item { display: grid; grid-template-columns: 74px minmax(0, 1fr) 34px; align-items: start; gap: 10px; padding-block: 13px; border-bottom: 1px solid #ede3ef; }
.cart-image { display: grid; width: 74px; height: 74px; place-items: center; overflow: hidden; border-radius: 9px; }
.cart-image img { width: 60px; height: 62px; object-fit: contain; mix-blend-mode: multiply; }
.cart-item-info h3 { font-family: var(--display); font-size: 1rem; font-weight: 750; line-height: 1.2; }
.cart-item-info p { margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.cart-item .quantity-control { height: 34px; margin-top: 7px; }
.cart-item .quantity-control button { width: 31px; }
.remove-item { width: 33px; height: 33px; }
.remove-item .icon { width: 16px; height: 16px; }
.cart-note { display: grid; gap: 6px; margin: 15px 0 8px; }
.cart-note label { color: var(--plum); font-size: .88rem; font-weight: 750; }
.cart-note small { color: var(--muted); font-weight: 500; }
.cart-note textarea, .quote-preview textarea {
  display: block;
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #e4d3e7;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  resize: vertical;
}
.cart-note textarea::placeholder { color: #75637a; }
.quote-preview { margin: 8px 0 13px; font-size: .87rem; color: var(--brand); }
.quote-preview summary { min-height: 30px; padding-block: 5px; cursor: pointer; font-weight: 720; }
.quote-preview textarea { margin-top: 5px; }
.cart-footer { flex: 0 0 auto; padding: 13px 19px max(11px, env(safe-area-inset-bottom)); border-top: 1px solid #ede3ef; background: #fdf8fd; }
.cart-footer > p:first-child { margin-bottom: 9px; color: var(--muted); font-size: .86rem; }
.cart-actions { display: grid; grid-template-columns: 1.14fr 1fr; gap: 7px; }
.cart-actions .button { padding-inline: 6px; font-size: .82rem; }
.cart-actions .icon { width: 17px; height: 17px; }
.copy-button { display: flex; min-height: 30px; align-items: center; justify-content: center; gap: 5px; margin: 6px auto 0; padding: 3px 8px; border: 0; border-radius: 5px; background: transparent; color: var(--brand); font-size: .81rem; font-weight: 730; }
.copy-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy-button .icon { width: 15px; height: 15px; }
.toast {
  position: fixed;
  z-index: 8;
  right: 22px;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  max-width: calc(100% - 34px);
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid #62406a;
  border-radius: 12px;
  background: var(--deep);
  color: white;
  box-shadow: 0 10px 40px #1d0d2d3b;
  font-size: .87rem;
}
.toast > .icon { width: 18px; height: 18px; color: #ffd986; }
.toast button { min-height: 33px; padding: 3px 0 3px 6px; border: 0; border-radius: 4px; color: #ffdc91; background: none; font-weight: 750; text-align: left; }
.toast button:hover { text-decoration: underline; }
.toast button:focus-visible { outline-color: #ffdc91; }

@media (max-width: 1120px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 470px; }
  .hero-copy { padding-inline: 39px; }
  .main-nav { gap: 24px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .occasion small { font-size: .76rem; }
}

@media (max-width: 880px) {
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 11px; min-height: 67px; }
  .lockup { gap: 11px; }
  .san-logo { width: 72px; }
  .maggenta-logo { width: 93px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .83rem; }
  .button-header { padding-inline: 10px; font-size: .82rem; }
  .hero { margin-top: 20px; min-height: 413px; }
  .hero-copy { padding: 31px 24px; }
  .hero h1 { font-size: clamp(2.8rem, 6vw, 3.6rem); }
  .hero-description { margin-top: 16px; }
  .hero-cta { margin-top: 19px; }
  .hero-signature { margin-top: 16px; }
  .stage-bag { left: 14%; height: 55%; }
  .stage-bottle { right: 7%; height: 55%; }
  .stage-yellow { left: 8%; height: 48%; }
  .stage-notebook { left: 49%; height: 36%; }
  .occasion { grid-template-columns: auto minmax(0, 1fr); min-height: 72px; gap: 8px; padding-inline: 10px; }
  .occasion strong { font-size: .83rem; }
  .occasion-icon { width: 34px; height: 34px; }
  .occasion-icon .icon { width: 18px; height: 18px; }
  .occasion-arrow { display: none; }
  .search-field { width: min(290px, 100%); }
}

@media (max-width: 680px) {
  :root { --anchor-offset: 110px; scrollbar-gutter: auto; }
  .wrap { width: calc(100% - 30px); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 9px; padding-top: 8px; }
  .header-inner .lockup { grid-column: 1; grid-row: 1; }
  .lockup-divider { height: 22px; }
  .button-header { grid-column: 2; grid-row: 1; min-height: 39px; gap: 5px; }
  .cart-count { min-width: 21px; height: 21px; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 31px; }
  .main-nav a { padding-block: 8px 9px; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 13px; border-radius: 21px; }
  .hero-copy { padding: 25px 22px 23px; }
  .eyebrow { font-size: .67rem; gap: 7px; }
  .hero h1 { margin-top: 12px; font-size: clamp(2.75rem, 12.8vw, 4.4rem); }
  .hero-description { max-width: 370px; margin-top: 13px; font-size: 1rem; line-height: 1.44; }
  .hero-cta { min-height: 47px; margin-top: 16px; }
  .hero-signature { margin-top: 13px; font-size: .77rem; }
  .hero-stage { aspect-ratio: 1.36; }
  .stage-bag { left: 22%; height: 61%; }
  .stage-bottle { right: 8%; height: 61%; }
  .stage-yellow { left: 13%; height: 53%; }
  .stage-notebook { left: 54%; height: 41%; }
  .occasions { grid-template-columns: 1fr; gap: 6px; margin-top: 12px; }
  .occasion { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 57px; padding: 8px 11px; border-radius: 12px; }
  .occasion strong { font-size: .88rem; }
  .occasion small { margin-top: 1px; }
  .occasion-arrow { display: block; }
  .catalog-section { margin-top: 26px; padding-block: 24px 36px; }
  .catalog-heading { flex-direction: column; align-items: stretch; gap: 11px; }
  .catalog-heading h2 { font-size: clamp(2.45rem, 9.7vw, 3.3rem); }
  .catalog-heading p { margin-top: 6px; font-size: .9rem; }
  .search-field { width: 100%; min-height: 46px; }
  .search-field input { height: 44px; font-size: 1rem; }
  .catalog-controls { flex-direction: column; align-items: flex-start; gap: 7px; margin-top: 12px; margin-bottom: 9px; }
  .filters { gap: 5px; }
  .filter { min-height: 34px; font-size: .76rem; padding-inline: 9px; }
  .result-count { font-size: .77rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-card { padding: 5px; border-radius: 12px; }
  .product-image { aspect-ratio: 1.05; border-radius: 8px; }
  .product-info { padding: 8px 4px 3px; }
  .product-info h3 { font-size: 1rem; }
  .product-code { font-size: .65rem; }
  .product-summary { margin-top: 4px; margin-bottom: 8px; font-size: .72rem; }
  .product-bottom { flex-wrap: wrap; padding-top: 5px; }
  .variant-hint { font-size: .69rem; }
  .product-add { min-height: 33px; padding-inline: 5px; font-size: .71rem; }
  .product-add .icon { width: 13px; height: 13px; }
  .image-action { top: 6px; right: 6px; width: 27px; height: 27px; }
  .image-action .icon { width: 14px; height: 14px; }
  .contact { margin-top: 25px; }
  .contact-inner { grid-template-columns: 1fr; padding: 21px; gap: 20px; border-radius: 19px; }
  .contact h2 { margin: 8px 0 10px; }
  .contact-copy > p:last-child { font-size: .91rem; }
  .contact-card { padding: 12px; }
  .site-footer { flex-wrap: wrap; min-height: 96px; gap: 9px 12px; padding-block: 19px; }
  .site-footer > p { order: 2; width: 100%; }
  .site-footer img { width: 116px; }
  .product-dialog { max-width: calc(100% - 22px); max-height: calc(100% - 22px); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-image { min-height: 167px; }
  .detail-image img { height: clamp(148px, 24vh, 214px); margin-block: 9px; }
  .detail-info { padding: 16px 15px 17px; }
  .detail-description { margin-top: 7px; font-size: .88rem; }
  .detail-options { margin-top: 10px; }
  .product-specs { margin-top: 11px; }
  .detail-form { margin-top: 11px; }
  .cart-note textarea, .quote-preview textarea, .quantity-control input { font-size: 1rem; }
  .cart-dialog { width: min(100%, 480px); border-radius: 0; }
  .toast { right: 12px; max-width: calc(100% - 24px); }
}

@media (max-width: 420px) {
  .product-bottom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .product-add { width: 100%; }
}

@media (max-width: 365px) {
  .wrap { width: calc(100% - 22px); }
  .lockup { gap: 7px; }
  .san-logo { width: 65px; }
  .maggenta-logo { width: 82px; }
  .button-header .icon { display: none; }
  .main-nav { gap: 22px; }
  .hero-copy { padding-inline: 17px; }
  .cart-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
