/* Luna Flora — static site styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --cream: #F5EBDD;
  --cream-deep: #EADDC7;
  --plum: #7A3E65;
  --plum-deep: #5E2F4E;
  --sage: #6D9F71;
  --ink: #2A1F27;
  --bg: #FFFFFF;
  --card: #FCFCFC;
  --muted: #F7F3ED;
  --muted-fg: #7A6E77;
  --border: #EAE1D3;
  --shadow-soft: 0 1px 2px rgba(74,32,64,.04), 0 8px 24px -12px rgba(74,32,64,.14);
  --shadow-elevated: 0 2px 6px rgba(74,32,64,.06), 0 24px 60px -24px rgba(74,32,64,.24);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: var(--plum-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.container { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1280px) { .container { padding: 0 3rem; } }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sage);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all .3s ease;
  cursor: pointer;
}
.btn-primary { background: var(--plum); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: var(--plum-deep); transform: translateY(-1px); box-shadow: var(--shadow-elevated); }
.btn-outline { border: 1px solid var(--plum); color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: #fff; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(234,225,211,.6);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 5rem;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--plum-deep);
  letter-spacing: -0.01em;
}
.logo span { color: var(--sage); }
.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: 0.875rem; color: rgba(42,31,39,.8); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--plum); }
.header-actions { display: flex; align-items: center; gap: 0.25rem; }
.icon-btn {
  padding: 0.6rem; border-radius: 9999px; color: rgba(42,31,39,.7);
  transition: all .2s; position: relative;
}
.icon-btn:hover { background: var(--cream); color: var(--plum); }
.cart-badge {
  position: absolute; top: 0; right: 0;
  width: 1rem; height: 1rem; border-radius: 9999px;
  background: var(--plum); color: #fff; font-size: 10px;
  display: grid; place-items: center; font-weight: 500;
}
.menu-toggle { display: inline-flex; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
}
.mobile-nav { display: none; border-top: 1px solid var(--border); }
.mobile-nav.open { display: block; }
.mobile-nav .container { display: flex; flex-direction: column; padding-top: 1rem; padding-bottom: 1rem; }
.mobile-nav a { padding: 0.75rem 0; font-size: 0.875rem; color: rgba(42,31,39,.8); border-bottom: 1px solid rgba(234,225,211,.5); }
.mobile-nav a:last-child { border: 0; }

/* Hero */
.hero { background: var(--cream); overflow: hidden; }
.hero-grid {
  display: grid; gap: 2.5rem;
  padding-top: 4rem; padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding-top: 8rem; padding-bottom: 8rem; }
}
.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  margin-top: 1.25rem; line-height: 1.05;
}
.hero p.lead { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted-fg); max-width: 34rem; }
.hero-cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-meta { margin-top: 2.5rem; display: flex; gap: 1.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted-fg); }
.hero-image-wrap { position: relative; }
.hero-image { border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-elevated); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  display: none;
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--bg); border: 1px solid var(--border);
  padding: 1.25rem; border-radius: 1rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) { .hero-card { display: block; } }
.hero-card p:nth-child(2) { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--plum-deep); margin-top: 0.5rem; }
.hero-card p:nth-child(3) { font-size: 0.75rem; color: var(--muted-fg); }

/* Sections */
section { padding: 5rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 3rem; }
.section-head h2, .section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 0.75rem; }
.text-center { text-align: center; }

/* Grid utilities */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-6 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-6 { grid-template-columns: repeat(6, 1fr); } }

/* Collection card */
.coll-card {
  border: 1px solid var(--border); background: var(--card);
  padding: 1.5rem; border-radius: 1rem; transition: all .3s;
}
.coll-card:hover { transform: translateY(-2px); border-color: rgba(122,62,101,.4); box-shadow: var(--shadow-soft); }
.coll-card p:nth-child(2) { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--plum-deep); margin-top: 0.75rem; }
.coll-card p:nth-child(3) { margin-top: 0.5rem; font-size: 0.75rem; color: var(--muted-fg); line-height: 1.55; }

/* Big collection tile */
.coll-tile {
  position: relative; display: flex; flex-direction: column; justify-content: end;
  min-height: 18rem; padding: 2rem; border-radius: 1.5rem; background: var(--cream);
  transition: all .3s; overflow: hidden;
}
.coll-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.coll-tile h2 { font-size: 1.75rem; margin-top: 0.75rem; }
.coll-tile .arrow { margin-top: 1.5rem; font-size: 0.875rem; color: var(--plum); font-weight: 500; }

/* Best sellers section */
.bg-soft { background: rgba(245,235,221,.4); }
.bg-cream { background: var(--cream); }
.bg-plum { background: var(--plum-deep); color: #fff; }
.bg-plum h1, .bg-plum h2 { color: #fff; }

/* Product card */
.product {
  background: var(--card); border-radius: 1rem; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .5s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }
.product-img {
  position: relative; aspect-ratio: 4/5;
  background: var(--cream); overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease-out; }
.product:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  padding: 0.35rem 0.75rem; border-radius: 9999px;
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--plum);
}
.product-add {
  position: absolute; bottom: 1rem; right: 1rem;
  width: 2.75rem; height: 2.75rem; border-radius: 9999px;
  background: var(--plum); color: #fff;
  display: grid; place-items: center;
  opacity: 0; transition: all .3s; box-shadow: var(--shadow-soft);
}
.product:hover .product-add { opacity: 1; }
.product-add:hover { background: var(--plum-deep); }
.product-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-body h3 { font-size: 1.25rem; color: var(--plum-deep); }
.product-body .tagline { font-size: 0.875rem; color: var(--muted-fg); }
.product-row {
  margin-top: auto; padding-top: 0.75rem;
  display: flex; justify-content: space-between; align-items: center;
}
.product-row .price { font-weight: 500; }
.product-row .rating { font-size: 0.75rem; color: var(--muted-fg); display: flex; align-items: center; gap: 0.25rem; }
.star { color: var(--sage); }

/* Features */
.feature-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 9999px;
  background: rgba(122,62,101,.1); color: var(--plum);
  display: grid; place-items: center; font-size: 1.1rem;
}
.feature h3 { font-size: 1.25rem; margin-top: 1.25rem; }
.feature p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }

/* Testimonials */
.testimonial {
  background: var(--card); border: 1px solid var(--border);
  padding: 2rem; border-radius: 1rem;
}
.testimonial .stars { color: var(--sage); letter-spacing: 2px; }
.testimonial blockquote { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.7; }
.testimonial figcaption { margin-top: 1.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-fg); }

/* Cities */
.city-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; max-width: 56rem; margin: 2.5rem auto 0; }
.city-tag { padding: 0.5rem 1.25rem; border-radius: 9999px; border: 1px solid var(--border); background: #fff; font-size: 0.875rem; color: rgba(42,31,39,.85); }
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 768px) { .city-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .city-grid { grid-template-columns: repeat(5, 1fr); } }
.city-grid div { padding: 1rem 1.25rem; border: 1px solid var(--border); background: #fff; border-radius: 0.75rem; font-size: 0.875rem; color: rgba(42,31,39,.85); }

/* Newsletter */
.newsletter {
  background: var(--plum-deep); color: #fff;
  border-radius: 2rem; padding: 4rem 2rem;
  text-align: center; max-width: 48rem; margin: 0 auto;
}
@media (min-width: 768px) { .newsletter { padding: 4rem 4rem; } }
.newsletter h2 { color: #fff; margin-top: 1.25rem; }
.newsletter p { color: rgba(255,255,255,.8); margin-top: 1rem; font-size: 0.875rem; }
.newsletter form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; margin: 2rem auto 0; }
@media (min-width: 640px) { .newsletter form { flex-direction: row; } }
.newsletter input {
  flex: 1; border-radius: 9999px; padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,.1); color: #fff;
  border: none; font-size: 0.875rem; font-family: inherit;
}
.newsletter input::placeholder { color: rgba(255,255,255,.6); }
.newsletter input:focus { outline: 2px solid rgba(255,255,255,.4); }
.newsletter button {
  border-radius: 9999px; padding: 0.75rem 1.5rem;
  background: #fff; color: var(--plum-deep); font-weight: 500; font-size: 0.875rem;
  transition: background .2s;
}
.newsletter button:hover { background: var(--cream); }

/* Story */
.story-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; } }
.story-img { border-radius: 2rem; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { max-width: 32rem; }
.story-copy h2 { margin-top: 0.75rem; }
.story-copy p { margin-top: 1.25rem; color: var(--muted-fg); line-height: 1.7; }
.story-copy a { margin-top: 2rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--plum); }

/* Numbered cards */
.num-card { border: 1px solid var(--border); background: var(--card); padding: 2rem; border-radius: 1rem; }
.num-card .num { font-family: 'Playfair Display', serif; font-size: 2.25rem; color: var(--sage); }
.num-card h3 { font-size: 1.25rem; margin-top: 1rem; }
.num-card p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.65; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-item { display: flex; gap: 1rem; }
.contact-item + .contact-item { margin-top: 1.5rem; }
.contact-item .feature-icon { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.contact-item p:first-of-type { font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--plum-deep); }
.contact-item p:last-of-type { font-size: 0.875rem; color: var(--muted-fg); }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: block; font-size: 0.875rem; margin-top: 1rem; }
.field:first-child { margin-top: 0; }
.field span { color: var(--muted-fg); display: block; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; padding: 0.65rem 1rem; border: 1px solid var(--border);
  border-radius: 0.5rem; background: #fff; font-family: inherit; font-size: 0.875rem;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); }
.contact-form .btn { margin-top: 1.5rem; width: 100%; }

/* FAQ */
.faq { max-width: 48rem; margin: 0 auto; }
.faq details { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  cursor: pointer; list-style: none;
  font-family: 'Playfair Display', serif; font-size: 1.125rem; color: var(--plum-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .toggle { font-size: 1.5rem; color: var(--sage); transition: transform .3s; }
.faq details[open] summary .toggle { transform: rotate(45deg); }
.faq details p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }

/* Footer */
.footer { background: var(--cream); border-top: 1px solid var(--border); margin-top: 6rem; }
.footer-grid {
  display: grid; gap: 3rem;
  padding-top: 4rem; padding-bottom: 4rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.18em; color: var(--plum-deep); font-family: 'Inter', sans-serif; }
.footer ul { list-style: none; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-fg); }
.footer li { display: flex; gap: 0.5rem; }
.footer li .ico { color: var(--sage); flex-shrink: 0; }
.footer a:hover { color: var(--plum); }
.footer .brand { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--plum-deep); }
.footer .brand span { color: var(--sage); }
.footer .about { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }
.footer .insta { margin-top: 1.5rem; display: inline-flex; gap: 0.5rem; font-size: 0.875rem; color: var(--plum); }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom .container { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: 0.75rem; color: var(--muted-fg); align-items: center; }
@media (min-width: 768px) { .footer-bottom .container { flex-direction: row; justify-content: space-between; } }

/* Page hero (small) */
.page-hero { background: var(--cream); padding: 5rem 0; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); margin-top: 0.75rem; }
.page-hero p { margin-top: 1.25rem; max-width: 36rem; color: var(--muted-fg); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
