/* ===== Known - design system for Znamkovo ===== */
:root {
  --forest-900: #0e2b22;
  --forest-800: #13342b;
  --forest-700: #1d4336;
  --forest-600: #2c5c48;
  --beige-100: #f7f1e3;
  --beige-200: #e8dcc0;
  --beige-300: #d8c9a3;
  --maroon-500: #9c3b3b;
  --maroon-600: #7e2e2e;
  --ink: #1b1510;
  --radius: 10px;
  --shadow-1: 0 2px 10px rgba(14,43,34,.12);
  --shadow-2: 0 18px 40px rgba(14,43,34,.22);
  --measure: 68ch;
  --font-display: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
  --font-body: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--beige-100);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0 0 .5em; line-height: 1.12; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--maroon-500); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--forest-900); color: var(--beige-100); padding: .6em 1em; z-index: 200; }
.skip-link:focus { left: 0; }

/* ----- layout helpers ----- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; } .mb-lg { margin-bottom: 48px; }
.flex { display: flex; } .flex-wrap { flex-wrap: wrap; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-sm { gap: 12px; } .gap-md { gap: 20px; }

/* ----- reveal / motion ----- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease, clip-path .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { transition: none !important; opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ----- header ----- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--forest-900); color: var(--beige-100); box-shadow: var(--shadow-1); }
.site-header__inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--beige-100); }
.logo__mark { width: 38px; height: 38px; color: var(--beige-200); flex: none; }
.logo__word { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .02em; }
.nav-toggle { display: none; background: none; border: none; color: var(--beige-100); padding: 8px; }
.nav-close { display: none; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { font-size: .95rem; padding: 6px 2px; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--maroon-500); transition: width .25s ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { width: 100%; }
.nav-cart { display: flex; align-items: center; gap: 6px; background: var(--forest-700); padding: 8px 14px; border-radius: 999px; }
.nav-cart::after { display: none; }
.cart-count { background: var(--maroon-500); color: var(--beige-100); border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; padding: 0 5px; }
.cart-count.bump { animation: bump .4s ease; }
@keyframes bump { 0%{transform:scale(1)} 35%{transform:scale(1.4)} 100%{transform:scale(1)} }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: var(--forest-900); flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px;
    transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s ease; z-index: 150; }
  .site-nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-close { display: inline-flex; background: none; border: none; color: var(--beige-100); align-self: flex-end; padding: 6px; }
  .nav-cart { margin-top: auto; }
}

/* ----- footer ----- */
.site-footer { background: var(--forest-900); color: var(--beige-200); margin-top: 64px; }
.footer-divider { width: 100%; height: 30px; color: var(--forest-700); display: block; }
.site-footer__inner { max-width: 1180px; margin: 0 auto; padding: 8px 24px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__inner { grid-template-columns: 1fr; } }
.footer-col h3 { font-family: var(--font-body); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: var(--beige-300); margin-bottom: .8em; }
.footer-col a { display: block; padding: 4px 0; opacity: .9; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-brand p { opacity: .85; font-size: .92rem; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input[type="email"] { flex: 1; min-width: 140px; padding: 10px 12px; border-radius: 6px; border: 1px solid var(--forest-600); background: var(--forest-800); color: var(--beige-100); }
.form-msg { font-size: .85rem; min-height: 1.2em; margin-top: 6px; }
.form-msg.is-ok { color: #b9e3c6; }
.form-msg.is-error { color: #f0b3b3; }
.site-footer__bottom { text-align: center; padding: 16px 0; border-top: 1px solid var(--forest-700); font-size: .85rem; opacity: .75; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----- buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-size: .95rem; font-weight: 600; border: 2px solid transparent; min-height: 44px; position: relative; overflow: hidden; isolation: isolate; transition: color .3s ease, border-color .3s ease, transform .2s ease; }
.btn::before { content: ""; position: absolute; inset: 0; left: -100%; width: 100%; background: currentColor; z-index: -1; transition: left .35s ease; }
.btn-solid { background: var(--maroon-500); color: var(--beige-100); }
.btn-solid:hover { transform: translateY(-2px); background: var(--maroon-600); }
.btn-outline { border-color: var(--forest-800); color: var(--forest-800); background: transparent; }
.btn-outline::before { background: var(--forest-800); color: var(--beige-100); }
.btn-outline:hover { color: var(--beige-100); }
.btn-outline:hover::before { left: 0; }
.btn-ghost-dark { border-color: var(--beige-300); color: var(--beige-100); background: transparent; }
.btn-ghost-dark::before { background: var(--beige-200); }
.btn-ghost-dark:hover { color: var(--forest-900); }
.btn-ghost-dark:hover::before { left: 0; }
.btn-sm { padding: 9px 18px; font-size: .85rem; min-height: 38px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ----- hero (home) ----- */
.hero { position: relative; padding: 48px 0 80px; overflow: hidden; background: linear-gradient(180deg, var(--forest-900), var(--forest-800)); color: var(--beige-100); }
.hero__inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } }
.hero__frame { border: 10px solid var(--beige-200); border-radius: 4px; padding: 10px; background: var(--forest-700); box-shadow: var(--shadow-2); position: relative; }
.hero__frame::after { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(232,220,192,.5); pointer-events: none; }
.hero__media { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; position: relative; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.15) saturate(1.1); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transition: clip-path 1.1s cubic-bezier(.65,0,.35,1); }
.hero__media.is-revealed img { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin-bottom: .4em; }
.hero__eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--beige-300); display: block; margin-bottom: 1em; }
.hero p.lead { font-size: 1.1rem; max-width: 46ch; opacity: .92; }
.hero__ornament { position: absolute; top: -40px; right: -60px; width: 320px; opacity: .25; color: var(--beige-300); }

/* ----- grain overlay ----- */
.grain-overlay { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; opacity: .05; mix-blend-mode: overlay; z-index: 1; }

/* ----- section titles ----- */
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: left; }
.section-head .eyebrow { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--maroon-500); display: block; margin-bottom: .6em; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }

/* ----- product card / strip ----- */
.product-strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.product-strip .product-card { min-width: 260px; scroll-snap-align: start; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.product-card { background: var(--beige-100); border: 1px solid var(--beige-300); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.product-card__media { aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__body { padding: 16px; }
.product-card__category { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--forest-600); }
.product-card__name { font-size: 1.05rem; margin: .3em 0; }
.product-card__price { font-weight: 700; color: var(--maroon-600); font-size: 1.1rem; }
.product-card__price .old { text-decoration: line-through; color: #9b8f78; font-weight: 400; margin-right: 6px; font-size: .9em; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }

/* ----- page hero (inner pages) ----- */
.page-hero { background: var(--forest-900); color: var(--beige-100); padding: 56px 0 44px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .3em; }
.page-hero p { max-width: 60ch; opacity: .9; margin-bottom: 0; }
.page-hero__pattern { position: absolute; right: -40px; top: -40px; width: 220px; opacity: .18; color: var(--beige-300); }

/* ----- breadcrumbs ----- */
.breadcrumbs { font-size: .85rem; display: flex; gap: 6px; flex-wrap: wrap; color: var(--beige-300); margin-top: 10px; }
.breadcrumbs a { text-decoration: underline; }
.breadcrumbs span[aria-hidden] { opacity: .6; }

/* ----- prose (legal pages) ----- */
.prose { max-width: var(--measure); margin: 0 auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.2em; }
.prose p, .prose li { color: #332c23; }
.prose ul, .prose ol { margin: 0 0 1em 1.2em; }
.prose li { margin-bottom: .4em; }

/* ----- legal toc ----- */
.legal-toc { background: #fff; border: 1px solid var(--beige-300); border-radius: var(--radius); padding: 20px 24px; max-width: var(--measure); margin: 0 auto 32px; }
.legal-toc h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6em; }
.legal-toc ol { margin-left: 1.2em; }
.legal-toc a { text-decoration: underline; }

/* ----- notice ----- */
.notice { border-left: 3px solid var(--forest-600); background: #fff; padding: 16px 20px; border-radius: 6px; margin: 1.4em 0; }
.notice.notice-warn { border-left-color: var(--maroon-500); }

/* ----- forms ----- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 640px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.field-wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea { padding: 11px 13px; border: 1px solid var(--beige-300); border-radius: 6px; background: #fff; font-family: inherit; font-size: .95rem; accent-color: var(--maroon-500); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest-600); }
.field textarea { resize: vertical; min-height: 110px; }
.field-error { color: var(--maroon-600); font-size: .8rem; min-height: 1.1em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--maroon-600); }

/* ----- FAQ ----- */
.faq { max-width: var(--measure); margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--beige-300); border-radius: 8px; padding: 4px 18px; }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--maroon-500); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding-bottom: 14px; margin: 0; color: #332c23; }

/* ----- product detail ----- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__media { border: 8px solid var(--beige-200); border-radius: 4px; overflow: hidden; }
.product-detail__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-detail__price { font-size: 1.6rem; font-weight: 700; color: var(--maroon-600); margin: .4em 0; }
.product-detail__meta { list-style: none; margin: 1em 0; padding: 0; border-top: 1px solid var(--beige-300); }
.product-detail__meta li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--beige-300); font-size: .92rem; }
.qty-row { display: flex; align-items: center; gap: 12px; margin: 1em 0; }
.qty-row input { width: 64px; padding: 10px; border: 1px solid var(--beige-300); border-radius: 6px; text-align: center; }

/* ----- cart ----- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 10px; border-bottom: 1px solid var(--beige-300); text-align: left; vertical-align: middle; }
.cart-table img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.cart-row__name { display: flex; gap: 12px; align-items: center; }
.cart-summary { max-width: 360px; margin-left: auto; background: #fff; border: 1px solid var(--beige-300); border-radius: var(--radius); padding: 22px; margin-top: 24px; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 6px 0; }
.cart-summary__row.total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--beige-300); padding-top: 12px; margin-top: 6px; }
.cart-empty { text-align: center; padding: 60px 20px; color: #6b6150; }

/* ----- contact layout ----- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-info-list svg { flex: none; color: var(--maroon-500); margin-top: 2px; }

/* ----- album planner (signature feature) ----- */
.album-planner { background: var(--forest-800); color: var(--beige-100); border-radius: 16px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
@media (max-width: 800px) { .album-planner { grid-template-columns: 1fr; } }
.album-planner__controls label { display: block; margin-bottom: 18px; font-size: .9rem; }
.album-planner__controls input[type="range"] { width: 100%; accent-color: var(--maroon-500); margin-top: 8px; }
.album-planner__controls select { width: 100%; margin-top: 8px; padding: 10px; border-radius: 6px; border: 1px solid var(--forest-600); background: var(--forest-700); color: var(--beige-100); }
.album-planner__stats { display: flex; gap: 24px; margin-top: 10px; flex-wrap: wrap; }
.album-planner__stat strong { display: block; font-size: 1.7rem; font-family: var(--font-display); color: var(--beige-200); }
.album-planner__stat span { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.album-planner__page { background: var(--forest-900); border-radius: 8px; padding: 16px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.ap-cell { aspect-ratio: 3/4; border-radius: 2px; border: 1px dashed rgba(232,220,192,.35); }
.ap-cell.is-filled { background: var(--maroon-500); border-style: solid; border-color: var(--maroon-600); }

/* ----- misc decorative ----- */
.badge-seal { color: var(--maroon-500); }
.divider-ornament { width: 100%; height: 36px; color: var(--forest-700); }

/* COMPONENTS: .container - centered max-width wrapper */
/* COMPONENTS: .section - vertical section padding rhythm */
/* COMPONENTS: .grid/.grid-2/.grid-3/.grid-4 - responsive grid utilities */
/* COMPONENTS: .reveal/.reveal-stagger - scroll-reveal animation hooks (JS adds .in-view) */
/* COMPONENTS: .site-header/.site-nav/.nav-toggle/.nav-cart - site header and navigation */
/* COMPONENTS: .site-footer/.footer-col/.newsletter-form - footer layout and newsletter form */
/* COMPONENTS: .btn/.btn-solid/.btn-outline/.btn-ghost-dark/.btn-sm - button variants with fill-sweep hover */
/* COMPONENTS: .hero/.hero__frame/.hero__media - home hero with framed masked image reveal */
/* COMPONENTS: .grain-overlay - fixed full-viewport SVG grain texture */
/* COMPONENTS: .section-head - eyebrow + heading block for sections */
/* COMPONENTS: .product-strip/.product-grid/.product-card - product listing card and layouts */
/* COMPONENTS: .page-hero/.page-hero__pattern - inner-page hero banner */
/* COMPONENTS: .breadcrumbs - inner-page breadcrumb trail */
/* COMPONENTS: .prose - readable long-form legal text measure */
/* COMPONENTS: .legal-toc - table of contents box for legal pages */
/* COMPONENTS: .notice/.notice-warn - callout box for important info/warnings */
/* COMPONENTS: .form-grid/.field/.field-error - form layout, field group, inline error */
/* COMPONENTS: .faq/.faq-item - accordion FAQ using details/summary */
/* COMPONENTS: .product-detail/.product-detail__meta/.qty-row - product detail page layout */
/* COMPONENTS: .cart-table/.cart-summary/.cart-empty - cart/checkout table and summary */
/* COMPONENTS: .contact-layout/.contact-info-list - contact page two-column layout */
/* COMPONENTS: .album-planner - signature interactive album page planner feature */
/* COMPONENTS: .cookie-banner - fixed bottom cookie consent banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; background: var(--forest-900); color: var(--beige-100); border-radius: 12px; padding: 18px 22px; box-shadow: var(--shadow-2); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; max-width: 820px; margin: 0 auto; }
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; font-size: .9rem; }
.cookie-banner a { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ----- product detail page ----- */
.product-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .product-section { grid-template-columns: 1fr; } }
.product-image { border: 8px solid var(--beige-200); border-radius: 4px; overflow: hidden; }
.product-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-info h1 { font-size: 1.8rem; margin-bottom: 1em; }
.product-badge { display: inline-block; background: var(--forest-700); color: var(--beige-100); padding: 6px 12px; border-radius: 20px; font-size: .85rem; margin-bottom: 1em; }
.product-meta { list-style: none; margin: 1.5em 0; padding: 0; }
.product-meta-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--beige-300); font-size: .95rem; }
.product-price-block { margin: 1.5em 0; padding: 1.2em; background: var(--beige-200); border-radius: var(--radius); }
.price-old { text-decoration: line-through; opacity: .6; margin-right: .8em; }
.price-current { font-size: 1.4rem; font-weight: 700; color: var(--maroon-600); }
.product-description { font-size: 1.05rem; line-height: 1.65; margin: 1.5em 0; }
.product-specs { background: #fff; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--beige-300); margin: 1.5em 0; }
.product-specs h3 { margin-top: 0; }
.product-specs ul { margin-left: 0; }
.product-specs li { list-style: none; padding: 8px 0; border-bottom: 1px solid var(--beige-300); display: flex; justify-content: space-between; }
.spec-label { font-weight: 600; }
.spec-value { opacity: .8; }
.product-actions { margin-top: 2em; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-control label { font-size: .9rem; font-weight: 600; }
.qty-control input { width: 60px; padding: 10px; border: 1px solid var(--beige-300); border-radius: 6px; text-align: center; }
.breadcrumb-back { display: inline-flex; align-items: center; gap: 6px; color: var(--maroon-500); font-size: .9rem; margin-bottom: 1.5em; }
.breadcrumb-back:hover { opacity: .8; }

/* ----- cart page ----- */
.cart-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
@media (max-width: 1000px) { .cart-wrapper { grid-template-columns: 1fr; } }
.cart-items { background: #fff; border: 1px solid var(--beige-300); border-radius: var(--radius); overflow: hidden; }
.cart-sidebar { display: flex; flex-direction: column; gap: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; }
.summary-total { font-weight: 700; font-size: 1.3rem; color: var(--maroon-600); }
.summary-note { font-size: .9rem; opacity: .75; margin-top: 0.5em; }
.checkout-form { background: #fff; padding: 20px; border: 1px solid var(--beige-300); border-radius: var(--radius); }
.checkout-form h2 { margin-top: 0; font-size: 1.2rem; }
.form-group { margin-bottom: 1.2em; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--beige-300); border-radius: 6px; font-family: inherit; font-size: .95rem; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--maroon-500); box-shadow: 0 0 0 2px rgba(156,59,59,.15); }
.form-group.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-group.checkbox input { width: auto; margin-top: 4px; }
.form-group.checkbox label { margin-bottom: 0; }
.required { color: var(--maroon-500); }
.btn-remove { background: none; border: none; color: var(--maroon-500); font-size: .85rem; text-decoration: underline; cursor: pointer; padding: 0; }
.btn-remove:hover { opacity: .7; }
.qty-input { width: 70px; text-align: center; }

/* ----- contact page ----- */
.contact-form { background: #fff; padding: 24px; border: 1px solid var(--beige-300); border-radius: var(--radius); }
.contact-info { margin: 2em 0; }
.contact-info p { margin-bottom: 1.5em; }
.contact-info a { color: var(--maroon-500); text-decoration: underline; }

/* ----- legal pages ----- */
.legal-text { max-width: var(--measure); margin: 0 auto; }
.legal-text h2 { margin-top: 1.8em; font-size: 1.3rem; }
.legal-text h3 { margin-top: 1.2em; font-size: 1.1rem; }
.legal-text p, .legal-text li { color: #332c23; line-height: 1.7; }
.legal-text ul, .legal-text ol { margin-left: 1.5em; margin-bottom: 1em; }
.legal-text li { margin-bottom: 0.4em; }

/* ----- faq page ----- */
.faq-list { max-width: var(--measure); margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-question { cursor: pointer; font-weight: 600; padding: 14px 0; }
.faq-answer { padding: 0 0 14px 0; color: #332c23; }

/* ----- gap helpers (large) ----- */
.gap-lg { gap: 48px; }
@media (max-width: 600px) { .gap-lg { gap: 24px; } }

/* ----- footer newsletter ----- */
.footer-newsletter {
  background: var(--forest-800);
  color: var(--beige-100);
  padding: 24px;
  border-radius: var(--radius);
}

/* ----- cart row ----- */
.cart-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--beige-300);
}
.cart-row:last-child {
  border-bottom: none;
}

/* ----- loading state ----- */
.loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--forest-600);
  font-size: 1rem;
}
