:root {
  color-scheme: light;
  --ink: #261f31;
  --plum: #231b2d;
  --wine: #733b50;
  --wine-dark: #53273a;
  --rose: #efdce1;
  --paper: #fcf8f5;
  --white: #fffdfb;
  --gold: #efcfa8;
  --edge: #e5d7d8;
  --muted: #65545e;
  --serif: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.5 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
body:has(.quote-dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
.masthead :focus-visible, .hero :focus-visible, .contact :focus-visible { outline-color: var(--gold); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.wrap { width: min(calc(100% - 96px), 1160px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { background: #20182a; color: #fff8f2; border-bottom: 1px solid #ead9f129; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 74px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 122px; height: auto; }
.masthead-nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 32px); font-size: .875rem; font-weight: 650; }
.masthead-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.masthead-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.quote-trigger {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
  padding: 5px 11px 5px 13px; color: #fff8f2; background: none; border: 1px solid #ecd4dc79; border-radius: 40px;
}
.quote-trigger:hover { background: #fff2f41c; }
.quote-trigger span {
  display: inline-grid; place-items: center; min-width: 24px; min-height: 24px;
  padding-inline: 6px; border-radius: 30px; color: var(--plum); background: var(--gold); font-size: .78rem;
}

.hero {
  background: radial-gradient(ellipse at 4% 98%, #713e55 0, transparent 52%), linear-gradient(126deg, #2c2037, #201827 78%);
  color: #fff8f4;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(30px, 5vw, 90px); padding-block: clamp(36px, 6.5vw, 84px);
}
.hero-copy { position: relative; padding-block: 23px; border-top: 1px solid #efcfa87d; }
.hero-copy::before { position: absolute; content: ""; top: -3px; left: 0; width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
h1 { font-size: clamp(3.55rem, 7.2vw, 7rem); line-height: .91; letter-spacing: -.065em; }
h1 em { display: block; color: var(--gold); }
.hero-copy p { max-width: 34ch; margin: 22px 0 25px; color: #f6e5e9; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: 40px;
  text-decoration: none; font-size: .9rem; font-weight: 700; line-height: 1.2;
  transition: color .2s, background-color .2s, border-color .2s;
}
.button-light { background: var(--gold); color: #2c2030; }
.button-light:hover { background: #ffe2bf; }
.button-dark { background: var(--plum); color: #fff8f4; }
.button-dark:hover { background: #3c2a48; }
.button-outline { color: var(--wine-dark); background: var(--white); border-color: var(--edge); }
.button-outline:hover { border-color: var(--wine); }
.button-whatsapp { background: #146244; color: white; }
.button-whatsapp:hover { background: #0d4c34; }
.hero-media { position: relative; min-width: 0; padding: 0 11px 19px 0; }
.hero-media::before {
  position: absolute; inset: 13px 0 7px 13px; content: ""; pointer-events: none;
  border: 1px solid #efcfa87d; border-radius: 50% 50% 18px 18px / 38% 38% 18px 18px;
}
.hero-photo {
  position: relative; width: 100%; height: auto; aspect-ratio: 1.3; object-fit: cover; object-position: 50% 58%;
  border-radius: 50% 50% 15px 15px / 38% 38% 15px 15px; background: #98745a;
}
.hero-feature {
  position: absolute; right: -9px; bottom: 0; display: flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 6px 15px 6px 6px; border-radius: 8px; border: 1px solid #eddfd6;
  color: var(--ink); background: #fff8ef; box-shadow: 0 9px 24px #1a12264d; text-decoration: none;
}
.hero-feature:hover { background: #f8e5df; }
.hero-feature img { width: 64px; aspect-ratio: 1.4; height: auto; object-fit: cover; border-radius: 4px; }
.hero-feature strong { display: block; font: 400 1.12rem/1.05 var(--serif); }
.hero-feature small { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; }

.catalog { padding-block: clamp(34px, 6vw, 80px); scroll-margin-top: 14px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; }
h2 { font-size: clamp(2.35rem, 5.3vw, 4.6rem); }
.catalog-help { color: var(--muted); margin-top: 9px; }
.search { width: min(100%, 315px); flex-shrink: 0; }
.search input {
  width: 100%; min-height: 48px; padding: 8px 16px; color: var(--ink); background: var(--white);
  border: 1px solid #b7a4aa; border-radius: 30px;
}
.search input::placeholder { color: var(--muted); }
.collections { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.collections button {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: end; min-height: 78px;
  aspect-ratio: 2.1; padding: 12px 14px; color: #fff; border-radius: 10px; border: 2px solid transparent;
  background: var(--plum); text-align: start;
}
.collections button img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%;
  z-index: -2; transition: transform .24s;
}
.collections button::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(15deg, #1e1425ef 0%, #21162a56 71%); content: ""; }
.collections button:hover img { transform: scale(1.055); }
.collections button[aria-pressed="true"] { border-color: #b0768f; box-shadow: 0 0 0 2px var(--wine); }
.collections span { font: 400 clamp(1.12rem, 2.25vw, 1.9rem)/1.04 var(--serif); }
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px;
  color: var(--muted); font-size: .875rem;
}
.reset {
  min-height: 44px; padding: 5px 0; border: 0; background: transparent; color: var(--wine-dark);
  text-decoration: underline; text-underline-offset: .28em; font-size: .875rem; font-weight: 700;
}

.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.product {
  min-width: 0; display: flex; flex-direction: column; padding: 6px; background: var(--white);
  border: 1px solid var(--edge); border-radius: 14px; box-shadow: 0 5px 13px #32192d09; scroll-margin-top: 22px;
}
.product:has(.product-toggle[aria-pressed="true"]) { border-color: #ad7186; box-shadow: 0 0 0 1px #ad7186; }
.product-photo { overflow: hidden; display: grid; place-items: center; aspect-ratio: 1.04; border-radius: 9px; background: #f0e5dc; }
.product-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 55%; }
.product.pair .product-photo img { object-fit: contain; }
.product-info { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 7px; padding: 13px 9px 7px; }
.product h3 { font-size: clamp(1.19rem, 1.9vw, 1.56rem); line-height: 1.08; text-wrap: pretty; }
.variant-note { font-size: .875rem; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 5px; }
.product-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px;
  margin-top: auto; padding: 5px 11px; border-radius: 30px; border: 1px solid #e7cfd8;
  color: var(--wine-dark); background: #fbecf2; white-space: nowrap; font-size: .875rem; font-weight: 700;
}
.product-toggle:hover { border-color: #b67b90; background: #f5e2eb; }
.product-toggle[aria-pressed="true"] { background: var(--wine); color: white; border-color: var(--wine); }
.toggle-icon { font-size: 1.14em; line-height: 1; }
.empty { padding: 46px 18px; background: #f5e9ea; border-radius: 10px; text-align: center; }
.empty h3 { font-size: 2rem; margin-bottom: 15px; }

.contact { background: var(--plum); color: #fff8f4; }
.contact-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 22px;
  padding-block: clamp(32px, 6vw, 66px);
}
.contact p { margin-top: 8px; color: #f4e2e8; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.footer-tiktok { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-underline-offset: .27em; }
body:has(.quote-dock:not([hidden])) .contact { padding-bottom: 88px; }
.quote-dock { position: fixed; z-index: 4; bottom: max(12px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(calc(100% - 24px), 435px); }
.quote-dock .button { width: 100%; justify-content: space-between; padding: 7px 8px 7px 17px; min-height: 55px; border-color: #d8b1c4; box-shadow: 0 10px 30px #2b172e4b; }
.quote-dock strong { padding: 9px 13px; background: var(--gold); color: var(--plum); border-radius: 30px; }
.quote-dock .button:focus-visible { outline-color: var(--wine); }
.quote-dialog {
  position: fixed; inset: 0 0 0 auto; width: min(100%, 470px); height: 100%; max-width: 100%; max-height: none;
  margin: 0; padding: clamp(20px, 4vw, 36px); border: 0; color: var(--ink); background: var(--white);
  box-shadow: -18px 0 55px #20112744;
}
.quote-dialog[open] { display: flex; flex-direction: column; }
.quote-dialog::backdrop { background: #1e1525a8; }
.dialog-head { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.dialog-head h2 { font-size: clamp(2.4rem, 7vw, 3.65rem); }
.close-quote {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  border: 1px solid var(--edge); border-radius: 50%; color: var(--wine-dark); background: var(--white); font-size: 1.6rem;
}
.close-quote:hover { background: var(--rose); }
.quote-intro { margin-top: 10px; color: var(--muted); }
.quote-empty { margin-top: 24px; padding: 20px; background: #f8eef1; border-radius: 9px; }
.quote-list { list-style: none; padding: 0; margin: 22px 0; overflow: auto; }
.quote-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--edge); padding-block: 4px; }
.quote-list li:last-child { border-bottom: 1px solid var(--edge); }
.dialog-actions { display: grid; gap: 4px; margin-top: auto; padding-top: 12px; }

@media (max-width: 990px) {
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 34px); }
  .masthead-inner { min-height: 61px; }
  .brand img { width: 103px; }
  .masthead-catalog { display: none !important; }
  .hero-inner { grid-template-columns: 1fr; gap: 15px; padding-block: 27px 27px; }
  .hero-copy { padding-block: 15px 1px; max-width: 490px; }
  h1 { font-size: clamp(3.15rem, 11vw, 5rem); }
  .hero-copy p { margin: 13px 0 14px; }
  .hero-media { margin-inline: auto; width: min(100%, 540px); }
  .hero-photo { aspect-ratio: 1.75; }
  .hero-feature { right: -3px; }
  .catalog-heading { flex-direction: column; align-items: start; gap: 15px; }
  .search { width: 100%; }
  .collections { margin-top: 15px; gap: 8px; }
  .collections button { padding: 7px 8px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { padding: 4px; border-radius: 12px; }
  .product-info { padding: 10px 6px 5px; }
  .product-toggle { padding-inline: 8px; }
  .contact-inner { flex-direction: column; align-items: start; gap: 16px; }
}
@media (max-width: 490px) {
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collections button { aspect-ratio: 2.5; min-height: 61px; }
  .header-tiktok { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
