/* ============ Desert Rose — style.css ============ */
:root {
  --bg: #FBF5F0;
  --band: #F3E2DC;
  --rose: #C98B83;
  --rose-dark: #A96A62;
  --heading: #4A3532;
  --text: #7A645F;
  --line: #E6CFC6;
  --card: #FFFFFF;
  --radius: 18px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1280px;
  --pad: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; flex-shrink: 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--heading); font-weight: 400; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--rose-dark); outline-offset: 3px; border-radius: 6px; }

/* ---------- Announcement + nav ---------- */
.announce {
  background: var(--band);
  color: var(--rose-dark);
  text-align: center;
  font-size: 12px;
  padding: 8px 16px;
}
.nav {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--pad);
  height: 84px;
  background: rgba(251, 245, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--rose-dark); }
.brand span { font-family: var(--serif); font-size: 28px; color: var(--heading); letter-spacing: -.01em; }
.brand .flower { width: 24px; height: 24px; }
.brand.big span { font-size: 34px; }
.brand.big .flower { width: 30px; height: 30px; }
.links { display: flex; gap: 32px; font-size: 13px; }
.links a { padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.links a:hover { color: var(--rose-dark); border-color: var(--rose); }
.dm {
  justify-self: end; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--rose-dark);
}
.dm:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: 1px solid transparent;
  transition: background .2s, transform .15s, color .2s, border-color .2s;
}
.btn-primary { background: var(--rose-dark); color: #fff; }
.btn-primary:hover { background: #94574f; transform: translateY(-1px); }
.btn-primary svg { width: 16px; height: 16px; }

/* ---------- Eyebrow / heads ---------- */
.eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-dark); margin-bottom: 14px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 36px; }
.head h2 { font-size: clamp(30px, 4vw, 44px); }
.head-note { text-align: right; font-size: 13px; }
.head-note small { display: block; font-size: 11px; opacity: .8; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
  padding: 64px var(--pad) 72px; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); letter-spacing: -.01em; margin-bottom: 24px; }
.lead { font-size: 16px; max-width: 470px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.note { font-size: 12px; line-height: 1.5; }
.hero-visual { position: relative; }
.photo-slot {
  position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 648 / 520;
  background: linear-gradient(145deg, #F3E2DC 0%, #E9CFC6 55%, #DDB9AE 100%);
}
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-label {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  font-size: 12px; color: var(--rose-dark); background: rgba(255,255,255,.55);
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.hero-visual figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 24px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255, 255, 255, .94); border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 6px 24px rgba(74, 53, 50, .08);
}
.hero-visual figcaption strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; color: var(--heading); }
.hero-visual figcaption span { font-size: 12px; }
.hero-visual figcaption a { color: var(--heading); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: background .2s; }
.hero-visual figcaption a:hover { background: var(--band); }

/* ---------- Strip ---------- */
.strip {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 26px var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.strip div { display: flex; align-items: center; gap: 12px; }
.strip svg { color: var(--rose-dark); }

/* ---------- Sections ---------- */
.section { padding: 88px var(--pad); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.head.single { margin-bottom: 40px; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill {
  font: inherit; font-size: 12px; padding: 0 20px; height: 40px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text); border: 1px solid var(--line); transition: all .2s;
}
.pill:hover { border-color: var(--rose); color: var(--rose-dark); }
.pill.active { background: var(--rose-dark); color: #fff; border-color: var(--rose-dark); }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.card { display: flex; flex-direction: column; animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card-photo {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 410 / 350;
  background: var(--band);
}
.card-photo .swatch { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: var(--rose-dark); opacity: .8; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-photo img { transform: scale(1.03); }
.badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--rose-dark); font-size: 11px; padding: 5px 12px; border-radius: 999px;
}
.card-body { padding-top: 16px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font-size: 22px; }
.price { font-family: var(--serif); font-size: 17px; color: var(--heading); white-space: nowrap; }
.meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; }
.dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(74,53,50,.12); flex-shrink: 0; }
.sizes { font-size: 12px; margin-top: 8px; }
.order {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 18px; height: 44px; border-radius: 999px;
  font-size: 13px; color: var(--heading); border: 1px solid var(--rose); background: transparent;
  transition: background .2s, color .2s;
}
.order:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.order svg { width: 16px; height: 16px; }
.ref { font-size: 11px; opacity: .8; margin-top: 10px; }
.hint { text-align: center; font-size: 13px; margin-top: 56px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; }

/* ---------- Band: how to order ---------- */
.band { background: var(--band); }
.band-inner { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 80px var(--pad); }
.ig-badge { display: flex; align-items: center; gap: 12px; font-size: 12px; line-height: 1.4; text-align: left; }
.ig-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--rose-dark); }
.ig-icon svg { width: 22px; height: 22px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 8px 0 48px; }
.steps span { display: block; font-family: var(--serif); font-size: 40px; color: var(--rose); margin-bottom: 14px; }
.steps h3 { font-size: 22px; margin-bottom: 10px; }
.steps p { font-size: 14px; }
.sample {
  display: flex; align-items: center; gap: 28px; background: #fff; border-radius: var(--radius); padding: 24px 28px;
}
.sample-tip { flex: 0 0 230px; }
.sample-tip strong { display: block; font-weight: 500; color: var(--heading); font-size: 13px; }
.sample-tip small { font-size: 11px; }
.sample-msg { flex: 1; font-family: var(--serif); font-style: italic; color: var(--heading); font-size: 16px; }
.copy {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg); color: var(--rose-dark); transition: background .2s;
}
.copy:hover { background: var(--band); }
.legal-note { font-size: 11px; margin-top: 28px; opacity: .85; }

/* ---------- Infos ---------- */
.info-grid { display: grid; grid-template-columns: 490px 1fr; gap: 64px; align-items: start; }
.size-card { background: #F1E9E1; border-radius: var(--radius); padding: 28px; }
.size-card h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 22px; }
.size-card h3 svg { color: var(--rose-dark); width: 22px; height: 22px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-weight: 400; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 0; }
th:last-child, td:last-child { text-align: right; }
td { padding: 9px 0; border-top: 1px solid var(--line); }
.size-note { font-size: 11px; margin-top: 18px; }

.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { padding-top: 0; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--serif); font-size: 22px; color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--rose-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; font-size: 14px; max-width: 640px; }

/* ---------- Footer ---------- */
.footer { background: #F1E9E1; margin-top: 40px; }
.footer-inner {
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 56px var(--pad) 40px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px;
}
.f-brand p { margin-top: 14px; font-size: 13px; }
.f-links { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.f-links a:hover, .f-ig a:hover { color: var(--rose-dark); }
.f-ig a { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--heading); }
.f-ig p { margin-top: 10px; font-size: 12px; max-width: 300px; }
.footer-legal {
  max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad) 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px;
}
.footer-legal::before { content: ""; flex-basis: 100%; border-top: 1px solid var(--line); margin-bottom: 14px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--heading); color: #fff; font-size: 13px; padding: 12px 20px; border-radius: 999px;
  transition: opacity .25s, transform .25s; z-index: 50; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --pad: 40px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { gap: 28px; }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: auto 1fr; height: 70px; }
  .links { display: none; }
  .dm span { display: none; }
  .dm { justify-self: end; }
  .head { flex-direction: column; align-items: flex-start; }
  .head-note { text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .sample { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sample-tip { flex: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .strip { flex-direction: column; gap: 14px; }
}
@media (max-width: 560px) {
  :root { --pad: 20px; }
  .section { padding: 64px var(--pad); }
  .band-inner { padding: 56px var(--pad); }
  .grid { grid-template-columns: 1fr; }
  .hero-visual figcaption { left: 12px; right: 12px; bottom: 12px; }
  .btn { width: 100%; }
  .pills { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scrollbar-width: none; }
  .pill { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { animation: none; }
  * { transition: none !important; }
}
