/* =========================================================
   Chez Gizza — Flower Atelier
   Centered, editorial, calm. Ivory · sage · dusty rose.
   ========================================================= */

:root{
  --paper:   #faf6f0;
  --surface: #fffdfa;
  --soft:    #f1ece3;
  --ink:     #232b22;
  --muted:   #6b6f64;
  --line:    rgba(35, 43, 34, 0.12);

  --sage:    #7c8b72;
  --rose:    #c98b93;
  --rose-2:  #a8666f;

  --shadow: 0 18px 50px rgba(35, 43, 34, 0.10);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1080px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(201,139,147,0.16), transparent 60%),
    radial-gradient(820px 440px at 10% -4%, rgba(124,139,114,0.14), transparent 58%),
    var(--paper);
}

.container{ width: min(var(--container), calc(100% - 44px)); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3{
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 500; letter-spacing: 0.2px; margin: 0;
}
h1{ font-size: clamp(30px, 4.4vw, 46px); line-height: 1.06; }
h2{ font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
h3{ font-size: 22px; }

.eyebrow{ font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--sage); margin: 0 0 10px; font-weight: 600; }
.lead{ font-size: 17px; color: var(--muted); max-width: 56ch; }
.lead.center{ margin-inline: auto; }
.sub{ color: var(--muted); margin: 6px 0 0; }
.small{ font-size: 12.5px; }
.muted{ color: var(--muted); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav{ display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand{ display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); }
.brand-logo{ height: 22px; width: auto; display: block; }
.brand-sub{ font-style: normal; font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }

.nav-right{ display: flex; align-items: center; gap: 18px; }
.menu{ display: flex; align-items: center; gap: 22px; }
.menu a{ text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.menu a:hover{ color: var(--ink); }
.order-link{ display: inline-flex; align-items: center; }
.nav-logo{ height: 18px; width: auto; display: block; }

/* Language switch */
.lang{ display: inline-flex; align-items: center; gap: 4px; }
.lang-btn{
  appearance: none; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--muted); padding: 4px 4px; line-height: 1; transition: color .12s ease;
}
.lang-btn:hover{ color: var(--ink); }
.lang-btn.active{ color: var(--ink); border-bottom: 2px solid var(--sage); }
.lang-sep{ color: var(--line); }

.menu-toggle{ display: none; appearance: none; cursor: pointer; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 10px; }
.menu-toggle span{ display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
  background: var(--surface);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
  white-space: nowrap; cursor: pointer;
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(35,43,34,0.12); }
.btn:active{ transform: translateY(0); box-shadow: none; }
.btn-order{ border-color: rgba(35,43,34,0.18); }
.btn-order:hover{ border-color: var(--sage); }
.btn-pre{ color: var(--muted); font-weight: 500; }
.brand-logo-sm{ height: 17px; width: auto; display: block; }
.btn-ghost{ background: transparent; color: var(--muted); }
.btn-ghost:hover{ color: var(--ink); }

/* ---------- Hero ---------- */
.hero{ padding: 58px 0 30px; }
.hero-inner{ display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo{ width: min(210px, 62%); height: auto; display: block; margin: 8px auto 16px; animation: fade-up .7s ease both; }
.hero h1{ animation: fade-up .7s ease .05s both; }
.hero .lead{ margin: 18px auto 0; animation: fade-up .7s ease .1s both; }
.hero-cta{ display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 28px; animation: fade-up .7s ease .15s both; }
.scroll-cue{ margin-top: 18px; font-size: 13px; color: var(--muted); text-decoration: none; }
.scroll-cue:hover{ color: var(--rose-2); }

.trust{ list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; padding: 0; margin: 36px 0 0; color: var(--muted); font-size: 13px; }
.trust li{ display: inline-flex; align-items: center; gap: 9px; }
.trust li::before{ content:""; width: 6px; height: 6px; border-radius: 999px; background: linear-gradient(135deg, var(--rose), var(--sage)); }

/* ---------- Divider ---------- */
.sprig-divider{ color: var(--sage); display: grid; place-items: center; padding: 30px 0 6px; }

/* ---------- Sections ---------- */
.section{ padding: 60px 0; }
.section.soft{ background: linear-gradient(180deg, rgba(241,236,227,0.85), rgba(241,236,227,0.45)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head{ text-align: center; max-width: 60ch; margin: 0 auto 34px; }

/* ---------- What we make ---------- */
.offer-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 920px; margin-inline: auto; }
.offer{ display: block; padding: 26px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); text-align: center; text-decoration: none; color: var(--ink); transition: transform .14s ease, box-shadow .14s ease; }
.offer:hover{ transform: translateY(-3px); box-shadow: 0 14px 32px rgba(35,43,34,0.10); }
.offer h3{ margin-bottom: 8px; }
.offer p{ margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.offer-link{ display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--sage); }
.offer:hover .offer-link{ color: var(--rose-2); }

/* ---------- Catalogue / category pages ---------- */
.cat-tabs{ display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 40px; max-width: 820px; }
.cat-tabs a{
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); text-decoration: none;
  font-size: 13.5px; font-weight: 600; transition: all .14s ease;
}
.cat-tabs a:hover{ color: var(--ink); border-color: var(--sage); }
.cat-tabs a.active{ color: var(--surface); background: var(--sage); border-color: var(--sage); }

.product-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.product-card{
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); overflow: hidden; box-shadow: 0 12px 30px rgba(35,43,34,0.07);
  transition: box-shadow .14s ease, transform .14s ease;
}
.product-card:hover{ transform: translateY(-3px); box-shadow: 0 16px 36px rgba(35,43,34,0.12); }
.product-media{ position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #fffdfa, #f1ece3); }
.product-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.product-ph{
  width: 100%; height: 100%;
  background:
    radial-gradient(60px 60px at 40% 42%, rgba(201,139,147,0.4), transparent 70%),
    radial-gradient(70px 70px at 62% 62%, rgba(124,139,114,0.3), transparent 72%);
}
.oos-badge{
  position: absolute; top: 10px; right: 10px; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: rgba(35,43,34,0.85); color: #fffdfa;
}
.product-card.out-of-stock .product-media{ filter: grayscale(0.6); opacity: 0.7; }
.product-body{ padding: 18px 20px 20px; text-align: center; }
.product-body h3{ font-size: 19px; margin-bottom: 6px; }
.product-desc{ margin: 0 0 10px; color: var(--muted); font-size: 13.5px; line-height: 1.5; min-height: 1em; }
.product-price{ margin: 0; font-weight: 600; color: var(--rose-2); font-size: 15px; }

@media (max-width: 760px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .product-grid{ grid-template-columns: 1fr; }
}

.catalogue-empty{
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  background: var(--surface);
}
.catalogue-empty .empty-mark{
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 999px;
  background:
    radial-gradient(22px 22px at 40% 42%, rgba(201,139,147,0.45), transparent 70%),
    radial-gradient(26px 26px at 62% 62%, rgba(124,139,114,0.35), transparent 72%);
}
.catalogue-empty h3{ margin: 0 0 6px; font-size: 22px; }
.catalogue-empty p{ margin: 0; color: var(--muted); }

/* ---------- Gallery (masonry) ---------- */
.gallery-masonry{ columns: 3; column-gap: 16px; }
.shot{ break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(35,43,34,0.08); background: var(--surface); transition: box-shadow .14s ease; }
.shot img{ width: 100%; height: auto; display: block; }
.shot:hover{ box-shadow: 0 16px 38px rgba(35,43,34,0.14); }

/* ---------- About ---------- */
.about{ text-align: center; }
.mini-stats{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 34px auto 0; max-width: 760px; }
.mini{ padding: 22px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.mini strong{ display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.mini span{ color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.contact-card{ border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); padding: 26px; }
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.label{ font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--sage); margin-bottom: 5px; }
.link{ color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.link:hover{ color: var(--rose-2); border-color: var(--rose); }
.contact-actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.map-card{ border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.map-head{ display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.map-head strong{ font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; font-weight: 600; }
.map-frame{ position: relative; min-height: 320px; }
.map-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer{ border-top: 1px solid var(--line); background: rgba(250,246,240,0.7); padding: 34px 0; }
.footer{ display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-logo{ width: min(190px, 56%); height: auto; display: block; }
.footer-links{ display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer-links a{ color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover{ color: var(--ink); }

/* ---------- Motion ---------- */
@keyframes fade-up{ from{ opacity: 0; transform: translateY(14px); } to{ opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ *{ animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .offer-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry{ columns: 2; }
  .contact{ grid-template-columns: 1fr; }
  .mini-stats{ grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 720px){
  .menu-toggle{ display: inline-flex; }
  .menu{
    position: absolute; right: 22px; top: 70px;
    flex-direction: column; align-items: stretch; gap: 14px;
    width: min(300px, calc(100% - 44px)); padding: 16px; border-radius: 16px;
    border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); display: none;
  }
  .menu.open{ display: flex; }
  .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .offer-grid{ grid-template-columns: 1fr; max-width: 360px; }
  .gallery-masonry{ columns: 1; }
}
