:root {
  --ink: #16233f;
  --ink-soft: #33415e;
  --paper: #f5f2eb;
  --paper-deep: #e7e2d6;
  --card: #fdfcf8;
  --haze: #a1b1d3;
  --steel: #49639c;
  --gold: #49639c;
  --gold-deep: #3d5488;
  --line: #ddd8cc;
  --muted: #5f6675;
  --whatsapp: #1f7a4d;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(22, 35, 63, 0.1);
  --serif: 'Jost', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Jost', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.preview-banner {
  background: #fff3d6;
  color: #6b4a12;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  border-bottom: 1px solid #e8d49c;
}

.preview-banner code {
  background: rgba(0, 0, 0, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

.announcement {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--ink);
  color: #f3ead8;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.announcement a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 242, 235, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.brand-name {
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.main-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
}

.main-nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  border-color: var(--gold);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
}

.hero {
  padding: 34px 0 10px;
}

.hero-frame {
  position: relative;
  min-height: clamp(430px, 52vw, 590px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--paper-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 70px);
  background:
    radial-gradient(90% 120% at 82% 18%, rgba(161, 177, 211, 0.5), transparent 62%),
    radial-gradient(70% 90% at 12% 92%, rgba(73, 99, 156, 0.12), transparent 66%),
    linear-gradient(120deg, #fcfaf4, #ece7db);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-slide:nth-child(2) {
  background:
    radial-gradient(90% 120% at 82% 18%, rgba(161, 177, 211, 0.72), transparent 64%),
    radial-gradient(70% 90% at 12% 92%, rgba(73, 99, 156, 0.18), transparent 68%),
    linear-gradient(120deg, #f8f6ef, #e3e7f0);
}

.hero-slide:nth-child(3) {
  background:
    radial-gradient(90% 120% at 82% 18%, rgba(73, 99, 156, 0.35), transparent 62%),
    radial-gradient(70% 90% at 12% 92%, rgba(161, 177, 211, 0.35), transparent 66%),
    linear-gradient(120deg, #f7f5ee, #e4e8f1);
}

.hero-slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.hero-visual {
  position: absolute;
  right: clamp(24px, 7vw, 110px);
  top: 50%;
  z-index: 0;
  width: clamp(150px, 20vw, 260px);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -22% -34%;
  z-index: -1;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.7), transparent 66%);
}

.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 42px rgba(23, 21, 18, 0.22));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.hero-slide h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  margin-bottom: 16px;
  max-width: 12ch;
}

.hero-slide p {
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 18px 0 4px;
}

.hero-dots button {
  width: 26px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: #cfc3ad;
}

.hero-dots button.is-active {
  background: var(--gold-deep);
}

.trust {
  border-block: 1px solid var(--line);
  background: #fbfaf5;
  margin-top: 26px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding: 30px 0;
}

.trust-grid h2 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.trust-grid p {
  font-size: 14px;
  color: var(--muted);
}

.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 46px 0 10px;
}

.category-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #fdfcf8, #e9edf6);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:nth-child(2) {
  background: linear-gradient(150deg, #fbf9f3, #dfe5f1);
}

.category-tile:nth-child(3) {
  background: linear-gradient(150deg, #f7f4ec, #e8e4d8);
}

.category-tile:nth-child(4) {
  background: linear-gradient(150deg, #f2efe7, #dfe1e6);
}

.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tile-kicker {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.tile-title {
  font-family: var(--serif);
  font-size: 28px;
}

.tile-copy {
  font-size: 13px;
  color: var(--muted);
  margin-top: auto;
}

.shop {
  padding: 56px 0 30px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}

.section-note {
  color: var(--muted);
  font-size: 13px;
}

.shop-controls {
  display: grid;
  grid-template-columns: 1fr 210px 190px;
  gap: 12px;
  margin-bottom: 16px;
}

.search-field input,
.select-field select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  padding: 0 18px;
  font-size: 14px;
}

.search-field input::placeholder {
  color: #9a9182;
}

.select-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 51%);
  background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13px;
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(70% 60% at 50% 30%, hsla(var(--hue), 40%, 90%, 0.9), transparent 70%),
    linear-gradient(160deg, #fbf6ec, #eee4d2);
  border-bottom: 1px solid var(--line);
}

.product-visual svg {
  width: 46%;
  height: auto;
  filter: drop-shadow(0 14px 18px rgba(23, 21, 18, 0.16));
}

.product-flag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
}

.product-brand {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.product-name {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.2;
}

.product-size {
  font-size: 12px;
  color: var(--muted);
}

.product-price {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
}

.product-price small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 0 16px 16px;
  margin-top: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: #2c2822;
}

.button-gold {
  background: var(--steel);
  color: #fff;
}

.button-gold:hover {
  background: #3d5488;
}

.button-whatsapp {
  width: 100%;
  background: var(--whatsapp);
  color: #fff;
}

.button-whatsapp:hover {
  background: #18623d;
}

.button-ghost {
  background: transparent;
  border-color: var(--line);
}

.button-ghost:hover {
  border-color: var(--gold);
}

.icon-only {
  width: 44px;
  padding: 0;
}

.empty-state {
  padding: 40px 0;
  color: var(--muted);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 28px 0 4px;
}

.load-more-wrap .button {
  min-width: 200px;
}

.empty-state a {
  text-decoration: underline;
}

.brands {
  padding: 46px 0;
  background: #fbfaf5;
  border-block: 1px solid var(--line);
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-strip button {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
}

.brand-strip button:hover {
  border-color: var(--gold);
}

.gifting {
  padding: 64px 0;
  background: var(--ink);
  color: #f6efe1;
}

.gifting-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.gifting .eyebrow {
  color: var(--haze);
}

.gifting h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  margin-bottom: 16px;
  max-width: 20ch;
}

.gifting p {
  color: #cfc5b5;
  max-width: 52ch;
  margin-bottom: 24px;
}

.gift-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.gift-points li {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 16px;
  color: #d9d0c1;
  font-size: 14px;
}

.gift-points strong {
  display: block;
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.faq {
  padding: 56px 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 19px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  color: var(--gold-deep);
}

.faq-list details[open] summary::after {
  content: '–';
}

.faq-list p {
  margin-top: 10px;
  max-width: 72ch;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: #0f1a30;
  color: #d5dbe8;
  padding: 52px 0 24px;
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: #f5f2eb;
}

.footer-lockup .brand-name {
  font-family: var(--serif);
  font-size: 18px;
  color: #f5f2eb;
  margin: 0;
}

.footer-lockup img {
  width: 22px;
  height: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 14px;
  color: #b4bdd0;
  margin-bottom: 8px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-copy {
  color: #98a3ba;
  font-size: 13px;
  max-width: 34ch;
}

.footer-whatsapp {
  background: transparent;
  border: 1px solid #34456a;
  color: #eef1f7;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid #26344f;
  margin-top: 36px;
  padding-top: 18px;
  font-size: 12px;
  color: #8b97ae;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 15, 13, 0.5);
  z-index: 90;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100%;
  background: var(--paper);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.18);
}

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

.cart-head h2 {
  font-size: 24px;
}

.icon-button {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 999px;
}

.icon-button:hover {
  background: rgba(0, 0, 0, 0.06);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cart-thumb {
  width: 64px;
  height: 78px;
  border-radius: 10px;
  background: linear-gradient(160deg, hsl(var(--hue) 35% 88%), hsl(var(--hue) 30% 76%));
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 20px;
  color: rgba(23, 21, 18, 0.55);
}

.cart-line h3 {
  font-size: 16px;
}

.cart-line p {
  font-size: 12px;
  color: var(--muted);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.qty button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 6px;
}

.qty span {
  min-width: 20px;
  text-align: center;
  font-size: 13px;
}

.line-price {
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.cart-empty {
  color: var(--muted);
  padding: 30px 0;
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding: 18px 20px 24px;
  display: grid;
  gap: 12px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
}

.cart-total strong {
  font-size: 22px;
  font-family: var(--serif);
}

.cart-note {
  font-size: 12px;
  color: var(--muted);
}

.link-button {
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  color: var(--muted);
  justify-self: center;
}

.product-dialog {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(760px, calc(100% - 32px));
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.product-dialog::backdrop {
  background: rgba(16, 15, 13, 0.55);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
}

.dialog-body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.dialog-visual {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  background:
    radial-gradient(70% 60% at 50% 30%, hsla(var(--hue), 40%, 90%, 0.9), transparent 70%),
    linear-gradient(160deg, #fbf6ec, #eee4d2);
}

.dialog-visual svg {
  width: 62%;
}

.dialog-info {
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dialog-info h2 {
  font-size: 30px;
}

.dialog-info .product-brand {
  margin-top: 6px;
}

.dialog-price {
  font-size: 22px;
  font-family: var(--serif);
  margin-top: 6px;
}

.dialog-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.dialog-controls {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.dialog-controls .qty {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
}

.dialog-controls .button {
  flex: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
  text-align: center;
}

@media (max-width: 980px) {
  .trust-grid,
  .categories,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gifting-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .shop-controls {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .hero-slide::after {
    opacity: 0.35;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }

  .header-row {
    min-height: 60px;
  }

  .brand {
    font-size: 19px;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-frame {
    min-height: 470px;
    border-radius: 18px;
  }

  .hero-slide {
    padding: 30px 22px 34px;
  }

  .hero-visual {
    display: none;
  }

  .hero-frame {
    min-height: 390px;
  }

  .trust-grid,
  .categories,
  .footer-grid,
  .shop-controls {
    grid-template-columns: 1fr;
  }

  .categories {
    padding-top: 30px;
  }

  .category-tile {
    min-height: 130px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-body {
    padding: 12px;
  }

  .product-name {
    font-size: 16px;
  }

  .product-actions {
    grid-template-columns: 1fr;
    padding: 0 12px 12px;
  }

  .product-actions .icon-only {
    width: 100%;
  }

  .dialog-body {
    grid-template-columns: 1fr;
  }

  .dialog-visual {
    min-height: 210px;
  }

  .dialog-info {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

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