/* Phat Websites — reusable florist theme. Structure lives here; each site injects its
   brand colours + heading font as CSS variables (see build.py -> :root in the page head). */

:root {
  --dark: #3a3a3a;
  --light: #f7f1e6;
  --accent: #b5824e;
  --accent-strong: #7c5836; /* AA-safe accent for small text + button fills; build.py overrides per brand */
  --heading-font: Georgia, serif;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ink: #2a2d31;
  --muted: #6b7178;
  --line: rgba(0, 0, 0, .08);
  --maxw: 1080px;
}

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

/* Accessibility: skip-to-content link (visible only when focused) + visible focus rings */
.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 200;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px;
  text-decoration: none; transition: top .15s ease;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--heading-font); font-weight: 600; line-height: 1.2; }
a { color: var(--dark); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: var(--maxw); margin: 0 auto;
}
.logo { font-family: var(--heading-font); font-size: 22px; font-weight: 600; color: var(--dark); text-decoration: none; }
.nav a { margin-left: 26px; text-decoration: none; color: var(--ink); font-size: 15px; }
.nav a:hover { color: var(--accent-strong); }
.nav a.active { color: var(--accent-strong); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent-strong); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 40px; font-weight: 600; font-size: 15px;
  letter-spacing: .2px; transition: background .15s ease;
}
.btn:hover { background: var(--dark); }

/* Hero */
.hero { text-align: center; padding: 70px 24px 84px; }
.hero h1 { font-size: 42px; color: var(--dark); margin: 0 auto 18px; max-width: 760px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 30px; }

/* Compact hero for interior pages (no photo) */
.hero.compact { padding: 58px 24px 46px; }
.hero.compact h1 { font-size: 36px; margin-bottom: 12px; }

/* Call-to-action band */
.cta-band { text-align: center; background: var(--dark); padding: 62px 24px; margin-top: 30px; }
.cta-band h2 { font-size: 28px; color: #fff; margin: 0 0 10px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 560px; margin: 0 auto 22px; }
.cta-band .btn { background: var(--accent-strong); }
.cta-band .btn:hover { background: #fff; color: var(--dark); }

/* Hero with a photo — a real <img> (the LCP image), not a CSS background, so it can
   be prioritised and served responsively. Image layer sits behind the text + overlay. */
.hero.has-image {
  position: relative; overflow: hidden;
  padding: 130px 24px; color: #fff;
}
.hero.has-image.short { padding: 84px 24px; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img, .hero-media picture { width: 100%; height: 100%; display: block; }
.hero-media img { object-fit: cover; }
.hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.32), rgba(0,0,0,.55));
}
.hero.has-image .hero-inner { position: relative; z-index: 2; }
.hero.has-image h1 { color: #fff; text-shadow: 0 1px 20px rgba(0,0,0,.25); }
.hero.has-image p { color: rgba(255,255,255,.9); }

/* Gallery */
.gallery { padding: 40px 0 20px; }
.gallery h2 { text-align: center; font-size: 30px; color: var(--dark); margin: 0 0 30px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { overflow: hidden; border-radius: 12px; aspect-ratio: 1 / 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tile:hover img { transform: scale(1.05); }
@media (max-width: 720px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
section { padding: 8px 0; }
.intro { text-align: center; padding: 30px 0 50px; }
.intro h2 { font-size: 30px; color: var(--dark); margin: 0 0 14px; }
.intro p { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0 auto; }

.services { padding: 62px 0; background: #fff; }
.services h2 { text-align: center; font-size: 30px; color: var(--dark); margin: 0 0 34px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card {
  background: var(--light); border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 22px;
}
.card h3 { font-size: 19px; color: var(--dark); margin: 0 0 10px; }
.card h3::after { content: ""; display: block; width: 34px; height: 2px; background: var(--accent); margin-top: 9px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }

/* Feature: image + text side by side (alternating with .flip) */
.feature { padding: 34px 0; }
.feature-inner { display: flex; align-items: center; gap: 44px; }
.feature.flip .feature-inner { flex-direction: row-reverse; }
.feature-media { flex: 1 1 50%; }
.feature-media img { width: 100%; border-radius: 14px; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-text { flex: 1 1 50%; }
.feature-text h2 { font-size: 30px; color: var(--dark); margin: 0 0 14px; }
.feature-text p { font-size: 17px; color: var(--muted); margin: 0 0 18px; }
@media (max-width: 720px) {
  .feature-inner, .feature.flip .feature-inner { flex-direction: column; gap: 22px; }
}

.quote { text-align: center; padding: 60px 24px; }
.quote blockquote {
  font-family: var(--heading-font); font-size: 27px; font-style: italic; color: var(--dark);
  margin: 0 auto 12px; max-width: 720px;
}
.quote cite { font-style: normal; color: var(--accent-strong); font-size: 15px; letter-spacing: .3px; }

.contact { text-align: center; padding: 50px 0 60px; }
.contact h2 { font-size: 30px; color: var(--dark); margin: 0 0 12px; }
.contact p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 22px; }
.contact .details { font-size: 16px; color: var(--ink); line-height: 2; }
.contact .details a { color: var(--dark); text-decoration: none; }

/* Footer */
.site-footer { background: var(--dark); color: var(--light); text-align: center; padding: 40px 24px; margin-top: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer .fname { font-family: var(--heading-font); font-size: 20px; margin-bottom: 6px; }
.site-footer .fmeta { font-size: 14px; opacity: .85; }
.site-footer .fnav { margin: 16px 0 10px; }
.site-footer .fnav a { color: var(--light); opacity: .9; text-decoration: none; margin: 0 12px; font-size: 14px; }
.site-footer .fnav a:hover { opacity: 1; text-decoration: underline; }
.site-footer .fcontact { font-size: 13px; opacity: .72; }

@media (max-width: 640px) {
  .hero h1 { font-size: 33px; }
  .site-header { flex-direction: column; gap: 12px; }
  .nav { display: flex; flex-wrap: wrap; justify-content: center; }
  .nav a { margin: 0 12px; }
}

/* ---- Step C section types: occasions, reviews, delivery, hours, map ---- */

/* Occasions grid (a florist's primary navigation: browse by occasion) */
.occasions { padding: 56px 0; }
.occasions h2 { text-align: center; font-size: 30px; color: var(--dark); margin: 0 0 30px; }
.occasion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.occasion-card {
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px;
  overflow: hidden; text-decoration: none; background: var(--dark);
}
.occasion-card img, .occasion-card picture { width: 100%; height: 100%; display: block; }
.occasion-card img { object-fit: cover; transition: transform .4s ease; }
.occasion-card:hover img { transform: scale(1.06); }
.occasion-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.55));
}
.occasion-label {
  position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff;
  font-family: var(--heading-font); font-size: 20px; font-weight: 600;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
@media (max-width: 720px) { .occasion-grid { grid-template-columns: repeat(2, 1fr); } }

/* Reviews (real testimonials, placed near a CTA) */
.reviews { padding: 60px 0; background: #fff; }
.reviews h2 { text-align: center; font-size: 30px; color: var(--dark); margin: 0 0 34px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review {
  margin: 0; background: var(--light); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 22px;
}
.review .stars { color: var(--accent-strong); letter-spacing: 2px; font-size: 15px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 16px; color: var(--ink); line-height: 1.6; }
.review figcaption { font-size: 14px; color: var(--muted); font-weight: 600; }
.review .review-source { font-weight: 400; margin-left: 6px; opacity: .8; }
.reviews-cta { text-align: center; margin-top: 30px; }

/* Delivery (top florist conversion factor: show it clearly and up front) */
.delivery { padding: 56px 0; text-align: center; }
.delivery h2 { font-size: 30px; color: var(--dark); margin: 0 0 26px; }
.delivery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px; margin-bottom: 20px;
}
.delivery-item {
  background: var(--light); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px;
}
.delivery-item h3 { font-size: 17px; color: var(--dark); margin: 0 0 8px; }
.delivery-item p { font-size: 15px; color: var(--muted); margin: 0; }
.delivery-note { font-size: 15px; color: var(--muted); max-width: 620px; margin: 0 auto 20px; }

/* Opening hours */
.hours { padding: 40px 0; }
.hours h2 { text-align: center; font-size: 26px; color: var(--dark); margin: 0 0 22px; }
.hours-table { max-width: 460px; margin: 0 auto; width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 16px; }
.hours-table th { text-align: left; font-weight: 600; color: var(--dark); }
.hours-table td { text-align: right; color: var(--muted); }
.hours-note { text-align: center; font-size: 14px; color: var(--muted); margin: 16px auto 0; max-width: 460px; }

/* Map embed */
.map { padding: 20px 0 0; }
.map iframe { display: block; }

/* ---- Extended section types: kicker/sub, richer hero, stats, steps, tiles, founder, banner ---- */

.kicker {
  font-family: var(--heading-font); font-weight: 600; font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent-strong); text-align: center; margin-bottom: 8px;
}
.section-sub { text-align: center; font-size: 16px; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.stats h2, .steps h2, .tiles-sec h2 { text-align: center; font-size: 28px; color: var(--dark); margin: 0 0 6px; }

/* Richer hero: kicker + two buttons */
.hero .kicker { margin-bottom: 12px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.hero.has-image .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero.has-image .btn-ghost:hover { background: #fff; color: var(--dark); }

/* Stats band (headline numbers, illustration-led) */
.stats { padding: 30px 0; }
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  background: var(--dark); border-radius: 16px; padding: 30px 20px;
}
.stat-cell { text-align: center; padding: 0 10px; position: relative; }
.stat-cell:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 14%; height: 72%; width: 1px; background: rgba(255, 255, 255, .15);
}
.stat-ic { color: var(--accent); font-size: 22px; margin-bottom: 8px; } /* on the dark stats-band, keep the brand accent (accent-strong is for light bgs) */

/* Link-in-bio hub (a bare page: no site header/footer, mobile-first) */
body.bare-page { background: var(--light); }
.linkhub { min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 52px 20px 40px; }
.lh-card { width: 100%; max-width: 480px; text-align: center; }
.lh-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; display: block; box-shadow: 0 4px 18px rgba(0,0,0,.10); }
.lh-mono { display: flex; align-items: center; justify-content: center; background: var(--accent-strong); color: #fff; font-family: var(--heading-font); font-size: 40px; line-height: 1; }
.lh-name { font-size: 26px; color: var(--dark); margin: 0 0 6px; }
.lh-tag { color: var(--muted); font-size: 15px; margin: 0 auto 26px; max-width: 380px; }
.lh-links { display: flex; flex-direction: column; gap: 12px; }
.lh-link { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 18px; color: var(--dark); text-decoration: none; font-family: var(--heading-font); font-weight: 600; font-size: 16px; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.lh-link:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.08); border-color: var(--accent); }
.lh-link .ti { font-size: 19px; color: var(--accent-strong); }
.lh-link.primary { background: var(--accent-strong); color: #fff; border-color: var(--accent-strong); }
.lh-link.primary .ti { color: #fff; }
.lh-foot { margin-top: 28px; font-size: 12px; color: var(--muted); }
.lh-foot a { color: var(--muted); }
.lh-empty { color: var(--muted); }
.stat-num { font-family: var(--heading-font); font-weight: 700; font-size: 30px; color: #fff; line-height: 1; }
.stat-lab { font-size: 13px; color: rgba(255, 255, 255, .82); margin-top: 8px; line-height: 1.4; }
@media (max-width: 640px) {
  .stats-band { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
  .stat-cell:nth-child(2)::after { display: none; }
}

/* Steps (how it works) */
.steps { padding: 56px 0; }
.steps-flow { display: flex; align-items: stretch; gap: 14px; justify-content: center; margin-top: 24px; }
.step { flex: 1 1 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; text-align: center; }
.step-ic {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: 12px; background: var(--light);
  display: flex; align-items: center; justify-content: center; color: var(--dark); font-size: 22px;
}
.step-n { font-family: var(--heading-font); font-weight: 700; color: var(--accent-strong); font-size: 20px; }
.step h3 { font-size: 17px; color: var(--dark); margin: 0 0 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }
.step-arrow { display: flex; align-items: center; color: var(--accent-strong); font-size: 24px; flex: none; }
@media (max-width: 720px) {
  .steps-flow { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); justify-content: center; }
}

/* Tiles (icon + title + desc benefit grid) */
.tiles-sec { padding: 56px 0; }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; margin: 24px auto 0; }
.tile-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.tile-ic {
  flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--light);
  display: flex; align-items: center; justify-content: center; color: var(--dark); font-size: 20px;
}
.tile-body h3 { font-size: 16px; color: var(--dark); margin: 0 0 4px; }
.tile-body p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.tiles-link { display: block; text-align: center; font-family: var(--heading-font); font-weight: 600; color: var(--accent-strong); margin-top: 24px; text-decoration: none; }
@media (max-width: 640px) { .tile-grid { grid-template-columns: 1fr; } }

/* Founder (owner intro with a round photo) */
.founder { padding: 52px 0; }
.founder-inner { display: flex; gap: 28px; align-items: center; }
.founder-media { flex: none; }
.founder-media img, .founder-media picture {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block;
}
.founder-text h2 { font-size: 22px; color: var(--dark); margin: 0 0 8px; }
.founder-text p { font-size: 16px; color: var(--muted); margin: 0 0 10px; max-width: 620px; }
.founder-link { font-family: var(--heading-font); font-weight: 600; color: var(--accent-strong); text-decoration: none; font-size: 14px; }
@media (max-width: 640px) { .founder-inner { flex-direction: column; text-align: center; } }

/* Hero background bands (themed off the brand via color-mix) */
.hero.bg-wash { background: color-mix(in srgb, var(--dark) 9%, #fff); }
.hero.bg-dark { background: var(--dark); }
.hero.bg-dark h1, .hero.bg-dark .hero-copy p { color: #fff; }
.hero.bg-dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }

/* Split hero: copy alongside a phone mockup */
.hero.split { text-align: left; padding: 60px 24px 68px; }
.hero.split .hero-inner { display: flex; align-items: center; gap: 44px; }
.hero.split .hero-copy { flex: 1 1 auto; }
.hero.split .kicker { text-align: left; }
.hero.split h1 { margin: 0 0 16px; max-width: 520px; }
.hero.split .hero-copy p { font-size: 18px; color: var(--muted); max-width: 460px; margin: 0 0 26px; }
.hero.split .hero-btns { justify-content: flex-start; }

/* Phone mockup (illustration-led social post) */
.hero-mockup { flex: none; }
.phone { width: 204px; height: 404px; background: #1c211b; border-radius: 30px; padding: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .22); }
.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 23px; overflow: hidden; display: flex; flex-direction: column; }
.pm-top { display: flex; align-items: center; gap: 7px; padding: 11px 12px; }
.pm-av { width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--dark) 30%, #fff); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 11px; color: var(--dark); }
.pm-handle { font-weight: 500; font-size: 12px; color: var(--ink); }
.pm-photo { flex: 1; position: relative; overflow: hidden; background: color-mix(in srgb, var(--accent) 16%, #fff); }
.pm-b1, .pm-b2, .pm-b3 { position: absolute; border-radius: 50%; }
.pm-b1 { width: 92px; height: 92px; background: var(--accent); opacity: .88; top: 24px; left: 26px; }
.pm-b2 { width: 58px; height: 58px; background: color-mix(in srgb, var(--accent) 55%, #fff); top: 86px; left: 104px; }
.pm-b3 { width: 44px; height: 44px; background: color-mix(in srgb, var(--dark) 55%, #fff); top: 42px; left: 132px; }
.pm-actions { display: flex; gap: 13px; padding: 9px 12px 4px; font-size: 16px; color: var(--ink); }
.pm-cap { padding: 0 12px 12px; font-size: 11px; line-height: 1.4; color: var(--ink); }
.pm-cap b { font-weight: 600; }
@media (max-width: 720px) {
  .hero.split .hero-inner { flex-direction: column; text-align: center; }
  .hero.split .kicker, .hero.split .hero-btns { text-align: center; justify-content: center; }
  .hero.split h1, .hero.split .hero-copy p { margin-left: auto; margin-right: auto; }
}

/* Nav CTA button in the header */
.nav-cta { margin-left: 26px; background: var(--accent-strong); color: #fff !important; padding: 8px 16px; border-radius: 22px; font-family: var(--heading-font); font-weight: 600; font-size: 13px; text-decoration: none; }
.nav-cta:hover { background: var(--dark); }

/* Highlighted "process" step panel with chips */
.step.step-hl { flex: 1.5 1 0; background: var(--dark); color: #fff; text-align: left; }
.step-hl-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-mark { width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--dark) 55%, #fff); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--heading-font); font-weight: 700; font-size: 11px; flex: none; }
.step-hl h3 { color: #fff; margin: 0; font-size: 16px; }
.step-hl-sub { color: rgba(255, 255, 255, .7); font-size: 12px; margin: 2px 0 0; }
.step-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.step-chip { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .09); border-radius: 9px; padding: 9px 11px; font-size: 12px; color: #eef2ea; }
.step-chip .ti { color: color-mix(in srgb, var(--accent) 60%, #fff); font-size: 15px; flex: none; }
@media (max-width: 720px) { .step.step-hl { flex: 1 1 auto; } }

/* Callout: empathy / problem band (optional quiet-phone illustration + bold statement) */
.callout { padding: 44px 0; }
.callout-inner { display: flex; align-items: center; gap: 30px; max-width: 780px; }
.callout-illus { flex: none; }
.qphone { width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; box-shadow: 0 8px 22px rgba(0, 0, 0, .08); }
.qp-top { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.qp-av { width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--dark) 25%, #fff); display: block; }
.qp-line { height: 7px; width: 62px; border-radius: 4px; background: #e2e5df; display: block; }
.qp-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; opacity: .45; }
.qp-grid span { aspect-ratio: 1 / 1; border-radius: 3px; background: #dfe3da; display: block; }
.qp-stamp { margin-top: 10px; font-size: 10.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 5px; background: var(--light); border-radius: 20px; padding: 6px 8px; }
.callout-text { font-family: var(--heading-font); font-weight: 600; font-size: 21px; line-height: 1.4; color: var(--dark); margin: 0; }
.callout-emph { color: var(--accent-strong); }
@media (max-width: 640px) { .callout-inner { flex-direction: column; text-align: center; } }

/* Blog: article body (constrained reading width) */
.article { padding: 40px 0 20px; }
.article-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.article-wrap h1 { font-size: 38px; color: var(--dark); margin: 0 0 10px; line-height: 1.15; }
.article-meta { font-size: 14px; color: var(--muted); margin: 0 0 24px; }
.article-hero { margin: 0 0 28px; }
.article-hero img, .article-hero picture { width: 100%; border-radius: 14px; display: block; }
.article-wrap h2 { font-size: 26px; color: var(--dark); margin: 34px 0 12px; }
.article-wrap h3 { font-size: 20px; color: var(--dark); margin: 26px 0 10px; }
.article-wrap p { font-size: 18px; color: var(--ink); line-height: 1.75; margin: 0 0 18px; }
.article-wrap ul { font-size: 18px; color: var(--ink); line-height: 1.7; margin: 0 0 18px; padding-left: 22px; }
.article-wrap li { margin: 0 0 8px; }
.article-wrap a { color: var(--accent-strong); }
.article-fig { margin: 26px 0; }
.article-fig img, .article-fig picture { width: 100%; border-radius: 12px; display: block; }
.article-fig figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.article-cta { margin: 36px 0 8px; text-align: center; }

/* Blog: index of posts */
.blog-index { padding: 50px 0; }
.blog-index h2 { text-align: center; font-size: 30px; color: var(--dark); margin: 0 0 30px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px; text-decoration: none; transition: border-color .15s ease; }
.post-card:hover { border-color: var(--accent-strong); }
.post-card h3 { font-size: 19px; color: var(--dark); margin: 0 0 6px; }
.post-date { font-size: 13px; color: var(--muted); }
.post-card p { font-size: 15px; color: var(--muted); margin: 8px 0 0; line-height: 1.55; }
.post-empty { text-align: center; color: var(--muted); }

/* Shop / product-listing grid (the store view; reusable for any ecommerce client) */
.shop { padding: 56px 0; }
.shop h2 { text-align: center; font-size: 30px; color: var(--dark); margin: 0 0 6px; }
.shop-note {
  text-align: center; font-size: 14px; color: var(--muted); max-width: 560px;
  margin: 0 auto 30px; background: var(--light); border: 1px solid var(--line);
  border-radius: 30px; padding: 10px 20px;
}
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shop-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.shop-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, .10); }
.shop-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.shop-media img, .shop-media picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(0, 0, 0, .62); color: #fff;
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 11px; border-radius: 20px;
}
.shop-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.shop-tag {
  font-family: var(--heading-font); font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 6px;
}
.shop-title { font-size: 18px; color: var(--dark); margin: 0 0 6px; }
.shop-desc { font-size: 14px; color: var(--muted); margin: 0 0 16px; line-height: 1.55; }
.shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.shop-price { font-family: var(--heading-font); font-weight: 700; font-size: 19px; color: var(--dark); }
.shop-btn {
  background: var(--accent-strong); color: #fff; text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 22px; white-space: nowrap; transition: background .15s ease;
}
.shop-btn:hover { background: var(--dark); }
@media (max-width: 860px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .shop-grid { grid-template-columns: 1fr; } }

/* Announcement banner (a promo/offer strip) */
.banner { background: var(--accent-strong); }
.banner-inner { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; padding-top: 15px; padding-bottom: 15px; }
.banner p { margin: 0; color: #fff; font-size: 15px; }
.banner strong { font-weight: 700; }
.banner-btn { flex: none; background: #fff; color: var(--accent-strong); font-family: var(--heading-font); font-weight: 600; font-size: 13px; border-radius: 22px; padding: 9px 18px; text-decoration: none; white-space: nowrap; }
