/* KaveVera - fő stíluslap */

:root{
  --bg:#F6EEE3;
  --text:#2B1A12;
  --header-bg:#2B1A12;
  --header-border:#4A2F20;
  --accent:#C08552;
  --accent-hover:#A66E3E;
  --cream:#D9C4A9;
  --tan-light:#E4D4BF;
  --tan-lighter:#EFE3D2;
  --brown-mid:#6B5241;
  --brown-dark:#3B2418;
  --footer-bg:#231409;
  --footer-text:#D9C4A9;
  --footer-border:#3a2517;
  --footer-muted:#8a6f56;
  --badge-bg:#4A2F20;
  --badge-text:#E4B98A;
  --danger-bg:#F3DED2;
  --danger-text:#8a3a2a;
  --success-text:#3B6B3B;
  --white:#FFFFFF;
  --font-serif: Georgia, 'Times New Roman', Cambria, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 12px;
  --max-width: 1180px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-sans);
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:var(--accent); text-decoration:none; }
a:hover{ color:var(--accent-hover); text-decoration:underline; }
h1,h2,h3{ font-family:var(--font-serif); font-weight:700; margin:0; }
p{ margin:0; }
ul,ol{ margin:0; }
button{ font-family:inherit; }

.container{ max-width:var(--max-width); margin:0 auto; padding:0 24px; }
.visually-hidden{ position:absolute !important; width:1px;height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* ===== HEADER ===== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--header-bg);
  border-bottom:1px solid var(--header-border);
}
.header-inner{
  max-width:var(--max-width); margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.brand:hover{ text-decoration:none; color:inherit; }
.brand-mark{
  width:38px; height:38px; border-radius:50%; background:var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-serif); font-weight:700; color:var(--header-bg); font-size:18px; flex-shrink:0;
}
.brand-name{ font-family:var(--font-serif); font-weight:700; font-size:22px; color:var(--bg); letter-spacing:.3px; }
.brand-tag{ font-size:11px; color:var(--cream); letter-spacing:1px; }

.main-nav{ display:flex; gap:20px; align-items:center; flex-wrap:wrap; }
.main-nav a{ color:var(--bg); font-weight:500; font-size:14px; }
.main-nav a:hover{ text-decoration:none; color:var(--badge-text); }
.main-nav a.active{ color:var(--accent); font-weight:700; }

.header-actions{ display:flex; align-items:center; gap:14px; }
.cart-chip{
  position:relative; cursor:pointer; display:flex; align-items:center; gap:8px;
  background:var(--badge-bg); padding:9px 14px; border-radius:8px; color:var(--bg);
  font-size:14px; font-weight:600; border:none; text-decoration:none;
}
.cart-chip:hover{ background:#5A3A28; text-decoration:none; color:var(--bg); }
.cart-chip .cart-icon{ width:9px; height:9px; border-radius:2px; border:2px solid var(--bg); }
.cart-count{
  background:var(--accent); color:var(--header-bg); font-size:11px; font-weight:700;
  border-radius:10px; min-width:18px; height:18px; display:none; align-items:center; justify-content:center; padding:0 5px;
}
.cart-count.show{ display:flex; }

.menu-toggle{ display:none; background:none; border:1px solid var(--header-border); color:var(--bg); border-radius:8px; padding:8px 10px; cursor:pointer; }

/* ===== BUTTONS ===== */
.btn{
  display:inline-block; border:none; padding:14px 28px; border-radius:8px;
  font-weight:700; font-size:15px; cursor:pointer; text-align:center;
}
.btn:hover{ text-decoration:none; }
.btn-accent{ background:var(--accent); color:#2B1A12; }
.btn-accent:hover{ background:var(--accent-hover); color:#2B1A12; }
.btn-outline{ background:transparent; color:var(--bg); border:1px solid #6B5241; }
.btn-outline:hover{ border-color:var(--bg); color:var(--bg); }
.btn-dark{ background:#2B1A12; color:var(--bg); border:none; }
.btn-dark:hover{ background:var(--badge-bg); color:var(--bg); }
.btn-small{ padding:10px 14px; font-size:13px; border-radius:7px; }
.btn-block{ width:100%; }

/* ===== HERO ===== */
.hero{
  background:linear-gradient(180deg,#2B1A12,#3B2418);
  color:var(--bg); padding:72px 24px 88px;
}
.hero-inner{
  max-width:var(--max-width); margin:0 auto; display:grid;
  grid-template-columns:1.1fr .9fr; gap:48px; align-items:center;
}
.hero-eyebrow{
  display:inline-block; background:var(--badge-bg); color:var(--badge-text);
  font-size:12px; letter-spacing:1.5px; padding:6px 12px; border-radius:20px; margin-bottom:20px;
}
.hero h1{ font-size:44px; line-height:1.15; margin:0 0 18px; color:var(--bg); }
.hero p{ font-size:17px; color:var(--cream); max-width:480px; margin:0 0 28px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-photo{
  height:340px; border-radius:14px; overflow:hidden;
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; }

/* ===== SECTIONS ===== */
.section{ max-width:var(--max-width); margin:0 auto; padding:56px 24px; }
.section-tight{ padding:0 24px 64px; }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:22px; flex-wrap:wrap; gap:8px; }
.section-head h2{ font-size:28px; }
.section-title-center{ font-size:28px; margin:0 0 24px; text-align:center; }
.section-lede{ color:var(--brown-mid); margin:0 0 28px; max-width:640px; }
.section-alt{ background:var(--tan-lighter); padding:64px 24px; }
.breadcrumb{ margin-bottom:8px; font-size:13px; color:var(--brown-mid); }
.h2-block{ font-family:var(--font-serif); font-size:22px; font-weight:700; margin:0 0 14px; }
.muted{ color:var(--brown-mid); }
.mb-36{ margin-bottom:36px; }
.text-sm{ font-size:14px; }
.text-13{ font-size:13px; }
.link-more{ font-size:14px; font-weight:600; }
.section-photo{ border-radius:14px; overflow:hidden; margin-bottom:32px; }
.section-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.page-title{ font-size:34px; margin:0 0 10px; }
.page-title-tight{ margin:0 0 8px; }
.page-title-wide{ margin:0 0 20px; }

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

/* ===== CARDS ===== */
.card{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:24px; }
.value-card{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:24px; }
.value-mark{
  width:36px; height:36px; border-radius:8px; background:var(--tan-lighter); color:var(--accent);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-family:var(--font-serif); margin-bottom:14px;
}
.value-title{ font-weight:700; margin-bottom:6px; }
.value-text{ font-size:13.5px; color:var(--brown-mid); }

/* category cards */
.cat-card{ cursor:pointer; border-radius:var(--radius); overflow:hidden; border:1px solid var(--tan-light); background:var(--white); text-decoration:none; color:inherit; display:block; }
.cat-card:hover{ text-decoration:none; color:inherit; }
.cat-card:hover{ box-shadow:0 6px 18px rgba(43,26,18,.12); }
.cat-photo{ height:110px; overflow:hidden; }
.cat-photo img{ width:100%; height:100%; object-fit:cover; }
.cat-label{ padding:14px; font-weight:600; font-size:14px; }

/* product cards */
.product-card{ border:1px solid var(--tan-light); border-radius:var(--radius); background:var(--white); overflow:hidden; display:flex; flex-direction:column; }
.product-photo{ height:150px; position:relative; overflow:hidden; }
.product-photo img{ width:100%; height:100%; object-fit:cover; }
.roast-badge{
  position:absolute; top:8px; left:8px; background:#2B1A12; color:var(--bg);
  font-size:10px; padding:3px 8px; border-radius:10px; font-family:var(--font-sans);
}
.product-body{ padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.product-category{ font-size:11px; color:var(--accent); font-weight:700; letter-spacing:.5px; }
.product-name{ font-weight:600; font-size:15px; }
.product-note{ font-size:12.5px; color:var(--brown-mid); }
.product-price{ font-size:20px; font-weight:700; margin-top:auto; }

/* knowledge cards */
.knowledge-card{ cursor:pointer; background:var(--white); border-radius:var(--radius); padding:20px 16px; border:1px solid var(--tan-light); text-align:center; text-decoration:none; color:inherit; display:block; }
.knowledge-card:hover{ border-color:var(--accent); text-decoration:none; color:inherit; }
.knowledge-title{ font-weight:700; margin-bottom:6px; font-size:14.5px; }
.knowledge-text{ font-size:12.5px; color:var(--brown-mid); }

/* testimonials */
.testimonial-card{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:22px; }
.stars{ color:var(--accent); font-size:14px; margin-bottom:10px; }
.testimonial-text{ font-size:14px; color:var(--brown-dark); margin-bottom:14px; }
.testimonial-name{ font-size:13px; font-weight:700; }
.testimonial-role{ font-size:12px; color:var(--brown-mid); }

/* newsletter */
.newsletter{ background:#2B1A12; color:var(--bg); padding:56px 24px; }
.newsletter-inner{ max-width:640px; margin:0 auto; text-align:center; }
.newsletter h2{ font-size:26px; margin:0 0 10px; color:var(--bg); }
.newsletter p{ color:var(--cream); font-size:14.5px; margin:0 0 22px; }
.newsletter-form{ display:flex; gap:10px; max-width:420px; margin:0 auto; flex-wrap:wrap; }
.newsletter-form input{ flex:1; min-width:180px; padding:12px 14px; border-radius:8px; border:1px solid var(--badge-bg); background:#3B2418; color:var(--bg); font-size:14px; }
.newsletter-form input::placeholder{ color:var(--cream); }
.form-note{ background:var(--tan-lighter); border-radius:var(--radius); padding:16px 20px; margin-top:16px; font-size:14px; }

/* filters */
.filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px; }
.filter-btn{
  background:var(--white); color:#2B1A12; border:1px solid var(--cream); padding:9px 16px;
  border-radius:20px; font-size:13.5px; cursor:pointer; font-weight:500;
}
.filter-btn.active{ background:#2B1A12; color:var(--bg); border-color:#2B1A12; font-weight:600; }

/* forms */
.field, textarea, input[type=text], input[type=email], input[type=tel]{
  padding:12px 14px; border:1px solid var(--cream); border-radius:8px; font-size:14px; font-family:inherit; width:100%;
}
textarea{ resize:vertical; }
.form-stack{ display:flex; flex-direction:column; gap:12px; }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.span-2{ grid-column:span 2; }

/* cart page */
.cart-list{ display:flex; flex-direction:column; gap:14px; margin-bottom:28px; }
.cart-item{ display:flex; align-items:center; gap:16px; background:var(--white); border:1px solid var(--tan-light); border-radius:10px; padding:14px; flex-wrap:wrap; }
.cart-item-photo{ width:64px; height:64px; border-radius:8px; overflow:hidden; flex-shrink:0; }
.cart-item-photo img{ width:100%; height:100%; object-fit:cover; }
.cart-item-info{ flex:1; min-width:140px; }
.cart-item-name{ font-weight:600; font-size:14.5px; }
.cart-item-price{ font-size:12.5px; color:var(--brown-mid); }
.qty-controls{ display:flex; align-items:center; gap:10px; }
.qty-btn{ width:28px; height:28px; border-radius:6px; border:1px solid var(--cream); background:var(--bg); cursor:pointer; font-weight:700; }
.qty-value{ min-width:20px; text-align:center; font-weight:600; }
.line-total{ font-weight:700; min-width:90px; text-align:right; }
.remove-link{ color:#8a5a3a; background:none; border:none; cursor:pointer; font-size:13px; text-decoration:underline; }
.cart-summary{ display:flex; justify-content:flex-end; margin-bottom:8px; }
.cart-summary-inner{ text-align:right; }
.shipping-note{ font-size:13px; color:var(--brown-mid); }
.cart-total{ font-size:22px; font-weight:700; margin-top:4px; }
.checkout-box{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:24px; margin-top:24px; }
.checkout-title{ font-weight:700; font-family:var(--font-serif); font-size:18px; margin-bottom:16px; }
.checkout-legal{ margin-top:16px; font-size:12.5px; color:var(--brown-mid); }
.empty-cart{ text-align:center; padding:48px 0; color:var(--brown-mid); }
.empty-cart p{ margin:0 0 16px; }
.order-success{ background:var(--tan-lighter); border:1px solid var(--cream); border-radius:var(--radius); padding:32px; text-align:center; }
.order-success .check{ font-size:38px; margin-bottom:10px; }
.order-success h2{ font-size:22px; margin-bottom:8px; }
.order-success p{ color:var(--brown-mid); font-size:14.5px; }

/* brewing methods */
.method-card{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:24px; }
.method-head{ display:flex; align-items:baseline; justify-content:space-between; }
.method-name{ font-family:var(--font-serif); font-size:20px; font-weight:700; }
.method-time{ font-size:12px; color:var(--accent); font-weight:700; }
.method-desc{ font-size:14px; color:var(--brown-mid); margin:8px 0 14px; }
.method-steps{ margin:0; padding-left:18px; font-size:13.5px; color:var(--brown-dark); }
.method-steps li{ margin-bottom:4px; }

/* beans / origin */
.origin-card{ background:var(--tan-lighter); border-radius:var(--radius); padding:18px; }
.roast-card{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:20px; }
.roast-swatch{ width:100%; height:8px; border-radius:4px; margin-bottom:12px; }
.bullet-list{ font-size:14.5px; color:var(--brown-dark); padding-left:20px; margin:0; }
.bullet-list li{ margin-bottom:6px; }

/* storage do/dont */
.dodont-card{ border-radius:var(--radius); padding:22px; }
.dodont-good{ background:var(--tan-lighter); }
.dodont-bad{ background:var(--danger-bg); }
.dodont-title{ font-weight:700; margin-bottom:10px; }
.dodont-good .dodont-title{ color:var(--success-text); }
.dodont-bad .dodont-title{ color:var(--danger-text); }

/* recipes */
.recipe-card{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:24px; }
.recipe-name{ font-family:var(--font-serif); font-size:20px; font-weight:700; margin-bottom:10px; }
.recipe-label{ font-size:13px; font-weight:700; color:var(--accent); margin-bottom:6px; }
.recipe-tip{ font-size:12.5px; color:var(--brown-mid); font-style:italic; }

/* beginners */
.beginner-card{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:20px; display:flex; gap:14px; }
.beginner-num{ font-family:var(--font-serif); font-weight:700; font-size:22px; color:var(--accent); min-width:32px; }
.beginner-title{ font-weight:700; margin-bottom:4px; }
.beginner-text{ font-size:13.5px; color:var(--brown-mid); }

/* about */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.about-grid p{ font-size:15px; color:var(--brown-dark); margin:0 0 16px; }
.stats-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:28px; }
.stat-card{ text-align:center; background:var(--tan-lighter); border-radius:10px; padding:16px; }
.stat-number{ font-family:var(--font-serif); font-size:26px; font-weight:700; }
.stat-label{ font-size:12px; color:var(--brown-mid); }
.about-photo{ height:380px; border-radius:14px; overflow:hidden; }
.about-photo img{ width:100%; height:100%; object-fit:cover; }

/* contact */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.info-card{ background:var(--white); border:1px solid var(--tan-light); border-radius:var(--radius); padding:20px; }
.info-title{ font-weight:700; margin-bottom:6px; }
.info-text{ font-size:14px; color:var(--brown-dark); }
.info-photo{ height:150px; border-radius:var(--radius); overflow:hidden; }
.info-photo img{ width:100%; height:100%; object-fit:cover; }
.contact-info-list{ display:flex; flex-direction:column; gap:18px; }

/* legal */
.legal-tabs{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:30px; }
.legal-tab{ background:var(--white); color:#2B1A12; border:1px solid var(--cream); padding:9px 16px; border-radius:20px; font-size:13px; cursor:pointer; font-weight:500; }
.legal-tab:hover{ text-decoration:none; }
.legal-tab.active{ background:#2B1A12; color:var(--bg); border-color:#2B1A12; font-weight:600; }
.legal-body p{ font-size:14.5px; color:var(--brown-dark); margin:0 0 14px; }
.legal-body h2{ font-size:22px; margin-bottom:16px; }

/* footer */
.site-footer{ background:var(--footer-bg); color:var(--footer-text); padding:48px 24px 24px; }
.footer-grid{ max-width:var(--max-width); margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.footer-brand{ font-family:var(--font-serif); font-weight:700; font-size:20px; color:var(--bg); margin-bottom:10px; }
.footer-desc{ font-size:13px; line-height:1.6; margin:0; }
.footer-heading{ font-weight:700; color:var(--bg); margin-bottom:10px; font-size:13.5px; }
.footer-links{ display:flex; flex-direction:column; gap:7px; font-size:13px; }
.footer-links a{ color:var(--footer-text); }
.footer-links a:hover{ color:var(--bg); }
.footer-bottom{
  max-width:var(--max-width); margin:32px auto 0; padding-top:20px; border-top:1px solid var(--footer-border);
  font-size:12px; color:var(--footer-muted); display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
}

/* cookie banner */
.cookie-banner{
  position:fixed; bottom:0; left:0; right:0; background:#2B1A12; color:var(--bg);
  padding:18px 24px; display:flex; align-items:center; justify-content:space-between; gap:20px;
  flex-wrap:wrap; z-index:100; border-top:1px solid var(--badge-bg);
}
.cookie-banner p{ font-size:13.5px; max-width:720px; }
.cookie-banner a{ color:var(--bg); text-decoration:underline; }
.cookie-banner.hidden{ display:none; }

/* misc */
.map-photo{ height:150px; border-radius:var(--radius); overflow:hidden; }
.map-photo img{ width:100%; height:100%; object-fit:cover; }
.skip-link{ position:absolute; left:-9999px; top:0; background:var(--accent); color:#2B1A12; padding:10px 16px; z-index:200; }
.skip-link:focus{ left:12px; top:12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-5{ grid-template-columns:repeat(2,1fr); }
  .hero-inner{ grid-template-columns:1fr; }
  .hero-photo{ height:240px; order:-1; }
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
  .about-photo{ height:260px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 720px){
  .main-nav{ display:none; position:absolute; top:100%; left:0; right:0; background:var(--header-bg); flex-direction:column; padding:16px 24px; gap:14px; border-bottom:1px solid var(--header-border); }
  .main-nav.open{ display:flex; }
  .menu-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .grid-2, .grid-3{ grid-template-columns:1fr; }
  .grid-4, .grid-5{ grid-template-columns:repeat(2,1fr); }
  .hero h1{ font-size:32px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .form-grid-2{ grid-template-columns:1fr; }
  .span-2{ grid-column:span 1; }
  .cart-item{ flex-direction:column; align-items:flex-start; }
  .line-total{ text-align:left; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns:1fr; }
  .grid-4, .grid-5{ grid-template-columns:1fr; }
}
