/* Kávéházak - fő stíluslap */

:root {
  --bg: #f7f1ea;
  --dark: #4a3728;
  --dark2: #5c4632;
  --darker: #3a2a1e;
  --primary: #8a5a35;
  --primary-hover: #6f4728;
  --primary-cart: #96662f;
  --accent: #c17f3e;
  --accent-light: #cf9a5a;
  --text: #3a2e22;
  --text-light: #5c4d3d;
  --text-lighter: #6b5c4a;
  --text-muted: #7a6b58;
  --card-bg: #fdfbf8;
  --card-bg2: #efe6d8;
  --card-border: #ddd0bd;
  --section-bg: #e9decb;
  --white-text: #f7f2ea;
  --nav-text: #eae0d2;
  --footer-text: #d6c9b8;
  --footer-link: #cbbca5;
  --footer-border: #5c4632;
  --success-bg: #dcefdc;
  --success-border: #8fc79a;
  --success-text: #2c5233;
  --serif: Georgia, 'Times New Roman', Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.5;
}

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

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

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

/* Header */
.site-header {
  background: var(--dark);
  padding: 16px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 50;
}
.logo {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  color: var(--white-text);
  font-weight: 700;
}
.main-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14.5px;
}
.main-nav a { color: var(--nav-text); }
.main-nav a.active { color: var(--accent-light); font-weight: 700; }
.cart-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fefdfb;
  background: var(--primary-cart);
  padding: 9px 16px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 14.5px;
}
.cart-link:hover { color: #fefdfb; opacity: 0.92; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  min-height: 520px;
  align-items: stretch;
}
.hero-text {
  padding: 80px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.eyebrow {
  font-family: var(--sans);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin: 0;
}
.hero-text h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.12;
  margin: 0;
  color: var(--dark);
  font-weight: 700;
}
.hero-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  max-width: 520px;
  margin: 0;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--primary-hover); color: #fff; }
.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary-hover);
  padding: 13px 26px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  display: inline-block;
}
.btn-outline:hover { color: var(--primary); }
.hero-photo { position: relative; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* Perks bar */
.perks-bar {
  padding: 26px 5vw;
  background: var(--section-bg);
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  justify-content: space-around;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-lighter);
}

/* Section */
.section { padding: 80px 6vw; }
.section-tight { padding: 56px 6vw 40px; }
.section h2.section-title {
  font-family: var(--serif);
  font-size: 34px;
  text-align: center;
  margin: 0 0 12px;
  color: var(--dark);
  font-weight: 700;
}
.section-sub {
  text-align: center;
  color: var(--text-lighter);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 15.5px;
}

.page-hero {
  padding: 56px 6vw 40px;
  text-align: center;
}
.page-hero .eyebrow { margin: 0 0 10px; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: 38px;
  margin: 0 0 14px;
  color: var(--dark);
  font-weight: 700;
}
.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-lighter);
  font-size: 15px;
  line-height: 1.7;
}

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.cat-card {
  background: var(--card-bg2);
  border-radius: 4px;
  padding: 28px;
  display: block;
  border: 1px solid var(--card-border);
}
.cat-card .icon { font-size: 30px; margin-bottom: 10px; }
.cat-card .title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 6px;
}
.cat-card .desc { font-size: 14px; color: var(--text-lighter); line-height: 1.5; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card {
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card .photo { height: 170px; overflow: hidden; }
.product-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.seasonal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 2px;
  z-index: 2;
}
.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-body .name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}
.product-body .unit { font-size: 13px; color: var(--text-muted); }
.product-body .desc { font-size: 13.5px; color: var(--text-light); line-height: 1.55; flex: 1; }
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.price { font-weight: 700; color: var(--accent); font-size: 16px; }
.add-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 9px 16px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.add-btn:hover { background: var(--primary-hover); }

/* Featured (home) */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.section-alt { background: var(--section-bg); }

/* Split section */
.split {
  padding: 80px 6vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; }
.split h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 0 0 18px;
  color: var(--dark);
  font-weight: 700;
}
.split p { font-size: 15.5px; line-height: 1.75; color: var(--text-light); margin: 0 0 16px; }
.split .link { font-weight: 700; border-bottom: 2px solid var(--primary); padding-bottom: 2px; }

/* Testimonials */
.testimonials { padding: 70px 6vw; background: var(--dark); color: var(--white-text); }
.testimonials h2 { font-family: var(--serif); font-size: 30px; text-align: center; margin: 0 0 40px; font-weight: 700; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.testi-card { background: var(--dark2); padding: 26px; border-radius: 4px; }
.testi-card p { font-size: 14.5px; line-height: 1.7; margin: 0 0 14px; color: var(--nav-text); }
.testi-card .author { font-weight: 700; font-size: 13.5px; margin: 0; color: var(--accent-light); }

/* Newsletter */
.newsletter { padding: 56px 6vw; text-align: center; }
.newsletter h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 10px; color: var(--dark); font-weight: 700; }
.newsletter p { color: var(--text-lighter); font-size: 14.5px; margin: 0 0 22px; }
.newsletter-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1px solid var(--card-border);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 14px;
}
.form-success { color: #3a7a45; font-size: 13.5px; margin-top: 12px; }

/* Footer */
.site-footer { background: var(--dark); color: var(--footer-text); padding: 60px 5vw 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto 36px;
}
.footer-logo { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--white-text); margin-bottom: 12px; }
.footer-grid p { font-size: 13.5px; line-height: 1.7; color: var(--footer-text); }
.footer-col-title { font-weight: 700; color: var(--white-text); margin-bottom: 14px; font-size: 14.5px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer-links a { color: var(--footer-link); }
.footer-contact { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: var(--footer-link); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social span {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--dark2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--white-text);
}
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--footer-link);
}

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--darker);
  color: var(--white-text);
  padding: 18px 5vw;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 100;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.2);
}
.cookie-banner p { font-size: 13.5px; margin: 0; max-width: 640px; line-height: 1.55; }
.cookie-banner a { color: var(--accent-light); text-decoration: underline; }
.cookie-accept {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 700;
  cursor: pointer;
  font-size: 13.5px;
}

/* Legal pages */
.legal-section { padding: 56px 6vw 90px; max-width: 760px; margin: 0 auto; }
.legal-section h1 { font-family: var(--serif); font-size: 34px; margin: 0 0 10px; color: var(--dark); font-weight: 700; }
.legal-date { font-size: 13px; color: var(--text-muted); margin: 0 0 30px; }
.legal-block { display: flex; flex-direction: column; gap: 22px; font-size: 14.5px; line-height: 1.75; color: var(--text-light); }
.legal-block h2 { font-family: var(--serif); font-size: 18px; color: var(--dark); font-weight: 700; margin: 0 0 8px; }
.legal-block p { margin: 0; }
.legal-box { background: var(--card-bg2); border-radius: 4px; padding: 16px 18px; }
.legal-box .t { font-weight: 700; font-size: 14px; margin-bottom: 4px; color: var(--dark); }
.legal-box .d { font-size: 13.5px; }
.sample-notice { background: var(--card-bg2); border-radius: 4px; padding: 20px; font-size: 13.5px; line-height: 1.7; }

/* Tips */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  max-width: 1150px;
  margin: 0 auto;
}
.tip-card {
  background: var(--card-bg);
  border-radius: 4px;
  border: 1px solid var(--card-border);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tip-card .tag { font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.tip-card h2 { font-family: var(--serif); font-size: 19px; margin: 0; color: var(--dark); font-weight: 700; }
.tip-card p { font-size: 14px; line-height: 1.7; color: var(--text-light); margin: 0; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.value-item .icon { font-size: 30px; margin-bottom: 10px; }
.value-item .title { font-weight: 700; margin-bottom: 6px; font-size: 15px; }
.value-item .desc { font-size: 13.5px; color: var(--text-lighter); line-height: 1.6; }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.location-card { background: var(--card-bg2); border-radius: 4px; padding: 24px; border: 1px solid var(--card-border); }
.location-card .name { font-weight: 700; margin-bottom: 8px; font-size: 15.5px; color: var(--dark); }
.location-card .addr { font-size: 13.5px; color: var(--text-lighter); line-height: 1.6; }

/* Contact page */
.contact-grid {
  padding: 40px 6vw 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1150px;
  margin: 0 auto;
  align-items: start;
}
.contact-form-title { font-family: var(--serif); font-size: 22px; margin: 0 0 20px; color: var(--dark); font-weight: 700; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 13px 16px;
  border: 1px solid var(--card-border);
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 14px;
}
.contact-form textarea { resize: vertical; }
.consent-row { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-lighter); line-height: 1.5; }
.consent-row input { margin-top: 2px; }
.contact-photo {
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
}
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-info h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 12px; color: var(--dark); font-weight: 700; }
.contact-info .lines { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--text-light); line-height: 1.6; }
.hours-row { display: flex; justify-content: space-between; max-width: 280px; }

/* Cart page */
.cart-section { padding: 50px 6vw 90px; max-width: 1000px; margin: 0 auto; }
.cart-section h1 { font-family: var(--serif); font-size: 32px; margin: 0 0 30px; color: var(--dark); font-weight: 700; }
.cart-empty { text-align: center; padding: 60px 20px; background: var(--card-bg); border-radius: 4px; border: 1px solid var(--card-border); }
.cart-empty .icon { font-size: 40px; margin-bottom: 16px; }
.cart-empty p { font-size: 16px; color: var(--text-light); margin: 0 0 20px; }
.cart-success { background: var(--success-bg); border: 1px solid var(--success-border); border-radius: 4px; padding: 32px; text-align: center; }
.cart-success .icon { font-size: 34px; margin-bottom: 12px; }
.cart-success h2 { font-family: var(--serif); font-size: 22px; margin: 0 0 10px; color: var(--success-text); font-weight: 700; }
.cart-success p { font-size: 14.5px; color: var(--success-text); margin: 0 0 6px; }
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-item {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--card-border);
  align-items: center;
}
.cart-item .thumb {
  width: 70px; height: 70px; flex-shrink: 0;
  border-radius: 3px; overflow: hidden; background: var(--card-bg2);
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .info .name { font-weight: 700; font-size: 15px; color: var(--dark); }
.cart-item .info .unit { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-controls button {
  width: 28px; height: 28px; border: 1px solid var(--card-border);
  background: white; border-radius: 3px; cursor: pointer; font-size: 14px;
}
.line-total { width: 90px; text-align: right; font-weight: 700; color: var(--accent); font-size: 14.5px; }
.remove-btn { border: none; background: none; color: #8a4a2f; cursor: pointer; font-size: 13px; text-decoration: underline; }
.cart-summary { background: var(--card-bg2); border-radius: 4px; padding: 26px; border: 1px solid var(--card-border); }
.cart-summary h2 { font-family: var(--serif); font-size: 19px; margin: 0 0 18px; color: var(--dark); font-weight: 700; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; color: var(--text-light); }
.summary-hint { font-size: 12px; color: var(--accent); margin: 0 0 14px; }
.summary-total {
  display: flex; justify-content: space-between; font-size: 17px; font-weight: 700;
  color: var(--dark); border-top: 1px solid var(--card-border); padding-top: 14px; margin-bottom: 20px;
}
.checkout-btn { width: 100%; background: var(--primary); color: white; border: none; padding: 14px; border-radius: 3px; font-weight: 700; font-size: 14.5px; cursor: pointer; }
.checkout-btn:hover { background: var(--primary-hover); }
.checkout-form { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.checkout-form input {
  padding: 11px 14px; border: 1px solid var(--card-border); border-radius: 3px; font-size: 13.5px;
}
.pay-label-title { font-size: 12.5px; font-weight: 700; color: var(--text-light); margin-top: 4px; }
.pay-option { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.summary-fine { font-size: 11.5px; color: var(--text-muted); margin-top: 16px; line-height: 1.5; }

/* Shipping page */
.ship-method {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 4px;
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.ship-method .t { font-weight: 700; font-size: 14.5px; color: var(--dark); }
.ship-method .d { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.ship-method .price { font-weight: 700; color: var(--accent); font-size: 14.5px; }

/* Seasonal hero */
.seasonal-hero {
  padding: 70px 6vw;
  background: var(--card-bg2);
  text-align: center;
}
.seasonal-hero .eyebrow { color: var(--primary-hover); }
.seasonal-hero h1 { font-family: var(--serif); font-size: 40px; margin: 0 0 14px; color: var(--dark); font-weight: 700; }
.seasonal-hero p { max-width: 600px; margin: 0 auto; color: var(--text-light); font-size: 15.5px; line-height: 1.7; }
.seasonal-cta { padding: 60px 6vw; background: var(--dark); color: var(--white-text); text-align: center; }
.seasonal-cta h2 { font-family: var(--serif); font-size: 28px; margin: 0 0 16px; font-weight: 700; }
.seasonal-cta p { max-width: 560px; margin: 0 auto 6px; font-size: 15px; line-height: 1.7; color: var(--nav-text); }
.seasonal-cta .btn-accent {
  display: inline-block; margin-top: 18px; background: var(--accent); color: var(--darker);
  padding: 12px 26px; border-radius: 3px; font-weight: 700; font-size: 14px;
}

/* Menu list (italok) */
.menu-list { max-width: 820px; margin: 0 auto; }
.menu-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--card-border);
}
.menu-row .name { font-family: var(--serif); font-size: 17px; font-weight: 700; color: var(--dark); }
.menu-row .desc { font-size: 13.5px; color: var(--text-lighter); margin-top: 3px; }
.menu-row .price { font-weight: 700; color: var(--accent); font-size: 15px; white-space: nowrap; }

@media (max-width: 860px) {
  .hero, .split, .contact-grid, .cart-layout { grid-template-columns: 1fr; }
  .hero-photo img { min-height: 220px; }
  .hero-text h1 { font-size: 36px; }
}
