/* ============================================================
   PIZZERIA PRIMAVERA — style.css
   PromoNet24 © 2026
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:         #C8231E;
  --red-dark:    #A01A16;
  --green:       #2C5F2E;
  --cream:       #F5F0E8;
  --cream-light: #F5F0E8;
  --dark:        #1A1A1A;
  --white:       #FFFFFF;
  --text:        #2D2D2D;
  --text-light:  #666666;
  --font-hand:   'Caveat', cursive;
  --font-head:   'Exo 2', sans-serif;
  --font-body:   'Sora', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(12px);
  transition: background 0.3s;
}
.nav.scrolled { background: rgba(26,26,26,0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-logo { height: 50px; width: auto; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-family: var(--font-head); font-size: 13px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.8); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav-links.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(26,26,26,0.98); padding: 20px 24px; gap: 16px; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.btn-order { background: var(--red); color: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; padding: 10px 24px; border-radius: 4px; transition: background 0.2s, transform 0.15s; }
.btn-order:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-phone { font-family: var(--font-head); font-size: 13px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.btn-phone:hover { color: #fff; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; }

/* ============================================================
   HERO
============================================================ */
.hero { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: visible; display: flex; align-items: center; justify-content: space-between; padding-top: 72px; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../gfx/baner-top.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.10) 100%); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; height: 100%; padding: 80px 80px 120px; max-width: 650px; }
.hero-logo {
  width: 350px;
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
  animation: fadeUp 1s 0.3s both, logoPulse 4s ease-in-out 1.5s infinite;
}
.hero-tagline { font-family: var(--font-hand); font-size: 56px; font-weight: 600; color: #fff; line-height: 1.15; margin-bottom: 20px; text-shadow: 0 2px 12px rgba(0,0,0,0.4); animation: fadeUp 1s 0.5s both; }
.hero-tagline span { color: #FF6B5B; }
.hero-phone { font-family:"Caveat",cursive; font-size:48px; color:#fff; margin-top:16px; }
.hero-phone a { color:#fff; text-decoration:none; }
.hero-phone a:hover { text-decoration:underline; }
.hero-sub { font-family: var(--font-head); font-size: 14px; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 40px; animation: fadeUp 1s 0.7s both; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 1s 0.9s both; }
.btn-primary { background: var(--red); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 16px 36px; border-radius: 4px; transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(200,35,30,0.4); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid rgba(255,255,255,0.6); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 32px; border-radius: 4px; transition: border-color 0.2s, background 0.2s; }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 3; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: auto; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

@keyframes logoPulse {
  0%   { filter: drop-shadow(0 0 0px rgba(255,255,255,0)) brightness(1); }
  40%  { filter: drop-shadow(0 0 20px rgba(255,255,255,0.6)) drop-shadow(0 0 40px rgba(255,255,255,0.3)) brightness(1.15); }
  100% { filter: drop-shadow(0 0 0px rgba(255,255,255,0)) brightness(1); }
}

/* ============================================================
   MENU SECTION
============================================================ */
.section-menu {
  background: #F5F0E8;
  padding: 70px 60px 90px;
}

.menu-header { margin-bottom: 24px; }
.menu-title {
  font-family: var(--font-hand);
  font-size: 100px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  letter-spacing: -2px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 537px 685px 513px;
  grid-template-rows: 511px 509px;
  gap: 24px;
  max-width: 1760px;
  margin: 0 auto;
}

.menu-cell {
  display: block;
}

.tile-bubble-focaccia { left: calc(10px) !important; transform: translate(0, -50%) !important; }
.tile-bubble-box { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:360px; height:162px; background:rgba(248,244,241,0.90); border-radius:25px; }
.tbx { position:absolute; background:rgba(248,244,241,0.90); border-radius:25px; transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
.tbx:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); background:rgba(255,255,255,1); }
.tbx-name { position:absolute; font-family:"Exo 2",sans-serif; font-size:57px; color:#e02e2a; top:55%; right:20px; transform:translateY(-50%); line-height:1; }
.tbx-napoje .tbx-name, .tbx-galeria .tbx-name, .tbx-salatki .tbx-name { top:50%; left:50%; right:auto; transform:translate(-50%,-50%); text-align:center; }
.tbx-label { position:absolute; font-family:"Caveat",cursive; font-size:46px; color:#7a7978; top:33%; right:20px; transform:translateY(-50%); line-height:1; }
.tbx-focaccia { width:360px; height:162px; top:50%; left:80px; transform:translateY(-50%); }
.tbx-pizza { width:324px; height:146px; top:calc(50% + 80px); left:50%; transform:translate(-50%,-50%); }
.tbx-napoje { width:324px; height:146px; top:50%; left:50%; transform:translate(-50%,-50%); }
.tbx-galeria { width:324px; height:146px; top:50%; left:50%; transform:translate(-50%,-50%); }
.tbx-salatki { width:324px; height:146px; top:50%; left:50%; transform:translate(-50%,-50%); }
.tbx-zestawy { width:360px; height:162px; top:calc(50% - 40px); left:50%; transform:translate(-50%,-50%); }
.menu-tile { position:relative;
  display: block;
  width: 100%;
  height: 100%;
  background: #F5F0E8;
  border-radius: 16px;
}

/* Lekki ciemny overlay na zdjęciach — statyczny, bez hover */
.tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.18) 100%);
}

/* ---- DYMEK — identyczny na wszystkich 6 kafelkach ---- */
.tile-bubble {
  position: absolute;
  
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  /* organiczny kształt dymka */
  border-radius: 46% 54% 58% 42% / 40% 46% 54% 60%;
  padding: 12px 28px 15px;
  text-align: center;
  min-width: 148px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  /* animacja — kołysanie przy hover */
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease;
  pointer-events: none;
}

.menu-tile:hover .tile-bubble {
  transform: translate(-50%, -50%) scale(1.08) rotate(-1deg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* Małe "menu" / "zestawy" nad nazwą */
.bubble-small {
  display: block;
  font-family: var(--font-hand);
  font-size: 17px;
  font-weight: 400;
  color: #999;
  line-height: 1;
  margin-bottom: 1px;
}

/* Duża nazwa — CZERWONA na wszystkich kafelkach */
.bubble-big {
  display: block;
  font-family: var(--font-hand);
  font-size: 38px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.5px;
}


.arrow-red {
  color: var(--red);
  font-size: 18px;
  display: inline-block;
}

/* ============================================================
   FALE MIĘDZY SEKCJAMI
============================================================ */
.section-wave {
  line-height: 0;
  margin: 0;
  padding: 0;
  display: block;
}
.section-wave svg {
  display: block;
  width: 100%;
  height: auto;
}
.wave-cream-to-cream {
  background: #F5F0E8; /* tło kontaktu */
  margin-top: -2px;
}
.wave-to-footer {
  background: #F5F0E8; /* tło mapy */
  margin-top: -2px;
}

/* ============================================================
   KONTAKT
============================================================ */
.section-kontakt { background: #f8f4f3; padding: 60px 0 60px 60px; overflow: hidden; }
.kontakt-inner { display: grid; grid-template-columns: 320px 1fr auto; gap: 50px; align-items: start; max-width: 1200px; margin: 0 auto; }
.kontakt-btn-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.btn-kontakt { background: var(--dark); color: #fff; font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; padding: 18px 36px; border-radius: 50px; transition: background 0.2s; display: inline-block; }
.btn-kontakt:hover { background: #333; }
.kontakt-phones { display: flex; flex-direction: column; gap: 4px; }
.kontakt-phones a { font-family: var(--font-head); font-size: 28px; font-weight: 400; color: var(--dark); transition: color 0.2s; }
.kontakt-phones a:hover { color: var(--red); }
.kontakt-address { font-family: var(--font-body); font-size: 12px; color: var(--text-light); line-height: 1.6; margin-top: 8px; }
.kontakt-hours { padding-top: 0; }
.kontakt-hours-header { font-family: var(--font-body); font-size: 19px; color: var(--text-light); margin-bottom: 12px; }
.hours-row { padding: 6px 0; border-bottom: none; }
.hours-day { font-family: var(--font-body); font-size: 19px; font-weight: 400; color: var(--text-light); display: block; }
.hours-time { font-family: var(--font-head); font-size: 33px; font-weight: 600; color: var(--dark); line-height: 1.1; display: block; margin: 2px 0; }
.hours-note { font-size: 16px; color: #aaa; display: block; margin-bottom: 8px; }
.kontakt-bdo { margin-top: 24px; font-family: var(--font-head); font-size: 21px; font-weight: 400; color: var(--dark); }
.kontakt-photo { height: 514px; width: 578px; border-radius: 20px 0 0 20px; overflow: hidden; flex-shrink: 0; background-size: cover; background-position: center; }
.kontakt-photo img { display: none; }

/* ============================================================
   MAPA + NEWSLETTER
============================================================ */
.section-map-news { background: #F5F0E8; padding: 80px 60px; }
.map-news-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1760px; margin: 0 auto; align-items: stretch; }
.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.07); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; min-height: 420px; }
.newsletter-box { padding: 40px 44px; background: #fff; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.07); }
.newsletter-title { font-family: var(--font-head); font-size: 22px; font-weight: 600; color: var(--dark); margin-bottom: 10px; }
.newsletter-desc { font-family: var(--font-body); font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-field { width: 100%; padding: 12px 16px; border: 1.5px solid #E5E0D8; border-radius: 8px; font-family: var(--font-body); font-size: 13px; color: var(--dark); background: #F5F0E8; outline: none; transition: border-color 0.2s; }
.form-field:focus { border-color: var(--green); }
.form-field::placeholder { color: #bbb; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; font-family: var(--font-body); font-size: 12px; color: var(--text-light); line-height: 1.5; cursor: pointer; }
.form-check input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; accent-color: var(--red); cursor: pointer; }
.form-check a { color: var(--red); text-decoration: underline; }
.btn-submit { width: 100%; background: var(--red); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px; border: none; border-radius: 8px; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.btn-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.form-msg { margin-top: 12px; font-family: var(--font-body); font-size: 13px; text-align: center; display: none; padding: 10px; border-radius: 6px; }
.form-msg.ok  { background: #e8f5e9; color: #2e7d32; display: block; }
.form-msg.err { background: #ffebee; color: #c62828; display: block; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: #F5F0E8; border-top: 1px solid rgba(0,0,0,0.06); }
.footer-hero-text { text-align: center; padding: 56px 60px 40px; border-bottom: 1px solid rgba(0,0,0,0.06); }
.footer-slogan { font-family: var(--font-hand); font-size: 72px; font-weight: 700; color: var(--red); letter-spacing: -1px; line-height: 1; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding: 48px 80px; max-width: 1760px; margin: 0 auto; border-bottom: 1px solid rgba(0,0,0,0.06); }
.footer-col-title { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light); margin-bottom: 16px; }
.footer-col a { display: block; font-family: var(--font-body); font-size: 14px; color: var(--text); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--red); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 80px; flex-wrap: wrap; gap: 16px; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-family: var(--font-body); font-size: 12px; color: #999; transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid #ddd; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s, background 0.2s; }
.footer-social a:hover { border-color: var(--red); background: var(--red); }
.footer-social svg { width: 15px; height: 15px; }
.footer-copy { font-family: var(--font-body); font-size: 11px; color: #bbb; text-align: center; padding: 0 80px 20px; }
.footer-copy a { color: #bbb; }

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .cell-pizza-wrap { grid-column: 1 / -1; grid-row: auto; }
  .menu-tile-tall { min-height: 280px; height: auto; }
  .kontakt-inner { grid-template-columns: 1fr 1fr; }
  .kontakt-photo { display: none; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .btn-phone { display: none; }
  .hero-content { padding: 80px 24px 100px; }
  .hero-tagline { font-size: 40px; }
  .hero-logo { width: 160px; }
  .section-menu { padding: 50px 16px 60px; }
  .menu-title { font-size: 70px; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cell-pizza-wrap { grid-column: 1 / -1; }
.tbx { position:absolute; background:rgba(248,244,241,0.90); border-radius:25px; transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
.tbx:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); background:rgba(255,255,255,1); }
.tbx-focaccia { width:360px; height:162px; top:50%; left:80px; transform:translateY(-50%); }
.tbx-pizza { width:324px; height:146px; top:calc(50% + 80px); left:50%; transform:translate(-50%,-50%); }
.tbx-napoje { width:324px; height:146px; top:50%; left:50%; transform:translate(-50%,-50%); }
.tbx-galeria { width:324px; height:146px; top:50%; left:50%; transform:translate(-50%,-50%); }
.tbx-salatki { width:324px; height:146px; top:50%; left:50%; transform:translate(-50%,-50%); }
.tbx-zestawy { width:360px; height:162px; top:calc(50% - 40px); left:50%; transform:translate(-50%,-50%); }
.menu-tile { position:relative; min-height: 180px; }
  .menu-tile-tall { min-height: 220px; }
  .bubble-big { font-size: 30px; }
  .menu-tile-tall .bubble-big { font-size: 36px; }
  .bubble-big-white { font-size: 32px; }
  .section-kontakt { padding: 60px 20px; }
  .kontakt-inner { grid-template-columns: 1fr; }
  .kontakt-photo { display: none; }
  .section-map-news { padding: 60px 20px; }
  .map-news-inner { grid-template-columns: 1fr; }
  .map-wrap { height: 280px; }
  .newsletter-box { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; padding: 32px 24px; }
  .footer-bottom { padding: 20px 24px; flex-direction: column; align-items: flex-start; }
  .footer-copy { padding: 0 24px 20px; }
  .footer-slogan { font-size: 44px; }
  .footer-hero-text { padding: 40px 24px 32px; }
}

/* ============================================================
   PODSTRONY — polityka, cookies, regulamin
============================================================ */
.subpage-hero {
  background: var(--cream);
  padding: 120px 80px 60px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.subpage-title {
  font-family: var(--font-hand);
  font-size: 72px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.subpage-content {
  background: var(--white);
  padding: 60px 80px 80px;
}
.subpage-inner {
  max-width: 860px;
  margin: 0 auto;
}
.subpage-updated {
  font-family: var(--font-body);
  font-size: 12px;
  color: #aaa;
  margin-bottom: 40px;
}
.subpage-inner h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 36px 0 12px;
}
.subpage-inner h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin: 24px 0 8px;
}
.subpage-inner p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}
.subpage-inner ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.subpage-inner ul li {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}
.subpage-inner a {
  color: var(--red);
  text-decoration: underline;
}
.subpage-inner strong {
  font-weight: 600;
}
@media (max-width: 768px) {
  .subpage-hero { padding: 100px 24px 40px; }
  .subpage-title { font-size: 48px; }
  .subpage-content { padding: 40px 24px 60px; }
}

/* ============================================================
   CURTAIN REVEAL
============================================================ */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.curtain-top,
.curtain-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background: #F5F0E8;
  transition: transform 0.9s cubic-bezier(0.77,0,0.175,1);
}
.curtain-top    { top: 0; transform: translateY(0); }
.curtain-bottom { bottom: 0; transform: translateY(0); }

.curtain.open .curtain-top    { transform: translateY(-100%); }
.curtain.open .curtain-bottom { transform: translateY(100%); }

/* ============================================================
   SYSTEM ZAMÓWIEŃ
============================================================ */
.order-overlay {
  display: flex;
  min-height: 100vh;
  padding-top: 72px;
  background: var(--white);
}

.order-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee;
  overflow-y: auto;
  max-height: calc(100vh - 72px);
  position: sticky;
  top: 72px;
}

.order-right {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 72px);
  position: sticky;
  top: 72px;
  background: #fafafa;
}

.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 16px;
  border-bottom: 1px solid #eee;
}

.order-title {
  font-family: var(--font-hand);
  font-size: 42px;
  color: var(--red);
  line-height: 1;
}

.order-close {
  font-size: 22px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.order-close:hover { color: var(--dark); }

.order-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #eee;
  padding: 0 32px;
  overflow-x: auto;
}

.order-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 14px 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #999;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.order-tab.active { color: var(--red); border-bottom-color: var(--red); }
.order-tab:hover { color: var(--dark); }

.order-info {
  background: #fff8e1;
  border-left: 3px solid #ffc107;
  padding: 10px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #555;
}

.order-products {
  padding: 16px 32px 40px;
  overflow-y: auto;
}

/* Karta produktu */
.product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.product-card:last-child { border-bottom: none; }

.product-info { flex: 1; min-width: 0; }

.product-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}
.product-nr {
  color: #aaa;
  font-weight: 400;
  margin-right: 4px;
}
.product-desc {
  font-family: var(--font-body);
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.product-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.product-price {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.btn-size {
  background: var(--white);
  border: 1.5px solid #ddd;
  border-radius: 20px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--dark);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.btn-size:hover { border-color: var(--green); background: #f0f7f0; }

.btn-add {
  background: var(--green);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.btn-add:hover { background: #1e4620; transform: scale(1.1); }

.badge-new {
  position: absolute;
  top: 14px;
  left: -8px;
  background: var(--red);
  color: white;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 3px;
}

/* KOSZYK */
.cart-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #eee;
}
.cart-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty {
  font-family: var(--font-body);
  font-size: 14px;
  color: #bbb;
  text-align: center;
  padding: 32px 0;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  display: block;
}
.cart-extras {
  font-family: var(--font-body);
  font-size: 11px;
  color: #888;
  display: block;
  margin-top: 2px;
}
.cart-item-qty {
  font-family: var(--font-body);
  font-size: 11px;
  color: #aaa;
  display: block;
}
.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.cart-item-price {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.cart-remove {
  background: none;
  border: none;
  color: #ccc;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.cart-remove:hover { color: var(--red); }
.cart-summary {
  padding: 16px 24px;
  border-top: 2px solid #eee;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--dark);
  margin-bottom: 12px;
}
.btn-checkout {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-checkout:hover { background: #1e4620; }

/* MODALY */
.extras-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.extras-box {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.extras-box--wide { max-width: 680px; }
.extras-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px 16px;
  border-bottom: 1px solid #eee;
}
.extras-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}
.extras-size, .extras-base-price {
  font-family: var(--font-body);
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}
.extras-close {
  background: none;
  border: none;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}
.extras-close:hover { color: var(--dark); }
.extras-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
}
.extras-group-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 16px 0 8px;
}
.extras-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
}
.extras-item span:nth-child(2) {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
}
.extras-price {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}
.extras-item input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
  cursor: pointer;
}
.extras-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-top: 2px solid #eee;
}
.extras-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 8px 16px;
}
.extras-qty button {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--dark);
  cursor: pointer;
  line-height: 1;
  width: 24px;
}
.extras-qty span {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}
.btn-add-to-cart {
  flex: 1;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 20px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-add-to-cart:hover { background: #1e4620; }

/* CHECKOUT */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.checkout-field {
  margin-bottom: 14px;
}
.checkout-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}
.checkout-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--cream-light);
  outline: none;
  transition: border-color 0.2s;
}
.checkout-input:focus { border-color: var(--green); }
.checkout-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.checkout-tab {
  flex: 1;
  padding: 10px;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.checkout-tab.active {
  border-color: var(--green);
  background: #f0f7f0;
}
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.payment-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
}
.checkout-summary {
  background: #fafafa;
  border-radius: 8px;
  padding: 14px;
  margin-top: 8px;
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  padding: 4px 0;
}

@media (max-width: 768px) {
  .order-overlay { flex-direction: column; }
  .order-left { max-height: none; position: static; }
  .order-right { width: 100%; position: static; max-height: none; }
  .order-products { padding: 16px; }
  .order-header { padding: 20px 16px 12px; }
  .order-tabs { padding: 0 16px; }
  .checkout-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SYSTEM ZAMÓWIEŃ v2 — styl oliwka.menu.pl
============================================================ */

/* Layout główny */
.order-page {
  display: flex;
  min-height: 100vh;
  padding-top: 72px;
  background: #f2f2f2;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* LEWA kolumna — lista */
.order-menu {
  flex: 1;
  min-width: 0;
  padding: 24px 20px 80px;
  overflow-y: auto;
}

/* PRAWA kolumna — koszyk sticky */
.order-cart-panel {
  width: 460px;
  flex-shrink: 0;
  background: #fff;
  border-left: 1px solid #e8e8e8;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Nagłówek kategorii */
.menu-category {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  border-left: 4px solid var(--red);
  transition: background 0.15s;
}
.category-header:hover { background: #fafafa; }

.category-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.category-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.category-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #7B0D1E;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.category-title .cat-icon {
  font-size: 38px;
  line-height: 1;
  flex-shrink: 0;
}
.category-title-text {
  display: flex;
  flex-direction: column;
}
.category-sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: #7B0D1E;
  margin-top: 2px;
  opacity: 0.7;
  font-weight: 400;
}
}
.category-chevron {
  font-size: 18px;
  color: #aaa;
  transition: transform 0.2s;
}
.category-header.open .category-chevron { transform: rotate(180deg); }

/* Lista produktów w kategorii */
.category-products {
  display: none;
  border-top: 1px solid #f0f0f0;
  background: #ebebeb; border-radius: 0 0 12px 12px;
}
.category-products.open { display: block; }

/* Karta produktu */
.product-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px 16px 28px;
  border-bottom: 1px solid #f5f5f5;
  background: transparent;
  transition: background 0.15s;
  position: relative;
}
/* Czerwony pasek po lewej 80% wysokości */
.product-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 3px;
  background: var(--red);
  border-radius: 0 2px 2px 0;
}
.product-row:last-child { border-bottom: none; }
.product-row:hover { background: rgba(255,255,255,0.7); }

.product-row-info { flex: 1; min-width: 0; }
.product-row-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}
.product-row-nr {
  color: #777;
  font-weight: 400;
  margin-right: 4px;
  font-size: 16px;
}
.product-row-desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 8px;
}
.product-row-badges {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.badge-new-row {
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1.5px solid var(--red);
}

/* Przyciski rozmiaru pizza */
.size-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.btn-size-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}
.btn-size-row:hover { border-color: var(--red); background: #fff5f5; }
.btn-size-row .size-label { color: #888; font-size: 18px; }
.btn-size-row .size-price { font-weight: 700; font-size: 20px; }

/* Przycisk dodaj (koszyk) */
.btn-add-row {
  background: var(--red);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(200,35,30,0.3);
  padding: 0;
}
.btn-add-row svg { width: 20px; height: 20px; fill: #fff; }
.btn-add-row:hover { background: var(--red-dark); transform: scale(1.1); }

/* Cena prosta (nie pizza) */
.product-row-price-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.product-row-price {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--dark);
}

/* KOSZYK PANEL */
.cart-panel-header {
  padding: 20px 20px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.cart-panel-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}
.cart-panel-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
}
.cart-panel-empty {
  font-family: var(--font-body);
  font-size: 17px;
  color: #bbb;
  text-align: center;
  padding: 40px 20px;
}
.cart-panel-item {
  padding: 14px 20px;
  border-bottom: 1px solid #f5f5f5;
}
.cart-panel-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}
.cart-panel-item-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
}
.cart-panel-item-price {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
}
.cart-panel-item-extras {
  font-family: var(--font-body);
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  line-height: 1.4;
}
.cart-panel-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-panel-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 4px 12px;
}
.cart-panel-qty button {
  background: var(--red);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cart-panel-qty button:hover { background: var(--red-dark); }
.cart-panel-qty span {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  min-width: 22px;
  text-align: center;
}
.cart-panel-remove {
  background: none;
  border: none;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
}
.cart-panel-remove:hover { color: var(--red); }
.cart-panel-footer {
  padding: 16px 20px;
  border-top: 2px solid #f0f0f0;
}
.cart-panel-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}
.btn-go-checkout {  
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 4px 16px rgba(200,35,30,0.3);
}
.btn-go-checkout:hover { background: #1e4620; }

/* MODAL DODATKI */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 3000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 600px) {
  .modal-overlay { align-items: center; }
}
.modal-box {
  background: #fff;
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 600px) {
  .modal-box { border-radius: 20px; }
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 24px 14px;
  border-bottom: 1px solid #eee;
}
.modal-title {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
}
.modal-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  color: #888;
  margin-top: 4px;
}
.modal-close {
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 16px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.modal-close:hover { background: #e0e0e0; }
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 8px;
}
.modal-group-title {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  padding: 16px 0 8px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
}
.modal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f8f8f8;
  cursor: pointer;
}
.modal-item:last-child { border-bottom: none; }
.modal-item input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  flex-shrink: 0;
  cursor: pointer;
}
.modal-item-name {
  flex: 1;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dark);
}
.modal-item-price {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}
.modal-footer {
  padding: 14px 24px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.modal-qty {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 6px 12px;
}
.modal-qty button {
  background: var(--red);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-qty button:hover { background: var(--red-dark); }
.modal-qty span {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}
.btn-modal-add {
  flex: 1;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 20px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-modal-add:hover { background: var(--red-dark); }

/* CHECKOUT MODAL */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkout-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.checkout-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px 16px;
  border-bottom: 1px solid #eee;
}
.checkout-head h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}
.checkout-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}
.co-field {
  margin-bottom: 14px;
}
.co-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}
.co-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
}
.co-input:focus { border-color: var(--red); background: #fff; }
.co-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.co-tab {
  flex: 1;
  padding: 11px;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.co-tab.active { border-color: var(--red); background: #fff5f5; color: var(--red); }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-payments { display: flex; flex-direction: column; gap: 8px; }
.co-payment-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
}
.co-payment-opt:has(input:checked) { border-color: var(--red); background: #fff5f5; }
.co-payment-opt input { accent-color: var(--red); }
.co-divider {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #bbb;
  margin: 16px 0 10px;
}
.co-summary-item {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 13px;
  color: #555;
  padding: 4px 0;
}
.co-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  padding: 12px 0 0;
  border-top: 2px solid #eee;
  margin-top: 8px;
}
.checkout-foot {
  padding: 14px 24px;
  border-top: 2px solid #eee;
}
.btn-submit-order {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-submit-order:hover { background: var(--red-dark); }
.btn-submit-order:disabled { background: #ccc; cursor: not-allowed; }

@media (max-width: 768px) {
  .order-page { flex-direction: column; }
  .order-cart-panel { width: 100%; position: static; height: auto; border-left: none; border-top: 2px solid #eee; }
  .order-menu { padding: 16px 12px 40px; }
  .co-grid { grid-template-columns: 1fr; }
}

/* TOP button */
#topBtn { position:fixed; bottom:32px; right:32px; width:48px; height:48px; background:#C8231E; color:#fff; border:none; border-radius:50%; font-size:28px; line-height:1; cursor:pointer; box-shadow:0 4px 16px rgba(0,0,0,0.2); opacity:0; transform:translateY(16px); transition:opacity 0.3s ease, transform 0.3s ease; z-index:999; display:flex; align-items:center; justify-content:center; }
#topBtn.visible { opacity:1 !important; transform:translateY(0) !important; }
#topBtn:hover { background:#A01A16; transform:translateY(-2px); }

/* ============================================================
   HERO INFO BOX (desktop — prawa strona)
============================================================ */
.hero-content { padding: 0 80px; max-width: 650px; flex: 1; }
.hero-info {
  position: absolute;
  right: 110px;
  top: 200px;
  
  
  z-index: 4;
  background: rgba(20,20,20,0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 13px;
  padding: 38px 45px;
  min-width: 464px;
  color: #fff;
  animation: fadeUp 1s 0.6s both;
  flex-shrink: 0;
}
.hero-info-address { font-family: var(--font-head); font-size: 24px; color: rgba(255,255,255,0.9); margin-bottom: 22px; }
.hero-info-address strong { font-weight: 700; }
.hero-info-divider { height: 1px; background: rgba(200,35,30,0.6); margin: 19px 0; }
.hero-hours-row { display: flex; justify-content: space-between; gap: 26px; margin-bottom: 8px; }
.hero-hours-day { font-family: var(--font-body); font-size: 19px; color: rgba(255,255,255,0.7); white-space: nowrap; }
.hero-hours-time { font-family: var(--font-head); font-size: 21px; font-weight: 600; color: #fff; white-space: nowrap; }
.hero-info-orders { display: flex; flex-direction: column; gap: 5px; }
.hero-orders-label { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.hero-orders-times { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--red); }
.hero-info-phones-label { font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.hero-info-phones { display: flex; flex-direction: column; gap: 13px; }
.hero-phone-row { display: flex; align-items: center; gap: 16px; font-family: var(--font-head); font-size: 29px; font-weight: 700; color: #fff; text-decoration: none; transition: color 0.2s; }
.hero-phone-row:hover { color: var(--red); }
.hero-phone-icon { font-size: 26px; opacity: 0.8; }

@media (max-width: 1100px) { .hero-info {
  top: 200px; right: 24px; min-width: 260px; padding: 18px 20px; } }
@media (max-width: 768px)  { .hero-info {
  top: 200px; display: none; } }

/* ============================================================
   MOBILE — kafelki menu
============================================================ */
@media (max-width: 768px) {
  .hero-phone { font-size: 26px !important; white-space: nowrap !important; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; justify-content: center; }

  .menu-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    grid-template-rows: none !important;
  }
  .menu-cell { width: 100% !important; }
  .menu-cell:nth-child(1) { order: 2; }
  .menu-cell:nth-child(2) { order: 1; }
  .menu-cell:nth-child(3) { order: 3; }
  .menu-cell:nth-child(4) { order: 4; }
  .menu-cell:nth-child(5) { order: 5; }
  .menu-cell:nth-child(6) { order: 6; }
  .menu-tile {
    height: 160px !important;
    min-height: unset !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .tbx {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    background: rgba(255,255,255,0.93) !important;
    border-radius: 50px !important;
    padding: 10px 36px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12) !important;
  }
  .tbx-name {
    position: static !important;
    font-size: 22px !important;
    color: #e02e2a !important;
    display: block !important;
    text-align: center !important;
    transform: none !important;
    white-space: nowrap !important;
    line-height: 1.3 !important;
  }
  .tbx-label { display: none !important; }
}

/* ---- NAV CART ---- */
.btn-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-cart:hover { background: rgba(255,255,255,0.2); }
.nav.scrolled .btn-cart { color: var(--dark); background: rgba(0,0,0,0.06); }
.nav.scrolled .btn-cart:hover { background: rgba(0,0,0,0.12); }
.nav-cart-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ============================================================
   GALERIA — masonry
============================================================ */
.galeria-section { background: #fff; padding: 48px 48px 80px; width: 100%; box-sizing: border-box; }
.galeria-empty { text-align: center; color: #888; padding: 60px; font-size: 16px; }
.masonry-grid { columns: 4; column-gap: 12px; width: 100%; }
.masonry-item { break-inside: avoid; margin-bottom: 12px; position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; background: #eee; }
.masonry-item img { width: 100%; display: block; transition: transform 0.4s ease; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0); display: flex; align-items: center; justify-content: center; transition: background 0.3s; pointer-events: none; }
.masonry-item:hover .masonry-overlay { background: rgba(0,0,0,0.28); }
.masonry-zoom { font-size: 36px; color: #fff; opacity: 0; transform: scale(0.7); transition: opacity 0.3s, transform 0.3s; }
.masonry-item:hover .masonry-zoom { opacity: 1; transform: scale(1); }
.masonry-item { opacity: 1; transform: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.94); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lb-inner { display: flex; flex-direction: column; align-items: center; max-width: 90vw; max-height: 90vh; }
.lb-inner img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 8px 48px rgba(0,0,0,0.6); transition: opacity 0.15s; }
.lb-counter { color: rgba(255,255,255,0.5); font-size: 13px; margin-top: 12px; }
.lb-close { position: fixed; top: 24px; right: 32px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; opacity: 0.7; transition: opacity 0.2s; z-index: 2001; }
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next { position: fixed;  transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 56px; line-height: 1; cursor: pointer; padding: 8px 20px; border-radius: 4px; transition: background 0.2s; z-index: 2001; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(200,35,30,0.6); }

@media (max-width: 1100px) { .masonry-grid { columns: 3; } }
@media (max-width: 768px) { .masonry-grid { columns: 2; } .galeria-section { padding: 32px 16px 60px; } }
@media (max-width: 480px) { .masonry-grid { columns: 1; } }

/* ---- HERO INFO EXTRA ---- */
.hero-info-extra { margin-top: 4px; }
.hero-extra-delivery { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 17px; color: #fff; margin-bottom: 4px; }
.hero-extra-delivery strong { color: #f59e0b; }
.hero-extra-note { font-family: var(--font-body); font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.hero-extra-allergens { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.7); text-decoration: none; letter-spacing: 0.5px; transition: color 0.2s; }
.hero-extra-allergens:hover { color: var(--red); }

/* ============================================================
   SEKCJA MENU KARTY (tylko desktop)
============================================================ */
.section-menu-cards {
  background: #F5F0E8;
  padding: 60px 48px 80px;
  display: none;
}
@media (min-width: 769px) {
  .section-menu-cards { display: block; }
}
.menu-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.menu-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  text-decoration: none;
  color: var(--text);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.16);
}
.menu-card-img {
  width: 100%;
  
  height: 220px;
  background-size: cover;
  background-position: center;
}
.menu-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.menu-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}
.menu-card-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 8px;
  align-self: flex-start;
  transition: background 0.2s;
}
.menu-card:hover .menu-card-btn { background: #a01a16; }

.menu-card-sub { font-family: var(--font-hand); font-size: 33px; font-weight: 400; color: #999; margin-left: 4px; }

.menu-card-desc { border-bottom: 1px solid var(--red); padding-bottom: 16px; width: 100%; }

/* Stare menu — ukryte wszędzie */
.section-menu { display: none !important; }
/* Nowe menu — widoczne wszędzie */
.section-menu-cards { display: block !important; }

@media (max-width: 768px) {
  .menu-cards-grid { grid-template-columns: 1fr; }
  .section-menu-cards { padding: 32px 16px 60px; }
}

@media (max-width: 768px) {
  .hero-info {
    display: flex !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    min-width: unset !important;
    border-radius: 0 !important;
    padding: 10px 16px !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 0 !important;
    z-index: 3 !important;
  }
  .hero-info-address { font-size: 12px !important; margin-bottom: 0 !important; }
  .hero-info-divider { display: none !important; }
  .hero-info-hours { display: none !important; }
  .hero-info-orders { flex-direction: row !important; gap: 6px !important; }
  .hero-orders-label { font-size: 10px !important; }
  .hero-orders-times { font-size: 13px !important; }
  .hero-info-phones-label { display: none !important; }
  .hero-info-phones { flex-direction: row !important; gap: 12px !important; }
  .hero-phone-row { font-size: 13px !important; gap: 6px !important; }
  .hero-phone-icon { font-size: 13px !important; }
  .hero-info-extra { display: none !important; }
}

@media (max-width: 768px) {
  .hero-info { display: none !important; }
}

.btn-cart { color: #fff !important; }
.nav.scrolled .btn-cart { color: #fff !important; background: rgba(200,35,30,0.8) !important; }
.nav.scrolled .btn-cart:hover { background: var(--red) !important; }

.badge-new-row { display: inline-block; margin-bottom: 4px; }

.section-menu-cards .menu-header { text-align: center; }

/* ---- KONTAKT NOWOCZESNY ---- */
.kontakt-phone-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(0,0,0,0.04);
}
.kontakt-phone-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,35,30,0.15);
}
.kontakt-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.kontakt-phone-text {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--red);
}
.kontakt-phone-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: #999;
}
.kontakt-address-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  margin-top: 6px;
  text-decoration: none;
  color: #555;
  font-family: var(--font-body);
  font-size: 15px;
  transition: color 0.2s;
}
.kontakt-address-link:hover { color: var(--red); }

/* ---- GALERIA WIDEO ---- */
.masonry-item video { width: 100%; display: block; }
.masonry-item.is-video .masonry-overlay { background: rgba(0,0,0,0.15); }
.masonry-play {
  width: 90px; height: 90px;
  background: rgba(200,35,30,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  padding-left: 4px;
  transition: transform 0.3s, background 0.3s;
}
.masonry-item.is-video:hover .masonry-play { transform: scale(1.1); background: var(--red); }
.lb-inner video { max-width: 90vw; max-height: 82vh; border-radius: 6px; box-shadow: 0 8px 48px rgba(0,0,0,0.6); }

/* Koszt opakowań — koszyk i checkout */
.cart-panel-subline { display: flex; justify-content: space-between; font-size: 13px; color: #888; padding: 2px 0; }
.co-subtotal { display: flex; justify-content: space-between; font-size: 14px; color: #666; padding: 4px 0; }
.co-summary-pack { display: block; font-size: 11px; color: #999; }

.cart-panel-subline { display: flex; justify-content: space-between; font-size: 13px; color: #888; padding: 2px 0; }
.co-subtotal { display: flex; justify-content: space-between; font-size: 14px; color: #666; padding: 4px 0; }
.co-summary-pack { display: block; font-size: 11px; color: #999; }

.cart-panel-subline { display: flex; justify-content: space-between; font-size: 13px; color: #888; padding: 2px 0; }
.co-subtotal { display: flex; justify-content: space-between; font-size: 14px; color: #666; padding: 4px 0; }
.co-summary-pack { display: block; font-size: 11px; color: #999; }

/* Koszyk — większe litery */
.cart-panel-title { font-size: 22px !important; }
.cart-panel-item-name { font-size: 17px !important; }
.cart-panel-item-price { font-size: 17px !important; }
.cart-panel-item-extras { font-size: 14px !important; }
.cart-panel-subline { font-size: 16px !important; }
.cart-panel-total { font-size: 19px !important; }
.btn-go-checkout { font-size: 17px !important; }
.cart-panel-qty button { font-size: 18px !important; }
.cart-panel-qty span { font-size: 17px !important; }

/* Checkout — większe litery */
.co-field label { font-size: 16px !important; }
.co-input { font-size: 16px !important; }
.co-payment-opt { font-size: 16px !important; }
.co-summary-item { font-size: 16px !important; }
.co-subtotal { font-size: 16px !important; }
.co-summary-pack { font-size: 13px !important; }
.co-tab { font-size: 16px !important; }

/* --- waskie ekrany (iPhone itp.): produkt pionowo, przyciski pod nazwa --- */
@media (max-width: 480px) {
  .product-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .size-btns { width: 100%; display: flex; gap: 10px; }
  .btn-size-row { flex: 1; justify-content: center; padding: 10px 12px; }
  .btn-size-row .size-label { font-size: 16px; }
  .btn-size-row .size-price { font-size: 18px; }
  .product-row-price-wrap { width: 100%; justify-content: space-between; }
}

/* --- info o dostawie (prog 60zl / strefa) --- */
#coDeliveryInfo { margin-top: 12px; }
.co-deliv-ok { background:#d1fae5; color:#065f46; border:1px solid #6ee7b7; border-radius:8px; padding:12px 16px; font-weight:700; font-size:16px; text-align:center; }
.co-deliv-note { background:#fef3c7; color:#92400e; border:1px solid #fcd34d; border-radius:8px; padding:12px 16px; font-weight:600; font-size:15px; text-align:center; }
.co-deliv-warn { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; border-radius:8px; padding:12px 16px; font-weight:700; font-size:15px; text-align:center; }
.btn-submit-order.btn-blocked { background:#cbd5e1 !important; cursor:not-allowed !important; opacity:0.7; }
.co-zone-opt { display:inline-flex; align-items:center; gap:6px; font-size:15px; cursor:pointer; padding:6px 4px; }

/* --- baner galerii (zamiast newslettera) --- */
.gallery-banner { display:flex; align-items:center; justify-content:center; min-height:420px; border-radius:20px; background-size:cover; background-position:center; box-shadow:0 8px 32px rgba(0,0,0,0.07); position:relative; overflow:hidden; transition:transform .3s; text-decoration:none; }
.gallery-banner:hover { transform:scale(1.02); }
.gallery-banner-label { background:rgba(0,0,0,0.8); color:#fff; font-size:34px; font-weight:700; padding:18px 48px; border-radius:12px; letter-spacing:1px; }
@media (max-width: 768px) {
  .gallery-banner { min-height:280px; }
  .gallery-banner-label { font-size:26px; padding:14px 36px; }
}
