/* ============================================
   FLORAL FREEDOM — Main Stylesheet v2
   Palette: Sage · Lavender · Dusty Rose · Cream · Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
  /* Core palette */
  --sage:          #7d9b76;
  --sage-light:    #a8bf9e;
  --sage-dark:     #4a6b45;
  --lavender:      #9b7db8;
  --lavender-light:#c4aed9;
  --lavender-pale: #f0e6f5;
  --lavender-dark: #6b4d8a;
  --blush:         #e8c4b8;
  --blush-light:   #f5e6e0;
  --blush-deep:    #c9967f;
  --cream:         #faf6f0;
  --cream-dark:    #f0e8dc;
  --gold:          #c9a86c;
  --gold-light:    #e4c99a;
  --dark:          #2c2416;
  --dark-mid:      #4a3d2a;
  --text:          #3d3226;
  --text-light:    #6b5d4e;
  --white:         #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --radius:    2px;
  --radius-lg: 10px;
  --shadow:    0 4px 24px rgba(44,36,22,0.08);
  --shadow-lg: 0 12px 48px rgba(44,36,22,0.14);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 6rem 0; }
.section-sage     { background: var(--cream-dark); }
.section-blush    { background: var(--blush-light); }
.section-lavender { background: var(--lavender-pale); }
.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; font-weight: 500; }
em { font-style: italic; color: var(--lavender-dark); }

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-eyebrow.purple { color: var(--lavender); }

.section-header { margin-bottom: 3rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-primary   { background: var(--sage-dark); color: var(--white); }
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-lavender  { background: var(--lavender-dark); color: var(--white); }
.btn-lavender:hover { background: var(--dark); transform: translateY(-2px); }

.btn-gradient  {
  background: linear-gradient(135deg, var(--lavender), var(--sage));
  color: var(--white);
}
.btn-gradient:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: var(--shadow); }

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

.btn-outline-sage { background: transparent; color: var(--sage-dark); border: 1.5px solid var(--sage-dark); }
.btn-outline-sage:hover { background: var(--sage-dark); color: var(--white); }

.btn-outline-lavender { background: transparent; color: var(--lavender-dark); border: 1.5px solid var(--lavender); }
.btn-outline-lavender:hover { background: var(--lavender-dark); color: var(--white); }

/* ── NAVIGATION ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,246,240,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(155,125,184,0.15);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 2rem; max-width: 1200px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-serif); font-size: 1.5rem; color: var(--dark); }
.logo-leaf { color: var(--lavender); font-size: 1.4rem; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 0.75rem; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-light); transition: var(--transition); position: relative;
}
.nav-links a::after {
  content:''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, var(--lavender), var(--sage));
  transform: scaleX(0); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-mobile-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--dark); }
.mobile-nav { display: none; flex-direction: column; padding: 1rem 2rem 1.5rem; gap: 1rem; background: var(--cream); border-top: 1px solid var(--lavender-pale); }
.mobile-nav a { font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.mobile-nav.open { display: flex; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--lavender-pale) 50%, var(--cream) 100%);
}

.hero-bg-petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.petal { position: absolute; border-radius: 50% 0 50% 0; opacity: 0.08; animation: float 8s ease-in-out infinite; }
.p1 { width:300px;height:300px;background:var(--lavender);top:-80px;right:15%;animation-delay:0s; }
.p2 { width:200px;height:200px;background:var(--blush);bottom:20%;left:5%;animation-delay:2s; }
.p3 { width:150px;height:150px;background:var(--gold);top:40%;right:5%;animation-delay:4s; }
.p4 { width:250px;height:250px;background:var(--sage-light);bottom:-50px;right:30%;animation-delay:1s; }
.p5 { width:100px;height:100px;background:var(--lavender-light);top:20%;left:30%;animation-delay:3s; }

@keyframes float {
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%    { transform: translateY(-20px) rotate(10deg); }
}

.hero-content { padding: 4rem 4rem 4rem 6rem; z-index: 1; }
.hero-eyebrow { font-size: 0.68rem; font-weight: 400; letter-spacing: 0.3em; text-transform: uppercase; color: var(--lavender); margin-bottom: 1.5rem; }
.hero-title { color: var(--dark); margin-bottom: 1.5rem; line-height: 1.1; }
.hero-title em { color: var(--lavender-dark); }
.hero-sub { font-size: 1.1rem; max-width: 400px; margin-bottom: 2.5rem; color: var(--text-light); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-image-frame { display: flex; align-items: center; justify-content: center; padding: 4rem; z-index: 1; }
.hero-img-placeholder {
  width: 420px; height: 500px;
  background: linear-gradient(135deg, var(--lavender-pale) 0%, var(--blush-light) 50%, var(--cream-dark) 100%);
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-img-placeholder img { width:100%; height:100%; object-fit:cover; }

/* floral illustration */
.floral-illustration { position:relative; width:200px; height:280px; }
.fi-stem { position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:3px;height:180px;background:var(--sage-dark);border-radius:2px; }
.fi-flower { position:absolute;border-radius:50%;animation:sway 4s ease-in-out infinite; }
.f1{width:80px;height:80px;background:radial-gradient(circle,var(--lavender-light),var(--lavender));top:20px;left:50%;transform:translateX(-50%);animation-delay:0s}
.f2{width:60px;height:60px;background:radial-gradient(circle,var(--blush),var(--blush-deep));top:60px;left:20px;animation-delay:1s}
.f3{width:55px;height:55px;background:radial-gradient(circle,var(--sage-light),var(--sage));top:70px;right:20px;animation-delay:2s}
.fi-leaf{position:absolute;width:50px;height:25px;background:var(--sage);border-radius:50% 0}
.l1{bottom:80px;left:30px;transform:rotate(-30deg)}
.l2{bottom:120px;right:25px;transform:rotate(40deg);background:var(--sage-dark)}
.l3{bottom:60px;right:35px;transform:rotate(20deg);opacity:.7}
@keyframes sway{0%,100%{transform:translateX(-50%) rotate(-3deg)}50%{transform:translateX(-50%) rotate(3deg)}}

/* ── CATEGORIES ── */
.cat-grid { display:grid; grid-template-columns:1fr 2fr 1fr 1fr; gap:1.5rem; }
.cat-card {
  background:var(--white); border:1px solid var(--cream-dark);
  padding:2rem 1.5rem; border-radius:var(--radius-lg);
  transition:var(--transition); display:flex; flex-direction:column; gap:0.5rem;
}
.cat-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--lavender-light); }
.cat-card--feature { background:linear-gradient(135deg, var(--lavender-dark), var(--sage-dark)); color:var(--white); }
.cat-card--feature h3, .cat-card--feature p { color:var(--white); }
.cat-card--feature p { opacity:.85; }
.cat-icon { font-size:2rem; margin-bottom:0.5rem; }
.cat-card h3 { font-family:var(--font-serif); font-size:1.3rem; color:var(--dark); }
.cat-card p { font-size:0.85rem; color:var(--text-light); }

/* ── PRODUCT CARDS ── */
.product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:2rem; }
.product-card { background:var(--white); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); }
.product-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }

.product-img {
  height:220px;
  background:linear-gradient(135deg,var(--lavender-pale),var(--blush-light),var(--cream-dark));
  display:flex; align-items:center; justify-content:center; font-size:4rem;
  position:relative; overflow:hidden;
}
.product-img img { width:100%; height:100%; object-fit:cover; }
.product-badge { position:absolute;top:1rem;left:1rem;background:var(--lavender-dark);color:#fff;font-size:0.65rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;padding:.3rem .7rem;border-radius:20px; }
.product-badge.sale { background:#c0392b; }
.product-badge.sold-out { background:var(--text-light); }

.product-info { padding:1.5rem; }
.product-category { font-size:.65rem; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:var(--lavender); margin-bottom:.4rem; }
.product-name { font-family:var(--font-serif); font-size:1.2rem; color:var(--dark); margin-bottom:.4rem; }
.product-desc { font-size:.82rem; color:var(--text-light); margin-bottom:1rem; }
.product-footer { display:flex; align-items:center; justify-content:space-between; }
.product-price { font-family:var(--font-serif); font-size:1.3rem; color:var(--dark); }
.product-price .sale-price { color:#c0392b; margin-left:6px; font-size:1rem; }
.product-price .original { text-decoration:line-through; font-size:0.9rem; color:var(--text-light); margin-right:4px; }
.product-action { font-size:.72rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:var(--lavender-dark); border-bottom:1px solid var(--lavender); padding-bottom:1px; transition:var(--transition); }
.product-action:hover { color:var(--dark); border-color:var(--dark); }

/* ── WHY US ── */
.why-grid { display:grid; grid-template-columns:1fr 1fr; gap:5rem; align-items:center; }
.why-list { display:flex; flex-direction:column; gap:.6rem; margin-bottom:1.5rem; }
.why-list li { font-size:.9rem; color:var(--text); }
.why-visual { display:flex; flex-direction:column; gap:1.5rem; }
.why-card { background:var(--white); border:1px solid var(--cream-dark); border-radius:var(--radius-lg); padding:1.5rem 2rem; display:flex; align-items:flex-start; gap:1.5rem; transition:var(--transition); }
.why-card:hover { box-shadow:var(--shadow); border-color:var(--lavender-light); }
.wc-num { font-family:var(--font-serif); font-size:2rem; font-weight:300; color:var(--lavender); flex-shrink:0; line-height:1; }
.why-card h4 { font-family:var(--font-serif); color:var(--dark); margin-bottom:.3rem; }
.why-card p { font-size:.85rem; color:var(--text-light); }

/* ── TESTIMONIALS ── */
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.testi-card { background:var(--white); border-radius:var(--radius-lg); padding:2rem; border-top:3px solid var(--lavender); }
.testi-quote { font-family:var(--font-serif); font-size:1.05rem; font-style:italic; color:var(--dark-mid); margin-bottom:1.2rem; line-height:1.6; }
.testi-name { font-size:.75rem; font-weight:500; letter-spacing:.1em; color:var(--text-light); }

/* ── NEWSLETTER SIGNUP STRIP ── */
.newsletter-strip {
  background: linear-gradient(135deg, var(--lavender-dark) 0%, var(--sage-dark) 100%);
  padding: 4rem 0;
  text-align: center;
}
.newsletter-strip h2 { color: var(--white); font-family:var(--font-serif); font-size:2rem; margin-bottom:.5rem; }
.newsletter-strip p { color: rgba(255,255,255,0.8); margin-bottom:2rem; }
.newsletter-inline { display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; max-width:500px; margin:0 auto; }
.newsletter-inline input {
  flex:1; min-width:200px; padding:.85rem 1.25rem;
  border:none; background:rgba(255,255,255,0.15);
  color:var(--white); font-family:var(--font-sans); font-size:.9rem;
  border-radius:4px; outline:none; border:1px solid rgba(255,255,255,0.25);
}
.newsletter-inline input::placeholder { color:rgba(255,255,255,0.5); }
.newsletter-inline input:focus { background:rgba(255,255,255,0.25); }
.newsletter-inline button {
  padding:.85rem 1.5rem; background:var(--white); color:var(--lavender-dark);
  border:none; font-family:var(--font-sans); font-size:.75rem; font-weight:500;
  letter-spacing:.15em; text-transform:uppercase; cursor:pointer;
  border-radius:4px; transition:var(--transition);
}
.newsletter-inline button:hover { background:var(--gold-light); }

/* ── PAGE HERO ── */
.page-hero { padding:8rem 0 4rem; text-align:center; background:linear-gradient(160deg,var(--cream) 0%,var(--lavender-pale) 60%,var(--cream-dark) 100%); }
.page-hero h1 { font-size:clamp(2.5rem,5vw,4rem); color:var(--dark); }

/* ── SHOP ── */
.shop-layout { display:grid; grid-template-columns:260px 1fr; gap:3rem; padding:4rem 0 6rem; }
.shop-filters { position:sticky; top:6rem; align-self:start; }
.filter-section { margin-bottom:2.5rem; }
.filter-title { font-size:.68rem; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:var(--text-light); margin-bottom:1rem; padding-bottom:.5rem; border-bottom:1px solid var(--cream-dark); }
.filter-options { display:flex; flex-direction:column; gap:.5rem; }
.filter-option { display:flex; align-items:center; gap:.6rem; font-size:.88rem; cursor:pointer; color:var(--text); transition:var(--transition); }
.filter-option:hover { color:var(--lavender-dark); }
.filter-option input { accent-color:var(--lavender-dark); }
.shop-results-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:2rem; }
.results-count { font-size:.85rem; color:var(--text-light); }
.sort-select { padding:.5rem 1rem; border:1px solid var(--cream-dark); background:var(--white); font-family:var(--font-sans); font-size:.82rem; color:var(--text); outline:none; cursor:pointer; border-radius:4px; }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1fr 1.5fr; gap:4rem; padding:4rem 0 6rem; }
.contact-form-card { background:var(--white); border-radius:var(--radius-lg); padding:3rem; box-shadow:var(--shadow); }
.contact-form-card h3 { font-family:var(--font-serif); font-size:1.6rem; color:var(--dark); margin-bottom:2rem; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem; }
.form-full { grid-column:1/-1; }
.form-group { display:flex; flex-direction:column; gap:.4rem; }
.form-group label { font-size:.68rem; font-weight:500; letter-spacing:.15em; text-transform:uppercase; color:var(--text-light); }
.form-group input, .form-group select, .form-group textarea {
  padding:.85rem 1rem; border:1px solid var(--cream-dark); background:var(--cream);
  font-family:var(--font-sans); font-size:.9rem; color:var(--text);
  outline:none; transition:var(--transition); border-radius:4px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:var(--lavender); background:var(--white); }
.form-group textarea { resize:vertical; min-height:120px; }

/* ── GALLERY ── */
.gallery-masonry { columns:3; column-gap:1.5rem; padding:4rem 0 6rem; }
.gallery-item { break-inside:avoid; margin-bottom:1.5rem; border-radius:var(--radius-lg); overflow:hidden; cursor:pointer; transition:var(--transition); }
.gallery-item:hover { transform:scale(0.98); box-shadow:var(--shadow-lg); }
.gallery-item-inner { background:linear-gradient(135deg,var(--lavender-pale),var(--blush-light),var(--cream-dark)); display:flex; align-items:center; justify-content:center; }

/* ── FOOTER ── */
.site-footer { background:var(--dark); color:var(--cream); padding:4rem 0 0; }
.footer-inner { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:3rem; padding-bottom:3rem; }
.footer-brand .logo-leaf { color:var(--lavender-light); }
.footer-brand .logo-text { color:var(--cream); font-family:var(--font-serif); font-size:1.4rem; }
.footer-brand p { font-size:.85rem; color:rgba(250,246,240,.6); margin-top:1rem; max-width:240px; }
.footer-links h4, .footer-contact h4, .footer-newsletter h4 { font-size:.68rem; font-weight:500; letter-spacing:.2em; text-transform:uppercase; color:var(--lavender-light); margin-bottom:1.2rem; }
.footer-links a { display:block; font-size:.85rem; color:rgba(250,246,240,.7); margin-bottom:.6rem; transition:var(--transition); }
.footer-links a:hover { color:var(--cream); }
.footer-contact p { font-size:.85rem; color:rgba(250,246,240,.7); margin-bottom:.4rem; }
.social-links { display:flex; gap:1rem; margin-top:1rem; }
.social-links a { font-size:.7rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:var(--lavender-light); border-bottom:1px solid rgba(155,125,184,.4); padding-bottom:1px; transition:var(--transition); }
.social-links a:hover { color:var(--white); border-color:var(--white); }
.footer-newsletter p { font-size:.85rem; color:rgba(250,246,240,.6); margin-bottom:1rem; }
.newsletter-form { display:flex; flex-direction:column; gap:.75rem; }
.newsletter-form input { padding:.75rem 1rem; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); color:var(--cream); font-family:var(--font-sans); font-size:.85rem; outline:none; transition:var(--transition); border-radius:4px; }
.newsletter-form input::placeholder { color:rgba(250,246,240,.4); }
.newsletter-form input:focus { border-color:var(--lavender); }
.newsletter-form button { padding:.75rem; background:linear-gradient(135deg,var(--lavender-dark),var(--sage-dark)); color:var(--white); border:none; font-family:var(--font-sans); font-size:.72rem; font-weight:500; letter-spacing:.15em; text-transform:uppercase; cursor:pointer; transition:var(--transition); border-radius:4px; }
.newsletter-form button:hover { opacity:.85; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding:1.5rem 2rem; text-align:center; }
.footer-bottom p { font-size:.75rem; color:rgba(250,246,240,.4); }
.footer-bottom a { color:var(--lavender-light); }

/* ── TOAST ── */
.toast { position:fixed; bottom:2rem; right:2rem; background:var(--dark); color:var(--cream); padding:1rem 1.5rem; border-radius:var(--radius-lg); font-size:.85rem; box-shadow:var(--shadow-lg); z-index:1000; transform:translateY(100px); opacity:0; transition:var(--transition); border-left:3px solid var(--lavender); }
.toast.show { transform:translateY(0); opacity:1; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .hero { grid-template-columns:1fr; min-height:auto; }
  .hero-content { padding:8rem 2rem 2rem; }
  .hero-image-frame { display:none; }
  .cat-grid { grid-template-columns:1fr 1fr; }
  .why-grid { grid-template-columns:1fr; gap:3rem; }
  .footer-inner { grid-template-columns:1fr 1fr; gap:2rem; }
  .testi-grid { grid-template-columns:1fr 1fr; }
  .shop-layout { grid-template-columns:1fr; }
  .shop-filters { position:static; }
  .contact-grid { grid-template-columns:1fr; }
}
@media (max-width:768px) {
  .nav-links { display:none; }
  .nav-mobile-toggle { display:block; }
  .cat-grid { grid-template-columns:1fr 1fr; }
  .testi-grid { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; }
  .gallery-masonry { columns:2; }
  .form-grid { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .cat-grid { grid-template-columns:1fr; }
  .gallery-masonry { columns:1; }
  .hero-actions { flex-direction:column; }
}
