/* ────────────────────────────────────────────────────────────────────────── *\
   Térkőkert Design System
   Palette: olive green / cream / stone grey / charcoal
\* ────────────────────────────────────────────────────────────────────────── */

/* ── 1. Custom properties ─────────────────────────────────────────────────── */
:root {
  /* Colours */
  --c-primary:       #6B7C4B;
  --c-primary-d:     #526038;
  --c-primary-l:     #8A9D6A;
  --c-bg:            #F5F0E8;
  --c-surface:       #E8E4DC;
  --c-surface-l:     #F0EDE5;
  --c-white:         #FFFFFF;
  --c-text:          #2C2C2C;
  --c-text-s:        #6B6B6B;
  --c-accent:        #C4A882;
  --c-accent-d:      #A8885E;
  --c-border:        #D4CEC6;
  --c-error:         #C0392B;
  --c-error-bg:      #FDECEA;
  --c-success:       #27AE60;
  --c-success-bg:    #EAF7EE;
  --c-info-bg:       #EAF2FB;
  --c-info:          #2980B9;
  --c-warning:       #E67E22;

  /* Typography */
  --f-heading: 'Playfair Display', Georgia, serif;
  --f-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;

  /* Border radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 20px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.08);
  --sh-md: 0 4px 12px rgba(0,0,0,.10);
  --sh-lg: 0 8px 24px rgba(0,0,0,.12);

  /* Transitions */
  --tr-fast: 150ms ease;
  --tr-base: 250ms ease;

  /* Layout */
  --max-w: 1200px;
  --px: clamp(1rem, 4vw, 2rem);
}

/* ── 2. Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:not([class]) { color: var(--c-primary); }
a:not([class]):hover { color: var(--c-primary-d); }
button { cursor: pointer; font: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
*:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

/* ── 3. Container / layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ── 4. Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-heading);
  line-height: 1.25;
  color: var(--c-text);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
.lead { font-size: 1.125rem; color: var(--c-text-s); }

/* ── 5. Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4em; padding: .6rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--f-body); font-weight: 600; font-size: .925rem;
  text-decoration: none;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast), box-shadow var(--tr-fast);
  white-space: nowrap;
}
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-primary   { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-d); color: #fff; }
.btn-outline   { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn-ghost     { background: transparent; color: var(--c-text-s); border-color: transparent; }
.btn-ghost:hover { color: var(--c-text); background: var(--c-surface); }
.btn-sm  { padding: .35rem .85rem; font-size: .85rem; }
.btn-lg  { padding: .8rem 1.75rem; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-icon { padding: .35rem; border-radius: var(--r-sm); }

/* ── 6. Alerts / banners ──────────────────────────────────────────────────── */
.alert {
  padding: .85rem 1rem; border-radius: var(--r-md);
  margin-bottom: 1.25rem; font-size: .925rem;
}
.alert ul { padding-left: 1.25rem; }
.alert-error   { background: var(--c-error-bg);   color: var(--c-error);   border: 1px solid #f5c2bf; }
.alert-success { background: var(--c-success-bg); color: #1e7e44;          border: 1px solid #c3e6cb; }
.alert-info    { background: var(--c-info-bg);    color: var(--c-info);    border: 1px solid #bee5eb; }

/* ── 7. Forms ─────────────────────────────────────────────────────────────── */
.form-group  { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-weight: 500; font-size: .9rem; }
.form-input {
  padding: .55rem .85rem;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  font: inherit; font-size: .95rem;
  background: #fff;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  width: 100%;
}
.form-input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(107,124,75,.15); outline: none; }
textarea.form-input { resize: vertical; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) { .form-row-2 { grid-template-columns: 1fr; } }
.form-section {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.form-section legend {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0 .5rem;
  color: var(--c-text);
}
.form-section .form-group { margin-top: 1rem; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; cursor: pointer;
  margin-top: .75rem;
}
.checkbox-label input[type="checkbox"] { margin-top: .2rem; flex-shrink: 0; accent-color: var(--c-primary); }

/* Quantity input */
.qty-input { display: flex; align-items: center; width: fit-content; }
.qty-btn {
  width: 2rem; height: 2rem;
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  border-radius: var(--r-sm);
  font-size: 1.2rem; font-weight: 600; line-height: 1;
  transition: background var(--tr-fast);
}
.qty-btn:hover { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.qty-field { width: 4rem; text-align: center; border-left: none; border-right: none; border-radius: 0; }
.qty-input-sm .qty-btn { width: 1.6rem; height: 1.6rem; font-size: 1rem; }
.qty-input-sm .qty-field { width: 3.75rem; font-size: .9rem; padding-left: .35rem; padding-right: .35rem; }

/* ── 8. Navigation ─────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 200; }
.nav {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--sh-sm);
}
.nav-inner {
  max-width: var(--max-w); margin-inline: auto; padding-inline: var(--px);
  height: 64px;
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo {
  font-family: var(--f-heading);
  font-size: 1.5rem; font-weight: 700;
  text-decoration: none; color: var(--c-text);
  white-space: nowrap; flex-shrink: 0;
}
.nav-logo span { color: var(--c-primary); }
.nav-links {
  display: flex; gap: 1.25rem; list-style: none; flex: 1;
}
.nav-link {
  text-decoration: none; font-size: .9rem; font-weight: 500;
  color: var(--c-text); transition: color var(--tr-fast);
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--tr-fast), color var(--tr-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--c-primary); border-bottom-color: var(--c-primary);
}
.nav-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.lang-switcher { font-size: .85rem; }
.lang-btn {
  display: inline-block; padding: .25rem .6rem;
  border: 1.5px solid var(--c-border); border-radius: var(--r-full);
  font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--c-text-s);
  transition: background var(--tr-fast), color var(--tr-fast);
}
.lang-btn:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.cart-btn {
  position: relative; display: flex; align-items: center;
  text-decoration: none; color: var(--c-text);
  padding: .35rem;
  transition: color var(--tr-fast);
}
.cart-btn:hover { color: var(--c-primary); }
.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--c-primary); color: #fff;
  font-size: .6rem; font-weight: 700; line-height: 1;
  width: 1rem; height: 1rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.6);
  transition: opacity var(--tr-base), transform var(--tr-base);
}
.cart-count.visible { opacity: 1; transform: scale(1); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .35rem;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-text); border-radius: 2px;
  transition: transform var(--tr-fast), opacity var(--tr-fast);
}
.nav-mobile {
  display: none; background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: 1rem var(--px);
}
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.nav-mobile .nav-link { display: block; padding: .5rem 0; font-size: 1rem; }
.nav-mobile.open { display: block; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── 9. Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--c-primary) 0%, #3E4F28 100%);
  color: #fff;
  padding: clamp(4rem, 10vw, 7rem) var(--px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 780px; margin-inline: auto; }
.hero-title {
  font-family: var(--f-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .9; max-width: 600px; margin: 0 auto 2rem;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── 10. USP bar ──────────────────────────────────────────────────────────── */
.usp-bar {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 1.5rem var(--px);
}
.usp-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem; list-style: none;
}
.usp-item {
  display: flex; align-items: flex-start; gap: .75rem;
}
.usp-icon {
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  color: var(--c-primary);
}
.usp-item strong { display: block; font-weight: 600; }
.usp-item p { font-size: .875rem; color: var(--c-text-s); margin: 0; }

/* ── 11. Sections ─────────────────────────────────────────────────────────── */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-title {
  font-family: var(--f-heading); font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: .5rem;
}
.section-title.light { color: #fff; }
.section-subtitle {
  color: var(--c-text-s); margin-bottom: 2.5rem; font-size: 1.05rem;
}
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ── 12. Product grid & cards ─────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.product-card-image-link {
  position: relative; display: block;
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--c-surface);
}
.product-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--tr-base);
}
.product-card:hover .product-card-img { transform: scale(1.04); }
.product-badge {
  position: absolute; top: .6rem; left: .6rem;
  background: var(--c-accent); color: #fff;
  font-size: .7rem; font-weight: 700;
  padding: .2rem .55rem; border-radius: var(--r-full);
  text-transform: uppercase; letter-spacing: .04em;
}
.badge-natural { background: var(--c-primary); }
.product-card-body {
  display: flex; flex-direction: column;
  padding: 1.1rem; gap: .5rem; flex: 1;
}
.product-card-title { font-size: 1rem; font-family: var(--f-heading); }
.product-card-title a { text-decoration: none; color: var(--c-text); }
.product-card-title a:hover { color: var(--c-primary); }
.product-card-desc { font-size: .85rem; color: var(--c-text-s); flex: 1; }
.product-card-meta { font-size: .8rem; color: var(--c-text-s); }
.product-size { background: var(--c-surface); padding: .15rem .5rem; border-radius: var(--r-full); }
.product-card-price {
  display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
  margin-top: .25rem;
}
.price-m2 { font-size: 1.15rem; font-weight: 700; color: var(--c-primary); }
.price-piece { font-size: .8rem; color: var(--c-text-s); }
.product-card-actions {
  display: flex; gap: .5rem; margin-top: auto; padding-top: .75rem;
  flex-wrap: wrap;
}

/* ── 13. Product detail ───────────────────────────────────────────────────── */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-top: 1.5rem;
}
@media (max-width: 768px) { .product-detail-layout { grid-template-columns: 1fr; } }
.product-img-main {
  width: 100%; border-radius: var(--r-lg);
  aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--c-border);
}
.product-thumbnails { display: flex; gap: .5rem; margin-top: .5rem; flex-wrap: wrap; }
.product-thumb {
  border: 2px solid var(--c-border); border-radius: var(--r-sm);
  overflow: hidden; padding: 0; background: none;
  cursor: pointer; transition: border-color var(--tr-fast);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--c-primary); }
.product-thumb img { width: 80px; height: 60px; object-fit: cover; }
.product-title { font-family: var(--f-heading); font-size: 1.8rem; margin: .5rem 0; }
.product-short-desc { color: var(--c-text-s); margin-bottom: 1rem; }
.product-price-block {
  background: var(--c-surface-l); border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 1.25rem; margin-bottom: 1.25rem;
}
.price-tabs { display: flex; gap: .5rem; margin-bottom: 1rem; }
.price-tab {
  padding: .35rem .85rem; border-radius: var(--r-full);
  border: 1.5px solid var(--c-border); background: #fff;
  font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}
.price-tab.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.price-large { font-size: 2rem; font-weight: 700; color: var(--c-primary); }
.price-unit-label { font-size: 1rem; color: var(--c-text-s); margin-left: .35rem; }
.add-to-cart-form { margin-bottom: 1.25rem; }
.add-to-cart-form .form-row {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: .75rem;
}
.add-to-cart-form label { font-weight: 500; white-space: nowrap; min-width: 80px; }
.product-quick-specs {
  display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem;
  font-size: .9rem; border-top: 1px solid var(--c-border); padding-top: 1rem;
}
.product-quick-specs dt { color: var(--c-text-s); font-weight: 500; }

/* ── 14. Calculator ───────────────────────────────────────────────────────── */
.calculator-section {
  background: linear-gradient(135deg, var(--c-primary) 0%, #3E4F28 100%);
  color: #fff;
}
.calculator-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
@media (max-width: 680px) { .calculator-inner { grid-template-columns: 1fr; } }
.calculator-text p { opacity: .9; margin-top: .5rem; }
.calculator-widget {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(4px);
  border-radius: var(--r-xl); padding: 1.75rem;
}
.calc-row { margin-bottom: 1rem; }
.calc-row label {
  display: block; font-size: .9rem; font-weight: 500;
  margin-bottom: .35rem; color: rgba(255,255,255,.9);
}
.calculator-widget .form-input {
  background: rgba(255,255,255,.9); border-color: transparent;
}
.calc-results {
  margin-top: 1.25rem; display: grid; gap: .75rem;
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 1.25rem;
}
.calc-result-item { display: flex; justify-content: space-between; align-items: center; }
.calc-result-label { font-size: .9rem; opacity: .85; }
.calc-result-value { font-weight: 700; font-size: 1.1rem; }
.calc-result-highlight .calc-result-value {
  font-size: 1.4rem; color: #FFE082;
}
.calc-note { opacity: .7; font-size: .8rem; margin-top: .75rem; }
/* Standalone calculator page */
.calculator-page-body {
  max-width: 640px;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.calculator-page-cta {
  margin-top: 2.5rem;
}
.calculator-widget-page {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--sh-md);
}
.calculator-widget-page .calc-row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.calculator-widget-page label { color: var(--c-text); font-weight: 500; }
.calculator-widget-page .form-input {
  background: #fff;
  border: 2px solid var(--c-accent);
  border-radius: var(--r-md);
  padding: .65rem .9rem;
  font-size: 1rem;
}
.calculator-widget-page .form-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(107,124,75,.15);
}
.calculator-widget-page .calc-note { color: var(--c-text-s); opacity: 1; margin-top: 1rem; }
.calc-results-page {
  border-top: 2px solid var(--c-border);
  padding-top: 1.25rem;
  margin-top: .5rem;
  color: var(--c-text);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.calc-results-page .calc-result-highlight .calc-result-value { color: var(--c-primary); }
/* Product page calc */
.product-calculator { border-top: 1px solid var(--c-border); padding-top: 2rem; }
.product-calc-widget {
  max-width: 500px; background: var(--c-surface-l);
  border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.5rem;
  margin-top: 1rem;
}
.product-calc-widget .calc-results {
  border-top: 1px solid var(--c-border); padding-top: 1rem;
  color: var(--c-text);
}
.product-calc-widget .calc-result-highlight .calc-result-value { color: var(--c-primary); }
.product-calc-widget label { color: var(--c-text); }
.product-calc-widget .calc-note { color: var(--c-text-s); }

/* ── 15. About snippet ────────────────────────────────────────────────────── */
.about-snippet {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.about-snippet-inner {
  max-width: 680px;
}
.why-list li {
  padding-left: 1.5rem; position: relative; font-size: .95rem;
}
.why-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--c-primary); font-weight: 700;
}

/* ── 16. Shop layout ──────────────────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  padding-top: 2rem; padding-bottom: 4rem;
}
@media (max-width: 768px) { .shop-layout { grid-template-columns: 1fr; } }
.shop-filters {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-lg); padding: 1.25rem;
  height: fit-content; position: sticky; top: 80px;
}
.filter-group { margin-bottom: 1.25rem; }
.filter-group h3 { font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; color: var(--c-text-s); }
.filter-radio { display: flex; align-items: center; gap: .5rem; font-size: .9rem; cursor: pointer; padding: .25rem 0; }
.filter-radio input[type="radio"] { accent-color: var(--c-primary); }
.no-results { text-align: center; padding: 3rem 0; color: var(--c-text-s); font-size: 1.1rem; }

/* ── 17. Cart ─────────────────────────────────────────────────────────────── */
.cart-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 2rem;
  align-items: start; padding-bottom: 4rem;
}
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); }
.cart-table th, .cart-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--c-border); }
.cart-table th { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-s); background: var(--c-surface); }
.cart-table tr:last-child td { border-bottom: none; }
.cart-product-cell { display: flex; align-items: center; gap: .75rem; }
.cart-product-img { width: 64px; height: 48px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; }
.cart-product-name { font-weight: 500; text-decoration: none; color: var(--c-text); }
.cart-product-name:hover { color: var(--c-primary); }
.cart-line-total { font-weight: 700; color: var(--c-primary); }
.cart-summary, .checkout-summary {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 1.5rem;
  position: sticky; top: 80px;
}
.cart-summary h2, .checkout-summary h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.summary-dl {
  display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem;
  align-items: baseline; border-top: 1px solid var(--c-border); padding-top: 1rem;
  margin-bottom: 1.25rem; font-size: .95rem;
}
.summary-dl dt { color: var(--c-text-s); }
.summary-dl dd { text-align: right; }
.summary-total { font-weight: 700; font-size: 1.1rem; color: var(--c-text); border-top: 1px solid var(--c-border); padding-top: .5rem; margin-top: .25rem; }
.hide-mobile { }
@media (max-width: 600px) { .hide-mobile { display: none; } }
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  padding: 4rem 0; gap: 1rem; color: var(--c-text-s); text-align: center;
}
.empty-state svg { opacity: .3; }

/* ── 18. Checkout ─────────────────────────────────────────────────────────── */
.checkout-container { padding-top: 2rem; padding-bottom: 4rem; }
.checkout-steps {
  display: flex; gap: 0; list-style: none;
  margin-bottom: 2rem; overflow: hidden; border-radius: var(--r-md);
  border: 1px solid var(--c-border);
}
.checkout-step {
  flex: 1; text-align: center; padding: .6rem .5rem;
  font-size: .8rem; font-weight: 600; background: var(--c-surface);
  color: var(--c-text-s); border-right: 1px solid var(--c-border);
}
.checkout-step:last-child { border-right: none; }
.checkout-step.done { background: var(--c-surface); color: var(--c-primary); }
.checkout-step.done a { text-decoration: none; color: inherit; }
.checkout-step.active { background: var(--c-primary); color: #fff; }
.checkout-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start;
}
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-form-cols { display: flex; flex-direction: column; }
.billing-extra { margin-top: 1rem; }
.payment-options { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.payment-option {
  display: block;
  border: 2px solid var(--c-border); border-radius: var(--r-lg);
  cursor: pointer; transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
}
.payment-option input[type="radio"] { display: none; }
.payment-option.selected { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(107,124,75,.15); }
.payment-option-inner { display: flex; align-items: flex-start; gap: 1rem; padding: .85rem 1rem; }
.payment-option-inner svg { flex-shrink: 0; color: var(--c-primary); margin-top: .15rem; }
.payment-option-inner p { font-size: .85rem; color: var(--c-text-s); margin: .2rem 0 0; }
.legal-checks { background: none; border: none; padding: 0; }
.submit-hint {
  font-size: .85rem;
  color: var(--c-text-s);
  margin-top: .6rem;
  text-align: center;
}
.checkout-item-list { list-style: none; margin-bottom: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.checkout-item { display: flex; align-items: center; gap: .75rem; }
.checkout-item img { width: 56px; height: 42px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name { display: block; font-size: .9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-item-qty { display: block; font-size: .8rem; color: var(--c-text-s); }
.checkout-item-price { font-weight: 600; white-space: nowrap; }

/* ── 19. Order confirmation ───────────────────────────────────────────────── */
.confirmation-container { padding-top: 3rem; padding-bottom: 5rem; }
.confirmation-header { text-align: center; margin-bottom: 2.5rem; }
.confirmation-icon {
  width: 80px; height: 80px; background: var(--c-success-bg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.confirmation-icon svg { color: var(--c-success); }
.confirmation-header h1 { color: var(--c-success); }
.confirmation-order-number { font-size: 1.1rem; color: var(--c-text-s); margin-top: .5rem; }
.confirmation-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
@media (max-width: 680px) { .confirmation-layout { grid-template-columns: 1fr; } }
.order-summary-table { width: 100%; border-collapse: collapse; }
.order-summary-table th, .order-summary-table td { padding: .6rem .5rem; border-bottom: 1px solid var(--c-border); }
.order-summary-table tfoot tr { background: var(--c-surface); }
.next-steps { padding-left: 1.5rem; display: flex; flex-direction: column; gap: .75rem; font-size: .95rem; }
.next-steps li { position: relative; }

/* ── 20. Static pages ─────────────────────────────────────────────────────── */
.page-header {
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 2.5rem var(--px);
}
.page-title { margin-bottom: .25rem; }
.page-last-updated { color: var(--c-text-s); font-size: .875rem; }
.content-page { padding-top: 2.5rem; padding-bottom: 4rem; }
.content-page h2 { margin-top: 2rem; margin-bottom: .75rem; font-size: 1.3rem; }
.content-page h3 { margin-top: 1.25rem; margin-bottom: .5rem; }
.content-page p { margin-bottom: .75rem; }
.content-page ul, .content-page ol { padding-left: 1.5rem; margin-bottom: .75rem; }
.content-page li { margin-bottom: .25rem; }
.content-cta { margin-top: 2rem; }
.legal-page .legal-notice {
  background: #FFF3CD; border: 1px solid #FFEEBA;
  border-radius: var(--r-md); padding: .85rem 1rem;
  font-size: .9rem; margin-bottom: 1.5rem;
}
.cookie-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
.cookie-table th, .cookie-table td { padding: .65rem .75rem; border: 1px solid var(--c-border); }
.cookie-table th { background: var(--c-surface); font-weight: 600; }

/* ── 21. Contact ──────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid; grid-template-columns: 260px 1fr; gap: 3rem;
  padding-top: 2.5rem; padding-bottom: 4rem;
}
@media (max-width: 680px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: .75rem; }
.contact-info-item svg { color: var(--c-primary); flex-shrink: 0; margin-top: .15rem; }
.contact-info-item strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.contact-form-section h2 { margin-bottom: 1.25rem; }

/* ── 22. FAQ ──────────────────────────────────────────────────────────────── */
.faq-page { padding-top: 2rem; padding-bottom: 4rem; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--c-border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0; font-weight: 600; font-size: .975rem;
  cursor: pointer; user-select: none;
}
.faq-question::after {
  content: '+'; font-size: 1.5rem; color: var(--c-primary);
  transition: transform var(--tr-fast); flex-shrink: 0; margin-left: 1rem;
}
.faq-question.open::after { transform: rotate(45deg); }
.faq-answer { padding: 0 0 1.1rem; color: var(--c-text-s); font-size: .95rem; line-height: 1.7; }

/* ── 23. Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-text);
  color: rgba(255,255,255,.8);
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max-w); margin-inline: auto; padding: 3rem var(--px) 2rem;
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo { font-family: var(--f-heading); font-size: 1.6rem; font-weight: 700; text-decoration: none; color: #fff; display: inline-block; margin-bottom: .5rem; }
.footer-logo span { color: var(--c-primary-l); }
.footer-tagline { font-size: .875rem; opacity: .7; }
.footer-delivery { font-size: .8rem; opacity: .55; margin-top: .25rem; }
.footer-col h3 { color: rgba(255,255,255,.5); font-size: .75rem; font-family: var(--f-body); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-col a { text-decoration: none; font-size: .875rem; opacity: .8; transition: opacity var(--tr-fast); }
.footer-col a:hover { opacity: 1; color: #fff; }
.footer-col address { font-style: normal; display: flex; flex-direction: column; gap: .4rem; }
.footer-col address p { display: flex; align-items: center; gap: .4rem; font-size: .875rem; }
.footer-col address a { opacity: .8; text-decoration: none; }
.footer-col address a:hover { opacity: 1; }
.payment-icons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.payment-badge {
  font-size: .75rem; padding: .2rem .6rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-full); opacity: .7;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--max-w); margin-inline: auto;
  padding: 1rem var(--px); font-size: .8rem; opacity: .5;
}

/* ── 24. Cookie banner ────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--c-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  z-index: 9999; padding: 1rem var(--px);
}
.cookie-banner-inner {
  max-width: var(--max-w); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 280px; font-size: .9rem; }
.cookie-banner-text p { margin: 0; }
.cookie-banner-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-preferences {
  max-width: var(--max-w); margin: 1rem auto 0;
  border-top: 1px solid var(--c-border); padding-top: 1rem;
  display: flex; flex-direction: column; gap: .75rem;
}
.cookie-pref-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; font-size: .875rem;
}
.cookie-pref-row input[type="checkbox"] { margin-top: .25rem; accent-color: var(--c-primary); flex-shrink: 0; }
.cookie-pref-row p { color: var(--c-text-s); margin: .2rem 0 0; font-size: .8rem; }

/* ── 25. Breadcrumb ───────────────────────────────────────────────────────── */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; font-size: .875rem; color: var(--c-text-s); }
.breadcrumb li + li::before { content: '/'; margin-right: .25rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── 26. Error pages ──────────────────────────────────────────────────────── */
.error-page {
  text-align: center; padding: 6rem 0;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.error-code { font-size: 8rem; font-weight: 700; color: var(--c-border); line-height: 1; }
.error-details {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-md); padding: 1rem;
  text-align: left; font-size: .8rem; max-width: 100%; overflow: auto;
}

/* ── 27. Toast notification ───────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  z-index: 10000; pointer-events: none;
}
.toast {
  background: var(--c-text); color: #fff;
  padding: .75rem 1.25rem; border-radius: var(--r-md);
  font-size: .9rem; box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: .5rem;
  animation: toastIn .3s ease; pointer-events: auto;
}
.toast.success { background: var(--c-success); }
.toast.error   { background: var(--c-error);   }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 28. Card ─────────────────────────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-lg); box-shadow: var(--sh-sm);
}
