/*
Theme Name: MEMORY Theme
Theme URI: https://memory.ap.marketing/
Author: AP Marketing
Description: Production-oriented custom hybrid theme for MEMORY.
Version: 1.11.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;
  /* Error colours (already used by the profile's field errors): text 6.9:1 on --color-error-bg, 6.3:1 on --color-neutral-100. */
  --color-error: #973d32;
  --color-error-strong: #8b3027;
  --color-error-bg: #f8e7e4;
  --color-error-border: #ad594d;
}

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; }
[aria-disabled="true"] { cursor: not-allowed; opacity: .45; }
.btn[aria-busy="true"] { position: relative; white-space: nowrap; }
.btn[aria-busy="true"]::before { content: ""; width: 14px; height: 14px; flex: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: memory-spin .7s linear infinite; }
@keyframes memory-spin { to { transform: rotate(360deg); } }
.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); }
.memory-alert { padding: 14px 18px; border: 1.5px solid var(--color-neutral-300); border-radius: var(--radius-md); font-size: 13.5px; line-height: 1.55; }
.memory-alert-error { border-color: var(--color-accent-400); background: var(--color-accent-100); color: var(--color-accent-800); }
.memory-alert-success { border-color: var(--color-accent-2-500); background: var(--color-accent-2-200); color: var(--color-accent-2-900); }
.memory-alert-warning { border-color: var(--color-accent-500); background: var(--color-accent-100); color: var(--color-accent-900); }
.memory-card { border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-md); background: var(--color-neutral-100); box-shadow: var(--shadow-sm); }
.memory-status { display: inline-flex; align-items: center; width: max-content; min-height: 30px; padding: 4px 12px; border-radius: 999px; background: var(--color-neutral-200); color: var(--color-neutral-800); font-size: 12.5px; font-weight: 600; }
.memory-switch { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; color: inherit; cursor: pointer; }
.memory-switch-track { position: relative; width: 44px; height: 26px; flex: none; border-radius: 999px; background: var(--color-neutral-600); }
.memory-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--color-neutral-100); transition: transform .18s; }
.memory-switch[aria-checked="true"] .memory-switch-track { background: var(--color-accent-2-700); }
.memory-switch[aria-checked="true"] .memory-switch-track::after { transform: translateX(18px); }
.memory-external { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }

/* 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); }
.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, .home-final > *, .home-hero > .home-final-visual { position: relative; z-index: 1; }
.hero-copy { max-width: 760px; 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-notes .dot-separator { display: none; }
.home-reminders { max-width: var(--container); margin: 0 auto; padding: clamp(36px,4vw,56px) clamp(20px,4vw,48px) 0; }
.home-reminders .section-title { margin: 0 0 24px; }
.reminders-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.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 { margin-top: 14px; 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; }
.experience-heading { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.experience-heading h2 { margin: 0; font-size: clamp(28px,2.6vw,38px); }
.experience-heading p { display: flex; align-items: center; gap: 16px; margin: 0; color: var(--color-neutral-600); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.experience-heading p span { width: clamp(56px,8vw,108px); height: 1px; background: currentColor; opacity: .55; }
.experience-paths { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.experience-path { min-height: 350px; padding: 18px 30px 12px; border-radius: 16px; background: var(--color-surface); color: var(--color-neutral-900); text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; transition: transform .25s,box-shadow .25s; }
.experience-path:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.experience-path:focus-visible, .experience-category:focus-visible { outline: 3px solid var(--color-accent-500); outline-offset: 4px; }
.experience-path-visual { width: 100%; height: 145px; display: flex; align-items: center; justify-content: center; }
.experience-path-visual img { width: auto; height: 140px; max-width: 220px; object-fit: contain; }
.experience-path-copy { display: flex; flex-direction: column; align-items: center; }
.experience-path-copy strong { max-width: 210px; min-height: 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 25px; line-height: 1.08; font-weight: 500; }
.experience-path-copy small { max-width: 245px; min-height: 66px; margin-top: 10px; color: var(--color-neutral-600); font-family: var(--font-body); font-size: 13.5px; line-height: 1.45; }
.experience-arrow { width: 48px; height: 48px; margin-top: auto; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: #b7a697; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; transition: transform .2s,background-color .2s; }
.experience-path .experience-arrow { background: #342b27; }
.experience-path:hover .experience-arrow, .experience-category:hover .experience-arrow { transform: translateX(3px); }
.experience-categories { min-height: 180px; margin-top: 18px; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); background: linear-gradient(90deg,#2d2622 0%,#4a3b34 46%,#6f5f56 54%,#aa9789 100%); }
.experience-category { min-width: 0; min-height: 180px; padding: 14px 34px 14px 24px; color: #fff; text-decoration: none; display: grid; grid-template-columns: minmax(150px,42%) 1fr; align-items: center; gap: 20px; position: relative; }
.experience-category + .experience-category::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 0; width: 1px; background: rgba(255,255,255,.35); }
.experience-category:hover { color: #fff; }
.experience-category > img { width: 100%; height: 174px; object-fit: contain; }
.experience-category-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.experience-category-copy strong { font-family: var(--font-heading); font-size: 27px; line-height: 1.1; font-weight: 500; }
.experience-category-copy small { max-width: 180px; min-height: 40px; margin-top: 8px; color: rgba(255,255,255,.78); font-family: var(--font-body); font-size: 13.5px; line-height: 1.45; }
.experience-category .experience-arrow { width: 46px; height: 46px; margin-top: 10px; background: transparent; }
/* "За него" / "За нея": visible hover and keyboard focus (the band clips anything outside it, so the ring is drawn inside). */
.experience-category > img, .experience-category .experience-arrow { transition: transform .25s ease, background-color .2s ease, color .2s ease; }
.experience-category:hover > img, .experience-category:focus-visible > img { transform: scale(1.04); }
.experience-category:hover .experience-arrow, .experience-category:focus-visible .experience-arrow { border-color: #fff; background: #fff; color: #2d2622; transform: translateX(8px); }
.experience-category:focus-visible { outline: 3px solid #fff; outline-offset: -8px; box-shadow: inset 0 0 0 5px #2d2622; }
.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); }
/* Homepage: "Избери своя начин" right after the brands gets the usual section spacing (96px desktop, 56px tablet/mobile). */
.brands:has(+ .experience-section) { padding-bottom: clamp(56px,7vw,96px); }
.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); }
/* Homepage promise cards (between MEMORY Box and occasions) */
.promise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.promise-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius-md); background: var(--color-neutral-100); box-shadow: var(--shadow-sm); }
.promise-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent-200); color: var(--color-accent-700); }
.promise-icon svg { width: 24px; height: 24px; }
.promise-card:nth-child(2) .promise-icon { background: var(--color-accent-2-200); color: var(--color-accent-2-800); }
.promise-card:nth-child(3) .promise-icon { background: var(--color-neutral-200); color: var(--color-text); }
.promise-card strong { font-size: 16px; font-weight: 500; line-height: 1.35; }
.promise-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px,4vw,64px); align-items: center; }
.promise-lead { margin: 10px 0 24px; color: var(--color-neutral-700); max-width: 460px; }
.promise-layout .promise-grid { grid-template-columns: 1fr; gap: 14px; }
.promise-visual img { width: 100%; height: auto; max-height: 560px; object-fit: contain; }
.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; }
/* Closing banner, layout 'split': copy left, gift box right (homepage + Ready Gift page). */
.home-final--split{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:clamp(24px,4vw,56px);text-align:left}.home-final--split h2,.home-final--split p{margin-left:0;margin-right:0}.home-final--split .button-row{justify-content:flex-start}
.home-final-visual{display:grid;place-items:center}.home-final-visual::before{content:"";position:absolute;inset:-6% -10%;border-radius:50%;background:radial-gradient(closest-side,color-mix(in srgb,var(--color-accent-2-400) 50%,transparent),transparent)}.home-final-visual img{position:relative;width:min(100%,380px);height:auto;filter:drop-shadow(0 22px 28px color-mix(in srgb,#000 45%,transparent))}

/* 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; }
.marketing-surface > .marketing-wrap > .catalog-section:only-child { padding-block: 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%; height: 351px; padding: 14px; box-sizing: border-box; object-fit: contain; }
.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; }
  .reminder-card .tag { display: none; }
}
@media (max-width: 959px) {
  .primary-nav, .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { padding-block: 12px; }
  .home-hero:not(.home-final--split) { 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, .box-panel, .benefits-section { grid-template-columns: 1fr; }
  .promise-grid { grid-template-columns: 1fr; }
  .promise-layout { grid-template-columns: 1fr; }
  .promise-visual img { max-width: 440px; margin-inline: auto; display: block; }
  .home-final--split { grid-template-columns: 1fr; }
  .home-final-visual { order: -1; }
  .home-final-visual img { width: min(70%,220px); }
  .home-hero .home-final-visual { order: 0; }
  .home .home-final-wrap .home-final-visual { order: 1; }
  .home-hero .home-final-visual img { width: min(60%,200px); }
  .reminders-grid { grid-template-columns: 1fr; }
  .experience-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .experience-heading p { white-space: normal; line-height: 1.5; }
  .experience-heading p span { width: 42px; flex: none; }
  .experience-paths, .experience-categories { grid-template-columns: 1fr; }
  .experience-path { min-height: 330px; padding-inline: 24px; }
  .experience-category { min-height: 164px; grid-template-columns: minmax(125px,40%) 1fr; padding-inline: 18px 24px; gap: 14px; }
  .experience-category + .experience-category::before { top: 0; right: 20px; bottom: auto; left: 20px; width: auto; height: 1px; }
  .experience-category > img { height: 140px; }
  .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); }
  .reminder-card { padding: 16px; gap: 12px; }
  .reminder-card .tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .experience-category > img, .experience-category .experience-arrow { transition: none; }
  .experience-category:hover > img, .experience-category:focus-visible > img { transform: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Keep editable controls at the iOS-safe text size without disabling page zoom. */
@media (max-width: 767px) {
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="image"]),
  select,
  textarea,
  .select2-selection {
    font-size: 16px !important;
  }

  .otp-field .input {
    font-size: 26px !important;
  }
}

/* Full-width sections under a gift flow + the numbered steps strip (/izprati-podarak/, /sazdai-podarak/). */
.ready-more{width:min(1100px,calc(100% - 40px));margin:0 auto;box-sizing:border-box}.ready-more .home-section{max-width:none;padding-inline:0}.ready-more [data-ready-examples][hidden]{display:none}.ready-more .memory-example-products{margin-top:0}
.ready-gets{margin-top:clamp(56px,7vw,96px)}.ready-gets h2{margin:0 0 8px;font-size:clamp(26px,2.6vw,38px)}.ready-gets>p{margin:0;color:var(--color-neutral-700)}
.ready-gets-list{margin:26px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ready-gets-list li{display:flex;align-items:center;gap:14px;font-size:15px;line-height:1.4}
.ready-gets-number{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:50%;background:var(--color-accent-200);color:var(--color-accent-700);font-family:var(--font-heading);font-size:18px}.ready-gets-list li:nth-child(2) .ready-gets-number{background:var(--color-accent-2-200);color:var(--color-accent-2-800)}
.ready-gets-icon{flex:none;display:grid;color:var(--color-text)}.ready-gets-icon svg{width:32px;height:32px}
.ready-more .home-final-wrap{padding:clamp(56px,7vw,96px) 0 clamp(24px,3vw,40px)}
@media(max-width:767px){.ready-gets-list{grid-template-columns:1fr}}
@media(max-width:480px){.ready-more{width:min(100% - 28px,1100px)}}

/* Logo ornament: line – gift – line under MEMORY, as wide as the word (minus the trailing letter-spacing). Colour = the logo's colour. */
.site-brand,.drawer-brand,.footer-brand,.custom-brand,.ready-brand,.auth-brand,.profile-logo{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1}
.site-brand::after,.drawer-brand::after,.footer-brand::after,.custom-brand::after,.ready-brand::after,.auth-brand::after,.profile-logo::after{content:"";align-self:stretch;margin-right:4px;height:.62em;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cg fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='12' height='8' rx='.6'/%3E%3Cpath d='M1 5h14V2.8H1zM8 2.8V13M8 2.8C6.4.2 3.4.4 3.6 2.4c.2 1.6 3 .4 4.4.4 1.4 0 4.2 1.2 4.4-.4.2-2-2.8-2.2-4.4.4'/%3E%3C/g%3E%3C/svg%3E") center/auto 100% no-repeat,linear-gradient(#000,#000) left center/calc(50% - .66em) 1px no-repeat,linear-gradient(#000,#000) right center/calc(50% - .66em) 1px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cg fill='none' stroke='black' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='12' height='8' rx='.6'/%3E%3Cpath d='M1 5h14V2.8H1zM8 2.8V13M8 2.8C6.4.2 3.4.4 3.6 2.4c.2 1.6 3 .4 4.4.4 1.4 0 4.2 1.2 4.4-.4.2-2-2.8-2.2-4.4.4'/%3E%3C/g%3E%3C/svg%3E") center/auto 100% no-repeat,linear-gradient(#000,#000) left center/calc(50% - .66em) 1px no-repeat,linear-gradient(#000,#000) right center/calc(50% - .66em) 1px no-repeat}
.drawer-brand::after{margin-right:3px}
.custom-top .custom-brand{justify-self:start}
/* 2026-09-28 texts: "Какво е MEMORY?" copy, accent phrases, ready notes, titled steps */
.box-lead { margin: 4px 0 14px; font-weight: 650; color: var(--color-text); }
.box-text p { margin: 0 0 12px; color: var(--color-neutral-700); line-height: 1.6; }
.box-text .box-closing { margin-top: 16px; color: var(--color-text); }
.text-accent { color: var(--color-accent-700); font-weight: 650; }
.ready-notes { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--color-neutral-700); font-size: 14px; line-height: 1.5; }
.ready-notes li { position: relative; padding-left: 28px; }
.ready-notes li::before { content: "!"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent-200); color: var(--color-accent-700); font-size: 12px; font-weight: 700; }
.ready-notes strong { color: var(--color-accent-700); }
.ready-gets-text { display: grid; gap: 2px; }
.ready-gets-text strong { font-weight: 650; color: var(--color-text); }
.ready-gets-text span { color: var(--color-neutral-700); font-size: 14px; }
/* 2026-09-29 design corrections */
/* Outline button on light backgrounds ("Избери готов подарък", "Предпочиташ да създадеш сам?") */
.btn-outline { border: 1.5px solid var(--color-accent-700); background: transparent; color: var(--color-accent-700); }
.btn-outline:hover { background: var(--color-accent-700); color: var(--color-neutral-100); }
/* Homepage order: hero → ways to gift → how it works → important dates → brands → … */
.home-frame + .experience-section { padding-top: clamp(40px,5vw,72px); }
.how-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 4px; }
.experience-section + .how-section { padding-top: 0; }
.how-section + .home-reminders { padding-top: 0; padding-bottom: clamp(56px,7vw,96px); }
@media (min-width: 768px) { .experience-heading p { display: none; } }
/* /kak-raboti/: "Поводи, които MEMORY помни за теб" */
.occasion-grid--icons { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.occasion-grid.occasion-grid--icons a.occasion-card:nth-child(n) { min-height: 0; padding: 22px 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border: 1px solid color-mix(in srgb, var(--color-text) 7%, transparent); border-radius: var(--radius-md); background: var(--color-neutral-100); box-shadow: var(--shadow-sm); color: var(--color-text); transition: transform .2s ease, box-shadow .2s ease; }
.occasion-grid--icons .occasion-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.occasion-grid--icons .occasion-icon { width: 52px; height: 52px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent-200); color: var(--color-accent-900); }
.occasion-grid--icons .occasion-icon svg { width: 26px; height: 26px; }
.occasion-grid--icons .occasion-card strong { font-size: 21px; font-weight: 500; line-height: 1.25; }
.occasion-grid--icons .occasion-card span:not(.occasion-icon) { margin-top: 2px; color: var(--color-neutral-700); font-size: 13.5px; }
.occasion-grid--icons .occasion-more { justify-content: center; }
.occasion-grid--icons .occasion-more strong { display: flex; align-items: center; gap: 10px; }
@media (max-width: 1100px) { .occasion-grid--icons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .occasion-grid--icons { grid-template-columns: 1fr 1fr; } .occasion-grid--icons .occasion-more { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .occasion-grid--icons .occasion-card { transition: none; } }
/* /shop/ catalogue */
.shop-page { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: clamp(24px,4vw,48px) 0 clamp(56px,7vw,96px); }
.shop-hero { position: relative; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; gap: clamp(20px,4vw,48px); }
.shop-hero h1 { margin: 0 0 12px; font-size: clamp(48px,6.5vw,88px); line-height: 1; }
.shop-hero p { max-width: 560px; margin: 0; color: var(--color-neutral-700); font-size: clamp(16px,1.4vw,19px); line-height: 1.5; }
.shop-hero-visual { position: relative; display: grid; place-items: center; }
.shop-hero-visual::before { content: ""; position: absolute; inset: 0 4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--color-accent-200) 85%, transparent), transparent); }
.shop-hero-visual img { position: relative; width: min(100%, 420px); height: auto; filter: drop-shadow(0 22px 28px rgba(40,30,20,.22)); }
.shop-switch { display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 26px; padding: 4px; border-radius: 999px; background: var(--color-neutral-100); box-shadow: var(--shadow-sm); }
.shop-switch a { min-height: 44px; padding: 0 clamp(18px,3vw,40px); display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--color-text); font-family: var(--font-heading); font-size: 16px; text-decoration: none; white-space: nowrap; }
.shop-switch a[aria-current="page"] { background: var(--color-accent-700); color: var(--color-neutral-100); }
.shop-filters { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(22px,3vw,32px) 0 24px; }
.shop-filter { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--color-neutral-100); box-shadow: var(--shadow-sm); color: var(--color-text); }
.shop-filter svg { width: 20px; height: 20px; flex: none; color: var(--color-accent-700); }
.shop-filter select { min-height: 44px; padding: 0 26px 0 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: inherit; cursor: pointer; appearance: none; -webkit-appearance: none; }
.shop-filter::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.shop-filter select:focus-visible { outline: 3px solid var(--color-accent-500); outline-offset: 4px; border-radius: 999px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.shop-grid[hidden], .shop-card[hidden] { display: none; }
.shop-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-md); background: var(--color-neutral-100); box-shadow: var(--shadow-sm); }
.shop-card-image { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18px; background: radial-gradient(circle at 50% 42%, #fbf6ee, var(--color-surface)); }
.shop-card-image img { width: 100%; height: 100%; object-fit: contain; }
.shop-card-body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.shop-card-body h2 { margin: 0; font-size: clamp(22px,1.9vw,26px); line-height: 1.2; }
.shop-card-price { margin: 8px 0 10px; font-size: 18px; font-weight: 700; }
.shop-card-body p { flex: 1; margin: 0 0 18px; color: var(--color-neutral-700); font-family: var(--font-heading); font-size: 16px; line-height: 1.45; }
.shop-card-body .btn { width: 100%; justify-content: center; gap: 10px; }
.shop-empty { padding: 28px; border-radius: var(--radius-md); background: var(--color-neutral-100); color: var(--color-neutral-700); text-align: center; }
.shop-personal { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); align-items: center; gap: clamp(24px,4vw,56px); margin-top: clamp(32px,4vw,48px); padding: clamp(26px,4vw,44px); border-radius: var(--radius-lg); background: var(--color-surface); }
.shop-personal h2 { margin: 0 0 10px; font-size: clamp(28px,3vw,40px); }
.shop-personal p { margin: 0 0 20px; color: var(--color-neutral-700); font-family: var(--font-heading); font-size: 17px; }
.shop-personal .btn { gap: 10px; }
.shop-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 8px; margin: 0; padding: 0 0 0 clamp(0px,3vw,40px); border-left: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); list-style: none; text-align: center; }
.shop-steps li { display: grid; justify-items: center; gap: 10px; font-family: var(--font-heading); font-size: 16px; line-height: 1.3; }
.shop-steps .shop-step-number { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--color-accent-200); font-family: var(--font-body); font-size: 15px; font-weight: 700; }
.shop-steps svg { width: 44px; height: 44px; color: var(--color-accent-700); }
.shop-steps .shop-step-arrow { align-self: center; margin-top: 46px; color: var(--color-neutral-600); font-size: 20px; }
@media (max-width: 1024px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shop-personal { grid-template-columns: 1fr; } .shop-steps { padding: 20px 0 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--color-text) 12%, transparent); } }
@media (max-width: 767px) { .shop-hero { grid-template-columns: 1fr; } .shop-hero-visual { order: -1; } .shop-hero-visual img { width: min(70%, 280px); } .shop-switch { display: grid; width: 100%; } .shop-filter { flex: 1 1 calc(50% - 6px); } }
@media (max-width: 480px) { .shop-page { width: calc(100% - 28px); } .shop-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .shop-card-image { padding: 10px; } .shop-card-body { padding: 14px; } .shop-card-body p { font-size: 14px; } .shop-card-body .btn { min-height: 44px; font-size: 14px; } .shop-steps li { font-size: 14px; } .shop-steps svg { width: 36px; height: 36px; } }
/* /sazdai-podarak/ on mobile: the "Твоят подарък" summary goes after all choices */
@media (max-width: 900px) { .custom-layout > .custom-side { order: 0; } .custom-layout > .custom-side > small { display: none; } }
/* /shop/ filters: styled dropdowns (assets/js/shop-catalog.js); the native select stays for the form and for no-JS */
.shop-filters.is-enhanced .shop-filter { padding: 0; }
.shop-filters.is-enhanced .shop-filter::after { display: none; }
.shop-filters.is-enhanced .shop-filter > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.shop-filters.is-enhanced .shop-filter select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.shop-filter-button { width: 100%; min-height: 48px; padding: 0 44px 0 46px; display: flex; align-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--color-text); font: inherit; font-size: 15px; text-align: left; white-space: nowrap; cursor: pointer; }
.shop-filter-button::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: solid var(--color-accent-700); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s ease, margin-top .2s ease; }
.shop-filter.is-open .shop-filter-button::after { margin-top: -1px; transform: rotate(-135deg); }
.shop-filter-button:focus-visible { outline: 3px solid var(--color-accent-500); outline-offset: 3px; }
.shop-filter.is-open { box-shadow: 0 0 0 1.5px var(--color-accent-700), var(--shadow-sm); }
.shop-filter-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 100%; margin: 0; padding: 6px; box-sizing: border-box; list-style: none; border-radius: 16px; background: var(--color-neutral-100); box-shadow: 0 14px 34px rgba(45,35,25,.16), 0 0 0 1px color-mix(in srgb, var(--color-text) 8%, transparent); white-space: nowrap; }
.shop-filter-menu:focus { outline: none; }
.shop-filter-menu [role="option"] { position: relative; min-height: 42px; padding: 0 38px 0 14px; display: flex; align-items: center; border-radius: 10px; color: var(--color-text); font-size: 15px; cursor: pointer; }
.shop-filter-menu [role="option"].is-active { background: var(--color-accent-100); }
.shop-filter-menu [role="option"][aria-selected="true"] { color: var(--color-accent-700); font-weight: 650; }
.shop-filter-menu [role="option"][aria-selected="true"]::after { content: ""; position: absolute; right: 16px; top: 50%; width: 5px; height: 10px; margin-top: -7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 767px) { .shop-filters.is-enhanced .shop-filter { flex: 1 1 calc(50% - 6px); } .shop-filter-menu { min-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .shop-filter-button::after { transition: none; } }
/* 2026-09-29: choice chips/cards of /sazdai-podarak/ (copied from custom-gift.css) so onboarding, /izprati-podarak/ and the homepage use the same style */
.custom-choice{margin:0;padding:0;border:0;min-width:0}
.custom-choice legend{margin-bottom:10px;padding:0;font-weight:650}
.custom-choice-list{display:flex;flex-wrap:wrap;gap:10px}
.custom-choice label{position:relative}
.custom-choice input{position:absolute;opacity:0}
.custom-choice span{display:flex;align-items:center;gap:8px;border:1.5px solid var(--color-neutral-300);background:#fff;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.custom-choice input:checked+span{border-color:var(--color-accent-2-800);background:var(--color-accent-2-800);color:var(--color-neutral-100)}
.custom-choice input:focus-visible+span{outline:3px solid var(--color-text);outline-offset:3px}
.custom-choice--occasion span{min-height:44px;padding:8px 16px 8px 12px;box-sizing:border-box;border-radius:12px;font-size:14px}
.custom-choice--occasion svg{flex:none;color:var(--color-accent-700)}
.custom-choice--occasion input:checked+span svg{color:currentColor}
.custom-choice--category .custom-choice-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.custom-choice--category span{height:100%;min-height:104px;padding:12px 6px 10px;box-sizing:border-box;flex-direction:column;justify-content:center;gap:6px;border-radius:var(--radius-md);font-size:13px;font-weight:600;line-height:1.2;text-align:center}
.custom-choice--category img{width:56px;height:56px}
.custom-choice--style span{min-height:44px;padding:8px 20px;box-sizing:border-box;border-radius:999px;font-size:14px}
.custom-choice--category span{min-height:96px;padding:10px 4px 8px;font-size:12px}
.custom-choice--category img{width:48px;height:48px}

/* homepage occasions as links in the same chip style */
.custom-choice-list > a { color: var(--color-text); text-decoration: none; }
.custom-choice-list > a span:hover { border-color: var(--color-accent-700); }
.custom-choice-list > a:focus-visible { outline: none; }
.custom-choice-list > a:focus-visible span { outline: 3px solid var(--color-text); outline-offset: 3px; }
/* onboarding: category cards in the narrower card */
.onboarding-card .custom-choice--category .custom-choice-list { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.onboarding-card .custom-choice legend, .ready-wide .custom-choice legend { font-size: 14px; }
/* hero kicker: larger and more visible */
.home-hero .eyebrow { color: var(--color-accent-2-200); font-size: clamp(14px,1.2vw,16px); font-weight: 650; letter-spacing: .14em; }
/* brands: more pronounced */
.brand-list { color: var(--color-neutral-800); }
.brand-list span { font-size: clamp(18px,1.6vw,21px); font-weight: 500; }
/* "Защо MEMORY?" closing line */
.benefits-closing { margin: 18px 0 0; font-family: var(--font-heading); font-size: clamp(19px,1.8vw,23px); color: var(--color-accent-700); }
/* Admin-edited legal pages (functions.php memory_render_editable_legal): block-editor output styled like the old layout */
.legal-shell--editable .legal-intro > * { margin-top: 0; }
.legal-shell--editable .legal-cards.wp-block-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 26px; }
.legal-shell--editable .legal-card.wp-block-column { padding: 22px; border-radius: var(--radius-md); background: var(--color-surface); }
.legal-shell--editable .legal-card p { margin: 0; }
.legal-shell--editable .legal-card p strong { display: block; margin-bottom: 6px; font-family: var(--font-heading); font-size: 22px; font-weight: 500; }
.legal-shell--editable .legal-card p.text-muted { margin-top: 4px; }
.legal-shell--editable .cookie-table-wrap.wp-block-table { margin: 0; padding-block: clamp(48px, 6vw, 84px); overflow-x: auto; border: 1.5px solid var(--color-neutral-200); border-radius: var(--radius-md); }
.legal-shell--editable .cookie-table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.legal-shell--editable .cookie-table-wrap th, .legal-shell--editable .cookie-table-wrap td { padding: 14px; border: 0; border-bottom: 1px solid var(--color-neutral-200); text-align: left; vertical-align: top; }
.legal-shell--editable .cookie-table-wrap thead { border: 0; }
.legal-shell--editable .cookie-table-wrap td:first-child { font-weight: 700; }
.legal-shell--editable .cookie-table-wrap tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 767px) { .legal-shell--editable .legal-cards.wp-block-columns { grid-template-columns: 1fr; } }
/* Speedy on: the gift forms say where the address is chosen (MEMORY Core Speedy, checkout) */
.sp-note { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--color-accent-2-100); color: var(--color-neutral-800); font-size: 13.5px; line-height: 1.5; }
