@import url('fonts.css');

:root {
  --cream: #F7EFE2;
  --cream-light: #FFFBF4;
  --cream-mid: #EFE3CF;
  --border: #E1D2B4;
  --border-soft: #E9DCBF;
  --border-mid: #D8C6A3;
  --maroon: #6B1F27;
  --orange: #C1613A;
  --brown-dark: #3A2416;
  --brown-mid: #5C4630;
  --brown-soft: #8B5E3C;
  --text: #2B1B12;
  --footer-bg: #3A2416;
  --footer-text: #EAD9BB;
  --footer-muted: #C9B592;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: 'Work Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--orange); }

h1, h2, h3, blockquote {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
}

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

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.site-header__bar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__name {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--brown-dark);
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--brown-dark);
  display: flex;
}
.cart-link { position: relative; display: flex; align-items: center; padding: 6px; color: var(--brown-dark); }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--maroon);
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: none;
  align-items: center;
  justify-content: center;
}
.cart-badge.show { display: flex; }

.nav-desktop { display: none; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-desktop a { font-size: 15px; font-weight: 500; color: var(--brown-dark); white-space: nowrap; }
.nav-desktop a.active { color: var(--orange); }
.header-actions-desktop { display: none; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-mobile-toggle { display: flex; align-items: center; gap: 14px; }

.search-bar {
  display: none;
  border-top: 1px solid var(--border);
  padding: 14px 24px;
  background: var(--cream-light);
}
.search-bar.open { display: block; }
.search-bar input {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: block;
  box-sizing: border-box;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-mid);
  font-family: inherit;
  font-size: 15px;
  background: #FFFFFF;
  color: var(--text);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--cream-light);
  padding: 8px 24px 18px;
  flex-direction: column;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 13px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--brown-dark);
  border-bottom: 1px solid #EEE1C6;
}
.nav-mobile a.active { color: var(--orange); }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-actions-desktop { display: flex; }
  .nav-mobile-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.site-footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
.site-footer__brand {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  color: #F1E4C8;
  margin-bottom: 10px;
}
.site-footer__tag { font-size: 15px; line-height: 1.6; color: var(--footer-muted); max-width: 240px; margin: 0; }
.site-footer__heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin-bottom: 14px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { color: var(--footer-text); font-size: 15px; }
.site-footer__address { font-size: 14px; line-height: 1.7; color: var(--footer-muted); }
.site-footer__bottom {
  border-top: 1px solid #55402B;
  padding: 18px 24px;
  text-align: center;
  font-size: 13px;
  color: #A6926E;
}

/* ---------- Generic sections ---------- */
main { font-family: 'Work Sans', sans-serif; }
.section { max-width: 1280px; margin: 0 auto; padding: 70px 24px; }
.section--tight { padding-top: 30px; padding-bottom: 60px; }
.section--band { background: var(--cream-mid); padding: 64px 24px; }
.section--card { background: var(--cream-light); padding: 70px 24px; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.eyebrow {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-bottom: 14px;
}
.h1 { font-size: clamp(30px, 4vw, 44px); color: var(--brown-dark); margin: 0 0 14px; }
.h2 { font-size: clamp(26px, 3vw, 34px); color: var(--brown-dark); margin: 0 0 10px; }
.lede { font-size: 17px; color: var(--brown-mid); max-width: 620px; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; margin: 0 0 20px; color: var(--brown-dark); }
.hero p { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--brown-mid); max-width: 480px; margin: 0 0 30px; }
.hero-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) {
  .hero { grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr); }
}

/* ---------- Buttons ---------- */
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--maroon); color: var(--cream); }
.btn-primary:hover { background: #591920; color: var(--cream); }
.btn-outline { background: transparent; color: var(--maroon); border: 1.5px solid var(--orange); }
.btn-outline:hover { color: var(--orange); }
.btn-small { padding: 9px 12px; font-size: 13.5px; border-radius: 7px; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--small { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.grid--tiny { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }

.card {
  display: block;
  background: var(--cream-light);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  color: inherit;
}
.card__photo { aspect-ratio: 4/3; overflow: hidden; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 18px 20px 22px; }
.card__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 19px; color: var(--brown-dark); margin-bottom: 6px; }
.card__desc { font-size: 14.5px; color: var(--brown-mid); line-height: 1.5; }
.card__cta { font-size: 13.5px; font-weight: 600; color: var(--maroon); }

/* Timeline steps */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.timeline__step { text-align: center; }
.timeline__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: var(--cream-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 20px;
  margin: 0 auto 12px;
}
.timeline__label { font-weight: 600; font-size: 15.5px; color: var(--brown-dark); }

/* Season cards */
.season-card { border-radius: 14px; padding: 26px 24px; color: var(--cream-light); }
.season-card h3 { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.season-card p { font-size: 14.5px; line-height: 1.6; opacity: 0.92; margin: 0 0 18px; }
.season-card a { color: var(--cream-light); font-weight: 600; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,0.5); }
.season-jar { background: #7C7A3F; }
.season-summer { background: var(--orange); }
.season-autumn { background: var(--brown-soft); }
.season-winter { background: var(--maroon); }

/* Two column feature */
.feature {
  max-width: 1280px; margin: 0 auto; padding: 70px 24px;
  display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center;
}
.feature__photo { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
.feature blockquote { font-style: italic; font-size: clamp(24px, 3vw, 32px); color: var(--brown-dark); margin: 0 0 22px; line-height: 1.3; }
.feature p { font-size: 16px; color: var(--brown-mid); line-height: 1.6; margin: 0 0 22px; max-width: 480px; }
@media (min-width: 860px) {
  .feature { grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); }
  .feature--reverse { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}

/* Inspiration cards */
.mini-card { display: block; background: var(--cream-light); border-radius: 12px; padding: 22px; border: 1px solid var(--border); }
.mini-card__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 16.5px; color: var(--brown-dark); }

/* Brand box */
.brand-box { background: var(--maroon); border-radius: 16px; padding: 36px; color: var(--cream); }
.brand-box__title { font-family: 'Lora', Georgia, serif; font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.brand-box__text { font-size: 15px; line-height: 1.7; opacity: 0.9; }

/* ---------- Filter chips ---------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 16px; border-radius: 20px; border: 1.5px solid var(--border-mid);
  background: var(--cream-light); color: var(--brown-dark);
  font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.chip.active { border-color: var(--maroon); background: var(--maroon); color: var(--cream); }

/* Recipe detail */
.recipe {
  display: grid; grid-template-columns: 1fr; gap: 30px;
}
.recipe__photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.recipe__photo img { width: 100%; height: 100%; object-fit: cover; }
.recipe h3 { font-size: 24px; color: var(--brown-dark); margin: 0 0 6px; }
.recipe__time { font-size: 13.5px; color: var(--brown-soft); margin-bottom: 16px; }
.recipe__label { font-weight: 600; font-size: 14.5px; color: var(--brown-dark); margin-bottom: 6px; }
.recipe ul, .recipe ol { margin: 0 0 16px; padding-left: 18px; font-size: 14.5px; color: var(--brown-mid); line-height: 1.6; }
.recipe__tip { font-size: 13.5px; color: var(--brown-soft); font-style: italic; margin-bottom: 14px; }
.recipe__link { font-weight: 600; font-size: 14px; color: var(--maroon); border-bottom: 1px solid var(--orange); }
@media (min-width: 760px) {
  .recipe { grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); }
}

/* ---------- Category product blocks (naša ponuka) ---------- */
.cat-section { padding: 56px 24px; border-top: 1px solid var(--border); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.product-card { background: var(--cream-light); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; }
.product-card__photo { aspect-ratio: 1; overflow: hidden; }
.product-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__name { font-weight: 600; font-size: 15px; color: var(--brown-dark); }
.product-card .btn-small { margin-top: auto; }

/* Cart */
.cart-box { background: var(--cream-light); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #EEE1C6; }
.cart-row__name { font-weight: 600; font-size: 15.5px; color: var(--brown-dark); }
.cart-row__cat { font-size: 13px; color: var(--brown-soft); }
.qty-btn { width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border-mid); background: var(--cream); cursor: pointer; font-size: 16px; }
.remove-btn { margin-left: 10px; font-size: 13px; color: var(--maroon); background: none; border: none; cursor: pointer; text-decoration: underline; }
.cart-empty { background: var(--cream-light); border: 1px dashed var(--border-mid); border-radius: 12px; padding: 40px; text-align: center; color: var(--brown-soft); }
.cart-total { padding: 18px 20px; font-size: 13.5px; color: var(--brown-soft); }

/* Months grid */
.month-card { background: var(--cream); border-radius: 12px; border: 1px solid var(--border); padding: 20px; }
.month-card__name { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 16px; color: var(--orange); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.month-card__text { font-size: 14px; color: var(--brown-mid); line-height: 1.55; }

/* CTA band */
.cta-band {
  background: var(--cream-mid); border-radius: 16px; padding: 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta-band__title { font-family: 'Lora', Georgia, serif; font-weight: 700; font-size: 20px; color: var(--brown-dark); margin-bottom: 6px; }
.cta-band__text { font-size: 14.5px; color: var(--brown-mid); }

/* Pantry guide */
.pgroup { background: var(--cream-light); border-radius: 12px; border: 1px solid var(--border); padding: 20px; }
.pgroup__title { font-weight: 700; font-size: 13.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.pgroup ul { margin: 0; padding-left: 16px; font-size: 14.5px; color: var(--brown-mid); line-height: 1.6; }

.canning-topic { background: var(--cream-light); border-radius: 10px; padding: 18px; border: 1px solid var(--border); font-weight: 600; font-size: 15px; color: var(--brown-dark); }

.build-step { display: flex; gap: 14px; align-items: baseline; }
.build-step__num { font-family: 'Lora', Georgia, serif; font-weight: 700; color: var(--orange); min-width: 26px; }
.build-step__label { font-size: 15px; color: var(--brown-dark); font-weight: 500; }

.checklist-box { background: var(--cream-mid); border-radius: 14px; padding: 26px; }
.checklist-item { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: var(--brown-dark); }
.checklist-item input { width: 18px; height: 18px; accent-color: var(--maroon); }
.checklist-item.checked span { text-decoration: line-through; opacity: 0.55; }

.glossary-card { background: var(--cream-light); border-radius: 12px; border: 1px solid var(--border); padding: 20px; }
.glossary-card__photo { aspect-ratio: 3/1.2; border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.glossary-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.glossary-card__word { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 16px; color: var(--brown-dark); margin-bottom: 6px; }
.glossary-card__def { font-size: 14px; color: var(--brown-mid); line-height: 1.5; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--cream-light); border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.faq-item__q {
  width: 100%; text-align: left; padding: 16px 20px; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: inherit;
}
.faq-item__q span:first-child { font-weight: 600; font-size: 15.5px; color: var(--brown-dark); }
.faq-item__icon { font-size: 20px; color: var(--brown-soft); flex-shrink: 0; }
.faq-item__a { padding: 0 20px 18px; font-size: 14.5px; color: var(--brown-mid); line-height: 1.6; display: none; }
.faq-item.open .faq-item__a { display: block; }

/* About info box */
.info-box { background: var(--cream-light); border-radius: 14px; border: 1px solid var(--border); padding: 30px; }
.info-box__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 18px; color: var(--brown-dark); margin-bottom: 14px; }
.info-box__text { font-size: 15px; color: var(--brown-mid); line-height: 1.8; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.contact-map { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; }
.contact-form-box { background: var(--cream-light); border-radius: 14px; border: 1px solid var(--border); padding: 30px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--brown-dark); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 8px;
  border: 1px solid var(--border-mid); font-family: inherit; font-size: 15px; background: var(--cream);
  color: var(--text);
}
.form-field textarea { resize: vertical; }
.form-submit { background: var(--maroon); color: var(--cream); border: none; border-radius: 8px; padding: 13px; font-weight: 600; font-size: 15.5px; cursor: pointer; width: 100%; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success__title { font-family: 'Lora', Georgia, serif; font-size: 20px; font-weight: 600; color: var(--brown-dark); margin-bottom: 10px; }
.form-success__text { font-size: 14.5px; color: var(--brown-mid); }
.form-error { background: #F4D9D2; border: 1px solid var(--maroon); color: var(--maroon); border-radius: 8px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
@media (min-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); }
}

/* Slovak themes band */
.theme-band { background: var(--maroon); padding: 60px 24px; color: var(--cream); }
.theme-card { background: rgba(247,239,226,0.08); border-radius: 12px; padding: 20px; border: 1px solid rgba(247,239,226,0.2); }
.theme-card__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 16.5px; }

/* Legal pages */
.legal-page { max-width: 760px; margin: 0 auto; padding: 46px 24px 80px; }
.legal-page h1 { font-size: clamp(28px, 3.6vw, 38px); color: var(--brown-dark); margin: 0 0 8px; }
.legal-date { font-size: 14px; color: var(--brown-soft); margin: 0 0 34px; }
.legal-body { display: flex; flex-direction: column; gap: 26px; font-size: 15.5px; color: #4A3620; line-height: 1.7; }
.legal-body h2 { font-size: 20px; color: var(--brown-dark); margin: 0 0 10px; }
.legal-body p, .legal-body ul { margin: 0; }
.legal-body ul { padding-left: 20px; }
.legal-table-box { background: var(--cream-light); border-radius: 14px; border: 1px solid var(--border); padding: 30px; margin-bottom: 30px; }
.legal-table-box__title { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 18px; color: var(--brown-dark); margin-bottom: 16px; }
.legal-table { width: 100%; font-size: 15px; color: #4A3620; border-collapse: collapse; }
.legal-table tr { border-bottom: 1px solid #EEE1C6; }
.legal-table td { padding: 10px 0; }
.legal-table td:first-child { color: var(--brown-soft); }
.legal-table td:last-child { font-weight: 600; text-align: right; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 640px; margin: 0 auto;
  background: var(--brown-dark); color: var(--footer-text);
  border-radius: 14px; padding: 20px 22px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  display: none; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 300px; }
.cookie-banner a { color: #F1E4C8; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__btn { border: none; border-radius: 7px; padding: 9px 16px; font-weight: 600; font-size: 13.5px; cursor: pointer; font-family: inherit; }
.cookie-banner__accept { background: var(--orange); color: #FFFBF4; }
.cookie-banner__decline { background: transparent; color: var(--footer-text); border: 1px solid var(--footer-muted); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
