/* Yero Lopa — nábytek a bydlení | shared stylesheet */

:root {
  --bg: #faf7f2;
  --paper: #ffffff;
  --sand: #efe9e0;
  --sand-2: #f3ede4;
  --ink: #2e2a26;
  --ink-soft: #4a443d;
  --text: #5c544c;
  --muted: #7a7069;
  --faint: #a2988c;
  --line: #e7e3dc;
  --line-2: #e0d8cc;
  --accent: #8a5a3b;
  --accent-hover: #6b4229;
  --footer-bg: #26221f;
  --footer-line: #3a342f;
  --footer-text: #bdb4a8;
  --footer-muted: #8f867b;

  --font-serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
::selection { background: #e5d9c8; }

img { max-width: 100%; display: block; }

button {
  font-family: var(--font-sans);
  cursor: pointer;
}

@keyframes yl-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.rise { animation: yl-rise .5s ease both; }

/* Layout */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-article { max-width: 820px; margin: 0 auto; padding: 0 24px; }

main { flex: 1; }

/* Topbar */
.topbar {
  background: var(--ink);
  color: #e7e0d6;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
}
.topbar .topbar-right { display: flex; gap: 18px; flex-wrap: wrap; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-name {
  font-family: var(--font-serif);
  font-size: 25px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.logo .logo-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-top: 5px;
}

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  flex-wrap: wrap;
  font-size: 15px;
}
.main-nav a {
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
}

.cart-btn {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cart-btn:hover { background: var(--ink); color: var(--bg); }
.cart-count {
  background: var(--accent);
  color: #fff;
  border-radius: 99px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  padding: 0 6px;
}

/* Buttons */
.btn {
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.05em;
  padding: 16px 30px;
  border-radius: 2px;
  border: none;
  display: inline-block;
  text-align: center;
}
.btn-dark { background: var(--ink); color: var(--bg); border: none; }
.btn-dark:hover { background: var(--accent); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid #cbc2b6; }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: var(--sand); color: var(--ink); border: none; }
.btn-light:hover { background: var(--accent); color: #fff; }
.btn-ghost-light { background: transparent; color: var(--sand); border: 1px solid var(--sand); }
.btn-ghost-light:hover { background: var(--sand); color: var(--ink); }
.btn-small {
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 13px;
  padding: 9px 15px;
  border-radius: 2px;
}
.btn-small:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; }

.link-arrow { cursor: pointer; font-size: 15px; color: var(--accent); border-bottom: 1px solid #d9c9b6; }

/* Kicker / eyebrow */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 18px;
}

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; margin: 0; }

/* Hero */
.hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f3ede4 0%, #faf7f2 100%);
}
.hero .container {
  padding: 72px 24px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: 60px; line-height: 1.06; margin: 0 0 24px; text-wrap: balance; }
.hero p.lead { font-size: 18px; line-height: 1.75; color: var(--text); margin: 0 0 32px; max-width: 52ch; text-wrap: pretty; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .stat-num { font-family: var(--font-serif); font-size: 28px; }
.hero-stats .stat-label { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 14px;
}
.hero-grid .span-2 { grid-column: 1 / span 2; }
.photo {
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #fff;
  background: linear-gradient(0deg, rgba(20,17,14,0.55), rgba(20,17,14,0));
}

/* Perks bar */
.perks {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.perks .container {
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.perk-title { font-family: var(--font-serif); font-size: 17px; margin-bottom: 6px; }
.perk-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Section headers */
.section { max-width: 1240px; margin: 0 auto; padding: 76px 24px 24px; }
.section-tight { padding-top: 60px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 38px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* Category cards */
.category-card {
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  overflow: hidden;
  display: block;
}
.category-card:hover { border-color: var(--accent); }
.category-card .photo { height: 150px; border-radius: 0; }
.category-card .body { padding: 16px 16px 18px; }
.category-card .cat-name { font-family: var(--font-serif); font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.category-card .cat-note { font-size: 13px; color: var(--muted); }

/* Product cards */
.product-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.product-card .photo { height: 210px; border-radius: 0; position: relative; }
.product-card.shop-card .photo { height: 220px; }
.product-card .badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  font-size: 11px;
  padding: 4px 9px;
  letter-spacing: 0.06em;
}
.product-card .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card.shop-card .body { padding: 18px; gap: 9px; }
.product-card .cat-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--faint); }
.product-card .p-name { font-family: var(--font-serif); font-size: 19px; color: var(--ink); }
.product-card.shop-card .p-name { font-size: 20px; }
.product-card .p-short { font-size: 13px; color: var(--muted); line-height: 1.5; }
.product-card.shop-card .p-short { font-size: 13.5px; line-height: 1.55; }
.product-card .p-dims { font-size: 12.5px; color: var(--faint); font-family: var(--font-mono); }
.product-card .p-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px;
}
.product-card.shop-card .p-foot { padding-top: 14px; }
.product-card .p-price { font-size: 17px; }
.product-card.shop-card .p-price { font-size: 18px; }

/* Approach / feature split */
.feature-split {
  background: var(--sand-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 60px;
}
.feature-split .container {
  padding: 72px 24px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.feature-split .photo { height: 360px; }
.feature-split h2 { font-size: 40px; margin: 0 0 20px; line-height: 1.15; }
.feature-split p { font-size: 17px; line-height: 1.75; color: var(--text); margin: 0 0 16px; text-wrap: pretty; }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.mini-card {
  background: var(--bg);
  border: 1px solid var(--line-2);
  padding: 18px;
  border-radius: 2px;
}
.mini-card .mini-title { font-family: var(--font-serif); font-size: 20px; margin-bottom: 6px; }
.mini-card .mini-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Article teaser cards */
.article-card {
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card:hover { border-color: var(--accent); }
.article-card .photo { height: 180px; border-radius: 0; }
.blog-page .article-card .photo { height: 190px; }
.article-card .body { padding: 20px; }
.blog-page .article-card .body { padding: 22px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.article-card .a-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--faint); margin-bottom: 10px; }
.article-card .a-title { font-family: var(--font-serif); font-size: 21px; line-height: 1.3; margin-bottom: 10px; color: var(--ink); }
.blog-page .article-card .a-title { font-size: 22px; line-height: 1.28; margin-bottom: 0; }
.article-card .a-lead { font-size: 14px; color: var(--muted); line-height: 1.6; }
.blog-page .article-card .a-lead { font-size: 14.5px; line-height: 1.65; }
.article-card .a-more { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--accent); }

/* Reviews */
.reviews { max-width: 1240px; margin: 0 auto; padding: 64px 24px; }
.review-quote { border-left: 2px solid #d9c9b6; padding: 6px 0 6px 20px; }
.review-text { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 14px; text-wrap: pretty; }
.review-who { font-size: 13px; color: var(--accent); letter-spacing: 0.05em; }

/* Newsletter */
.newsletter { background: var(--ink); color: var(--sand); }
.newsletter .container {
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter h2 { font-size: 34px; margin: 0 0 12px; color: var(--sand); }
.newsletter p { font-size: 16px; line-height: 1.7; color: var(--footer-text); margin: 0; max-width: 46ch; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 220px;
  background: transparent;
  border: 1px solid #5c544c;
  color: var(--sand);
  padding: 15px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  border-radius: 2px;
}
.newsletter-form input::placeholder { color: #a89f92; }
.form-msg { width: 100%; font-size: 12px; color: #8f867b; min-height: 16px; }
.form-msg.ok { color: #cdbfa8; }
.form-msg.err { color: #d98b6b; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Page hero (inner pages) */
.page-head { max-width: 1240px; margin: 0 auto; padding: 52px 24px 20px; }
.page-head h1 { font-size: 46px; margin: 0 0 16px; }
.page-head .lead { font-size: 17px; line-height: 1.7; color: var(--text); max-width: 70ch; margin: 0 0 30px; }

/* Shop filters */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 1px solid var(--line);
  align-items: center;
}
.filter-pill {
  cursor: pointer;
  border: 1px solid #d5cec4;
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
}
.filter-pill:hover, .filter-pill.active { border-color: var(--accent); color: var(--accent); }
.filter-count { margin-left: auto; align-self: center; font-size: 14px; color: var(--muted); }

.shop-section { max-width: 1240px; margin: 0 auto; padding: 30px 24px 80px; }
.info-panel {
  margin-top: 56px;
  background: var(--sand-2);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.info-panel .info-title { font-family: var(--font-serif); font-size: 20px; margin-bottom: 8px; }
.info-panel .info-desc { font-size: 14.5px; color: var(--text); line-height: 1.65; }

/* Article detail page */
.article-detail { max-width: 820px; margin: 0 auto; padding: 52px 24px 80px; }
.article-detail .back-link { cursor: pointer; font-size: 14px; color: var(--accent); }
.article-detail .a-meta { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--faint); margin: 26px 0 14px; }
.article-detail h1 { font-size: 44px; line-height: 1.12; margin: 0 0 22px; text-wrap: balance; }
.article-detail .a-lead { font-size: 19px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 32px; text-wrap: pretty; }
.article-detail .hero-photo { height: 320px; margin-bottom: 44px; }
.article-detail .a-section { margin-bottom: 38px; }
.article-detail .a-section h2 { font-size: 29px; margin: 0 0 16px; line-height: 1.25; }
.article-detail .a-section p { font-size: 17px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 16px; text-wrap: pretty; }
.checklist-box { background: var(--sand-2); border: 1px solid var(--line); padding: 28px; border-radius: 2px; margin-bottom: 44px; }
.checklist-box .cb-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 14px; }
.checklist-box .cb-item { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #e5ddd0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.checklist-box .cb-item:last-child { border-bottom: none; }
.checklist-box .cb-item .dash { color: var(--accent); }
.related-block { border-top: 1px solid var(--line); padding-top: 32px; }
.related-block .rb-title { font-family: var(--font-serif); font-size: 24px; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.related-card {
  cursor: pointer; border: 1px solid var(--line); background: var(--paper); padding: 18px; border-radius: 2px; display: block;
}
.related-card:hover { border-color: var(--accent); }
.related-card .rc-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--faint); margin-bottom: 9px; }
.related-card .rc-title { font-family: var(--font-serif); font-size: 19px; line-height: 1.3; color: var(--ink); }

/* About page */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.about-grid p { font-size: 17.5px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 18px; text-wrap: pretty; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value-card { background: var(--paper); border: 1px solid var(--line); padding: 20px; border-radius: 2px; }
.value-card .v-title { font-family: var(--font-serif); font-size: 19px; margin-bottom: 8px; }
.value-card .v-desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.about-side { display: flex; flex-direction: column; gap: 16px; }
.about-side .photo { height: 280px; }
.showroom-box { background: var(--ink); color: var(--sand); padding: 26px; border-radius: 2px; }
.showroom-box .sb-title { font-family: var(--font-serif); font-size: 22px; margin-bottom: 16px; }
.showroom-box .sb-text { font-size: 15px; line-height: 1.8; color: var(--footer-text); }
.showroom-box .btn { margin-top: 20px; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { border-top: 2px solid #d9c9b6; padding-top: 16px; }
.step-card .s-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-bottom: 10px; }
.step-card .s-title { font-family: var(--font-serif); font-size: 20px; margin-bottom: 9px; }
.step-card .s-desc { font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* FAQ */
.faq-list { }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.35;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 20px;
  font-family: var(--font-sans);
  flex: none;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer {
  font-size: 16px; line-height: 1.75; color: var(--text); margin: 0 0 22px; max-width: 72ch; text-wrap: pretty;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); padding: 32px; border-radius: 2px; }
.contact-card .cc-title { font-family: var(--font-serif); font-size: 24px; margin-bottom: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  border: 1px solid #ddd6cb;
  background: var(--bg);
  padding: 14px 15px;
  font-family: var(--font-sans);
  font-size: 15px;
  border-radius: 2px;
  width: 100%;
}
.contact-form textarea { resize: vertical; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.consent-row input { margin-top: 3px; }
.consent-row a { color: var(--accent); border-bottom: 1px solid #d9c9b6; }
.contact-side { display: flex; flex-direction: column; gap: 22px; }
.contact-side .photo { height: 230px; }
.contact-block { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.contact-block .cb-t { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--faint); margin-bottom: 9px; }
.contact-block .cb-d { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }

/* Legal pages */
.legal-page { max-width: 900px; margin: 0 auto; padding: 52px 24px 80px; }
.legal-page h1 { font-size: 42px; margin: 0 0 18px; line-height: 1.15; }
.legal-page .l-intro { font-size: 17px; line-height: 1.75; color: var(--text); margin: 0 0 12px; text-wrap: pretty; }
.legal-page .l-updated { font-family: var(--font-mono); font-size: 12px; color: var(--faint); margin-bottom: 40px; }
.legal-section { margin-bottom: 34px; }
.legal-section h2 { font-size: 25px; margin: 0 0 14px; }
.legal-section p { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 14px; text-wrap: pretty; }
.legal-box { background: var(--sand-2); border: 1px solid var(--line); padding: 26px; border-radius: 2px; font-size: 15px; line-height: 1.75; color: var(--text); }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: auto; }
.footer-grid {
  max-width: 1240px; margin: 0 auto; padding: 60px 24px 30px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.footer-grid .f-brand { font-family: var(--font-serif); font-size: 23px; color: var(--sand); letter-spacing: 0.06em; }
.footer-grid .f-domain { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent); margin: 8px 0 18px; }
.footer-grid .f-desc { font-size: 14.5px; line-height: 1.75; margin: 0 0 18px; max-width: 38ch; }
.footer-grid .f-addr { font-size: 14px; line-height: 1.8; }
.footer-col-title { font-size: 12px; letter-spacing: 0.18em; color: var(--sand); margin-bottom: 16px; font-family: var(--font-mono); }
.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-links a { color: var(--footer-text); }
.footer-links a:hover { color: var(--sand); }
.footer-bottom { border-top: 1px solid var(--footer-line); }
.footer-bottom .container {
  padding: 20px 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--footer-muted);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links button {
  background: none; border: none; color: var(--footer-muted); font-size: 13px; padding: 0; cursor: pointer; font-family: var(--font-sans);
}
.footer-bottom-links button:hover { color: var(--sand); }

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0; z-index: 60; display: none; justify-content: flex-end;
}
.cart-overlay.open { display: flex; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(38, 34, 31, 0.45); border: none; padding: 0; }
.cart-drawer {
  position: relative; width: 440px; max-width: 92vw; background: var(--bg); height: 100%;
  display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(38, 34, 31, 0.2);
}
.cart-drawer-head {
  padding: 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
}
.cart-drawer-head .cd-title { font-family: var(--font-serif); font-size: 23px; }
.cart-close { background: none; border: none; cursor: pointer; font-size: 22px; color: var(--muted); line-height: 1; padding: 0; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-empty { padding: 60px 0; text-align: center; color: var(--muted); }
.cart-empty .ce-title { font-family: var(--font-serif); font-size: 22px; color: var(--ink); margin-bottom: 10px; }
.cart-empty .ce-text { font-size: 15px; line-height: 1.7; margin-bottom: 22px; }
.cart-line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line .cl-thumb { width: 74px; height: 74px; flex: none; object-fit: cover; border-radius: 2px; background: var(--sand-2); }
.cart-line .cl-info { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cart-line .cl-name { font-family: var(--font-serif); font-size: 17px; }
.cart-line .cl-unit { font-size: 13px; color: var(--muted); }
.qty-row { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.qty-btn {
  cursor: pointer; border: 1px solid #d5cec4; width: 26px; height: 26px; display: inline-flex;
  align-items: center; justify-content: center; background: var(--paper); font-size: 14px; padding: 0;
}
.qty-remove { cursor: pointer; margin-left: auto; font-size: 13px; color: var(--faint); background: none; border: none; }
.cart-line .cl-sum { font-size: 15.5px; white-space: nowrap; }
.cart-summary { border-top: 1px solid var(--line); padding: 22px 24px 26px; background: var(--sand-2); }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 15px; color: var(--text); margin-bottom: 8px; }
.cart-summary .row.total {
  font-family: var(--font-serif); font-size: 22px; padding-top: 14px; border-top: 1px solid var(--line-2); margin-bottom: 0; color: var(--ink);
}
.cart-summary .checkout-msg { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 70;
  background: var(--footer-bg); color: #e7e0d6; border-radius: 2px; padding: 22px 26px;
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap; box-shadow: 0 20px 60px rgba(38, 34, 31, 0.28);
}
.cookie-banner .cb-copy { flex: 1; min-width: 280px; font-size: 14.5px; line-height: 1.7; }
.cookie-banner .cb-copy a { color: #d9c9b6; border-bottom: 1px solid #5c544c; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 20px; font-size: 14px; }

/* Toast */
.toast {
  position: fixed; right: 24px; bottom: 120px; z-index: 80; background: var(--ink); color: var(--sand);
  padding: 14px 20px; border-radius: 2px; font-size: 14.5px; box-shadow: 0 12px 40px rgba(38, 34, 31, 0.25);
  display: none;
}
.toast.show { display: block; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Responsive */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .feature-split .container { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .perks .container { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .info-panel { grid-template-columns: 1fr; }
  .newsletter .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .site-header .container { gap: 14px; }
  .main-nav { gap: 16px; font-size: 14px; order: 3; width: 100%; }
  .hero h1 { font-size: 34px; }
  .grid-2, .grid-3, .grid-4, .grid-5, .values-grid, .steps-grid, .related-grid, .mini-cards { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 160px 160px 160px; }
  .hero-grid .span-2 { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .page-head h1, .section-head h2 { font-size: 32px; }
  .article-detail h1 { font-size: 32px; }
}
