:root {
  --bg: #fef9f3;
  --paper: #ffffff;
  --accent: #d96c1f;
  --accent-dark: #b75611;
  --green: #3d5c2e;
  --brown: #6b4b34;
  --text: #2f2b27;
  --muted: #70665c;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(107, 75, 52, 0.12);
  --shadow-hover: 0 12px 40px rgba(217, 108, 31, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

/* Ciepłe tło z delikatnymi akcentami jedzenia */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(217, 108, 31, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(61, 92, 46, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 200, 150, 0.03) 0%, transparent 70%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><g fill="none" stroke="%23d96c1f" stroke-width="4" opacity="0.08"><path d="M80 22 104 60 80 98 56 60Z"/><circle cx="80" cy="80" r="26"/><path d="M40 120c12-8 26-8 40 0s28 8 40 0" stroke-linecap="round"/></g></svg>');
  background-size: auto, auto, auto, 180px 180px;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

#content {
  position: relative;
  z-index: 1;
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(254, 249, 243, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(217, 108, 31, 0.15);
  box-shadow: 0 4px 20px rgba(217, 108, 31, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.75rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.site-title {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: 120px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.12));
}

.logo-mark {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(217, 108, 31, 0.3);
}

.site-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav .menu-list {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--text);
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  background: rgba(217, 108, 31, 0.12);
  color: var(--brown);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: rgba(107, 75, 52, 0.4);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.social a {
  color: var(--brown);
}

.social a:hover {
  color: var(--accent);
}

.hero {
  padding: 5rem 0 4rem;
  background:
    linear-gradient(135deg, rgba(217, 108, 31, 0.08), transparent 40%),
    linear-gradient(45deg, rgba(61, 92, 46, 0.05), transparent 50%),
    var(--bg);
  border-bottom: 2px solid rgba(217, 108, 31, 0.1);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: rgba(217, 108, 31, 0.1);
  border-radius: 20px;
}

.hero h1 {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  font-size: clamp(3rem, 5vw, 4.4rem);
  margin: 0.35rem 0 0.85rem;
  color: var(--brown);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.lead {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(217, 108, 31, 0.15);
  color: var(--brown);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(217, 108, 31, 0.2);
  transition: all 0.2s ease;
}

.badge:hover {
  background: rgba(217, 108, 31, 0.2);
  transform: scale(1.05);
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 2px solid rgba(217, 108, 31, 0.15);
  transition: all 0.3s ease;
  max-height: 400px;
  display: flex;
  align-items: center;
}

.hero-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 50px rgba(217, 108, 31, 0.25);
}

.hero-image img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  display: block;
  object-fit: cover;
}

.card-title {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  margin: 0 0 0.25rem 0;
}

.card-item {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  font-size: 1.4rem;
  margin: 0;
  color: var(--brown);
  font-weight: 800;
}

.card-sub {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.page-section {
  padding: 4rem 0;
}

.page-section.alt {
  background: var(--paper);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid rgba(217, 108, 31, 0.15);
  transition: all 0.3s ease;
}

.about-image:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

h2 {
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  color: var(--brown);
  margin: 0.2rem 0 1rem;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
}

p {
  line-height: 1.7;
  color: var(--text);
}

.list-check {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.list-check li {
  position: relative;
  padding-left: 1.6rem;
}

.list-check li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  position: absolute;
  left: 0;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid rgba(217, 108, 31, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--green));
}

.card h3 {
  margin-top: 0;
  color: var(--brown);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0;
}

.shadow {
  box-shadow: var(--shadow);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-weight: 600;
}

.order-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.order-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 2px solid rgba(217, 108, 31, 0.15);
  transition: all 0.3s ease;
}

.order-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.order-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.order-info-card h3 {
  color: var(--brown);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
}

.order-info-card p {
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Karty informacyjne */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 2px solid rgba(217, 108, 31, 0.15);
  transition: all 0.3s ease;
  text-align: left;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.info-card-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.info-card h3 {
  color: var(--brown);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-align: center;
}

.info-card p {
  color: var(--text);
  line-height: 1.7;
  margin: 0.75rem 0;
  font-size: 1rem;
}

.info-card .list-check {
  margin: 1rem 0;
}

.contact-box {
  background: rgba(217, 108, 31, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid rgba(217, 108, 31, 0.2);
}

.contact-box p {
  margin: 0.5rem 0;
  color: var(--text);
}

.contact-box strong {
  color: var(--brown);
  font-size: 1.1rem;
}

.order-online-section {
  margin-top: 3rem;
  text-align: center;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid rgba(217, 108, 31, 0.1);
}

/* Usuwanie ramek z wtyczki POS */
.order-online-section > *,
.order-online-section > * > *,
.order-online-section iframe,
.order-online-section div,
.order-online-section table,
.order-online-section .abspos-container,
.order-online-section .abspos-wrapper {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.order-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.gallery {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(217, 108, 31, 0.1);
}

.gallery::-webkit-scrollbar {
  height: 6px;
}

.gallery::-webkit-scrollbar-track {
  background: rgba(217, 108, 31, 0.1);
  border-radius: 10px;
}

.gallery::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

/* Miniaturki kategorii */
.gallery-categories {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.category-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.category-thumb:hover,
.category-thumb.active {
  opacity: 1;
  transform: translateY(-4px);
}

.category-thumb-img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid rgba(217, 108, 31, 0.2);
  transition: all 0.3s ease;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-thumb.active .category-thumb-img {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.category-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-placeholder {
  font-size: 4rem;
  opacity: 0.5;
}

.category-thumb-label {
  font-weight: 700;
  color: var(--brown);
  font-size: 1rem;
  text-align: center;
}

.category-thumb.active .category-thumb-label {
  color: var(--accent);
}

/* Sekcje galerii */
.gallery-content {
  margin-top: 2rem;
  position: relative;
  min-height: 200px;
}

.gallery-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.gallery-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-item {
  background: #fff;
  border: 2px solid rgba(217, 108, 31, 0.15);
  border-radius: var(--radius);
  padding: 0;
  width: 120px;
  height: 120px;
  min-width: 120px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
  pointer-events: auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.gallery-item:hover,
.gallery-item.active {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
  border-width: 3px;
}

.gallery-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 108, 31, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-placeholder {
  border: 1px dashed rgba(107, 75, 52, 0.2);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  pointer-events: all;
  margin: 0 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.form-card form {
  display: grid;
  gap: 0.85rem;
}

.form-card label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brown);
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(107, 75, 52, 0.16);
  background: #fffdf8;
  font-size: 1rem;
}

.form-card button {
  width: 100%;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-row {
  font-size: 1.05rem;
  font-weight: 700;
}

.buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.site-footer {
  background: #2f2b27;
  color: #f5f1ea;
  padding: 3rem 0 1rem;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-top: 0;
}

.site-footer p,
.site-footer a {
  color: #e8e2d7;
}

.site-footer .social a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.hours {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #e8e2d7;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.95rem;
  color: #d9d2c6;
}

.page-section .content-article h1 {
  margin-bottom: 0.6rem;
}

.content-body {
  display: grid;
  gap: 1rem;
}

@media (max-width: 980px) {
  .header-inner,
  .hero-inner,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: start;
  }

  .header-cta {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 640px) {
  .main-nav .menu-list {
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  h2 {
    padding-left: 0.8rem;
    font-size: 1.6rem;
  }

  h2::before {
    font-size: 1.2rem;
  }

  .hero h1::after {
    display: none;
  }

  /* Wyśrodkowanie Facebook w footerze na telefonach */
  .site-footer .social {
    justify-content: center;
    width: 100%;
  }

  .footer-grid > div:first-child {
    text-align: center;
  }
}

