/* ── Custom properties ───────────────────────────────────────────────────── */
:root {
  --cream:      #FDFAF6;
  --soft-cream: #F7F0E8;
  --blush:      #EDD5C5;
  --rose:       #C4897A;
  --dark-rose:  #A67060;
  --sage:       #8FAF8A;
  --dark-sage:  #6B8F6E;
  --text:       #3D2C28;
  --text-mid:   #7A5C50;
  --text-light: #A89080;
  --border:     #E8D5C8;
  --white:      #FFFFFF;
  --shadow-sm:  0 1px 3px rgba(61,44,40,.08);
  --shadow-md:  0 4px 16px rgba(61,44,40,.10);
  --shadow-lg:  0 8px 32px rgba(61,44,40,.13);
  --radius:     12px;
  --radius-sm:  8px;
  --transition: 200ms ease;
}

/* ── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.25;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--text-mid); }
em { font-style: italic; color: var(--rose); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(196,137,122,.35);
}
.btn-primary:hover {
  background: var(--dark-rose);
  box-shadow: 0 4px 16px rgba(196,137,122,.45);
}

.btn-outline {
  background: transparent;
  color: var(--rose);
  border: 2px solid var(--rose);
}
.btn-outline:hover {
  background: var(--rose);
  color: var(--white);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(143,175,138,.3);
}
.btn-sage:hover {
  background: var(--dark-sage);
}

.btn-order {
  background: var(--rose);
  color: var(--white);
  padding: .55rem 1.3rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(196,137,122,.3);
  transition: background var(--transition), box-shadow var(--transition),
              transform var(--transition), opacity var(--transition);
}
.btn-order:hover  { background: var(--dark-rose); box-shadow: 0 3px 12px rgba(196,137,122,.4); }
.btn-order:active { transform: scale(.97); }
.btn-order:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── Header / Nav ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,246,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--rose); }
.nav-instagram {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--rose) !important;
  border: 1.5px solid var(--rose);
  padding: .35rem .85rem;
  border-radius: 50px;
  font-size: .85rem !important;
}
.nav-instagram:hover { background: var(--rose); color: var(--white) !important; }

.nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text);
  padding: .25rem;
  line-height: 1;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush) 0%, var(--soft-cream) 55%, #d8eada 100%);
}
/* Decorative botanical blobs */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,137,122,.15) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.hero::after {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(143,175,138,.18) 0%, transparent 70%);
  bottom: -80px; left: -60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fadeUp .8s ease both;
}
.hero-eyebrow {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .75rem;
}
.hero h1 { margin-bottom: 1rem; }
.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 520px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ── Seasonal Banner ─────────────────────────────────────────────────────── */
.seasonal-banner {
  background: linear-gradient(90deg, var(--rose) 0%, var(--dark-rose) 100%);
  color: var(--white);
  padding: .75rem 1.25rem;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  animation: slideDown .4s ease both;
}
.seasonal-banner .container { display: flex; align-items: center; justify-content: center; gap: .5rem; }
.banner-icon { font-size: 1.1rem; }

/* ── Section shared styles ───────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 { margin-bottom: .5rem; }
.section-header p { color: var(--text-mid); max-width: 520px; margin-inline: auto; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .5rem;
}

/* ── Shop Section ────────────────────────────────────────────────────────── */
.shop-section {
  padding: 5rem 0;
  background: var(--cream);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-tab {
  padding: .4rem 1.1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  transition: all var(--transition);
}
.filter-tab:hover  { border-color: var(--rose); color: var(--rose); }
.filter-tab.active { background: var(--rose); color: var(--white); border-color: var(--rose); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  animation: fadeUp .5s ease both;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Product image */
.product-img-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush) 0%, var(--soft-cream) 60%, #d8eada 100%);
}
.product-img-wrapper.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.product-img-wrapper.no-image::after { content: '🌸'; }
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img { transform: scale(1.04); }

/* Product body */
.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.product-category {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rose);
}
.product-name {
  font-size: 1.1rem;
  font-family: 'Playfair Display', serif;
  color: var(--text);
}
.product-desc {
  font-size: .88rem;
  color: var(--text-mid);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Size selector */
.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .25rem;
}
.size-option { display: flex; }
.size-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.size-option span {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.size-option input:checked + span {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}
.size-option span:hover { border-color: var(--rose); color: var(--rose); }
.size-option input:checked + span:hover { background: var(--dark-rose); border-color: var(--dark-rose); color: var(--white); }
.size-option input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }

/* Product footer */
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

/* Loading skeletons */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 380px;
  position: relative;
  overflow: hidden;
}
.skeleton-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.6) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

/* Empty / error states */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  grid-column: 1 / -1;
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p  { color: var(--text-mid); margin-bottom: 1.5rem; }
.error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-mid);
}

/* ── Events Section ──────────────────────────────────────────────────────── */
.events-section {
  padding: 5rem 0;
  background: var(--soft-cream);
}
.events-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.event-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.event-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}
.event-info li {
  color: var(--text-mid);
  padding: .35rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: .95rem;
}
.event-info li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: .7rem;
  top: .5rem;
}
.event-note {
  font-style: italic;
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.event-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--dark-rose) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(196,137,122,.35);
  flex-shrink: 0;
}
.badge-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  font-size: .75rem;
  font-weight: 600;
  text-align: center;
  opacity: .9;
  margin-top: .3rem;
}

/* ── About Section ───────────────────────────────────────────────────────── */
.about-section {
  padding: 5rem 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blush) 0%, #d8eada 50%, var(--soft-cream) 100%);
  position: relative;
  overflow: hidden;
}
.about-visual::after {
  content: '🌿';
  position: absolute;
  font-size: 8rem;
  bottom: 1rem;
  right: 1rem;
  opacity: .25;
}
.about-text .section-eyebrow { display: block; margin-bottom: .5rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { margin-bottom: .9rem; font-size: .97rem; }
.about-text .btn { margin-top: .5rem; }

/* ── Instagram Section ───────────────────────────────────────────────────── */
.instagram-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--rose) 0%, var(--dark-rose) 100%);
  text-align: center;
}
.instagram-content h2 { color: var(--white); margin-bottom: .5rem; }
.instagram-content > p { color: rgba(255,255,255,.85); margin-bottom: 1.75rem; font-size: 1rem; }
.instagram-handle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  color: var(--rose);
  padding: .8rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.instagram-handle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.8);
  padding: 2.5rem 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: .25rem;
}
.footer-brand p { font-size: .85rem; opacity: .7; }
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-legal { font-size: .8rem; opacity: .5; }
.footer-admin-link { font-size: .75rem; color: inherit; opacity: .4; text-decoration: none; margin-top: .25rem; display: inline-block; }
.footer-admin-link:hover { opacity: .7; }

/* ── Success / Cancel pages ──────────────────────────────────────────────── */
.status-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--cream);
  animation: fadeUp .6s ease both;
}
.status-icon { font-size: 4rem; margin-bottom: 1.25rem; }
.status-page h1 { margin-bottom: .75rem; font-size: 2rem; }
.status-page p  { color: var(--text-mid); margin-bottom: 1.75rem; max-width: 420px; }
.status-page .logo-back {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position:  200% 0; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: .5rem 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: .85rem 1.5rem;
    width: 100%;
    border-radius: 0;
  }
  .nav-instagram {
    margin: .5rem 1rem;
    width: calc(100% - 2rem);
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  .hero { min-height: 70vh; }

  .events-content { grid-template-columns: 1fr; }
  .event-badge { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 16/9; }

  .footer-content { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-legal { order: 3; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

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

/* ── Product card — click-to-expand ─────────────────────────────────────── */
.product-card { cursor: pointer; }
.product-card:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.card-cta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: .02em;
}

/* ── Product modal ───────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61,44,40,.55);
  backdrop-filter: blur(4px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }

body.modal-open { overflow: hidden; }

.modal-panel {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 540px;
  width: 100%;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: slideUp .25s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: .75rem;
  right: .75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: var(--soft-cream);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--blush); }

.modal-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush) 0%, var(--soft-cream) 60%, #d8eada 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal-img-wrap.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.modal-img-wrap.no-image::after { content: '🌸'; }
.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.modal-product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text);
}
.modal-desc {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Option groups (sizes + modifiers) */
.option-group { display: flex; flex-direction: column; gap: .5rem; }
.option-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
}
.option-chips { display: flex; flex-wrap: wrap; gap: .4rem; }

/* Chip style (shared by size + modifier radios) */
.chip { display: flex; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
  white-space: nowrap;
}
.chip input:checked + span {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}
.chip span:hover { border-color: var(--rose); color: var(--rose); }
.chip input:checked + span:hover { background: var(--dark-rose); border-color: var(--dark-rose); }
.chip input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }

/* Modal footer */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  margin-top: .25rem;
}
.modal-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.btn-order-modal {
  min-width: 9rem;
  padding: .7rem 1.5rem;
}

@media (max-width: 540px) {
  .modal-panel { max-height: 100dvh; border-radius: var(--radius) var(--radius) 0 0; align-self: flex-end; }
  .modal-overlay { align-items: flex-end; padding: 0; }
}
