*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@import url('https://fonts.bunny.net/css?family=inter:400,500,600,700,800&display=swap');

:root {
  --black: #0a0a0a;
  --black-soft: #1c1c1c;
  --beige: #f5f0e8;
  --beige-light: #faf7f2;
  --beige-dark: #e8e0d2;
  --olive: #6b705c;
  --olive-dark: #4a4f42;
  --olive-light: #8a8f7a;
  --olive-muted: #c4c9b8;

  --bg: var(--beige);
  --bg-card: var(--beige-light);
  --bg-elevated: var(--beige-dark);
  --header-bg: var(--black);
  --header-bg2: var(--black-soft);
  --text: var(--black);
  --text-muted: #5c574e;
  --text-on-dark: var(--beige-light);
  --accent: var(--olive);
  --accent-hover: var(--olive-dark);
  --accent-light: #ebe8e0;
  --accent-orange: var(--olive);
  --accent-orange-hover: var(--olive-dark);
  --success: #5a6b4a;
  --error: #8b3a3a;
  --border: #d9d2c5;
  --radius: 12px;
  --shadow: 0 1px 8px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 8px 28px rgba(10, 10, 10, 0.1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.top-bar {
  background: var(--header-bg2);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.55);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a { color: rgba(245, 240, 232, 0.55); text-decoration: none; }
.top-bar a:hover { color: var(--beige-light); }

/* Header */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-on-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover { text-decoration: none; color: var(--text-on-dark); }

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: rgba(245, 240, 232, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.main-nav a:hover, .main-nav a.active { color: var(--beige-light); }
.main-nav a.active { border-bottom: 2px solid var(--olive-muted); padding-bottom: 2px; }

.basket-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--olive);
  border: none;
  color: var(--beige-light);
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.basket-btn:hover { background: var(--accent-orange-hover); text-decoration: none; transform: translateY(-1px); }

.basket-count {
  background: var(--black);
  color: var(--beige-light);
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* Trust bar */
.trust-bar {
  background: var(--olive);
  border-bottom: none;
  padding: 12px 0;
}

.trust-items {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--beige-light);
}

.trust-items span::before { content: '✓ '; color: var(--beige-light); opacity: 0.85; }

/* Main content */
main { flex: 1; padding: 40px 0; }

.page-title { font-size: 2rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.page-subtitle { color: var(--text-muted); margin-bottom: 32px; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-card .product-card-actions { cursor: default; }

.product-image {
  aspect-ratio: 4/3;
  background: var(--beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 16px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-placeholder {
  font-size: 3rem;
  opacity: 0.3;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--black);
  color: var(--beige-light);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.product-brand { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.product-name { font-size: 1rem; font-weight: 600; margin: 4px 0 8px; line-height: 1.3; }
.product-specs { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}

.product-price { font-size: 1.25rem; font-weight: 700; }
.product-original { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }
.product-discount { font-size: 0.8rem; color: var(--success); }

.product-stock { font-size: 0.8rem; color: var(--success); margin-bottom: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--black); color: var(--beige-light); }
.btn-primary:hover { background: var(--black-soft); text-decoration: none; color: var(--beige-light); }
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--olive-muted); background: var(--beige); text-decoration: none; color: var(--text); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.add-to-cart { margin-top: auto; }

.product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.product-card-link:hover { text-decoration: none; color: inherit; }
.product-card-actions { padding-top: 0; }

/* Product detail page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

@media (max-width: 960px) {
  .product-detail { grid-template-columns: 1fr; }
}

.product-detail-left { min-width: 0; }

.product-detail-image {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 24px;
  margin-bottom: 24px;
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-specs-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.product-specs-table-wrap h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.specs-table th,
.specs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.specs-table th {
  width: 42%;
  color: var(--text-muted);
  font-weight: 500;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

.product-detail-right {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 24px;
}

@media (max-width: 960px) {
  .product-detail-right { position: static; }
}

.product-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 12px;
  letter-spacing: -0.02em;
}

.product-rating {
  font-size: 0.9rem;
  color: var(--olive-dark);
  margin-bottom: 16px;
}

.product-price-lg { font-size: 2rem; }

.product-detail-price-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.product-save {
  font-size: 0.85rem;
  color: var(--success);
  margin-top: 6px;
}

.product-finance {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.product-trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.product-trust-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.product-trust-list li:last-child { border-bottom: none; }

.product-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-why {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.product-why h2 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.product-why p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.product-why ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.product-why li { margin-bottom: 8px; }

.product-detail-right .btn + .btn { margin-top: 10px; }

/* Basket */
.basket-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .basket-layout { grid-template-columns: 1fr; }
}

.basket-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.basket-item-image {
  width: 100px;
  height: 72px;
  background: var(--beige-dark);
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.basket-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.basket-item-info { flex: 1; }
.basket-item-name { font-weight: 600; margin-bottom: 4px; }
.basket-item-price { color: var(--text-muted); font-size: 0.9rem; }

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.qty-btn:hover { border-color: var(--accent); }

.remove-item {
  background: none;
  border: none;
  color: var(--error);
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 8px;
}

.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow);
}

.order-summary h2 { font-size: 1.1rem; margin-bottom: 16px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.empty-basket {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.empty-basket h2 { margin-bottom: 12px; }
.empty-basket p { color: var(--text-muted); margin-bottom: 24px; }

/* Checkout */
.checkout-steps {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}

.step-num {
  width: 36px;
  height: 36px;
  background: var(--olive);
  color: var(--beige-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text strong { display: block; font-size: 0.9rem; }
.step-text span { font-size: 0.8rem; color: var(--text-muted); }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr; }
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-card h2 { font-size: 1.1rem; margin-bottom: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group label .required { color: var(--error); }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 100px; resize: vertical; }

.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.form-error {
  background: #f0e4e4;
  border: 1px solid var(--error);
  color: var(--error);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: none;
}

.form-success {
  background: #e8ede4;
  border: 1px solid var(--success);
  color: var(--success);
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  display: none;
}

.checkout-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
}

.checkbox-group input { width: auto; margin-top: 3px; }

/* Article / Guide */
.article-header { margin-bottom: 40px; }

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-category {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.article-hero {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--beige-dark);
  border-radius: var(--radius);
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content { max-width: 720px; }
.article-content p { margin-bottom: 20px; font-size: 1.05rem; line-height: 1.75; }
.article-content h2 { font-size: 1.5rem; margin: 40px 0 16px; letter-spacing: -0.02em; }
.article-content h3 { font-size: 1.15rem; margin: 24px 0 12px; }
.article-content blockquote {
  border-left: 3px solid var(--olive);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--olive-dark);
}
.article-content ul { margin: 16px 0 24px 24px; }
.article-content li { margin-bottom: 8px; line-height: 1.6; }

.product-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.rec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.rec-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--beige-dark);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.rec-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rec-card h3 { font-size: 1rem; margin-bottom: 4px; }
.rec-card .rec-price { font-size: 1.25rem; font-weight: 700; margin: 8px 0; }
.rec-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }

.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}

.cta-banner h2 { margin-bottom: 8px; }
.cta-banner p { color: var(--text-muted); margin-bottom: 20px; }

/* Guides list */
.guide-list { display: flex; flex-direction: column; gap: 16px; }

.guide-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s;
}

.guide-card:hover { border-color: var(--olive); text-decoration: none; color: var(--text); }

.guide-card-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.guide-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.guide-card-meta { font-size: 0.85rem; color: var(--text-muted); }
.guide-card-read { color: var(--accent); font-size: 0.9rem; font-weight: 500; margin-top: 12px; display: inline-block; }

/* Legal pages */
.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 1.25rem; margin: 32px 0 12px; }
.legal-content h3 { font-size: 1.05rem; margin: 24px 0 10px; color: var(--text); }
.legal-content p, .legal-content li { margin-bottom: 12px; color: var(--text-muted); line-height: 1.7; }
.legal-full { max-width: 820px; }
.legal-full h2:first-of-type { margin-top: 16px; }
.legal-content ul { margin-left: 24px; margin-bottom: 16px; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-info-item { margin-bottom: 24px; }
.contact-info-item h3 { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-info-item p { font-size: 1.05rem; }

/* Footer */
.site-footer {
  background: var(--header-bg);
  border-top: none;
  padding: 48px 0 24px;
  margin-top: auto;
  color: rgba(245, 240, 232, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p { color: rgba(245, 240, 232, 0.65); font-size: 0.85rem; margin-top: 12px; line-height: 1.6; }
.footer-brand .logo { color: var(--beige-light); }
.footer-company { font-size: 0.8rem; color: rgba(245, 240, 232, 0.45); margin-top: 16px; line-height: 1.6; }

.footer-col h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--beige-light); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(245, 240, 232, 0.65); text-decoration: none; font-size: 0.85rem; }
.footer-col a:hover { color: var(--beige-light); }

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.45);
}

.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { color: rgba(245, 240, 232, 0.65); text-decoration: none; }
.footer-legal-links a:hover { color: var(--beige-light); }

.footer-phone { font-size: 1.1rem; font-weight: 600; color: var(--beige-light); }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--beige-light);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 24px rgba(10, 10, 10, 0.12);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text { flex: 1; min-width: 280px; }
.cookie-text strong { display: block; font-size: 1rem; margin-bottom: 6px; color: var(--text); }
.cookie-text p { margin: 0; font-size: 0.88rem; line-height: 1.55; color: var(--text-muted); }
.cookie-text a { color: var(--accent); }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex-shrink: 0;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-cookie-reject:hover {
  background: var(--beige);
  border-color: var(--olive-muted);
}

@media (max-width: 640px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn,
  .cookie-actions .btn-cookie-reject { flex: 1; min-width: calc(50% - 5px); }
  .cookie-actions .btn-primary { width: 100%; flex: 1 1 100%; }
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.visible { display: flex; }

.cookie-modal-content {
  background: var(--beige-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px 32px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-modal-header h3 { margin: 0; font-size: 1.15rem; }

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  margin: -4px -4px 0 0;
}

.cookie-modal-close:hover { color: var(--text); }

.cookie-modal-content > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.5; }

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.visible { display: flex; }

.cookie-modal-content {
  background: var(--beige-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  width: 100%;
}

.cookie-modal-content h3 { margin-bottom: 8px; }
.cookie-modal-content > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.cookie-option:last-of-type { border-bottom: none; }

.cookie-option-info strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.cookie-option-info span { font-size: 0.8rem; color: var(--text-muted); }

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input { opacity: 0; width: 0; height: 0; }

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--accent); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.6; cursor: not-allowed; }

.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text); }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--beige-light);
  border: 1px solid var(--olive);
  color: var(--olive-dark);
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  z-index: 999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.toast.visible { transform: translateY(0); opacity: 1; }
