/* ==========================================================================
   Lumpa Chocolate & Coffee — public site styles
   Faithful translation of the Claude Design mock (tactile editorial modernism)
   ========================================================================== */

:root {
    --purple: #7a2b90;
    --purple-dark: #5a1f6b;
    --plum: #571d6b;
    --ink: #3e1250;
    --footer: #2b0b36;
    --gold: #e8a820;
    --gold-light: #f6bc3a;
    --lilac: #faf5fc;
    --border: #f0e4f5;
    --border-input: #e7d9ee;
    --muted: #6d5a78;
    --muted-2: #8a7591;
    --chip: #f7effa;
    --chip-hover: #efdff6;
    --hero: linear-gradient(160deg, #8b35a3 0%, #7a2b90 34%, #571d6b 72%, #3e1250 100%);
    --hero-page: linear-gradient(160deg, #8b35a3 0%, #7a2b90 40%, #571d6b 100%);
    --font-display: 'Baloo 2', cursive;
    --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: #fff;
    color: var(--ink);
    overflow-x: hidden;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); }

/* ---- container / layout helpers ---- */
.wrap { padding-left: 96px; padding-right: 96px; }
.section { padding-top: 90px; padding-bottom: 90px; }
.eyebrow { font: 800 13px var(--font-body); color: var(--gold); letter-spacing: .18em; }

/* ---- animations ---- */
@keyframes lumpa-marq { to { transform: translateX(-50%); } }
@keyframes lumpa-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes lumpa-float2 { 0%,100% { transform: translateY(-8px) rotate(-6deg); } 50% { transform: translateY(8px) rotate(4deg); } }
@keyframes lumpa-spin { to { transform: rotate(360deg); } }
@keyframes lumpa-pulse { 0%,100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes lumpa-fade { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; text-decoration: none; cursor: pointer; border: none; transition: transform .2s, background .2s, box-shadow .2s; font-family: var(--font-body); }
.btn-gold { background: var(--gold); color: var(--ink); font: 800 16px var(--font-body); padding: 17px 34px; box-shadow: 0 10px 30px rgba(232,168,32,.4); }
.btn-gold:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 12px 30px rgba(232,168,32,.55); }
.btn-white { background: #fff; color: var(--plum); font: 800 16px var(--font-body); padding: 17px 34px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn-white:hover { transform: translateY(-2px); color: var(--plum); }
.btn-purple { background: var(--purple); color: #fff; font: 800 15px var(--font-body); padding: 15px 30px; }
.btn-purple:hover { background: var(--purple-dark); color: #fff; }
.btn-outline-white { border: 2px solid rgba(255,255,255,.45); color: #fff; font: 800 16px var(--font-body); padding: 15px 32px; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline-purple { border: 2px solid var(--purple); color: var(--purple); font: 800 15px var(--font-body); padding: 14px 30px; }
.btn-outline-purple:hover { background: var(--chip); color: var(--purple); }
.btn-lg { font-size: 17px; padding: 20px 40px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { display: flex; align-items: center; gap: 40px; padding: 26px 56px; }
.site-header .logo img { height: 64px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
.site-nav { display: flex; align-items: center; gap: 34px; font: 600 15.5px var(--font-body); margin-left: 24px; }
.site-nav > a, .site-nav .has-drop { color: rgba(255,255,255,.92); text-decoration: none; position: relative; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; padding: 14px 0; }
.site-nav > a:hover { color: #fff; }
.site-nav .active { color: var(--gold); }
.caret { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--gold); }
.caret-light { border-top-color: rgba(255,255,255,.7); }
.dropdown { position: absolute; top: 44px; left: -18px; min-width: 220px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(30,5,40,.45); padding: 12px; display: none; flex-direction: column; gap: 2px; z-index: 60; }
.has-drop:hover .dropdown { display: flex; animation: lumpa-fade .18s ease; }
.dropdown::before { content: ''; position: absolute; top: -7px; left: 34px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: var(--ink); font: 600 14.5px var(--font-body); text-decoration: none; }
.dropdown a:hover { background: var(--chip); color: var(--ink); }
.dropdown a.strong { font-weight: 700; background: var(--chip); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-purple { background: var(--purple); } .dot-gold { background: var(--gold); }
.qr-tag { font: 800 13px ui-monospace, monospace; background: var(--purple); color: #fff; border-radius: 6px; padding: 2px 6px; }
.header-cta { margin-left: auto; background: var(--gold); color: var(--ink); font: 800 15px var(--font-body); padding: 14px 26px; border-radius: 999px; box-shadow: 0 8px 24px rgba(232,168,32,.4); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.header-cta:hover { transform: translateY(-2px); color: var(--ink); box-shadow: 0 12px 30px rgba(232,168,32,.55); }
.nav-toggle { display: none; }
.nav-cta-mobile { display: none; }

/* ==========================================================================
   Hero (homepage slider)
   ========================================================================== */
.hero { position: relative; height: 840px; background: var(--hero); overflow: hidden; }
.hero-orb { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.14), rgba(255,255,255,0) 60%); top: -160px; left: -120px; }
.hero-deco { position: absolute; }
.hero-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.hero-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; padding: 120px 56px 80px 96px; gap: 40px; }
.hero-texts { position: relative; min-height: 480px; }
.hero-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; transition: opacity .8s; opacity: 0; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font: 700 13px var(--font-body); letter-spacing: .14em; padding: 9px 18px; border-radius: 999px; backdrop-filter: blur(4px); }
.hero-badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: lumpa-pulse 2.4s ease-in-out infinite; }
.hero h1 { font: 700 76px/1.06 var(--font-display); color: #fff; margin: 26px 0 0; letter-spacing: -.01em; }
.hero h1 .hl { color: var(--gold); }
.hero p { font: 500 19px/1.7 var(--font-body); color: rgba(255,255,255,.82); max-width: 520px; margin: 22px 0 0; }
.hero-actions { display: flex; gap: 16px; margin-top: 38px; }
.hero-visual { position: relative; justify-self: center; }
.hero-disc { width: 480px; height: 480px; border-radius: 50%; border: 10px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; box-shadow: 0 40px 90px rgba(20,0,30,.5); overflow: hidden; background: repeating-linear-gradient(45deg, #6b2380 0 14px, #5e1e72 14px 28px); }
.hero-disc img { width: 100%; height: 100%; object-fit: cover; }
.hero-ring { position: absolute; inset: -34px; border-radius: 50%; border: 1.5px dashed rgba(232,168,32,.6); animation: lumpa-spin 40s linear infinite; }
.hero-chip { position: absolute; top: -6px; right: 22px; background: var(--gold); color: var(--ink); font: 800 15px var(--font-display); padding: 14px 20px; border-radius: 18px 18px 18px 4px; box-shadow: 0 12px 30px rgba(0,0,0,.3); transform: rotate(6deg); animation: lumpa-float 6s ease-in-out infinite; }
.hero-dots { position: absolute; left: 96px; bottom: 44px; display: flex; align-items: center; gap: 14px; z-index: 10; }
.hero-dots .dotbtn { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: all .4s; border: none; }
.hero-dots .dotbtn.is-active { width: 34px; background: var(--gold); }
.hero-counter { font: 700 13px ui-monospace, monospace; color: rgba(255,255,255,.6); margin-left: 10px; }
.hero-arrows { position: absolute; right: 56px; bottom: 36px; display: flex; gap: 12px; z-index: 10; }
.hero-arrows button { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }
.hero-arrows .prev { border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff; }
.hero-arrows .prev:hover { background: rgba(255,255,255,.12); }
.hero-arrows .next { border: none; background: #fff; color: var(--plum); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.hero-arrows .next:hover { transform: scale(1.06); }

/* ---- marquee ---- */
.marquee { background: var(--gold); overflow: hidden; padding: 16px 0; white-space: nowrap; transform: rotate(-1.2deg); margin: -14px -20px 0; position: relative; z-index: 6; box-shadow: 0 10px 30px rgba(62,18,80,.18); }
.marquee .track { display: inline-flex; gap: 48px; animation: lumpa-marq 22s linear infinite; font: 800 17px var(--font-display); color: var(--ink); letter-spacing: .06em; }

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; gap: 24px; }
.section-head h2 { font: 700 44px/1.1 var(--font-display); color: var(--ink); margin: 8px 0 0; }
.section-link { font: 800 15px var(--font-body); color: var(--purple); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }

/* ---- category cards (home) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); transition: transform .3s; text-decoration: none; display: block; background: #fff; }
.cat-card:hover { transform: translateY(-8px); }
.cat-card .thumb { height: 220px; background: repeating-linear-gradient(45deg, #f5ebf8 0 12px, #ede0f3 12px 24px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 20px 22px 24px; }
.cat-card .name { font: 700 21px var(--font-display); color: var(--ink); }
.cat-card .desc { font: 500 14px/1.5 var(--font-body); color: var(--muted-2); margin-top: 4px; }
.placeholder-note { font: 500 12px ui-monospace, monospace; color: #9b6bab; }
.qr-card { border-radius: 24px; overflow: hidden; background: var(--purple); display: flex; flex-direction: column; justify-content: space-between; padding: 26px 24px; transition: transform .3s; }
.qr-card:hover { transform: translateY(-8px); }
.qr-card .qr-badge { font: 800 13px ui-monospace, monospace; background: #fff; color: var(--purple); border-radius: 8px; padding: 5px 9px; align-self: flex-start; }
.qr-card h3 { font: 700 24px/1.2 var(--font-display); color: #fff; }
.qr-card p { font: 500 14px/1.55 var(--font-body); color: rgba(255,255,255,.75); margin: 8px 0 18px; }
.qr-card .qr-link { display: inline-block; background: var(--gold); color: var(--ink); font: 800 14px var(--font-body); padding: 11px 20px; border-radius: 999px; text-decoration: none; }

/* ---- about teaser split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split .media { min-height: 460px; background: repeating-linear-gradient(45deg, #eee0f4 0 14px, #e5d3ee 14px 28px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .content { padding: 80px 96px 80px 72px; display: flex; flex-direction: column; justify-content: center; }
.split h2 { font: 700 42px/1.15 var(--font-display); color: var(--ink); margin: 10px 0 0; }
.split p { font: 500 17px/1.75 var(--font-body); color: var(--muted); margin: 20px 0 0; }

/* ---- news cards ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); text-decoration: none; display: block; transition: transform .3s, box-shadow .3s; background: #fff; }
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(62,18,80,.1); }
.news-card .thumb { height: 190px; background: repeating-linear-gradient(45deg, #f5ebf8 0 12px, #ede0f3 12px 24px); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--purple); font: 800 12px var(--font-body); padding: 6px 13px; border-radius: 999px; }
.news-card .body { padding: 20px 22px 24px; }
.news-card .date { font: 700 13px var(--font-body); color: var(--gold); }
.news-card .title { font: 700 19px/1.35 var(--font-display); color: var(--ink); margin-top: 6px; }
.news-card .excerpt { font: 500 14px/1.6 var(--font-body); color: var(--muted-2); margin-top: 8px; }

/* ---- CTA bands ---- */
.cta-band { background: var(--ink); padding: 80px 96px; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-band h2 { font: 700 40px/1.15 var(--font-display); color: #fff; margin: 0; }
.cta-band h2 .hl { color: var(--gold); }
.cta-band p { font: 500 16px/1.7 var(--font-body); color: rgba(255,255,255,.7); margin: 14px 0 0; max-width: 560px; }

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero { position: relative; background: var(--hero-page); padding-bottom: 80px; overflow: hidden; }
.page-hero .orb { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%); top: -140px; right: -100px; }
.page-hero .inner { padding: 70px 96px 0; position: relative; }
.crumb { font: 700 13px var(--font-body); color: rgba(255,255,255,.6); letter-spacing: .14em; }
.crumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.crumb a:hover { color: #fff; }
.page-hero h1 { font: 700 64px/1.08 var(--font-display); color: #fff; margin: 14px 0 0; }
.page-hero h1 .hl { color: var(--gold); }
.page-hero .lead { font: 500 19px/1.7 var(--font-body); color: rgba(255,255,255,.8); max-width: 640px; margin: 18px 0 0; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 44px 48px; box-shadow: 0 20px 60px rgba(62,18,80,.07); }
.field { display: flex; flex-direction: column; }
.field label { display: block; font: 700 13.5px var(--font-body); color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1.5px solid var(--border-input); border-radius: 14px; font: 600 15px var(--font-body); color: var(--ink); outline: none; background: #fff; }
.field textarea { line-height: 1.6; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #b3a0bd; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(122,43,144,.12); }
.field .err { color: #c0392b; font: 600 12.5px var(--font-body); margin-top: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-alert { border-radius: 14px; padding: 14px 18px; font: 600 14px var(--font-body); margin-bottom: 18px; }
.form-alert.error { background: #fdecea; color: #b03a2e; border: 1px solid #f5c6c0; }
.success-box { text-align: center; padding: 70px 20px; }
.success-box .check { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 800 38px var(--font-display); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.success-box h2 { font: 700 34px var(--font-display); color: var(--ink); margin: 26px 0 0; }
.success-box p { font: 500 16px/1.7 var(--font-body); color: var(--muted); margin: 12px 0 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--footer); padding: 64px 96px 40px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .logo img { height: 52px; }
.footer-about { font: 500 14px/1.7 var(--font-body); color: rgba(255,255,255,.6); margin: 16px 0 0; max-width: 280px; }
.footer-ig { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: var(--gold); font: 700 14px var(--font-body); text-decoration: none; }
.footer-ig .ic { width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid var(--gold); display: inline-flex; align-items: center; justify-content: center; }
.footer-ig .ic span { width: 12px; height: 12px; border: 1.5px solid var(--gold); border-radius: 4px; display: block; }
.footer-col .h { font: 700 15px var(--font-display); color: var(--gold); margin-bottom: 14px; }
.footer-col .links { display: flex; flex-direction: column; gap: 9px; font: 500 14px var(--font-body); }
.footer-col .links a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-col .links a:hover { color: var(--gold); }
.footer-contact { font: 500 14px/1.8 var(--font-body); color: rgba(255,255,255,.75); }
.footer-bottom { padding-top: 22px; font: 500 13px var(--font-body); color: rgba(255,255,255,.4); display: flex; justify-content: space-between; gap: 16px; }

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.wa-float { position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* ==========================================================================
   Product detail
   ========================================================================== */
.prod-detail { max-width: 1100px; margin: 0 auto; padding: 56px 24px 80px; }
.prod-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pd-gallery .main { border-radius: 26px; overflow: hidden; background: repeating-linear-gradient(45deg, #f5ebf8 0 14px, #ede0f3 14px 28px); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-gallery .thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-gallery .thumbs button { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; border: 2px solid var(--border); background: none; cursor: pointer; padding: 0; }
.pd-gallery .thumbs button.active { border-color: var(--purple); }
.pd-gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .cat { font: 800 13px var(--font-body); color: var(--gold); letter-spacing: .12em; text-transform: uppercase; }
.pd-info h1 { font: 700 46px/1.1 var(--font-display); color: var(--ink); margin: 8px 0 0; }
.pd-info .price-row { display: flex; align-items: baseline; gap: 14px; margin: 20px 0 0; }
.pd-info .price { font: 800 34px var(--font-display); color: var(--purple); }
.pd-info .price.disc { color: #c0392b; }
.pd-info .old-price { font: 600 20px var(--font-body); color: var(--muted-2); text-decoration: line-through; }
.pd-info .desc { font: 500 17px/1.8 var(--font-body); color: var(--muted); margin: 22px 0 0; }
.pd-info .desc p { margin: 0 0 14px; }
.pd-allergens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pd-allergens .a { font: 700 12.5px var(--font-body); color: var(--purple); background: var(--chip); border-radius: 999px; padding: 6px 14px; }
.pd-note { margin-top: 26px; background: var(--lilac); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; font: 600 14px/1.6 var(--font-body); color: var(--muted); }
.pd-back { display: inline-flex; align-items: center; gap: 8px; font: 800 15px var(--font-body); color: var(--purple); margin-bottom: 22px; }

/* ==========================================================================
   QR menu — logo header (standalone, no site nav)
   ========================================================================== */
.qr-header { background: #8b35a3; display: flex; align-items: center; justify-content: center; padding: 15px 16px; }
.qr-header img { height: 46px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }

/* ==========================================================================
   QR menu — campaign lightbox popup
   ========================================================================== */
.qr-popup { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 22px; }
.qr-popup-backdrop { position: absolute; inset: 0; background: rgba(20,0,30,.62); backdrop-filter: blur(3px); }
.qr-popup-card { position: relative; z-index: 1; background: #fff; border-radius: 22px; max-width: 380px; width: 100%; overflow: hidden; box-shadow: 0 30px 80px rgba(20,0,30,.5); animation: qr-pop .3s ease; }
@keyframes qr-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.qr-popup-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(0,0,0,.5); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.qr-popup-close:hover { background: rgba(0,0,0,.7); }
.qr-popup-body { display: block; text-decoration: none; color: inherit; }
.qr-popup-body img { width: 100%; display: block; }
.qr-popup-text { padding: 22px 24px; font: 500 15px/1.65 var(--font-body); color: var(--ink); }
.qr-popup-text h1, .qr-popup-text h2, .qr-popup-text h3 { font-family: var(--font-display); color: var(--ink); margin: 0 0 8px; }
.qr-popup-text p { margin: 0 0 10px; }
.qr-popup-text strong, .qr-popup-text b { color: var(--purple); }
.qr-popup-timer { text-align: center; font: 600 12px var(--font-body); color: var(--muted-2); padding: 0 0 14px; }

/* ==========================================================================
   QR menu landing — featured slider + category grid
   ========================================================================== */
.qr-featured { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.qr-featured::-webkit-scrollbar { height: 6px; }
.qr-featured::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.qr-feat-card { flex: 0 0 auto; width: 190px; scroll-snap-align: start; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.qr-feat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(62,18,80,.12); }
.qr-feat-card .img { position: relative; height: 150px; background: repeating-linear-gradient(45deg, #f5ebf8 0 10px, #ede0f3 10px 20px); }
.qr-feat-card .img img { width: 100%; height: 100%; object-fit: cover; }
.qr-feat-card .img .badge { position: absolute; top: 8px; left: 8px; background: #c0392b; color: #fff; font: 800 10px var(--font-body); padding: 3px 9px; border-radius: 999px; }
.qr-feat-card .body { padding: 11px 13px 13px; }
.qr-feat-card .name { font: 700 15px var(--font-display); color: var(--ink); line-height: 1.2; }
.qr-feat-card .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.qr-feat-card .price { font: 800 16px var(--font-display); color: var(--purple); }
.qr-feat-card .price.disc { color: #c0392b; }
.qr-feat-card .old { font: 600 12px var(--font-body); color: var(--muted-2); text-decoration: line-through; }

.qr-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qr-cat-card { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; display: block; transition: transform .2s, box-shadow .2s; }
.qr-cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(62,18,80,.12); }
.qr-cat-card .img { height: 124px; background: repeating-linear-gradient(45deg, #eee0f4 0 12px, #e5d3ee 12px 24px); overflow: hidden; }
.qr-cat-card .img img { width: 100%; height: 100%; object-fit: cover; }
.qr-cat-card .body { padding: 12px 14px 14px; }
.qr-cat-card .name { font: 700 16px var(--font-display); color: var(--ink); line-height: 1.2; }
.qr-cat-card .count { font: 600 12px var(--font-body); color: var(--muted-2); margin-top: 3px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .wrap { padding-left: 24px; padding-right: 24px; }

    /* --- Header becomes an in-flow bar (no overlap, no clipping) --- */
    .hero-header { position: static; }               /* home: header no longer floats over hero */
    .site-header { position: relative; z-index: 60; padding: 16px 22px; gap: 14px; flex-wrap: wrap; }
    .site-header .logo img { height: 48px; }

    .nav-toggle { display: inline-flex; margin-left: auto; background: rgba(255,255,255,.16); border: none; color: #fff; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; font-size: 22px; cursor: pointer; }
    .header-cta { display: none; }                   /* desktop CTA hidden; mobile CTA lives in the nav */

    /* nav expands in normal flow below the logo row */
    .site-nav { display: none; order: 5; flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; margin: 12px 0 0; padding: 8px; background: rgba(0,0,0,.20); border-radius: 14px; }
    .site-nav.open { display: flex; }
    .site-nav > a, .site-nav .has-drop { display: block; width: 100%; padding: 12px 12px; border-radius: 10px; color: #fff; font-weight: 700; }
    .site-nav > a:hover, .site-nav .dropdown a:hover { background: #fff !important; color: var(--ink) !important; }
    .site-nav .has-drop { position: static; }
    .site-nav .caret { display: none; }
    .site-nav .dropdown { position: static; display: flex !important; flex-direction: column; box-shadow: none; background: transparent; padding: 2px 0 6px 12px; min-width: 0; }
    .site-nav .dropdown::before { display: none; }
    .site-nav .dropdown a { color: rgba(255,255,255,.82); padding: 9px 12px; }
    .nav-cta-mobile { display: block; text-align: center; background: var(--gold); color: var(--ink); font: 800 15px var(--font-body); padding: 13px; border-radius: 11px; margin-top: 8px; text-decoration: none; }

    /* --- Home hero stacks --- */
    .hero { height: auto; padding-bottom: 56px; }
    .hero-grid { position: static; display: block; padding: 20px 24px 8px; }
    .hero-texts { position: static; min-height: 0; }
    .hero-slide { position: static; opacity: 1 !important; pointer-events: auto !important; display: none; }
    .hero-slide.is-active { display: flex; }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 16px; }
    .hero-actions { flex-wrap: wrap; }
    .hero-visual { margin: 34px auto 0; }
    .hero-disc { width: 280px; height: 280px; }
    .hero-chip { right: 0; }
    .hero-dots, .hero-arrows { position: static; margin: 22px 24px 0; }

    .cat-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .split .content { padding: 48px 24px; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 56px 24px; }
    .page-hero .inner { padding: 40px 24px 0; }
    .page-hero h1 { font-size: 38px; }
    .section { padding-top: 56px; padding-bottom: 56px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-head h2 { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .site-footer { padding: 48px 24px 28px; }
    .grid-2 { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; }
    .footer-bottom { flex-direction: column; }

    /* --- Product grids (Menümüz) --- */
    .menu-grid { grid-template-columns: 1fr 1fr !important; }
    .prod-detail-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 680px) {
    .cat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .menu-grid { grid-template-columns: 1fr !important; }
    .menu-item { flex-direction: row; }
}

/* ==========================================================================
   MOBILE HARDENING — overrides inline-styled subpage sections so nothing
   overflows the viewport and every layout collapses gracefully.
   Uses !important because the source markup carries inline styles.
   ========================================================================== */
html, body { max-width: 100%; overflow-x: hidden; }
iframe, video, table, pre { max-width: 100%; }
.contact-grid iframe { width: 100% !important; }

@media (max-width: 900px) {
    /* Reduce every 96px horizontal section padding (inline shorthand) */
    [style*="px 96px"] { padding-left: 22px !important; padding-right: 22px !important; }
    [style*="64px 96px"], [style*="70px 96px"], [style*="72px 96px"],
    [style*="80px 96px"], [style*="90px 96px"], [style*="96px 96px"] {
        padding-top: 46px !important; padding-bottom: 46px !important;
    }

    /* Collapse all multi-column content grids to a single column */
    .about-story, .values-grid, .franchise-hero, .adv-grid, .steps-grid,
    .faq-grid, .contact-grid, .apply-grid, .featured-news, .menu-grid,
    .prod-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
    .about-story, .contact-grid, .apply-grid { padding: 40px 22px 56px !important; }

    /* Sticky rails become static so they don't float oddly */
    .apply-rail { position: static !important; }

    /* Tame oversized page-hero headings (inline `font:700 64px…`) */
    .page-hero h1 { font-size: clamp(30px, 8.5vw, 40px) !important; line-height: 1.12 !important; }
    .page-hero .lead, .page-hero p { font-size: 16px !important; }
    .page-hero .inner { padding-left: 22px !important; padding-right: 22px !important; }

    /* Fixed-width visuals shrink to fit */
    [style*="width:380px"], [style*="width: 380px"],
    [style*="width:480px"], [style*="width: 480px"] {
        width: 100% !important; max-width: 360px !important; height: auto !important; aspect-ratio: 1/1;
    }
    [style*="min-height:520px"], [style*="height:520px"] { min-height: 280px !important; height: 280px !important; }
    [style*="min-height:460px"], [style*="min-height:380px"] { min-height: 240px !important; }

    /* Section headings inside subpages (inline `font:700 42px…` heading shorthand only) */
    [style*="700 42px"], [style*="700 44px"], [style*="700 40px"] { font-size: 30px !important; line-height: 1.15 !important; }
    [style*="700 36px"], [style*="700 34px"], [style*="600 34px"] { font-size: 26px !important; line-height: 1.25 !important; }
    .pd-info h1 { font-size: 32px !important; }

    /* Sticky category bar wraps neatly on Menümüz */
    [data-cat-bar] { padding-left: 22px !important; padding-right: 22px !important; flex-wrap: wrap; }

    /* Franchise process cards & FAQ full width */
    .steps-grid > div, .adv-grid > div, .faq-grid > div, .values-grid > div { width: 100%; }

    /* Contact map + info cards padding */
    .contact-grid .form-card { padding: 26px 20px !important; }

    /* News featured card inner padding + generic tight inner paddings */
    [style*="52px 56px"] { padding: 30px 22px !important; }
    [style*="80px 96px 80px 72px"], [style*="padding:80px 72px"] { padding: 40px 22px !important; }

    /* Any flex row that lays out two blocks should wrap rather than overflow */
    .footer-bottom, .section-head { flex-wrap: wrap; }
}

@media (max-width: 560px) {
    .page-hero h1 { font-size: clamp(26px, 8vw, 34px) !important; }
    [style*="700 42px"], [style*="700 44px"], [style*="700 40px"] { font-size: 26px !important; }
    .menu-item { gap: 14px; }
}

/* ==========================================================================
   QR menu — rotating campaign banner
   ========================================================================== */
.qr-campaign-banner { display: flex; align-items: center; gap: 12px; background: linear-gradient(90deg, #e8a820, #f6bc3a); color: var(--ink); border-radius: 16px; padding: 14px 18px; text-decoration: none; margin-bottom: 24px; box-shadow: 0 8px 24px rgba(232,168,32,.3); transition: transform .2s; }
.qr-campaign-banner:hover { transform: translateY(-2px); color: var(--ink); }
.qr-campaign-banner .label { font: 800 11px var(--font-body); letter-spacing: .1em; background: var(--ink); color: #fff; padding: 5px 11px; border-radius: 999px; flex: none; }
.qr-campaign-banner .rot { position: relative; flex: 1; min-width: 0; height: 24px; }
.qr-campaign-banner .c-item { position: absolute; inset: 0; display: flex; align-items: center; font: 700 15px var(--font-display); color: var(--ink); opacity: 0; transition: opacity .45s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr-campaign-banner .c-item.active { opacity: 1; }
.qr-campaign-banner .arrow { flex: none; font: 800 18px var(--font-body); color: var(--ink); }

/* ==========================================================================
   Pagination (public)
   ========================================================================== */
.lumpa-pagination { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lumpa-pagination .pg { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); font: 800 15px var(--font-body); text-decoration: none; transition: background .15s; }
.lumpa-pagination .pg:hover { background: var(--lilac); color: var(--ink); }
.lumpa-pagination .pg.active { background: var(--purple); color: #fff; border-color: var(--purple); }
.lumpa-pagination .pg.disabled { opacity: .4; pointer-events: none; }
.lumpa-pagination .pg.dots { border: none; background: none; min-width: 24px; }

/* ==========================================================================
   QR menu — fixed bottom bar (follow us + delivery)
   ========================================================================== */
.qr-body { padding-bottom: 80px; }
.qr-bottombar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(62,18,80,.1); }
.qr-bb-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: none; border-radius: 14px; padding: 14px 12px; font: 800 15px var(--font-body); cursor: pointer; text-decoration: none; transition: transform .15s, filter .15s; }
.qr-bb-btn:active { transform: scale(.97); }
.qr-bb-btn svg { width: 22px; height: 22px; flex: none; }
.qr-bb-ig { background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); color: #fff; }
.qr-bb-ig:hover { color: #fff; filter: brightness(1.05); }
.qr-bb-order { background: var(--purple); color: #fff; }
.qr-bb-order:hover { background: var(--purple-dark); color: #fff; }

.qr-order-modal { position: fixed; inset: 0; z-index: 320; display: none; align-items: center; justify-content: center; padding: 24px; }
.qr-order-modal.is-open { display: flex; }
.qr-order-backdrop { position: absolute; inset: 0; background: rgba(20,0,30,.6); backdrop-filter: blur(3px); }
.qr-order-card { position: relative; z-index: 1; background: #fff; border-radius: 24px; max-width: 360px; width: 100%; padding: 34px 28px 30px; text-align: center; box-shadow: 0 30px 80px rgba(20,0,30,.5); animation: qr-pop .3s ease; }
.qr-order-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--chip); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.qr-order-icon { font-size: 46px; line-height: 1; }
.qr-order-card h3 { font: 700 26px var(--font-display); color: var(--ink); margin: 12px 0 0; }
.qr-order-card p { font: 500 15px/1.6 var(--font-body); color: var(--muted); margin: 12px 0 20px; }
.qr-order-phone { display: inline-block; background: var(--gold); color: var(--ink); font: 800 22px var(--font-display); padding: 14px 28px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 26px rgba(232,168,32,.35); transition: transform .15s; }
.qr-order-phone:hover { color: var(--ink); transform: translateY(-2px); }

/* ---- Product detail: size options ---- */
.pd-sizes { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.pd-size { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1.5px solid var(--border); border-radius: 14px; padding: 13px 18px; background: #fff; }
.pd-size .s-name { font: 700 16px var(--font-display); color: var(--ink); }
.pd-size .s-price { font: 800 17px var(--font-display); color: var(--purple); }
.pd-size .s-price .old { font: 600 13px var(--font-body); color: var(--muted-2); text-decoration: line-through; }
.pd-size .s-price .disc { color: #c0392b; }
