/*
Theme Name: MEMORY Theme
Theme URI: http://memory.ap.marketing/
Author: AP Marketing
Description: Production-oriented custom hybrid theme for MEMORY.
Version: 1.2.0
Requires at least: 7.1
Requires PHP: 8.2
Text Domain: memory-theme
*/

:root {
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Onest", system-ui, sans-serif;
  --font-heading-weight: 500;
  --radius-card: 12px;
  --container: 1360px;
}

html { scroll-behavior: smooth; }
body { min-width: 320px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: var(--color-accent-700); }
a:hover { color: var(--color-accent-600); }
.btn { min-height: 44px; }
.btn-primary { background: var(--color-accent-700); color: var(--color-neutral-100); }
.btn-primary:hover { background: var(--color-accent-800); color: var(--color-neutral-100); }
.btn-primary:active { background: var(--color-accent-900); }
.btn-light { border-color: var(--color-accent-2-600); color: var(--color-neutral-100); }
.btn-light:hover { background: var(--color-accent-2-800); color: var(--color-neutral-100); }
button, input, select, textarea { font: inherit; }
button, [role="button"], input:not([type="hidden"]), select { min-height: 44px; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  clip: auto; width: auto; height: auto; margin: 0; padding: 12px 18px;
  top: 8px; left: 8px; z-index: 9999; background: var(--color-neutral-100);
  color: var(--color-text); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.memory-container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--color-bg); transition: background .2s, box-shadow .2s; }
.site-header.is-scrolled { background: var(--color-neutral-100); box-shadow: var(--shadow-md); }
.header-inner { max-width: var(--container); margin: auto; padding: 18px clamp(20px,4vw,48px); display: flex; align-items: center; gap: 12px 26px; transition: padding .2s; }
.is-scrolled .header-inner { padding-block: 10px; }
.site-brand { font-family: var(--font-heading); font-size: 22px; letter-spacing: 4px; color: var(--color-text); text-decoration: none; padding-block: 8px; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: 4px 20px; align-items: center; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-inline: 2px; color: var(--color-text); text-decoration: none; font-size: 14px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav a[aria-current="page"] { color: var(--color-accent-700); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle, .menu-close {
  width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--color-neutral-300);
  background: var(--color-neutral-100); color: var(--color-text); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle { margin-left: auto; display: none; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.mobile-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(32,30,29,.4); opacity: 0; visibility: hidden; transition: opacity .2s; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(320px,88vw);
  padding: 16px 20px; background: var(--color-bg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 2px; overflow-y: auto;
  transform: translateX(104%); visibility: hidden; transition: transform .22s;
}
.mobile-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-brand { font-family: var(--font-heading); font-size: 18px; letter-spacing: 3px; }
.menu-close { display: inline-flex; font-size: 23px; }
.drawer-links { list-style: none; padding: 0; margin: 0; }
.drawer-links a { display: flex; align-items: center; min-height: 48px; color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-neutral-200); }
.drawer-links a:hover, .drawer-links a[aria-current="page"] { color: var(--color-accent-700); }
.drawer-label { margin: 10px 0 0; color: var(--color-neutral-600); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 16px; }

/* Homepage */
.home-frame { padding: 8px clamp(12px,2vw,24px) 0; }
.home-hero, .home-final {
  max-width: var(--container); margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-accent-2-900); position: relative;
}
.home-hero { padding: clamp(36px,5vw,72px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(32px,5vw,72px); align-items: center; }
.home-hero::after, .home-final::before { content: ""; position: absolute; border-radius: 50%; background: var(--color-accent-2-800); opacity: .6; }
.home-hero::after { width: 340px; height: 340px; right: -120px; top: -120px; }
.home-final::before { width: 300px; height: 300px; left: -100px; bottom: -140px; }
.hero-copy, .hero-reminders, .home-final > * { position: relative; z-index: 1; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.eyebrow { color: var(--color-accent-2-300); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hero-title { margin: 0; color: var(--color-neutral-100); font-size: clamp(38px,4.4vw,60px); line-height: 1.1; }
.hero-title em { color: var(--color-accent-300); }
.hero-lead { color: var(--color-accent-2-200); font-size: 16.5px; line-height: 1.65; max-width: 46ch; margin: 0; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-notes { display: flex; gap: 10px 22px; flex-wrap: wrap; color: var(--color-accent-2-300); font-size: 13px; }
.hero-reminders { width: 100%; max-width: 430px; justify-self: center; display: flex; flex-direction: column; gap: 14px; }
.reminder-card { padding: 20px 22px; border-radius: var(--radius-md); background: var(--color-neutral-100); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px; }
.reminder-card.secondary { box-shadow: var(--shadow-md); opacity: .92; transform: scale(.97); }
.reminder-avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent-200); color: var(--color-accent-700); font-family: var(--font-heading); font-size: 20px; }
.reminder-avatar.green { background: var(--color-accent-2-200); color: var(--color-accent-2-700); }
.reminder-copy { flex: 1; min-width: 0; }
.reminder-copy strong { display: block; font-size: 15px; }
.reminder-copy span { display: block; font-size: 13.5px; }
.reminder-note { padding: 16px 22px; border-radius: var(--radius-md); background: var(--color-accent-2-800); color: var(--color-accent-2-200); font-size: 13.5px; display: flex; align-items: center; gap: 10px; }
.reminder-note::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--color-accent-400); }
.home-section { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px,4vw,48px) clamp(56px,7vw,96px); }
.how-section { padding-top: clamp(56px,7vw,96px); display: grid; grid-template-columns: minmax(240px,.9fr) 2fr; gap: clamp(28px,4vw,56px); align-items: start; }
.section-kicker { color: var(--color-accent-600); }
.micro-heading { font-family: var(--font-body); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.section-title { font-size: clamp(26px,2.6vw,38px); }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.step-card { background: var(--color-neutral-100); border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.step-number { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-size: 18px; }
.step-card:nth-child(1) .step-number { background: var(--color-accent-200); color: var(--color-accent-700); }
.step-card:nth-child(2) .step-number { background: var(--color-accent-2-200); color: var(--color-accent-2-700); }
.step-card:nth-child(3) .step-number { background: var(--color-neutral-200); color: var(--color-neutral-700); }
.step-card strong { font-size: 16px; }
.step-card p { font-size: 14px; line-height: 1.6; margin: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { margin: 0; font-size: clamp(26px,2.4vw,34px); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.gift-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.gift-card { overflow: hidden; border-radius: var(--radius-md); background: var(--color-neutral-100); color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .25s,box-shadow .25s; }
.gift-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gift-card img { width: 100%; height: 230px; object-fit: cover; }
.gift-card-copy { padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gift-card-copy strong { display: block; font-family: var(--font-heading); font-size: 21px; font-weight: 500; }
.gift-card-copy small { display: block; font-size: 13.5px; }
.box-panel { padding: clamp(28px,4vw,56px); border-radius: var(--radius-lg); background: var(--color-surface); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,4vw,56px); align-items: center; }
.box-panel img { width: 100%; height: clamp(280px,32vw,420px); object-fit: cover; border-radius: var(--radius-md); }
.box-copy { display: flex; flex-direction: column; gap: 16px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.feature-item { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; }
.feature-item::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--color-accent-500); }
.brands { text-align: center; padding-bottom: clamp(48px,6vw,80px); }
.brand-list { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px 38px; color: var(--color-neutral-600); }
.brand-list span { font-family: var(--font-heading); font-size: 17px; letter-spacing: .06em; }
.chip-list { display: flex; gap: 12px; flex-wrap: wrap; }
.chip { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 22px; border: 1px solid var(--color-neutral-300); border-radius: 999px; background: var(--color-neutral-100); color: var(--color-text); text-decoration: none; font-size: 14px; }
.chip:hover { border-color: var(--color-accent-500); color: var(--color-accent-700); }
.benefits-section { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,5vw,72px); align-items: center; }
.quote-card { margin-top: 14px; padding: 22px 26px; border-radius: var(--radius-md); background: var(--color-neutral-100); box-shadow: var(--shadow-sm); }
.quote-card blockquote { margin: 0; font-family: var(--font-heading); font-style: italic; font-size: 18px; line-height: 1.5; }
.benefit { display: flex; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--color-divider); align-items: baseline; }
.benefit-number { width: 32px; flex: none; font-family: var(--font-heading); color: var(--color-accent-500); font-size: 15px; }
.home-final-wrap { padding: 0 clamp(12px,2vw,24px) clamp(24px,3vw,40px); }
.home-final { padding: clamp(44px,6vw,80px) clamp(24px,5vw,72px); text-align: center; }
.home-final h2 { max-width: 24ch; margin: 0 auto 14px; color: var(--color-neutral-100); font-size: clamp(28px,3.2vw,44px); }
.home-final p { max-width: 48ch; margin: 0 auto 26px; color: var(--color-accent-2-200); }
.home-final .button-row { justify-content: center; }

/* Sprint 2 marketing and catalogue */
.text-muted { color: var(--color-neutral-700); }
.marketing-page { overflow: clip; }
.category-hero, .bouquet-hero {
  max-width: var(--container); margin: 0 auto; padding: clamp(20px,3vw,40px) clamp(20px,4vw,48px) clamp(48px,6vw,80px);
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,4vw,64px); align-items: center;
}
.category-hero-reverse .category-copy { order: 2; }
.category-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.category-copy > * { margin: 0; }
.category-copy h1 { font-size: clamp(34px,3.8vw,52px); line-height: 1.12; }
.category-copy h1 em { color: var(--color-accent-700); }
.category-lead { max-width: 48ch; font-size: 16px; }
.category-hero-image { height: clamp(300px,34vw,440px); }
.category-hero-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.persona-section { padding: clamp(48px,6vw,84px) 0; background: var(--color-neutral-100); }
.section-intro { max-width: 52ch; margin-bottom: 30px; }
.section-intro h2 { font-size: clamp(26px,2.6vw,36px); }
.persona-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: 16px; }
.persona-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; background: var(--color-bg); border-radius: var(--radius-md); transition: transform .2s,box-shadow .2s; }
.persona-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.persona-card img { width: 100%; height: 170px; object-fit: cover; }
.persona-card > span { padding: 18px 20px; }
.persona-card strong, .persona-card small { display: block; }
.persona-card strong { font-family: var(--font-heading); font-size: 18px; font-weight: 500; }
.persona-card small { margin-top: 5px; font-size: 13px; line-height: 1.55; }
.category-assist { max-width: var(--container); margin: 0 auto; padding: clamp(48px,6vw,84px) clamp(20px,4vw,48px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,4vw,64px); align-items: center; }
.category-assist-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.category-assist-copy > * { margin: 0; }
.category-assist-copy h2 { font-size: clamp(26px,2.6vw,36px); }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0; list-style: none; font-size: 13.5px; }
.trust-list li { display: flex; gap: 9px; align-items: baseline; }
.trust-list li::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--color-accent-500); }
.category-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding-bottom: 22px; }
.category-pair img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius-md); }
.category-pair img + img { transform: translateY(22px); }
.bouquet-hero-wrap { padding: 8px clamp(12px,2vw,24px) 0; }
.bouquet-hero { padding: clamp(28px,4vw,56px); background: var(--color-surface); border-radius: var(--radius-lg); }
.catalog-section { padding: clamp(48px,6vw,84px) 0; }
.catalog-section .section-head p { margin: 6px 0 0; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 16px; }
.catalog-card { overflow: hidden; background: var(--color-neutral-100); border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-md); }
.catalog-image { display: block; background: var(--color-surface); }
.catalog-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.catalog-card-copy { padding: 18px 20px; }
.catalog-card-copy h3 { margin: 0; font-size: 19px; }
.catalog-card-copy h3 a { min-height: 44px; display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.catalog-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.stock-state { color: var(--color-neutral-700); font-size: 12.5px; text-align: right; }
.catalog-empty { padding: clamp(28px,4vw,48px); text-align: center; background: var(--color-neutral-100); border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-lg); }
.catalog-empty h3 { margin: 0 0 8px; font-size: 24px; }
.catalog-empty p { max-width: 58ch; margin: auto; color: var(--color-neutral-700); }
.catalog-note { margin-top: -50px; padding-bottom: 56px; font-size: 12.5px; }
.catalog-cta { margin-bottom: clamp(56px,7vw,96px); padding: clamp(30px,4vw,52px); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; background: var(--color-accent-2-900); border-radius: var(--radius-lg); }
.catalog-cta h2 { color: var(--color-neutral-100); font-size: clamp(24px,2.4vw,32px); }
.catalog-cta p { max-width: 54ch; margin: 0; color: var(--color-accent-2-200); }
.page-intro { width: min(100% - 40px,820px); margin: 0 auto; padding: clamp(28px,5vw,64px) 0 clamp(20px,3vw,40px); text-align: center; }
.page-intro h1 { font-size: clamp(34px,4vw,54px); }
.page-intro p { max-width: 54ch; margin-inline: auto; font-size: 16px; }
.process-timeline { width: min(100% - 40px,900px); margin: 0 auto; padding: 20px 0 clamp(48px,6vw,84px); position: relative; }
.process-timeline::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 84px; width: 2px; background: var(--color-neutral-300); }
.process-step { display: flex; gap: 24px; padding: 22px 0; position: relative; }
.process-number { width: 56px; height: 56px; display: grid; flex: none; place-items: center; border: 4px solid var(--color-bg); border-radius: 50%; background: var(--color-accent-200); color: var(--color-accent-700); font-family: var(--font-heading); font-size: 21px; }
.process-step:nth-child(even) .process-number { background: var(--color-accent-2-200); color: var(--color-accent-2-700); }
.process-step > div { flex: 1; padding: 22px 26px; background: var(--color-neutral-100); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.process-step h2 { margin: 0 0 6px; font-size: 20px; }
.process-step p { margin: 0; font-size: 14.5px; }
.why-panel { padding: clamp(48px,6vw,84px) max(clamp(20px,4vw,48px),calc((100vw - var(--container))/2 + 48px)); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(28px,4vw,64px); background: var(--color-neutral-100); }
.why-panel img { width: 100%; height: 240px; margin-top: 22px; object-fit: cover; border-radius: var(--radius-md); }
.occasion-section { max-width: var(--container); margin: auto; padding: clamp(48px,6vw,84px) clamp(20px,4vw,48px); }
.occasion-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 14px; margin-top: 26px; }
.occasion-grid a { min-height: 110px; padding: 22px; display: flex; flex-direction: column; justify-content: center; color: var(--color-accent-900); text-decoration: none; background: var(--color-accent-200); border-radius: var(--radius-md); transition: transform .2s; }
.occasion-grid a:nth-child(2n) { color: var(--color-accent-2-900); background: var(--color-accent-2-200); }
.occasion-grid a:nth-child(3n) { color: var(--color-neutral-900); background: var(--color-neutral-200); }
.occasion-grid a:hover { color: inherit; transform: translateY(-3px); }
.occasion-grid strong { font-family: var(--font-heading); font-size: 18px; font-weight: 500; }
.occasion-grid span { font-size: 13px; }
.faq-list { width: min(100% - 40px,760px); margin: 0 auto; padding: 24px 0 clamp(48px,6vw,84px); display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; background: var(--color-neutral-100); border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-md); }
.faq-item[open] { border-color: var(--color-accent-400); }
.faq-item summary { min-height: 64px; padding: 10px 22px; display: flex; align-items: center; gap: 14px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { width: 32px; height: 32px; margin-left: auto; display: grid; flex: none; place-items: center; background: var(--color-neutral-200); color: var(--color-neutral-700); border-radius: 50%; transition: transform .2s; }
.faq-item[open] summary span { transform: rotate(45deg); background: var(--color-accent-500); color: var(--color-neutral-100); }
.faq-item > div { padding: 0 22px 20px; color: var(--color-neutral-700); font-size: 14.5px; line-height: 1.65; }
.faq-item p { margin: 0; }
.faq-cta { width: min(100% - 24px,900px); margin: 0 auto clamp(24px,3vw,40px); padding: clamp(28px,4vw,44px); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--color-surface); border-radius: var(--radius-lg); }
.faq-cta h2 { font-size: clamp(22px,2.2vw,28px); }
.contact-shell { width: min(100%,1160px); margin: 0 auto; padding: clamp(28px,5vw,60px) clamp(20px,4vw,48px) clamp(48px,6vw,84px); }
.contact-shell > h1 { font-size: clamp(32px,3.8vw,50px); }
.contact-lead { max-width: 52ch; margin-bottom: 34px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(300px,.9fr); gap: clamp(28px,4vw,56px); align-items: start; }
.contact-form { padding: clamp(22px,3vw,34px); background: var(--color-neutral-100); border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-lg); }
.contact-form fieldset { display: flex; flex-direction: column; gap: 18px; padding: 0; margin: 0; border: 0; }
.contact-form fieldset:disabled { opacity: .72; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; color: var(--color-text); font-size: 13.5px; font-weight: 600; }
.contact-form .input { min-height: 48px; font-weight: 400; background: var(--color-bg); }
.contact-form textarea.input { min-height: 130px; border-radius: var(--radius-md); resize: vertical; }
.contact-consent { min-height: 44px; display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; color: var(--color-neutral-700); font-size: 13px; }
.contact-consent input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--color-accent-2-700); }
.contact-form .banner { margin: 20px 0 0; font-size: 13px; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info article { padding: 18px 22px; display: flex; gap: 16px; align-items: center; background: var(--color-neutral-100); border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-md); }
.contact-info article > span { width: 46px; height: 46px; display: grid; flex: none; place-items: center; background: var(--color-accent-2-200); color: var(--color-accent-2-800); border-radius: 50%; font-size: 18px; }
.contact-info h2 { margin: 0 0 4px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; }
.contact-info p { margin: 0; color: var(--color-neutral-700); font-size: 13.5px; }

/* Sprint 2 legal layouts */
.legal-page { width: min(100%,1100px); margin: 0 auto; padding: clamp(28px,5vw,56px) clamp(20px,4vw,48px) clamp(48px,6vw,84px); }
.legal-page-narrow { max-width: 900px; }
.legal-page > header h1 { font-size: clamp(30px,3.6vw,46px); }
.legal-page > header p { margin-bottom: 34px; font-size: 13.5px; }
.legal-layout { display: grid; grid-template-columns: minmax(210px,280px) minmax(0,1fr); gap: clamp(28px,4vw,56px); align-items: start; }
.legal-nav { position: sticky; top: 90px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; background: var(--color-neutral-100); border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-md); font-size: 13.5px; }
.legal-nav strong { margin-bottom: 6px; color: var(--color-neutral-700); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.legal-nav a { min-height: 44px; display: flex; align-items: center; color: var(--color-text); text-decoration: none; }
.legal-nav a:hover { color: var(--color-accent-700); }
.legal-content { max-width: 64ch; display: flex; flex-direction: column; gap: 30px; }
.legal-content section { scroll-margin-top: 100px; }
.legal-content h2 { margin: 0 0 10px; font-size: 21px; }
.legal-content p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.7; }
.legal-lead { max-width: 64ch; font-size: 14.5px; line-height: 1.7; }
.legal-table-wrap { max-width: 100%; overflow-x: auto; border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-md); -webkit-overflow-scrolling: touch; }
.legal-table-wrap .table { min-width: 620px; background: var(--color-neutral-100); }
.legal-table-wrap td:first-child { font-weight: 600; }
.legal-note { font-size: 12.5px; }
.cookie-notice { margin-top: 26px; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--color-surface); border-radius: var(--radius-md); }
.cookie-notice p { max-width: 52ch; margin: 0; color: var(--color-neutral-700); font-size: 14px; }
.delivery-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 36px; }
.delivery-cards article { padding: 20px 22px; background: var(--color-neutral-100); border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-md); }
.delivery-cards article > strong { display: block; margin-bottom: 6px; color: var(--color-accent-2-800); font-family: var(--font-heading); font-size: 26px; font-weight: 500; }
.delivery-cards h2 { margin: 0 0 4px; font-family: var(--font-body); font-size: 14.5px; font-weight: 600; }
.delivery-cards p { margin: 0; font-size: 13.5px; line-height: 1.6; }
.delivery-content { max-width: 64ch; }

/* Shared states and shells */
.banner { padding: 14px 18px; border-radius: var(--radius-card); border: 1px solid var(--color-neutral-300); background: var(--color-neutral-100); }
.banner-success { border-color: var(--color-accent-2-500); background: var(--color-accent-2-100); }
.banner-warning { border-color: var(--color-accent-500); background: var(--color-accent-100); }
.progress { width: 100%; height: 8px; overflow: hidden; border-radius: 999px; background: var(--color-neutral-300); }
.progress > span { display: block; height: 100%; background: var(--color-accent-2-600); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch-track { width: 46px; height: 26px; padding: 3px; border-radius: 999px; background: var(--color-neutral-400); transition: background .2s; }
.switch-track::after { content: ""; display: block; width: 20px; height: 20px; border-radius: 50%; background: white; transition: transform .2s; }
.switch input:checked + .switch-track { background: var(--color-accent-2-600); }
.switch input:checked + .switch-track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.content-shell { width: min(100% - 40px, 1060px); margin: clamp(36px,6vw,80px) auto; padding: clamp(24px,4vw,52px); border-radius: var(--radius-lg); background: var(--color-neutral-100); }
.content-shell > :last-child { margin-bottom: 0; }
.placeholder-label { display: inline-flex; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; background: var(--color-accent-2-100); color: var(--color-accent-2-800); font-size: 12px; font-weight: 600; }
.error-page { text-align: center; min-height: 56vh; display: grid; place-items: center; }
.error-code { color: var(--color-accent-600); font-family: var(--font-heading); font-size: clamp(68px,14vw,150px); line-height: .9; }

/* Footer */
.site-footer { margin-top: auto; background: var(--color-neutral-900); color: var(--color-neutral-400); }
.footer-grid { max-width: var(--container); margin: auto; padding: clamp(38px,5vw,60px) clamp(20px,4vw,48px) 26px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 32px; }
.footer-brand { color: var(--color-neutral-100); font-family: var(--font-heading); font-size: 21px; letter-spacing: 4px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-heading { margin-bottom: 8px; color: var(--color-neutral-200); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav { display: flex; flex-direction: column; font-size: 13.5px; }
.footer-nav a { min-height: 44px; display: flex; align-items: center; color: inherit; text-decoration: none; }
.footer-nav a:hover { color: var(--color-neutral-100); }
.footer-nav a[aria-current="page"] { color: var(--color-neutral-100); text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { max-width: var(--container); margin: auto; padding: 16px clamp(20px,4vw,48px) 24px; border-top: 1px solid var(--color-neutral-800); display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom a { min-height: 44px; display: inline-flex; align-items: center; color: inherit; }

/* WooCommerce foundation */
.woocommerce-page .site-main { width: min(100% - 40px, 1200px); margin: clamp(28px,5vw,64px) auto; }
.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button { min-height: 44px; border-radius: 999px; background: var(--color-accent-700); color: var(--color-neutral-100); display: inline-flex; align-items: center; justify-content: center; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button:hover { background: var(--color-accent-800); color: var(--color-neutral-100); }
.woocommerce ul.products li.product, .woocommerce-cart-form, .cart_totals, .woocommerce-checkout-review-order, .woocommerce form.checkout, .woocommerce-MyAccount-content { padding: 20px; border-radius: var(--radius-md); background: var(--color-neutral-100); box-shadow: var(--shadow-sm); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 44px; border: 1px solid var(--color-neutral-300); border-radius: 12px; padding: 10px 12px; background: var(--color-neutral-100); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--radius-card); background: var(--color-neutral-100); }

@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .primary-nav ul { gap-inline: 12px; }
  .header-actions .btn-secondary { display: none; }
}
@media (max-width: 959px) {
  .primary-nav, .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding-block: 12px; }
  .home-hero { grid-template-columns: 1fr; }
  .how-section { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-hero, .bouquet-hero, .category-assist, .why-panel { grid-template-columns: 1fr; }
  .category-hero-reverse .category-copy { order: initial; }
  .category-hero-reverse .category-hero-image { order: 2; }
  .catalog-cta { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; max-width: none; }
}
@media (max-width: 767px) {
  .home-hero { padding-inline: 24px; }
  .steps-grid, .gift-grid, .box-panel, .benefits-section { grid-template-columns: 1fr; }
  .hero-reminders { max-width: none; }
  .gift-card img { height: 210px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .form-grid, .delivery-cards { grid-template-columns: 1fr; }
  .process-step { gap: 14px; }
  .process-step > div { padding: 18px 20px; }
  .catalog-note { margin-top: -36px; }
}
@media (max-width: 520px) {
  .hero-title { font-size: clamp(36px,11vw,48px); }
  .hero-notes .dot-separator { display: none; }
  .reminder-card { padding: 16px; gap: 12px; }
  .reminder-card .tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
