:root {
  --ink: #241a20;
  --muted: #6f6268;
  --cream: #f8f4f1;
  --paper: #fffdfc;
  --pink: #f1a4c2;
  --pink-soft: #fde8f0;
  --plum: #722a47;
  --line: #e6dcd9;
  --shadow: 0 18px 50px rgba(61, 35, 45, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, select { font: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 82px; padding: .7rem clamp(1rem, 5vw, 5rem); background: rgba(255,253,252,.92); border-bottom: 1px solid rgba(114,42,71,.12); backdrop-filter: blur(14px); }
.brand { width: 74px; border-radius: 50%; overflow: hidden; }
.brand img { width: 100%; }
nav { display: flex; gap: clamp(1.2rem, 4vw, 3.5rem); }
nav a, .header-contact { text-decoration: none; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; left: 0; bottom: -.4rem; width: 0; height: 1px; background: var(--plum); transition: width .25s ease; }
nav a:hover::after, nav a:focus-visible::after { width: 100%; }
.header-contact { justify-self: end; padding: .7rem 1.1rem; border: 1px solid var(--plum); border-radius: 999px; }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, .65fr); min-height: 630px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 44% 0 0; background: radial-gradient(circle at 18% 20%, var(--pink-soft), transparent 34%), linear-gradient(135deg, #fffdfc 0%, #f7efec 100%); }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 730px; padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7rem); }
.eyebrow { margin: 0 0 1.1rem; color: var(--plum); font-size: .76rem; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 6vw, 6.6rem); line-height: .96; letter-spacing: -.055em; }
.hero-text { max-width: 600px; margin: 1.8rem 0 2.2rem; color: var(--muted); font-size: 1.08rem; }
.shipping-note { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin: -1rem 0 2rem; color: var(--plum); font-size: .92rem; font-weight: 700; }
.shipping-note span + span::before { content: "✦"; margin-right: 1rem; color: var(--pink); }
.primary-action { display: inline-flex; align-items: center; gap: .7rem; padding: .9rem 1.25rem; color: #fff; background: var(--plum); border-radius: 999px; text-decoration: none; font-weight: 700; }
.hero-photo { position: relative; z-index: 2; margin: 0; min-height: 630px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-photo figcaption { position: absolute; right: 1rem; bottom: 1rem; padding: .55rem .8rem; background: rgba(255,253,252,.88); border-radius: 999px; font-family: Georgia, serif; font-style: italic; }
.hero-mark { position: absolute; z-index: 1; right: 35%; bottom: -5.5rem; margin: 0; color: rgba(114,42,71,.055); font-family: Georgia, serif; font-size: 17rem; line-height: 1; }

.collection { padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 5vw, 5rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; max-width: 1400px; margin: 0 auto 2.7rem; }
.section-heading h2, .buying h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.04em; }
.section-heading > p { max-width: 430px; margin: 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.5rem); max-width: 1400px; margin: 0 auto; }
.product-card { display: grid; grid-template-columns: minmax(220px, 1.12fr) minmax(240px, .88fr); min-height: 480px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,.8); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image-wrap { position: relative; min-height: 430px; overflow: hidden; background: #efe8e4; }
.product-image-wrap > img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; backface-visibility: hidden; transition: opacity .2s ease; }
.product-badge { position: absolute; top: 1rem; left: 1rem; padding: .4rem .7rem; color: var(--plum); background: rgba(255,253,252,.9); border-radius: 999px; font-size: .77rem; font-weight: 700; }
.color-gallery { position: absolute; right: .75rem; bottom: .75rem; left: .75rem; display: flex; gap: .45rem; padding: .55rem; overflow-x: auto; background: rgba(255,253,252,.9); border: 1px solid rgba(114,42,71,.13); border-radius: 14px; backdrop-filter: blur(10px); scrollbar-width: thin; }
.color-option { flex: 0 0 46px; width: 46px; height: 58px; padding: 2px; overflow: hidden; background: #fff; border: 2px solid transparent; border-radius: 9px; cursor: pointer; }
.color-option img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.color-option.is-active { border-color: var(--plum); }
.color-option.is-sold-out { position: relative; opacity: .62; }
.color-option.is-sold-out::after { content: ""; position: absolute; inset: 4px; border-radius: 6px; background: linear-gradient(to top right, transparent 46%, rgba(114, 42, 71, .9) 48%, rgba(114, 42, 71, .9) 52%, transparent 54%); pointer-events: none; }
.product-info { display: flex; flex-direction: column; padding: clamp(1.3rem, 2.5vw, 2rem); }
.product-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.product-title-row h3 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.product-info > p { margin: 1.2rem 0 1.8rem; color: var(--muted); font-size: .95rem; }
.product-info > .selected-color { margin: -1rem 0 1.3rem; color: var(--plum); font-size: .86rem; }
.product-actions { display: grid; gap: .8rem; margin-top: auto; }
.product-actions label { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .8rem; color: var(--muted); font-size: .88rem; }
select { width: 100%; padding: .75rem .85rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; }
select:disabled { color: var(--plum); background: var(--pink-soft); opacity: 1; }
.whatsapp-button { width: 100%; padding: .9rem 1rem; color: #fff; background: var(--plum); border: 0; border-radius: 12px; cursor: pointer; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.whatsapp-button:hover, .whatsapp-button:focus-visible { background: #561a32; transform: translateY(-1px); }

.buying { padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 7vw, 7rem); color: #fff; background: var(--plum); }
.buying .eyebrow { color: var(--pink); }
.buying ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 1400px; margin: 3.5rem auto 0; padding: 0; list-style: none; background: rgba(255,255,255,.22); }
.buying li { min-height: 230px; padding: 2rem; background: var(--plum); }
.buying li span { display: block; margin-bottom: 2.5rem; color: var(--pink); font-family: Georgia, serif; font-size: 1.8rem; }
.buying li strong { display: block; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.buying li p { max-width: 330px; color: rgba(255,255,255,.72); }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 2rem clamp(1rem, 5vw, 5rem); background: var(--paper); }
footer img { width: 74px; border-radius: 50%; }
footer p { margin: .25rem 0; color: var(--muted); text-align: center; }
.footer-copy p:last-child { color: var(--plum); font-size: .9rem; font-weight: 700; }
footer a { justify-self: end; color: var(--plum); text-decoration: none; }
.floating-whatsapp { position: fixed; z-index: 30; right: 1.2rem; bottom: 1.2rem; display: grid; width: 56px; height: 56px; place-items: center; color: #fff; background: #25d366; border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.floating-whatsapp svg { width: 31px; fill: currentColor; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

@media (max-width: 1100px) {
  .product-card { grid-template-columns: 1fr; }
  .product-image-wrap { min-height: 520px; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 72px; }
  .brand { width: 58px; }
  nav { display: none; }
  .header-contact { font-size: .78rem; }
  .hero { grid-template-columns: 1fr; }
  .hero::before { inset: 0; }
  .hero-copy { padding: 4.5rem 1.2rem 3rem; }
  .hero-text { font-size: 1rem; }
  .shipping-note { align-items: flex-start; flex-direction: column; }
  .shipping-note span + span::before { margin-right: .55rem; }
  .hero-photo { min-height: 480px; margin: 0 1rem 1rem; border-radius: 22px; }
  .hero-mark { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; }
  .product-image-wrap { min-height: 430px; }
  .buying ol { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  footer a { justify-self: center; }
}

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

[hidden] { display: none !important; }
.collection { scroll-margin-top: 100px; }
.catalog-tabs { display: flex; gap: .65rem; max-width: 1400px; margin: 0 auto 2rem; }
.catalog-tabs button { padding: .8rem 1.4rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--plum); cursor: pointer; font-weight: 700; }
.catalog-tabs button[aria-selected="true"] { color: white; background: var(--plum); border-color: var(--plum); }
.sale-empty { max-width: 1400px; margin: auto; padding: clamp(3rem, 7vw, 6rem) 1.5rem; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: var(--pink-soft); }
.sale-empty h3 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
.sale-empty > p:last-child { margin: 0 auto; max-width: 440px; color: var(--muted); }
.product-card.is-sale .product-image-wrap > img { object-fit: contain; background: #fff; }
.product-info > p.product-price { font-size: 1.7rem; font-weight: 700; color: #722a47; margin: 0 0 1.5rem; }

.sale-aurora-photo { width: 100%; aspect-ratio: 706 / 850; background: #fff url("./assets/catalog/sale-aurora.jpeg") center / 100% auto no-repeat; }

.sale-mare-photo { width: 100%; aspect-ratio: 706 / 946; background: #fff url("./assets/catalog/sale-mare.jpeg") center / 100% auto no-repeat; }
