/* Pékségbolt — hagyományos budapesti pékség. Alap stíluslap. */
:root{
  --bg:#faf5ec;
  --text:#3d2b1c;
  --text-soft:#5c4a35;
  --text-muted:#6b5842;
  --link:#7a4a26;
  --link-hover:#5c3418;
  --header-bg:#faf6ef;
  --border:#e4d5bd;
  --card-bg:#fffaf0;
  --card-border:#e3d3b6;
  --section-alt:#f2e8d8;
  --accent-orange:#c1652f;
  --brown-dark:#4a2f1c;
  --tan-badge:#e3c48e;
  --footer-bg:#3d2b1c;
  --footer-text:#e3d3b6;
  --footer-muted:#c7b394;
  --success:#3d6b34;
  --seasonal:#b8863b;
  --new:#5c7a52;
  --font-serif:Georgia,'Times New Roman',Cambria,serif;
  --font-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(--font-sans);-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column;}
a{color:var(--link);text-decoration:none;}
a:hover{color:var(--link-hover);}
img{max-width:100%;display:block;}
input,textarea,button{font-family:var(--font-sans);}
h1,h2,h3{font-family:var(--font-serif);color:var(--text);}
.container{max-width:1240px;margin:0 auto;padding:0 24px;}
@keyframes pbFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
main{flex:1;}

/* Buttons */
.btn{display:inline-block;border-radius:3px;font-weight:700;font-size:15px;padding:14px 26px;border:none;cursor:pointer;text-align:center;}
.btn-primary{background:var(--link);color:#fdf8ef;}
.btn-primary:hover{background:var(--link-hover);color:#fdf8ef;}
.btn-outline{border:1px solid var(--link);color:var(--link-hover);background:transparent;}
.btn-accent{background:var(--accent-orange);color:#fff;}
.btn-accent:hover{background:#a44f22;color:#fff;}
.btn-small{padding:8px 14px;font-size:13px;border-radius:3px;}
.btn-block{display:block;width:100%;}

/* Cookie banner */
.cookie-banner{position:fixed;bottom:0;left:0;right:0;z-index:200;background:var(--footer-bg);color:#f3e8d6;padding:16px 24px;display:none;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;box-shadow:0 -4px 16px rgba(0,0,0,.15);}
.cookie-banner.visible{display:flex;}
.cookie-banner p{margin:0;font-size:14px;max-width:640px;line-height:1.5;}
.cookie-banner a{color:#e3c48e;text-decoration:underline;}
.cookie-banner button{background:var(--accent-orange);color:#fff;border:none;padding:10px 22px;border-radius:3px;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap;}

/* Header */
.site-header{position:sticky;top:0;z-index:50;background:var(--header-bg);border-bottom:1px solid var(--border);}
.header-inner{max-width:1240px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;}
.logo{display:flex;align-items:center;gap:10px;}
.logo-badge{width:42px;height:42px;border-radius:50%;background:var(--link);display:flex;align-items:center;justify-content:center;color:#f7ecd9;font-family:var(--font-serif);font-weight:700;font-size:20px;flex-shrink:0;}
.logo-text{font-family:var(--font-serif);font-weight:700;font-size:22px;color:var(--brown-dark);}
.main-nav{display:flex;gap:4px;flex-wrap:wrap;}
.main-nav a{padding:8px 12px;font-size:14px;font-weight:600;color:var(--brown-dark);border-bottom:2px solid transparent;}
.main-nav a:hover{border-bottom-color:var(--accent-orange);}
.main-nav a.active{border-bottom-color:var(--link);}
.nav-toggle{display:none;background:none;border:1px solid var(--border);border-radius:3px;padding:8px 10px;font-size:18px;cursor:pointer;color:var(--brown-dark);}
.cart-toggle-btn{position:relative;background:var(--link);color:#fdf8ef;border:none;padding:10px 18px;border-radius:3px;font-weight:700;font-size:14px;cursor:pointer;}

/* Cart drawer */
.cart-overlay{position:fixed;inset:0;z-index:150;background:rgba(61,43,28,.45);display:none;justify-content:flex-end;}
.cart-overlay.open{display:flex;}
.cart-overlay-bg{position:absolute;inset:0;}
.cart-panel{position:relative;width:min(400px,100%);height:100%;background:#fffaf0;padding:24px;display:flex;flex-direction:column;overflow-y:auto;}
.cart-panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;}
.cart-panel-head h2{font-size:22px;margin:0;}
.cart-close{background:none;border:none;font-size:22px;cursor:pointer;color:var(--text-muted);}
.cart-items{display:flex;flex-direction:column;gap:14px;flex:1;}
.cart-item{display:flex;gap:12px;border-bottom:1px solid var(--card-border);padding-bottom:12px;}
.cart-item-img{width:56px;height:56px;flex-shrink:0;border-radius:3px;object-fit:cover;background:#e8d9bd;}
.cart-item-info{flex:1;}
.cart-item-name{font-weight:700;font-size:14px;color:var(--text);}
.cart-item-price{font-size:13px;color:var(--text-muted);margin:2px 0 6px;}
.cart-qty{display:flex;align-items:center;gap:8px;}
.qty-btn{width:24px;height:24px;border:1px solid #d8c19c;background:#fff;border-radius:3px;cursor:pointer;}
.cart-remove{margin-left:auto;font-size:12px;color:#a3543a;background:none;border:none;cursor:pointer;text-decoration:underline;}
.cart-item-total{font-weight:700;font-size:14px;color:var(--link-hover);white-space:nowrap;}
.cart-footer{border-top:1px solid var(--card-border);padding-top:16px;margin-top:16px;}
.cart-subtotal-row{display:flex;justify-content:space-between;font-family:var(--font-serif);font-weight:700;font-size:18px;color:var(--text);margin-bottom:14px;}
.cart-empty{color:var(--text-muted);font-size:14px;}

/* Hero */
.hero{background:linear-gradient(180deg,#f2e6cc,var(--bg));padding:64px 24px;}
.hero-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:40px;align-items:center;}
.hero-badge{display:inline-block;background:var(--tan-badge);color:var(--link-hover);font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:3px;margin-bottom:16px;}
.hero h1{font-size:44px;line-height:1.15;margin:0 0 18px;}
.hero p{font-size:16px;color:var(--text-soft);line-height:1.6;max-width:480px;margin:0 0 28px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
.hero-img-wrap{height:320px;border-radius:4px;overflow:hidden;}
.hero-img-wrap img{width:100%;height:100%;object-fit:cover;}

/* Sections */
.section{padding:56px 24px;}
.section-alt{background:var(--section-alt);padding:56px 24px;}
.section h2{font-size:28px;margin:0 0 28px;text-align:center;}
.page-header{padding:48px 24px 0;max-width:1240px;margin:0 auto;}
.page-header h1{font-size:34px;margin:0 0 10px;}
.page-header p{font-size:15px;color:var(--text-soft);max-width:700px;margin:0 0 8px;}

/* Category grid (home) */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:18px;}
.cat-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:4px;padding:26px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;}
.cat-icon{width:44px;height:44px;border-radius:50%;background:#f2e0bd;}
.cat-card span{font-weight:700;font-size:14px;color:var(--text);}

/* Product grids */
.product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;}
.product-grid.featured{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));}
.product-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:4px;overflow:hidden;display:flex;flex-direction:column;}
.product-img-wrap{height:160px;position:relative;overflow:hidden;background:#e8d9bd;}
.product-grid.featured .product-img-wrap{height:150px;}
.product-img-wrap img{width:100%;height:100%;object-fit:cover;}
.product-badge{position:absolute;top:8px;left:8px;color:#fff;font-size:11px;padding:3px 8px;border-radius:3px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;}
.product-badge.seasonal{background:var(--seasonal);}
.product-badge.new{background:var(--new);}
.product-body{padding:16px;display:flex;flex-direction:column;gap:8px;flex:1;}
.product-body h3{font-size:18px;margin:0;}
.product-grid.featured .product-body h3{font-size:16px;}
.product-body p{font-size:14px;color:var(--text-muted);margin:0;line-height:1.5;}
.product-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:8px;}
.product-price{font-family:var(--font-serif);font-weight:700;font-size:17px;color:var(--link-hover);}
.product-grid.featured .product-price{font-family:var(--font-sans);font-size:15px;}

/* About teaser */
.about-teaser{padding:56px 24px;}
.about-teaser-inner{max-width:900px;margin:0 auto;text-align:center;}
.about-teaser h2{font-size:28px;margin:0 0 16px;}
.about-teaser p{font-size:15px;color:var(--text-soft);line-height:1.7;}
.about-teaser .more-link{display:inline-block;margin-top:18px;font-weight:700;color:var(--link);border-bottom:2px solid var(--link);padding-bottom:2px;}

/* Testimonials */
.testimonial-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;}
.testimonial-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:4px;padding:22px;}
.testimonial-card p{font-size:15px;color:#4a3722;line-height:1.6;font-style:italic;margin:0 0 12px;}
.testimonial-card .author{font-size:13px;color:var(--text-muted);margin:0;font-weight:700;font-style:normal;}

/* Info + newsletter */
.info-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:32px;}
.info-grid h3{font-size:20px;margin:0 0 12px;}
.info-grid p{font-size:14px;color:var(--text-soft);margin:0 0 4px;}
.hours-row{display:flex;justify-content:space-between;max-width:280px;font-size:14px;color:var(--text-soft);line-height:1.7;}
.newsletter-box{background:var(--section-alt);border-radius:4px;padding:24px;}
.newsletter-box h3{font-size:20px;margin:0 0 8px;}
.newsletter-box p{font-size:14px;color:var(--text-soft);margin:0 0 14px;}
.form-inline{display:flex;gap:8px;flex-wrap:wrap;}
.form-inline input{flex:1;min-width:160px;}
input[type=text],input[type=email],input[type=tel],input[type=number],textarea{padding:11px 12px;border:1px solid #d8c19c;border-radius:3px;font-size:14px;width:100%;}
textarea{resize:vertical;}
.success-msg{font-size:14px;color:var(--success);font-weight:700;}

/* Storage tips */
.storage-list{display:flex;flex-direction:column;gap:26px;max-width:760px;}
.storage-list h3{font-size:19px;margin:0 0 8px;}
.storage-list p{font-size:14px;color:var(--text-soft);line-height:1.7;margin:0;}
.tip-box{background:var(--section-alt);border-radius:4px;padding:20px 22px;margin-top:32px;max-width:760px;}
.tip-box p{font-size:14px;color:#4a3722;margin:0;font-weight:700;}

/* About page */
.about-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(240px,1fr);gap:32px;align-items:start;margin-bottom:40px;}
.about-grid p{font-size:14px;color:var(--text-soft);line-height:1.7;margin:0 0 12px;}
.about-photo{height:220px;border-radius:4px;overflow:hidden;}
.about-photo img{width:100%;height:100%;object-fit:cover;}
.values-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;margin-bottom:40px;}
.value-card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:4px;padding:20px;}
.value-card h3{font-size:16px;margin:0 0 8px;}
.value-card p{font-size:13px;color:var(--text-muted);line-height:1.6;margin:0;}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:20px;text-align:center;background:var(--section-alt);border-radius:4px;padding:28px;}
.stat-num{font-family:var(--font-serif);font-size:30px;color:var(--link);font-weight:700;}
.stat-label{font-size:13px;color:var(--text-muted);}

/* Contact */
.contact-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(280px,1.3fr);gap:36px;}
.contact-grid h2{font-size:20px;margin:0 0 14px;}
.contact-photo{height:160px;border-radius:4px;overflow:hidden;margin-top:8px;}
.contact-photo img{width:100%;height:100%;object-fit:cover;}
.contact-form-box{background:var(--card-bg);border:1px solid var(--card-border);border-radius:4px;padding:26px;}
.form-col{display:flex;flex-direction:column;gap:12px;}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}

/* Checkout */
.checkout-summary{background:var(--section-alt);border-radius:4px;padding:16px 18px;margin-bottom:24px;}
.checkout-summary-row{display:flex;justify-content:space-between;font-weight:700;font-family:var(--font-serif);font-size:17px;color:var(--text);}
.payment-label{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-soft);margin-bottom:6px;}
.order-success{text-align:center;padding:40px 0;}
.order-success .check{width:64px;height:64px;border-radius:50%;background:var(--success);color:#fff;display:flex;align-items:center;justify-content:center;font-size:30px;margin:0 auto 20px;}
.order-success h1{font-size:28px;margin:0 0 10px;}

/* Legal pages */
.legal-content{padding:48px 24px;max-width:760px;margin:0 auto;font-size:14px;color:var(--text-soft);line-height:1.8;}
.legal-content h1{font-size:32px;margin:0 0 24px;color:var(--text);}
.legal-content h3{font-size:16px;margin:20px 0 4px;color:var(--text);}

/* Footer */
.site-footer{background:var(--footer-bg);color:var(--footer-text);padding:48px 24px 24px;}
.footer-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px;margin-bottom:32px;}
.footer-logo{display:flex;align-items:center;gap:8px;margin-bottom:12px;}
.footer-logo-badge{width:32px;height:32px;border-radius:50%;background:var(--tan-badge);display:flex;align-items:center;justify-content:center;color:var(--text);font-family:var(--font-serif);font-weight:700;}
.footer-logo-text{font-family:var(--font-serif);font-weight:700;font-size:17px;color:#fdf8ef;}
.site-footer p{font-size:13px;line-height:1.6;color:var(--footer-muted);margin:0;}
.site-footer h4{font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--tan-badge);margin:0 0 12px;font-family:var(--font-sans);}
.footer-links{display:flex;flex-direction:column;gap:8px;}
.footer-links a{font-size:13px;color:var(--footer-muted);}
.footer-links a:hover{color:#fff;}
.footer-bottom{max-width:1240px;margin:0 auto;border-top:1px solid #5c4a35;padding-top:20px;font-size:12px;color:#a3906f;}

/* Responsive */
@media (max-width:820px){
  .hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr;}
  .main-nav{display:none;width:100%;flex-direction:column;gap:0;background:var(--header-bg);border-top:1px solid var(--border);margin-top:10px;padding-top:6px;}
  .main-nav.open{display:flex;}
  .main-nav a{padding:12px 4px;border-bottom:1px solid var(--border);}
  .nav-toggle{display:inline-block;}
  .header-inner{position:relative;}
  .form-row-2{grid-template-columns:1fr;}
}
