/* Lacavira — gasztronómiai webáruház | fő stíluslap */

:root {
  --deep: #1f3a2e;
  --olive: #6b7a4a;
  --cream: #f7f1e5;
  --beige: #ece1cb;
  --sand: #dcc9a3;
  --terra: #b5583a;
  --terra-dark: #9a4630;
  --white: #fdfbf6;
  --wood: #8a6a4a;
  --graphite: #2c2a25;
  --muted: #6a6555;
  --muted-2: #8a8474;
  --ink: #4b473d;
  --font-serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
  --font-sans: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--graphite);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: var(--deep); text-decoration: none; }
a:hover { color: var(--terra); }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: var(--font-sans); }
::placeholder { color: #9a9484; }
h1, h2, h3 { font-family: var(--font-serif); color: var(--deep); font-weight: 600; margin: 0; }
button { cursor: pointer; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.container-xnarrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.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;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--deep); color: var(--white);
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--deep); color: var(--beige); text-align: center;
  font-size: 13px; padding: 7px 16px; letter-spacing: 0.02em;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--cream);
  border-bottom: 1px solid var(--sand); box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.header-row {
  max-width: 1240px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark {
  display: inline-block; width: 26px; height: 26px; background: var(--olive);
  border-radius: 0 50% 50% 50%; transform: rotate(-8deg); flex-shrink: 0;
}
.brand-name { font-family: var(--font-serif); font-size: 26px; font-weight: 600; color: var(--deep); letter-spacing: 0.01em; }

.main-nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14.5px; font-weight: 500; }
.main-nav a { color: var(--graphite); padding: 4px 0; border-bottom: 2px solid transparent; }
.main-nav a.active { border-bottom-color: var(--terra); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.icon-btn { background: none; border: none; cursor: pointer; font-size: 17px; color: var(--graphite); padding: 4px; }
.icon-link { position: relative; font-size: 16px; color: var(--graphite); }
.count-badge {
  position: absolute; top: -8px; right: -10px; background: var(--terra); color: var(--white);
  font-size: 10px; font-weight: 700; border-radius: 8px; padding: 1px 5px; min-width: 14px; text-align: center;
}
.cart-link {
  position: relative; font-size: 15px; font-weight: 600; color: var(--deep);
  display: flex; align-items: center; gap: 6px; background: var(--beige); padding: 8px 14px; border-radius: 20px;
}
.cart-link .count-badge { position: static; border-radius: 9px; padding: 1px 6px; }
.hamburger { display: none; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--deep); }

.search-bar { max-width: 1240px; margin: 0 auto; padding: 0 20px 14px; }
.search-bar[hidden] { display: none; }
.search-bar form { display: flex; }
.search-bar input {
  width: 100%; padding: 11px 16px; border: 1px solid var(--sand); border-radius: 10px;
  background: var(--white); font-size: 15px; outline: none;
}

.mobile-menu { display: none; flex-direction: column; padding: 10px 20px 18px; gap: 12px; border-top: 1px solid var(--sand); background: var(--white); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; font-weight: 500; color: var(--graphite); }

@media (max-width: 880px) {
  .main-nav { display: none; }
  .hamburger { display: block; }
}

.toast {
  position: fixed; top: 80px; right: 20px; z-index: 60; background: var(--deep); color: var(--white);
  padding: 13px 20px; border-radius: 10px; font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18); animation: fadeIn 0.25s ease; display: none;
}
.toast.show { display: block; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 70px 20px 60px;
  background: linear-gradient(180deg, var(--beige) 0%, var(--cream) 100%); overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--olive); text-transform: uppercase; }
.hero h1 { font-size: clamp(32px,5vw,52px); line-height: 1.12; margin: 14px 0 18px; }
.hero p { font-size: 17px; color: var(--ink); max-width: 520px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { width: 100%; height: 380px; border-radius: 20px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { height: 260px; order: -1; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; padding: 14px 28px; border-radius: 30px; font-size: 15px; font-weight: 600; cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--deep); color: var(--white); }
.btn-primary:hover { background: #16291f; color: var(--white); }
.btn-outline { background: transparent; color: var(--deep); border: 1.5px solid var(--deep); }
.btn-outline:hover { color: var(--terra); border-color: var(--terra); }
.btn-terra { background: var(--terra); color: var(--white); }
.btn-terra:hover { background: var(--terra-dark); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; border-radius: 22px; }
.btn-block { width: 100%; }

/* ===== SECTIONS ===== */
.section { max-width: 1240px; margin: 0 auto; padding: 56px 20px 10px; }
.section:last-child { padding-bottom: 56px; }
.section-title { font-size: 28px; margin: 0 0 8px; }
.section-sub { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 8px; }
.section-head .section-title { margin: 0; }
.link-arrow { font-size: 14px; font-weight: 600; }

/* ===== CATEGORY GRID ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); gap: 14px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px;
  background: var(--white); border: 1px solid var(--sand); border-radius: 14px; text-align: center;
}
.cat-tile-initial {
  width: 44px; height: 44px; border-radius: 50%; background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 18px; color: var(--deep); font-weight: 600;
}
.cat-tile-label { font-size: 13px; font-weight: 600; color: var(--graphite); }

/* ===== PRODUCT GRID / CARD ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 18px; }
.product-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--sand);
  border-radius: 14px; overflow: hidden; height: 100%;
}
.product-card[hidden] { display: none; }
.product-card-media { position: relative; }
.product-card-media img { width: 100%; height: 150px; object-fit: cover; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  border: none; background: rgba(253,251,246,0.9); font-size: 15px; cursor: pointer;
}
.fav-btn.is-fav { color: var(--terra); }
.badge-row { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.badge {
  background: var(--deep); color: var(--white); font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 20px;
}
.badge-light { background: var(--beige); color: var(--deep); font-size: 11.5px; padding: 4px 10px; }
.product-card-body { padding: 14px 16px 6px; display: block; }
.product-card-brand { font-size: 11px; font-weight: 700; color: var(--olive); text-transform: uppercase; letter-spacing: 0.05em; }
.product-card-name { font-weight: 600; color: var(--deep); font-size: 14.5px; margin-top: 5px; line-height: 1.3; }
.product-card-footer { padding: 6px 16px 16px; margin-top: auto; }
.product-card-price { font-weight: 700; color: var(--terra-dark); font-size: 16px; }
.product-card-unit { font-size: 11.5px; color: var(--muted-2); margin: 2px 0 12px; }

/* ===== COLLECTIONS ===== */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
.collection-card { display: block; background: var(--white); border: 1px solid var(--sand); border-radius: 16px; overflow: hidden; }
.collection-card img { width: 100%; height: 120px; object-fit: cover; }
.collection-card-label { padding: 16px 18px; font-weight: 600; font-size: 15px; color: var(--deep); }

/* ===== PROMO BANNERS ===== */
.promo-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
@media (max-width: 700px) { .promo-grid { grid-template-columns: 1fr; } }
.promo-card {
  position: relative; border-radius: 18px; overflow: hidden; display: block;
  min-height: 220px; padding: 32px; color: var(--white);
}
.promo-card.promo-deep { background: var(--deep); }
.promo-card.promo-terra { background: var(--terra); }
.promo-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.promo-card.promo-deep .promo-eyebrow { color: var(--sand); }
.promo-card.promo-terra .promo-eyebrow { color: var(--beige); }
.promo-card h3 { color: var(--white); font-size: 26px; margin: 12px 0 14px; }
.promo-link { font-size: 14px; font-weight: 600; text-decoration: underline; color: var(--white); }

/* ===== TRUST BADGES ===== */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 20px;
  background: var(--white); border: 1px solid var(--sand); border-radius: 18px; padding: 32px;
}
.trust-item-icon { font-size: 22px; }
.trust-item-title { font-weight: 600; margin: 10px 0 4px; color: var(--deep); }
.trust-item-text { font-size: 13.5px; color: var(--muted); }

/* ===== BREADCRUMB ===== */
.breadcrumb { font-size: 13px; color: var(--muted-2); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted-2); }

/* ===== SHOP LAYOUT ===== */
.shop-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 32px; align-items: flex-start; }
@media (max-width: 760px) { .shop-layout { grid-template-columns: 1fr; } }
.shop-sidebar {
  background: var(--white); border: 1px solid var(--sand); border-radius: 14px; padding: 20px;
  position: sticky; top: 100px;
}
@media (max-width: 760px) { .shop-sidebar { position: static; } }
.shop-sidebar h2 { font-size: 14px; font-weight: 700; color: var(--deep); margin-bottom: 12px; }
.cat-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; list-style: none; padding: 0; }
.cat-list a { font-size: 13.5px; font-weight: 500; color: var(--graphite); }
.cat-list a.active { font-weight: 700; color: var(--terra-dark); }
.filter-list { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: var(--graphite); }
.filter-list label { display: flex; gap: 8px; align-items: center; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.result-count { font-size: 13.5px; color: var(--muted); }
.select-input {
  padding: 9px 14px; border-radius: 8px; border: 1px solid var(--sand); background: var(--white); font-size: 13.5px;
}
.no-results { padding: 50px 0; text-align: center; color: var(--muted-2); }
.no-results[hidden] { display: none; }

/* ===== PRODUCT DETAIL ===== */
.product-detail { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail-media { width: 100%; height: 420px; border-radius: 16px; overflow: hidden; }
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-brand { font-size: 13px; font-weight: 700; color: var(--olive); text-transform: uppercase; letter-spacing: 0.08em; }
.product-detail-title { font-size: 30px; margin: 10px 0 10px; }
.product-detail-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.product-detail-price { font-family: var(--font-serif); font-size: 30px; font-weight: 600; color: var(--terra-dark); }
.product-detail-unit { font-size: 13.5px; color: var(--muted-2); margin: 4px 0 22px; }
.product-detail-desc { font-size: 14px; color: var(--ink); margin-bottom: 22px; }
.product-detail-meta { font-size: 13px; color: var(--graphite); margin-bottom: 6px; }
.availability { font-size: 13px; margin-bottom: 22px; }
.availability.in-stock { color: #4a7a52; }
.availability.out-stock { color: var(--terra); }
.buy-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--sand); border-radius: 10px; }
.qty-stepper button { width: 38px; height: 44px; background: none; border: none; font-size: 17px; cursor: pointer; }
.qty-stepper span { width: 32px; text-align: center; font-weight: 600; }
.buy-row .btn-primary { flex: 1; padding: 14px 20px; border-radius: 10px; }
.fav-toggle {
  width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--sand); background: var(--white);
  font-size: 17px; cursor: pointer;
}
.fav-toggle.is-fav { color: var(--terra); }

.info-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; }
.info-card { background: var(--white); border: 1px solid var(--sand); border-radius: 14px; padding: 22px; }
.info-card-title { font-weight: 700; color: var(--deep); margin-bottom: 10px; }
.info-card-text { font-size: 13.5px; color: var(--ink); }
.info-card-note { font-size: 12px; color: var(--muted-2); margin-top: 8px; }
.nutrition-row {
  display: flex; justify-content: space-between; font-size: 13px; color: var(--ink);
  padding: 4px 0; border-bottom: 1px solid var(--beige);
}
.nutrition-row span:last-child { font-weight: 600; }

/* ===== CART ===== */
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center;
  background: var(--white); border: 1px solid var(--sand); border-radius: 12px; padding: 14px;
}
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-item-name { font-weight: 600; color: var(--deep); font-size: 14.5px; }
.cart-item-meta { font-size: 12.5px; color: var(--muted-2); }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.cart-item-controls .qty-stepper button { width: 28px; height: 30px; font-size: 14px; }
.cart-item-controls .qty-stepper span { width: 24px; font-size: 13px; }
.remove-link { background: none; border: none; color: var(--terra); font-size: 12.5px; cursor: pointer; text-decoration: underline; padding: 0; }
.cart-item-subtotal { font-weight: 700; color: var(--deep); font-size: 15px; white-space: nowrap; }

.summary-box { background: var(--white); border: 1px solid var(--sand); border-radius: 14px; padding: 22px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.summary-row.total { font-weight: 700; font-size: 17px; padding: 12px 0 0; margin-top: 8px; border-top: 1px solid var(--beige); color: var(--deep); }
.empty-state { text-align: center; padding: 60px 0; color: var(--muted-2); }
.empty-state[hidden] { display: none; }

/* ===== FORMS ===== */
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-field {
  width: 100%; padding: 13px 15px; border: 1px solid var(--sand); border-radius: 9px; font-size: 14px; background: var(--white);
}
textarea.form-field { resize: vertical; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.consent-label { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.consent-label input { margin-top: 2px; }
.form-note { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--sand); font-size: 13.5px; color: var(--muted); }
.form-message {
  background: var(--white); border: 1px solid var(--sand); border-radius: 14px; padding: 32px;
  text-align: center; color: var(--deep); font-weight: 600;
}
.form-message.big { padding: 44px; }
.form-message .icon { font-size: 34px; margin-bottom: 12px; }
.form-message p { color: var(--ink); font-size: 14.5px; font-weight: 400; margin-top: 10px; }
.form-error { color: var(--terra-dark); font-weight: 600; }

/* ===== CHECKOUT ===== */
.checkout-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 32px; }
@media (max-width: 820px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-steps { font-size: 13.5px; color: var(--muted-2); margin-bottom: 28px; }
.option-row {
  display: flex; justify-content: space-between; align-items: center; padding: 13px 16px;
  border: 1px solid var(--sand); border-radius: 10px; cursor: pointer; background: var(--white);
}
.option-row input { margin-right: 10px; }
.option-row-label { display: flex; align-items: center; font-size: 13.5px; }
.option-row-price { font-size: 13.5px; font-weight: 600; color: var(--deep); }
.field-heading { font-weight: 700; color: var(--deep); font-size: 15px; margin-top: 10px; }
.summary-line { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; color: var(--ink); }

/* ===== RECIPES / MAGAZINE ===== */
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.pill {
  padding: 8px 16px; border-radius: 20px; border: 1px solid var(--sand); background: var(--white);
  color: var(--graphite); font-size: 13px; font-weight: 600; cursor: pointer;
}
.pill.active { background: var(--deep); color: var(--white); border-color: var(--deep); }
.recipe-card { display: block; background: var(--white); border: 1px solid var(--sand); border-radius: 14px; overflow: hidden; }
.recipe-card[hidden] { display: none; }
.recipe-card img { width: 100%; height: 140px; object-fit: cover; }
.recipe-card-body { padding: 16px 18px; }
.recipe-card-cat { font-size: 11.5px; font-weight: 700; color: var(--olive); text-transform: uppercase; letter-spacing: 0.06em; }
.recipe-card-title { font-weight: 600; color: var(--deep); font-size: 15px; margin-top: 6px; }

.recipe-detail-media { width: 100%; height: 280px; border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.recipe-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.recipe-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 32px; }
@media (max-width: 700px) { .recipe-columns { grid-template-columns: 1fr; } }
.ingredient-row { font-size: 13.5px; color: var(--ink); padding: 5px 0; border-bottom: 1px solid var(--beige); }
.step-row { display: flex; gap: 12px; margin-bottom: 12px; }
.step-num {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--beige); color: var(--deep);
  font-weight: 700; font-size: 12.5px; display: flex; align-items: center; justify-content: center;
}
.step-text { font-size: 14px; color: var(--ink); padding-top: 2px; }
.back-link { font-size: 13.5px; color: var(--deep); margin-bottom: 18px; display: inline-block; }

.article-list { display: flex; flex-direction: column; gap: 18px; }
.article-row {
  display: grid; grid-template-columns: 160px minmax(0,1fr); gap: 18px; background: var(--white);
  border: 1px solid var(--sand); border-radius: 14px; overflow: hidden;
}
@media (max-width: 520px) { .article-row { grid-template-columns: 1fr; } }
.article-row img { width: 100%; height: 110px; object-fit: cover; }
@media (max-width: 520px) { .article-row img { height: 160px; } }
.article-row-body { padding: 16px 18px 16px 0; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 520px) { .article-row-body { padding: 0 18px 16px; } }
.article-row-title { font-weight: 600; color: var(--deep); font-size: 16px; }
.article-row-excerpt { font-size: 13px; color: var(--muted); margin-top: 6px; }
.article-detail-media { width: 100%; height: 260px; border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.article-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.article-detail p { font-size: 15px; color: var(--ink); line-height: 1.7; margin-bottom: 16px; }

/* ===== ABOUT ===== */
.about-media { width: 100%; height: 260px; border-radius: 16px; overflow: hidden; margin-bottom: 28px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.prose p { font-size: 16px; color: var(--ink); line-height: 1.75; margin-bottom: 18px; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--sand); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  padding: 16px 20px; font-weight: 600; font-size: 14.5px; color: var(--deep); cursor: pointer;
  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: 18px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item-body { padding: 0 20px 18px; font-size: 14px; color: var(--ink); }

/* ===== FAVORITES ===== */
.fav-empty-icon { font-size: 15px; }

/* ===== ACCOUNT ===== */
.account-box { max-width: 440px; margin: 0 auto; padding: 60px 20px 90px; }
.tab-row { display: flex; gap: 8px; margin-bottom: 26px; background: var(--beige); border-radius: 24px; padding: 4px; }
.tab-btn {
  flex: 1; padding: 11px; border-radius: 20px; border: none; cursor: pointer; font-weight: 600; font-size: 13.5px;
  background: transparent; color: var(--graphite);
}
.tab-btn.active { background: var(--deep); color: var(--white); }
.tab-panel[hidden] { display: none; }
.forgot-link { font-size: 12.5px; color: var(--deep); align-self: flex-end; }

/* ===== LEGAL ===== */
.legal-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 32px; align-items: flex-start; }
@media (max-width: 760px) { .legal-layout { grid-template-columns: 1fr; } }
.legal-nav { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
@media (max-width: 760px) { .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
.legal-nav a {
  font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 10px; color: var(--graphite);
}
.legal-nav a:hover { background: var(--white); color: var(--deep); }
.legal-doc { background: var(--white); border: 1px solid var(--sand); border-radius: 14px; padding: 32px; margin-bottom: 24px; scroll-margin-top: 100px; }
.legal-doc h2 { font-size: 22px; margin: 0 0 18px; }
.legal-doc p { font-size: 14px; color: var(--ink); line-height: 1.75; margin-bottom: 14px; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: var(--deep); color: var(--white);
  padding: 20px; box-shadow: 0 -6px 24px rgba(0,0,0,0.2); display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner { max-width: 1100px; margin: 0 auto; }
.cookie-text { font-size: 13.5px; margin: 0 0 14px; color: var(--beige); max-width: 760px; }
.cookie-settings { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cookie-settings[hidden] { display: none; }
.cookie-settings label {
  display: flex; justify-content: space-between; font-size: 13.5px; background: rgba(255,255,255,0.06);
  padding: 10px 14px; border-radius: 8px;
}
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-accept { background: var(--terra); color: var(--white); border: none; padding: 11px 20px; border-radius: 22px; font-weight: 600; font-size: 13px; }
.btn-cookie-reject { background: none; color: var(--white); border: 1px solid rgba(255,255,255,0.4); padding: 11px 20px; border-radius: 22px; font-weight: 600; font-size: 13px; }
.btn-cookie-link { background: none; color: var(--beige); border: none; padding: 11px 8px; font-weight: 600; font-size: 13px; text-decoration: underline; }
.btn-cookie-save { background: var(--olive); color: var(--white); border: none; padding: 11px 20px; border-radius: 22px; font-weight: 600; font-size: 13px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--deep); color: var(--beige); padding: 56px 20px 30px; margin-top: 20px; }
.footer-grid {
  max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.footer-tagline { font-size: 13px; color: rgba(236,225,203,0.8); line-height: 1.6; }
.footer-heading { font-weight: 700; font-size: 13px; margin-bottom: 14px; color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-links a { color: rgba(236,225,203,0.85); }
.footer-pay { display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; color: rgba(236,225,203,0.85); }
.footer-legal { max-width: 1240px; margin: 0 auto; padding-top: 22px; font-size: 11.5px; color: rgba(236,225,203,0.6); line-height: 1.7; }

/* ===== 404 ===== */
.notfound { max-width: 600px; margin: 0 auto; padding: 100px 20px; text-align: center; }
.notfound h1 { font-size: 64px; }

/* ===== MISC UTILITIES ===== */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
