/* ===== ADORA — design system ===== */

@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/CormorantGaramond-400.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/CormorantGaramond-500.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/CormorantGaramond-600.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/CormorantGaramond-700.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/Manrope-400.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/Manrope-500.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/Manrope-600.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/Manrope-700.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/Manrope-800.ttf') format('truetype'); }

:root {
  --ivory: #F8F3F0;
  --blush: #EAD7D4;
  --rose: #B7848A;
  --plum: #54383D;
  --gold: #C5A47E;
  --white: #FFFFFF;
  --muted: #827577;

  --ink: var(--plum);
  --bg: var(--ivory);
  --surface: var(--white);
  --border: #E6DCD8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-soft: 0 1px 3px rgba(84, 56, 61, 0.07);
  --shadow-lift: 0 12px 32px rgba(84, 56, 61, 0.14);
  --max-width: 1240px;
  --ease: cubic-bezier(.4,0,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--plum); }
h1 { font-size: clamp(2.25rem, 4vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.6rem; border-radius: 6px; border: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  min-height: 44px;
}
.btn:hover { transform: none; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--plum); color: var(--ivory); }
.btn-primary:hover:not(:disabled) { background: #3f2b2f; }
.btn-secondary { background: var(--white); color: var(--plum); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--rose); color: var(--rose); }
.btn-ghost { background: transparent; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; padding: .5rem; }
.btn-block { width: 100%; }

/* ===== Announcement bar ===== */
.announce { background: var(--blush); color: var(--plum); text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .02em; padding: .55rem 1rem; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,243,240,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header-inner { max-width: var(--max-width); margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--plum); letter-spacing: .01em; }
.main-nav { display: flex; gap: 2rem; font-size: .92rem; font-weight: 600; }
.main-nav a { opacity: .8; transition: opacity .2s; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { opacity: 1; border-bottom-color: var(--rose); }
.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s; position: relative; }
.icon-link:hover { background: var(--blush); }
.cart-badge { position: absolute; top: -2px; right: -2px; background: var(--rose); color: #fff; font-size: .65rem; font-weight: 700; min-width: 16px; height: 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }

/* ===== Hero ===== */
.hero { padding: 3.5rem 0 4.5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-eyebrow { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--rose); margin-bottom: .4rem; }
.hero-copy p { font-size: 1.1rem; color: var(--muted); max-width: 42ch; }
.hero-ctas { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 4/3.1; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--blush) 0%, #f3e3e0 55%, var(--gold) 150%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Reassurance strip ===== */
.reassure { padding: 1.4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.reassure-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.reassure-item { font-size: .85rem; color: var(--muted); padding: 0 1.25rem; border-left: 1px solid var(--border); line-height: 1.45; display: flex; align-items: center; gap: .9rem; }
/* thin line icon in a soft ring (gold hairline) */
.reassure-icon { flex: 0 0 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--plum); background: var(--white); box-shadow: inset 0 0 0 1px rgba(197, 164, 126, .55); }
.reassure-item:first-child { border-left: 0; padding-left: 0; }
.reassure-item strong { display: block; color: var(--plum); font-size: .92rem; }

/* ===== Section ===== */
.section { padding: 4.5rem 0; }
.section-head { max-width: 640px; margin: 0 0 2rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.section-head-row .section-head { margin: 0; }
.section-link { font-weight: 600; font-size: .9rem; color: var(--plum); text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.section-link:hover { color: var(--rose); }
.section-head p { color: var(--muted); }
.section-alt { background: var(--blush); }

/* ===== Category cards ===== */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem 1.25rem; }
.category-card { display: block; min-width: 0; }
.category-media { display: block; aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; background: var(--blush); }
.category-visual { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.category-card:hover .category-visual { transform: scale(1.03); }
.category-meta { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; padding-top: .7rem; }
.category-meta h3, .category-meta .h3 { font-size: 1.2rem; margin: 0; }
.category-meta .category-price { color: var(--muted); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.category-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(84,56,61,.78) 0%, rgba(84,56,61,.05) 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: var(--ivory); }
.category-overlay h3 { color: var(--ivory); margin-bottom: .2rem; }
.category-overlay p { color: rgba(248,243,240,.85); font-size: .85rem; margin-bottom: 1rem; }

/* ===== Product grid / cards ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.product-card { background: var(--surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; }
.product-card .product-card-visual { transition: transform .5s var(--ease); }
.product-card:hover .product-card-visual { transform: scale(1.03); }
.product-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.product-card-visual { aspect-ratio: 1/1; width: 100%; height: auto; object-fit: cover; display: block; background: var(--blush); position: relative; }
.product-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-card-badge { align-self: flex-start; font-size: .75rem; font-weight: 600; color: var(--muted); }
.product-card h3 { font-size: 1.05rem; margin: 0; }
.product-card .price { font-weight: 700; color: var(--plum); font-size: 1rem; }
.product-card .price .from { font-weight: 500; color: var(--muted); font-size: .8rem; }

/* ===== How it works / steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-item { border-top: 1px solid var(--plum); padding-top: 1.1rem; }
.step-number { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--rose); margin-bottom: .6rem; }
.step-item h3 { font-size: 1.05rem; }
.step-item p { color: var(--muted); font-size: .9rem; }

/* ===== Occasions ===== */
.occasion-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.occasion-chip { flex: 0 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: .7rem 1.4rem; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: all .2s; }
.occasion-chip:hover { background: var(--plum); color: var(--ivory); border-color: var(--plum); }

/* ===== Story / lifestyle ===== */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.story-visual { aspect-ratio: 4/3; width: 100%; height: auto; object-fit: cover; display: block; border-radius: var(--radius-lg); background: var(--blush); }
.story-copy .hero-eyebrow { margin-bottom: .75rem; }

/* ===== Reviews ===== */
.reviews-empty { text-align: center; padding: 3rem 1.5rem; background: var(--white); border-radius: var(--radius-md); border: 1px dashed var(--border); color: var(--muted); }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 1.3rem 0; font-family: var(--font-body); font-weight: 700; font-size: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--plum); }
.faq-icon { transition: transform .25s var(--ease); flex-shrink: 0; margin-left: 1rem; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); color: var(--muted); font-size: .95rem; }
.faq-answer-inner { padding-bottom: 1.3rem; }

/* ===== Newsletter ===== */
.newsletter { background: var(--plum); color: var(--ivory); border-radius: var(--radius-lg); padding: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; align-items: center; }
.newsletter p { margin: 0; }
.newsletter h2 { color: var(--ivory); }
.newsletter p { color: rgba(248,243,240,.8); }
.newsletter-form { display: flex; gap: .75rem; width: 100%; margin: 0; }
.newsletter-form input { flex: 1; padding: .9rem 1.1rem; border-radius: 6px; border: none; font-family: var(--font-body); font-size: .95rem; }
.newsletter-note { grid-column: 1 / -1; font-size: .78rem; color: rgba(248,243,240,.6); }
.newsletter-note:empty { display: none; }

/* ===== Footer ===== */
.site-footer { background: var(--blush); padding: 3.5rem 0 1.5rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(84,56,61,.15); }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--plum); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.footer-col a, .footer-col p { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.footer-col a:hover { color: var(--plum); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: .82rem; color: var(--muted); flex-wrap: wrap; gap: .75rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--plum); margin-bottom: .75rem; }
.social-row { display: flex; gap: .75rem; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; }

/* ===== Product head (configurator) ===== */
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: underline; }
.product-head { margin-bottom: 2rem; }
.product-head h1 { margin-bottom: .5rem; }
.product-price-row { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.product-price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--plum); }
.product-price-note { font-size: .85rem; color: var(--muted); }
.trust-row { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.trust-badge { font-size: .82rem; font-weight: 600; color: var(--muted); }
.trust-badge + .trust-badge::before { content: '·'; margin-right: .6rem; color: var(--rose); }
.upload-note { font-size: .78rem; color: var(--muted); margin-top: .6rem; line-height: 1.5; }

/* ===== Personalization studio ===== */
.studio-header { text-align: center; padding: 2.5rem 0 1rem; }
.stepper { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.stepper-item { font-size: .8rem; font-weight: 700; padding: .55rem 1.1rem; border-radius: 6px; background: var(--white); color: var(--muted); border: 1px solid var(--border); }
.stepper-item.active { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.studio-panel { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); }
.studio-step { margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.studio-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.studio-step-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--rose); margin-bottom: .6rem; }

.variant-picker, .style-picker { display: flex; flex-wrap: wrap; gap: .6rem; }
.variant-btn, .style-btn {
  padding: .65rem 1.1rem; border: 1.5px solid var(--border); border-radius: 6px;
  background: var(--white); color: var(--plum); cursor: pointer; font-size: .88rem; font-weight: 600;
  font-family: var(--font-body); transition: all .2s;
}
.variant-btn:hover, .style-btn:hover { border-color: var(--rose); }
.variant-btn.active, .style-btn.active { background: var(--plum); color: var(--ivory); border-color: var(--plum); }

.upload-zone {
  width: 140px; height: 140px; border: 2px dashed var(--border); border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  text-align: center; cursor: pointer; transition: border-color .2s, background .2s; position: relative;
  padding: .5rem;
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--rose); background: var(--blush); }
.upload-zone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone.has-photo { padding: 0; border-style: solid; cursor: default; }
.upload-zone.has-photo input[type=file] { cursor: default; }
.upload-zone-icon { color: var(--rose); width: 36px; height: 36px; border-radius: 50%; background: var(--blush); display: flex; align-items: center; justify-content: center; }
#upload-zone-text { font-size: .8rem; font-weight: 600; color: var(--plum); word-break: break-word; }
#upload-zone-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; }
.upload-zone-preview { position: relative; width: 100%; height: 100%; }
.upload-zone-preview img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-md) - 2px); }
.upload-remove-btn {
  position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--blush); color: var(--rose); border: 2px solid var(--ivory); box-shadow: 0 2px 6px rgba(84,56,61,.25);
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: background .2s, color .2s;
}
.upload-remove-btn:hover { background: var(--rose); color: var(--ivory); }
.upload-mode { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; cursor: pointer; }

.text-field-toggle {
  display: inline-flex; align-items: center; gap: .55rem; background: none; border: 1.5px dashed var(--border);
  border-radius: 6px; padding: .55rem 1.1rem; font-size: .85rem; font-weight: 600; color: var(--plum);
  cursor: pointer; transition: border-color .2s, background .2s; font-family: inherit;
}
.text-field-toggle:hover { border-color: var(--rose); background: var(--blush); }
.text-field-toggle-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blush); color: var(--rose); font-size: 1rem; line-height: 1; font-weight: 700;
}

.generate-status { margin-top: .9rem; font-size: .88rem; color: var(--muted); min-height: 1.3em; }
.generate-status.is-error { color: #a33; }

.preview-panel { position: sticky; top: 100px; text-align: center; }
.preview-stage { display: inline-block; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; }
.preview-stage-inner { max-width: 600px; max-height: 700px; margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative; }
.preview-stage-inner canvas { display: block; }
.mockup-thumbs { display: flex; gap: .6rem; justify-content: center; margin-top: 1rem; flex-wrap: wrap; }
.mockup-thumb {
  width: 58px; height: 58px; border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; padding: 0; background: none; transition: border-color .2s, opacity .2s;
}
.mockup-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mockup-thumb:hover { opacity: .85; }
.mockup-thumb.active { border-color: var(--rose); }
.wg-swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border);
  cursor: pointer; padding: 0; transition: border-color .2s, transform .15s;
}
.wg-swatch:hover { transform: scale(1.08); }
.wg-swatch.active { border-color: var(--rose); box-shadow: 0 0 0 2px var(--blush); }
.word-input { margin-bottom: 0; }
.preview-spinner {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
  background: rgba(248,243,240,.85); border-radius: var(--radius-sm); z-index: 5;
}
.preview-spinner::after {
  content: ''; width: 42px; height: 42px; border-radius: 50%;
  border: 4px solid var(--blush); border-top-color: var(--rose);
  animation: adora-spin .8s linear infinite;
}
@keyframes adora-spin { to { transform: rotate(360deg); } }
.generation-progress { margin-top: 1rem; }
.generation-progress-bar { width: 100%; height: 8px; background: var(--blush); border-radius: 999px; overflow: hidden; }
.generation-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--rose), var(--plum)); border-radius: 999px; transition: width .4s ease-out; }
.generation-progress-label { font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.preview-hint { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.preview-disclaimer { font-size: .75rem; color: var(--muted); margin-top: .5rem; font-style: italic; }

/* ===== Cart / Checkout ===== */
.cart-item { display: flex; gap: 1.25rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-info { flex: 1; }
.cart-item-info strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.cart-summary { background: var(--white); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: .95rem; padding: .4rem 0; color: var(--muted); }
.cart-summary-row.total { color: var(--plum); font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--border); margin-top: .5rem; padding-top: 1rem; }

.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .4rem; color: var(--plum); }
input[type=text], input[type=email], input[type=tel] {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); color: var(--plum); font-family: var(--font-body); font-size: .95rem;
}
input:focus { border-color: var(--rose); outline: none; }
.payment-option { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .75rem; cursor: pointer; }
.payment-option.disabled { opacity: .5; cursor: not-allowed; }
.payment-option input { margin-top: .2rem; }

/* ===== Honeypot ===== */
.visually-hidden { position: absolute; left: -9999px; }

/* ===== Cookie banner ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--plum); color: var(--ivory); padding: 1rem 1.5rem; display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; justify-content: space-between; z-index: 100; font-size: .88rem; box-shadow: 0 -4px 20px rgba(0,0,0,.15); }
.cookie-banner a { color: var(--gold); font-weight: 600; }
.cookie-banner button { flex-shrink: 0; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid, .studio-grid, .story-grid, .checkout-grid, .feature-band-grid, .newsletter { grid-template-columns: 1fr; }
  .feature-band + .feature-band .feature-band-grid > img { order: 0; }
  .faq-layout { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem .9rem; }
  .reassure-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem 0; }
  .reassure-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .reassure-item { padding: 0 .75rem; gap: .65rem; font-size: .8rem; }
  .reassure-item:first-child, .reassure-item:nth-child(3) { padding-left: 0; }
  .reassure-icon { flex-basis: 38px; height: 38px; }
  .reassure-icon svg { width: 18px; height: 18px; }
  .reassure-sub { display: none; }
  .reassure-item strong { font-size: .85rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .preview-panel { position: static; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--border); padding: .5rem 1.5rem 1rem; box-shadow: var(--shadow-soft); }
  .main-nav.open a { padding: .8rem 0; border-bottom: 1px solid var(--border); }
  .menu-toggle { display: block; color: var(--plum); }
  .steps-grid { grid-template-columns: 1fr; }
  .category-meta { flex-direction: column; gap: .1rem; padding-top: .5rem; }
  .category-meta h3, .category-meta .h3 { font-size: 1.05rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .product-card-body { padding: .7rem .75rem .9rem; gap: .25rem; }
  .product-card h3 { font-size: .95rem; }
  .product-card .price { font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero { padding: 2rem 0 3rem; }
  .section { padding: 3rem 0; }
  .newsletter-form { flex-direction: column; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Shop filters (product / occasion / recipient) ===== */
.h3 { font-size: 1.3rem; }
.category-overlay .h3 { color: var(--ivory); margin-bottom: .2rem; }
.shop-filters { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.filter-label { flex: 0 0 5.5rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.filter-chip { flex: 0 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: .45rem 1rem; font-size: .85rem; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.filter-chip:hover, .filter-chip.active { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.filter-chip:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.shop-count { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.shop-count a { text-decoration: underline; }
@media (max-width: 768px) {
  .filter-label { flex-basis: auto; }
  .filter-row { flex-wrap: nowrap; }
}

/* ===== Studio: customer choices (e.g. flower) ===== */
.prompt-option { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.option-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.option-chip { position: relative; cursor: pointer; }
.option-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-chip span { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--border); border-radius: 6px; background: var(--white); font-size: .85rem; font-weight: 600; transition: background .2s, color .2s; }
.option-chip input:checked + span { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.option-chip input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }

/* Category cards: title + price only (descriptions over photos were unreadable) */
.category-price { font-weight: 700; font-size: .85rem; }
.category-overlay { justify-content: flex-end; gap: .15rem; }
/* Occasion / recipient as two compact dropdowns */
.filter-selects { gap: .75rem; }
.filter-select select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2354383D' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .9rem center; border: 1px solid var(--border); border-radius: 6px; padding: .5rem 2.3rem .5rem 1rem; font: 600 .85rem var(--font-body); color: var(--plum); cursor: pointer; }
.filter-select select:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }

/* Template studio: quick-pick text chips, name rows with a flower picker */
.text-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.text-chip { border: 1px solid var(--border); background: var(--white); color: var(--plum); border-radius: 6px; padding: .38rem .8rem; font: 600 .82rem var(--font-body); cursor: pointer; }
.text-chip.is-active { background: var(--plum); color: var(--ivory); border-color: var(--plum); }
.text-chip:focus-visible, .flower-pick-btn:focus-visible, .flower-pick-opt:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.row-pairs { display: grid; gap: .6rem; margin-top: .9rem; }
.row-pair { display: grid; grid-template-columns: 1.6rem 1fr 1fr; gap: .4rem .6rem; align-items: end; padding: .6rem; border: 1px solid var(--border); border-radius: 14px; background: var(--white); }
.row-pair[hidden] { display: none; }
.row-pair-title { align-self: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--blush); color: var(--plum); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.row-pair-name, .flower-pick-label { display: block; font-size: .82rem; font-weight: 600; }
.row-pair-name input { width: 100%; }
.flower-pick { position: relative; }
.flower-pick-btn { width: 100%; display: flex; align-items: center; gap: .5rem; padding: .25rem .6rem .25rem .3rem; border: 1px solid var(--border); border-radius: 12px; background: var(--ivory); cursor: pointer; font: 600 .82rem var(--font-body); color: var(--plum); text-align: left; min-height: 44px; }
.flower-pick-btn img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.flower-pick-panel { position: absolute; z-index: 30; left: 0; top: calc(100% + 4px); width: min(340px, 86vw); max-height: 320px; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; padding: .5rem; background: var(--white); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 30px rgba(84,56,61,.18); }
.flower-pick-panel[hidden] { display: none; }
.flower-pick-opt { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .35rem .2rem; border: 1px solid transparent; border-radius: 10px; background: none; cursor: pointer; font: 600 .74rem var(--font-body); color: var(--plum); }
.flower-pick-opt img { width: 48px; height: 48px; object-fit: contain; }
.flower-pick-opt small { font-weight: 400; color: var(--muted); font-size: .7rem; line-height: 1.15; text-align: center; }
.flower-pick-opt:hover, .flower-pick-opt.is-active { border-color: var(--rose); background: var(--ivory); }
@media (max-width: 480px) {
  .row-pair { grid-template-columns: 1.6rem 1fr; position: relative; } .row-pair-name { grid-column: 2; }
  .flower-pick { position: static; } .flower-pick-panel { left: 0; right: 0; width: auto; top: auto; margin-top: 4px; }
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.contact-card { display: flex; flex-direction: column; gap: .35rem; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 1.4rem; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--rose); transform: translateY(-2px); }
.contact-card:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.contact-card strong { color: var(--plum); font-size: 1.05rem; word-break: break-word; }
.contact-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--plum); }
.contact-note { font-size: .85rem; color: var(--muted); }
.contact-info { background: var(--blush); border-radius: 16px; padding: 1.6rem; }
.contact-info ul { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.contact-info li { margin-bottom: .5rem; }

/* Christmas band */
.feature-band-xmas { background: #F6EEE9; }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem 3rem; align-items: start; }
.faq-layout .faq { margin: 0; max-width: none; }
.feature-band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.feature-band + .feature-band .feature-band-grid > img { order: 2; }
.feature-band-grid > img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.feature-band-grid h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.feature-band-grid p { color: var(--muted); }
.xmas-deadline { color: var(--plum); }

/* Faces pattern: one photo per person + oval cropper */
.face-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; margin-top: .6rem; }
.face-slot { display: flex; gap: .6rem; align-items: center; }
.face-slot[hidden] { display: none; }
.face-slot-box { position: relative; flex: 0 0 72px; height: 72px; border: 1.5px dashed var(--rose); border-radius: 12px; display: grid; place-items: center; cursor: pointer; overflow: hidden;
  background: repeating-conic-gradient(#f3ecea 0 25%, #fff 0 50%) 0 / 14px 14px; }
.face-slot-box:focus-within { outline: 2px solid var(--plum); outline-offset: 2px; }
.face-slot-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.face-slot-plus { font-size: 1.6rem; color: var(--rose); line-height: 1; }
.face-slot.has-face .face-slot-plus { display: none; }
.face-slot.has-face .face-slot-box { border-style: solid; }
.face-slot-thumb[hidden] { display: none; }
.face-slot-thumb { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.face-slot.is-busy .face-slot-plus { display: none; }
.face-slot.is-busy .face-slot-box { border-style: solid; }
.face-slot.is-busy .face-slot-thumb { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.face-slot.is-busy .face-slot-box::after { content: ""; position: absolute; width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.85); border-top-color: var(--plum); border-radius: 50%; animation: adora-spin .8s linear infinite; }
.face-slot-meta { display: flex; flex-direction: column; gap: .15rem; font-size: .8rem; min-width: 0; }
.face-slot-status { color: var(--muted); }
.face-slot-remove { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--rose); font-weight: 700; font-size: .8rem; cursor: pointer; text-decoration: underline; }
.motif-chip span { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem .3rem .4rem; }
.motif-chip img { width: 22px; height: 22px; }
.face-crop-dialog { border: 0; border-radius: 16px; padding: 1.2rem; width: min(520px, calc(100vw - 32px)); background: var(--white); color: var(--plum); }
.face-crop-dialog::backdrop { background: rgba(40, 25, 28, .55); }
.face-crop-dialog h2 { font-size: 1.4rem; margin: 0 0 .3rem; }
.face-crop-stage { position: relative; width: 100%; aspect-ratio: 1; margin: .6rem 0; border-radius: 12px; overflow: hidden; touch-action: none; }
.face-crop-stage canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.face-crop-stage canvas:focus-visible { outline: 3px solid var(--plum); outline-offset: -3px; }
/* the same oval the server keeps (centred, 84% wide, 88% tall — room above the hair) */
.face-crop-oval { position: absolute; left: 8%; top: 6%; width: 84%; height: 88%; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 999px rgba(255, 255, 255, .55); outline: 2px dashed var(--plum); }
.face-crop-zoom-label { font-size: .8rem; font-weight: 600; }
.face-crop-dialog input[type=range] { width: 100%; accent-color: var(--plum); }
.face-crop-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .8rem; }

/* --- SEO pages (landings, blog, terms) --- */
.h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.why-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .65rem; }
.why-list li { padding-left: 1.4rem; position: relative; }
.why-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--rose); }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner .btn-outline { background: transparent; color: var(--ivory); border: 1px solid rgba(248,243,240,.6); }
.page-intro { max-width: 68ch; color: var(--muted); margin: 0; }
.seo-copy { max-width: 72ch; }
.seo-copy h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2rem 0 .6rem; }
.seo-copy h3 { font-size: 1.2rem; margin: 1.4rem 0 .4rem; }
.seo-copy p, .seo-copy li { line-height: 1.75; }
.seo-copy ul { padding-left: 1.2rem; }
.seo-copy a { text-decoration: underline; text-underline-offset: 3px; }
.related-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.blog-card h2 { font-size: 1.35rem; margin: 0; }
.blog-card:hover h2 { text-decoration: underline; text-underline-offset: 3px; }
.blog-meta { font-size: .82rem; color: var(--muted); }
.footer-legal { font-size: .78rem; color: inherit; opacity: .8; line-height: 1.6; }
.promo-row { display: flex; gap: .5rem; margin-top: .75rem; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.promo-msg { font-size: .85rem; margin-top: .4rem; }
.promo-msg.ok { color: #15803d; }
.promo-msg.err { color: #b91c1c; }
.product-about { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.product-about-img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-md); }
@media (max-width: 760px) { .product-about { grid-template-columns: 1fr; gap: 1.25rem; } .product-about-img { max-width: 360px; } }
