/* Garden Gate Flowers — chrome + page layout styles */

/* ---------------- wordmark ---------------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.wordmark svg { flex: none; }
.wordmark[data-stacked="1"] { flex-direction: column; align-items: flex-start; gap: 6px; }
.wm-text { display: flex; flex-direction: column; line-height: 0.9; }
.wm-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem;
  color: var(--primary); letter-spacing: -0.01em;
}
.wm-sub {
  font-family: var(--sans); font-weight: 600; font-size: 0.66rem;
  letter-spacing: 0.42em; text-transform: lowercase; text-indent: 0.42em;
  color: var(--secondary-deep); margin-top: 1px;
}
.wordmark[data-stacked="1"] .wm-name { font-size: 1.9rem; }

/* ---------------- navbar ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,245,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled { border-color: var(--border); box-shadow: 0 2px 16px rgba(44,34,48,.05); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 20px; }
.nav-brand { display: inline-flex; flex: none; }
.nav-links { display: none; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text);
  padding: 8px 13px; border-radius: var(--r-pill); position: relative;
  transition: color .18s ease, background .18s ease;
}
.nav-links a:hover { color: var(--primary); background: rgba(138,43,87,.06); }
.nav-links a.is-active { color: var(--primary); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.nav-cta { display: none; }
.nav-burger {
  margin-left: auto; display: inline-flex; padding: 8px; color: var(--text);
  border-radius: 10px;
}
.nav-burger:hover { background: rgba(138,43,87,.06); color: var(--primary); }

@media (min-width: 920px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; margin-left: 8px; }
  .nav-burger { display: none; }
}

/* ---------------- mobile menu ---------------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg);
  display: flex; flex-direction: column;
  animation: mmFade .22s ease;
}
@keyframes mmFade { from { opacity: 0; } to { opacity: 1; } }
.mm-top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.mm-close { padding: 8px; color: var(--text); border-radius: 10px; }
.mm-close:hover { background: rgba(138,43,87,.06); color: var(--primary); }
.mm-links { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 24px; gap: 2px; }
.mm-links a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--text);
  padding: 14px 0; border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(8px); animation: mmItem .4s ease forwards;
}
.mm-links a svg { width: 22px; height: 22px; color: var(--accent); }
.mm-links a.is-active { color: var(--primary); }
@keyframes mmItem { to { opacity: 1; transform: none; } }
.mm-foot { padding: 24px; display: flex; flex-direction: column; gap: 10px; }

/* ---------------- sticky bottom bar (mobile) ---------------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgba(44,34,48,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.sb-item {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 8px; font-weight: 600; font-size: 0.98rem; color: #fff;
}
.sb-item svg { width: 19px; height: 19px; }
.sb-wa { background: var(--wa); }
.sb-call { background: var(--primary); }
.sb-item:active { filter: brightness(.94); }
@media (min-width: 920px) { .sticky-bar { display: none; } }
/* keep content clear of sticky bar on mobile */
@media (max-width: 919px) { .has-stickybar { padding-bottom: 60px; } }

/* ---------------- section head ---------------- */
.sec-head.is-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------------- footer ---------------- */
.footer { background: var(--primary-deep); color: #FBEFF4; padding: 56px 0 32px; margin-top: 0; }
.footer .wm-name { color: #fff; }
.footer .wm-sub { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer-blurb { color: rgba(251,239,244,.72); font-size: 0.95rem; max-width: 360px; margin-top: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.22); color: #fff; transition: all .18s ease;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-deep); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.footer-col a { color: rgba(251,239,244,.82); font-size: 0.95rem; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-static { color: rgba(251,239,244,.6); font-size: 0.9rem; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 0.82rem; color: rgba(251,239,244,.6);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; gap: 48px; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: 24px; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; }
.hero h1 { margin-top: 18px; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .lead { margin-top: 18px; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; font-size: 0.88rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--secondary); }

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge .dot { flex: none; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--text); }
.hero-badge span { font-size: 0.82rem; color: var(--muted); }
.hero-deco { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: calc(.5 * var(--accent-strength)); }

@media (min-width: 880px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .hero-media .frame { aspect-ratio: 5/6; }
}

/* ---------------- occasion strip ---------------- */
.occ-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 4px 20px 14px; margin: 0 -20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.occ-scroll::-webkit-scrollbar { height: 0; }
.occ-pill {
  scroll-snap-align: start; flex: none;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 0.92rem; transition: all .18s ease;
}
.occ-pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.occ-pill .dot { background: var(--secondary); }

/* ---------------- occasion tiles ---------------- */
.occ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 720px) { .occ-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .occ-grid { grid-template-columns: repeat(4, 1fr); } }
.occ-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; cursor: pointer;
}
.occ-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.occ-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.occ-tile:hover img { transform: scale(1.05); }
.occ-tile .scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,34,48,.78) 0%, rgba(44,34,48,.18) 48%, transparent 78%); }
.occ-tile .occ-cap { position: absolute; left: 14px; right: 14px; bottom: 13px; color: #fff; }
.occ-tile .occ-cap h3 { color: #fff; font-size: 1.25rem; line-height: 1.05; }
.occ-tile .occ-cap p { font-size: 0.8rem; color: rgba(255,255,255,.82); margin-top: 4px; }

/* ---------------- about band ---------------- */
.about-band { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.about-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 880px) { .about-band { grid-template-columns: 1fr 1fr; gap: 56px; } .about-band.flip .about-media { order: 2; } }

/* ---------------- steps (how to order / delivery) ---------------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); }
.step .step-ic { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--primary); margin-bottom: 16px; }
.step .step-ic svg { width: 24px; height: 24px; }
.step .step-n { font-family: var(--serif); font-size: 0.9rem; color: var(--secondary-deep); font-weight: 600; }
.step h3 { font-size: 1.4rem; margin: 4px 0 8px; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------------- instagram teaser ---------------- */
.ig-teaser { text-align: center; }
.ig-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
@media (min-width: 700px) { .ig-row { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.ig-cell { position: relative; aspect-ratio: 1/1; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.ig-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ig-cell:hover img { transform: scale(1.06); }

/* ---------------- contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 44px; } }
.contact-list { display: flex; flex-direction: column; gap: 4px; }
.contact-row { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.contact-row .c-ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: #E9F0E4; color: var(--secondary-deep); display: inline-flex; align-items: center; justify-content: center; }
.contact-row .c-ic svg { width: 20px; height: 20px; }
.contact-row h4 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-row .c-val { font-size: 1.05rem; color: var(--text); margin-top: 3px; }
.contact-row .c-val a { color: var(--primary); font-weight: 600; }
.contact-row .c-sub { font-size: 0.85rem; color: var(--muted); margin-top: 2px; }

.map-ph { width: 100%; line-height: 0; }
.map-ph iframe { display: block; width: 100%; max-width: 100%; border: 0; }

/* ---------------- page header ---------------- */
.page-head { padding: 40px 0 8px; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.page-head .lead { margin-top: 16px; max-width: 640px; }

/* ---------------- filter bar ---------------- */
.filter-bar { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 30px; }
.filter-row { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 4px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.filter-row::-webkit-scrollbar { height: 0; }
.filter-label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ---------------- note / callout ---------------- */
.note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid #F0D2D6; border-radius: var(--r);
  padding: 16px 18px; font-size: 0.92rem; color: var(--primary-deep);
}
.note .dot { margin-top: 7px; flex: none; }

/* ---------------- callout band (CTA) ---------------- */
.cta-band { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

/* category list */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-item { display: flex; gap: 13px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.cat-item .cat-ic { color: var(--secondary); flex: none; }
.cat-item h4 { font-family: var(--serif); font-size: 1.2rem; }
.cat-item p { font-size: 0.85rem; color: var(--muted); margin-top: 3px; }

/* ig CTA card inside product grid */
.ig-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 14px; padding: 30px 22px; min-height: 240px;
  background: linear-gradient(155deg, var(--accent-soft), #FBF1F3);
  border: 1px dashed #E9C4CA;
}
.ig-card .ig-ring { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.ig-card h3 { font-size: 1.4rem; }
.ig-card p { font-size: 0.9rem; color: var(--muted); }

/* route transition (transform-only so content is never hidden) */
.route-fade { animation: routeFade .4s cubic-bezier(.2,.7,.2,1); }
@keyframes routeFade { from { transform: translateY(10px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .route-fade { animation: none; } }

/* tweak: hide occasion tags */
body.hide-tags .product .ptags .tag:not(.tag-green) { display: none; }
