/* Nowoczesna warstwa wizualna — ładowana po dotychczasowych arkuszach. */
:root {
  --font-body: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --ink: #243129;
  --ink-soft: #5f6b63;
  --forest: #254737;
  --forest-dark: #173126;
  --honey: #d99000;
  --honey-light: #ffc84a;
  --cream: #fbf8ef;
  --cream-deep: #f3ecdc;
  --surface: rgba(255, 255, 255, 0.88);
  --line: rgba(49, 66, 55, 0.13);
  --shadow-sm: 0 8px 24px rgba(44, 53, 43, 0.08);
  --shadow-lg: 0 24px 70px rgba(35, 45, 37, 0.14);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --button-bg: var(--forest);
  --button-hover: var(--forest-dark);
  --button-text: #fffdf7;
  --header-bg: rgba(20, 31, 25, 0.32);
  --header-bg-scrolled: rgba(251, 248, 239, 0.92);
  --menu-text-scrolled: var(--ink);
  --menu-hover-scrolled: #a96200;
  --menu-hover: var(--honey-light);
  --miodowy: var(--honey);
  --miodowy-hover: var(--honey-light);
  --tlo-bloku: #ffffff;
  --tlo-sekcji: var(--cream);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(230, 168, 38, 0.08), transparent 28rem),
    var(--cream);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-body);
}

img {
  max-width: 100%;
}

a {
  text-underline-offset: 0.18em;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(217, 144, 0, 0.42);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 4.75rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 3.1rem);
}

#main-content {
  min-width: 280px;
  margin-top: 0;
  border: 0;
  overflow: clip;
}

/* Nawigacja */
header {
  height: 96px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  font-family: var(--font-body);
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

body.scrolled header {
  height: 76px;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 35px rgba(23, 49, 38, 0.09);
}

main {
  margin-top: -96px;
}

.logo img {
  width: auto;
  height: 68px;
  object-fit: contain;
  transition: height 0.3s ease;
}

body.scrolled .logo img {
  height: 54px;
}

.menu {
  align-items: center;
  gap: clamp(8px, 1.5vw, 22px);
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(13, 25, 18, 0.16);
}

body.scrolled .menu {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.menu li a {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
}

.menu li a::after {
  display: none;
}

.menu li a:hover,
.menu a.active {
  color: var(--ink);
  background: var(--honey-light);
}

.news-menu-badge {
  top: -15px;
  right: -18px;
  background: var(--honey);
}

#hamburger {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  font-size: 1.45rem;
  line-height: 1;
}

body.scrolled #hamburger {
  border-color: var(--line);
}

/* Hero */
.hero-slider {
  height: 100svh;
  min-height: 680px;
  max-height: 960px;
  background: var(--forest-dark);
}

.overlay {
  background:
    linear-gradient(90deg, rgba(12, 27, 19, 0.8) 0%, rgba(12, 27, 19, 0.46) 50%, rgba(12, 27, 19, 0.15) 100%),
    linear-gradient(0deg, rgba(12, 27, 19, 0.34), transparent 45%);
}

.slide-bg {
  transition: transform 14s ease-in-out;
}

.slide-bg.zoomed {
  transform: scale(1.08);
}

.slide-content {
  top: 52%;
  left: clamp(24px, 8vw, 140px);
  width: min(720px, calc(100% - 48px));
  max-width: 720px;
  padding: clamp(28px, 5vw, 54px);
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(15, 29, 21, 0.3);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.slide-content h1 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.slide-content hr {
  width: 72px;
  height: 4px;
  margin: 24px 0;
  border: 0;
  border-radius: 999px;
  background: var(--honey-light);
}

.slide-content p {
  max-width: 600px;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.slide-content .button,
.formularz-kontaktowy button,
#generuj-zamowienie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--honey-light);
  color: #2d230e;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(151, 96, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.slide-content .button:hover,
.formularz-kontaktowy button:hover,
#generuj-zamowienie-btn:hover {
  transform: translateY(-2px);
  background: #ffd569;
  box-shadow: 0 14px 30px rgba(151, 96, 0, 0.28);
}

.slider-nav {
  bottom: 34px;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(14, 28, 20, 0.28);
  backdrop-filter: blur(10px);
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.46);
  transition: width 0.25s ease, background 0.25s ease;
}

.dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--honey-light);
}

/* O nas */
.o-nas,
.o-nas.edukacja {
  min-width: 280px;
  padding: clamp(72px, 9vw, 130px) 24px;
  background: transparent;
}

.o-nas.edukacja {
  padding-top: 20px;
  background: linear-gradient(180deg, transparent, rgba(239, 229, 207, 0.52));
}

.o-nas-container,
.o-nas-edukacja-container {
  max-width: 1240px;
  gap: clamp(40px, 6vw, 86px);
  padding: 0;
}

.o-nas-container {
  flex-wrap: nowrap;
  align-items: center;
}

.o-nas-opis {
  max-width: 610px;
  padding: clamp(30px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.o-nas-opis:hover {
  transform: none;
  box-shadow: var(--shadow-lg);
}

.o-nas-opis h2,
.o-nas-edukacja-container h2 {
  margin-top: 0;
  color: var(--forest-dark);
  font-size: clamp(2rem, 4vw, 3.35rem);
  text-wrap: balance;
}

.o-nas-opis h2::after {
  width: 76px;
  height: 4px;
  bottom: -11px;
  background: var(--honey);
}

.o-nas-opis p,
.o-nas-opis ul,
.o-nas-edukacja-container p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
}

.o-nas-opis li::marker {
  color: var(--honey);
}

.honeycomb-images {
  gap: 24px;
}

.honeycomb-cell {
  width: clamp(210px, 22vw, 320px);
  height: clamp(210px, 22vw, 320px);
  padding: 5px;
  background: var(--honey-light);
  filter: drop-shadow(0 16px 20px rgba(45, 55, 45, 0.15));
}

.honeycomb-row:nth-child(2) {
  margin-top: -78px;
}

.edukacja-bloki {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.edukacja-bloki .blok {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.blok:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(35, 45, 37, 0.12);
}

.galeria-edukacja {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 0;
}

.galeria-edukacja .miniatura {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Nowa, narracyjna strona główna */
.about-story.o-nas {
  position: relative;
  padding: clamp(84px, 10vw, 150px) 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 200, 74, 0.17), transparent 27rem),
    linear-gradient(180deg, #fbf8ef 0%, #f6f0e3 100%);
}

.about-story::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: 80px;
  width: 320px;
  height: 360px;
  opacity: 0.09;
  background: url("../img/hex.png") center / cover no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.about-shell,
.education-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #9b5e00;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--honey);
}

.about-intro {
  max-width: 930px;
}

.about-intro h2 {
  max-width: 850px;
  margin: 20px 0 24px;
  color: var(--forest-dark);
  font-size: clamp(3.2rem, 7.4vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.about-lead {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.75;
}

.about-facts {
  display: grid;
  max-width: 980px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(46px, 6vw, 76px) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.about-fact {
  display: flex;
  min-height: 132px;
  padding: 24px clamp(18px, 3vw, 34px);
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.86);
}

.about-fact strong {
  color: var(--forest-dark);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.about-fact span {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.about-gallery {
  position: relative;
  display: grid;
  min-height: 690px;
  grid-template-columns: 1.35fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.about-photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #efe8d9;
  box-shadow: var(--shadow-sm);
}

.about-photo-frame-main {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
}

.about-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-photo-frame-main .about-photo {
  transform: scale(1.34);
}

.about-photo-frame-silver .about-photo {
  transform: scale(1.55);
}

.about-photo-frame-gold .about-photo {
  transform: scale(1.3);
}

.about-place {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(19, 49, 35, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.about-narrative > h3 {
  margin: 18px 0 24px;
  color: var(--forest-dark);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  text-wrap: balance;
}

.about-narrative > p {
  color: var(--ink-soft);
  line-height: 1.82;
}

.awards-card {
  position: relative;
  margin-top: 34px;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 200, 74, 0.2), transparent 15rem),
    var(--forest-dark);
  color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-lg);
}

.awards-card h3 {
  margin: 0 0 18px;
  color: var(--honey-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.awards-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.awards-card li {
  margin: 10px 0;
  line-height: 1.55;
}

.awards-card li::marker {
  color: var(--honey-light);
}

.about-education.o-nas.edukacja {
  padding: clamp(80px, 10vw, 140px) 24px;
  background:
    linear-gradient(135deg, rgba(20, 45, 34, 0.98), rgba(35, 74, 56, 0.96)),
    url("../img/hex.png") center / auto 160%;
  color: rgba(255, 255, 255, 0.8);
}

.education-heading {
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 40px 80px;
  align-items: end;
  margin-bottom: 54px;
}

.education-heading .section-kicker {
  grid-column: 1 / -1;
  color: var(--honey-light);
}

.education-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.education-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.education-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
}

.education-cards {
  display: grid;
  gap: 16px;
}

.education-card {
  position: relative;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.education-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.education-number {
  color: var(--honey-light);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.education-card h3 {
  margin: 30px 0 12px;
  color: #fff;
  font-size: 1.45rem;
}

.education-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.education-gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.education-gallery .miniatura {
  width: 100%;
  height: 100%;
  min-height: 220px;
  margin: 0;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: none;
}

.education-gallery .education-photo-main {
  grid-row: 1 / 3;
  min-height: 530px;
  border-radius: var(--radius-lg);
}

@media (max-width: 980px) {
  .about-layout,
  .education-layout {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    min-height: 580px;
  }

  .about-narrative {
    max-width: 760px;
  }

  .education-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .education-heading .section-kicker {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .about-story.o-nas,
  .about-education.o-nas.edukacja {
    padding-left: 16px;
    padding-right: 16px;
  }

  .about-intro h2 {
    max-width: 100%;
    font-size: clamp(2.4rem, 11vw, 3rem);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-fact {
    min-height: 105px;
  }

  .about-gallery,
  .education-gallery {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .about-photo-frame-main,
  .education-gallery .education-photo-main {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 390px;
    min-height: 0;
  }

  .about-photo-frame:not(.about-photo-frame-main),
  .education-gallery .miniatura:not(.education-photo-main) {
    height: 190px;
    min-height: 0;
  }

  .about-place {
    top: 340px;
    right: 16px;
    bottom: auto;
    left: auto;
  }

  .awards-card,
  .education-card {
    padding: 24px;
  }
}

/* Produkty */
.sekcja-produktow {
  padding: clamp(110px, 12vw, 170px) 20px 110px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 202, 74, 0.18), transparent 34rem),
    var(--cream);
}

.sprzedaz {
  max-width: 1280px;
  padding: 0;
}

.sprzedaz h1 {
  margin: 0 0 12px;
  color: var(--forest-dark);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  text-wrap: balance;
}

.sprzedaz > p {
  margin: 0 auto 36px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.koszyk-kontener,
.urlop-oferta {
  max-width: 900px;
  border: 1px solid rgba(217, 144, 0, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.koszyk-kontener {
  padding: 28px;
  text-align: left;
}

.koszyk-kontener h3 {
  margin: 0;
  color: var(--forest-dark);
  font-size: 1.35rem;
}

#lista-koszyka li {
  border-bottom-color: var(--line) !important;
}

.urlop-oferta {
  padding: 18px 22px;
}

.urlop-oferta__ikona,
.urlop-modal__ikona {
  background: var(--honey-light);
}

.produkty-kontener {
  max-width: 1280px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
  gap: 22px;
  padding: 28px 0 0;
}

.produkt {
  max-width: none;
  min-height: 490px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.produkt:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 144, 0, 0.4);
  box-shadow: 0 20px 48px rgba(35, 45, 37, 0.13);
}

.produkt .miniaturka {
  display: grid;
  width: 100%;
  min-height: 170px;
  margin: 0 0 12px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(145deg, #fffaf0, #f2ead9);
}

.sloik-zmienny {
  width: 145px;
  height: 145px;
  object-fit: contain;
  filter: drop-shadow(0 16px 13px rgba(45, 40, 25, 0.14));
}

.produkt h3 {
  margin: 8px 0;
  color: var(--forest-dark);
  font-size: 1.15rem;
}

.produkt > p {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
}

.wybierz-wariant,
.ilosc-input {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.wybierz-wariant {
  width: 100%;
  min-height: 43px;
  padding: 9px 36px 9px 12px;
  font: inherit;
  font-size: 0.88rem;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--forest) 50%),
    linear-gradient(135deg, var(--forest) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 50%,
    calc(100% - 12px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.warianty-produktu {
  position: relative;
  width: 100%;
}

.wybierz-wariant--native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.custom-variant-select {
  position: relative;
  width: 100%;
  text-align: left;
}

.custom-variant-trigger {
  display: flex;
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(37, 71, 55, 0.2);
  border-radius: var(--radius-sm);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(35, 45, 37, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.custom-variant-trigger:hover {
  border-color: rgba(217, 144, 0, 0.6);
  background: #fffaf0;
}

.custom-variant-select.is-open .custom-variant-trigger {
  border-color: var(--honey);
  background: #fffaf0;
  box-shadow: 0 0 0 4px rgba(217, 144, 0, 0.11);
}

.custom-variant-arrow {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-variant-select.is-open .custom-variant-arrow {
  transform: translateY(2px) rotate(225deg);
}

.custom-variant-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 50;
  max-height: 240px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid rgba(37, 71, 55, 0.16);
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 18px 42px rgba(23, 49, 38, 0.18);
  backdrop-filter: blur(12px);
}

.custom-variant-options[hidden] {
  display: none;
}

.custom-variant-option {
  display: flex;
  width: 100%;
  min-height: 40px;
  padding: 9px 11px;
  align-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.86rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}

.custom-variant-option:hover,
.custom-variant-option:focus-visible {
  outline: none;
  background: rgba(217, 144, 0, 0.1);
  color: var(--forest-dark);
}

.custom-variant-option.is-selected {
  background: var(--honey-light);
  color: #33250d;
  font-weight: 750;
}

.produkt.variant-open {
  z-index: 40;
}

.cena {
  color: var(--forest);
  font-size: 0.9rem;
  line-height: 1.55;
}

.zobacz-btn,
.dodaj-do-koszyka-btn {
  min-height: 43px;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.zobacz-btn {
  border: 1px solid rgba(37, 71, 55, 0.25);
  background: transparent;
  color: var(--forest);
}

.zobacz-btn:hover {
  background: rgba(37, 71, 55, 0.07);
}

.dodaj-do-koszyka-btn {
  background: var(--forest);
}

.dodaj-do-koszyka-btn:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
}

.product-lightbox-content,
.urlop-modal__okno {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}

.product-image img {
  max-height: 68vh;
  border-radius: var(--radius);
}

/* Aktualności */
.aktualnosci {
  padding: clamp(120px, 12vw, 170px) 20px 100px;
  background:
    radial-gradient(circle at 85% 5%, rgba(255, 200, 74, 0.15), transparent 28rem),
    var(--cream);
}

.aktualnosci h1,
.galeria h2,
.kontakt h2 {
  margin: 0 auto 48px;
  color: var(--forest-dark);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  text-align: center;
  text-wrap: balance;
}

.artykul {
  max-width: 960px;
  margin: 0 auto 24px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.artykul-meta h2 {
  color: var(--forest-dark);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.data-artykulu {
  color: #8a6b32;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.artykul p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  text-align: left;
}

.artykul a {
  color: #9b5e00;
  font-weight: 700;
}

.hex {
  border-radius: 8px;
  background: var(--honey);
}

.hex-inner {
  background: #fffdf7;
}

.galeria-artykulu img {
  width: min(260px, 100%);
  height: 180px;
  border-radius: 16px;
}

.video-container {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Galeria */
.galeria {
  padding: clamp(120px, 12vw, 170px) 20px 110px;
  background: var(--cream);
}

.galeria-grid {
  display: grid;
  max-width: 1280px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.galeria-grid .miniatura {
  width: 100%;
  height: 230px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.miniatura:hover,
.galeria-edukacja .miniatura:hover,
.galeria-artykulu img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 40px rgba(35, 45, 37, 0.16);
}

/* Kontakt i formularze */
.kontakt {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(120px, 12vw, 170px) 20px 110px;
}

.kontakt h2 {
  margin-bottom: 18px;
}

.kontakt-zacheta {
  max-width: 680px;
  margin: 0 auto 18px;
  color: var(--ink-soft);
}

.kontakt-info-bezstopki {
  margin-bottom: 32px;
}

.formularz-kontaktowy {
  gap: 20px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-lg);
}

.formularz-kontaktowy input[type="text"],
.formularz-kontaktowy input[type="email"],
.formularz-kontaktowy input[type="tel"],
.formularz-kontaktowy textarea {
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.formularz-kontaktowy textarea {
  min-height: 150px;
  resize: vertical;
}

.formularz-kontaktowy input:focus,
.formularz-kontaktowy textarea:focus {
  border-color: var(--honey);
  box-shadow: 0 0 0 4px rgba(217, 144, 0, 0.12);
}

.tryb-zamowienia,
.dane-zamowienia,
.wybor-dostawy label,
.potwierdzenie-platnosci {
  border-color: rgba(217, 144, 0, 0.23);
  border-radius: 16px;
  background: #fffbf2;
}

.wybor-dostawy label {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.wybor-dostawy label:hover {
  transform: translateY(-2px);
  border-color: var(--honey);
}

.formularz-kontaktowy button {
  width: 100%;
  color: #2d230e;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--forest);
}

/* Stopka i mapa */
.location-section {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 20px clamp(76px, 9vw, 110px);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 200, 74, 0.16), transparent 26rem),
    linear-gradient(180deg, var(--cream) 0%, #f4eddf 100%);
}

.location-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1120px, calc(100% - 40px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(217, 144, 0, 0.55), transparent);
}

.location-heading {
  max-width: 1120px;
  margin: 0 auto 32px;
  text-align: center;
}

.location-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #9b5e00;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.location-heading h2 {
  margin: 0 0 12px;
  color: var(--forest-dark);
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-wrap: balance;
}

.location-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.map-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(217, 144, 0, 0.28);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.map-container iframe {
  height: min(62vh, 620px);
  border-radius: 22px;
  filter: saturate(0.72) contrast(0.95);
}

.footer {
  padding: 70px 24px;
  border-top: 1px solid rgba(255, 200, 74, 0.24);
  background:
    url("../img/hex.png") top center / auto 170% repeat-x,
    radial-gradient(circle at 18% -20%, rgba(255, 200, 74, 0.25) 0, transparent 38%) no-repeat,
    radial-gradient(circle at 96% 120%, rgba(165, 91, 22, 0.32) 0, transparent 42%) no-repeat,
    linear-gradient(135deg, #142d22 0%, #234a38 48%, #3a2a1d 100%);
  background-blend-mode: multiply, normal, normal, normal;
  color: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-content {
  max-width: 1120px;
  align-items: center;
  gap: 48px;
}

.footer-logo {
  flex-basis: 210px;
}

.footer-logo img {
  max-height: 150px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.2));
}

.footer-info h3 {
  font-family: var(--font-body);
  color: var(--honey-light);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer a:hover {
  color: var(--honey-light);
}

/* Powiadomienia i lightbox */
.news-notice {
  right: 24px;
  bottom: 24px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

#lightbox,
#product-lightbox,
.urlop-modal {
  background: rgba(10, 24, 17, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#lightbox img {
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

@media (max-width: 1100px) {
  .menu li a {
    padding-inline: 9px;
    font-size: 0.7rem;
  }

  .o-nas-container {
    flex-direction: column;
    padding: 0;
  }

  .honeycomb-cell {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }

  header {
    height: 76px;
    padding: 8px 16px;
  }

  main {
    margin-top: -76px;
  }

  .logo img,
  body.scrolled .logo img {
    height: 54px;
  }

  .menu {
    inset: 0;
    width: 100%;
    height: 100dvh;
    gap: 8px;
    padding: 100px 24px 40px;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 15% 10%, rgba(255, 200, 74, 0.2), transparent 24rem),
      var(--cream);
  }

  .menu li a {
    padding: 12px 22px;
    color: var(--ink);
    font-size: 1.15rem;
    letter-spacing: 0.03em;
  }

  #hamburger {
    display: grid;
    place-items: center;
  }

  .hero-slider {
    min-height: 640px;
  }

  .slide-content {
    top: 51%;
    left: 20px;
    width: calc(100% - 40px);
    max-width: none;
    padding: 30px 24px;
  }

  .slide-content h1 {
    font-size: clamp(1.95rem, 9vw, 2.75rem);
    line-height: 1.08;
  }

  .slider-nav {
    bottom: 26px;
  }

  .o-nas,
  .o-nas.edukacja,
  .sekcja-produktow,
  .aktualnosci,
  .galeria,
  .kontakt {
    padding-left: 16px;
    padding-right: 16px;
  }

  .o-nas-container {
    padding: 0;
  }

  .o-nas-opis {
    padding: 28px 22px;
  }

  .honeycomb-images {
    width: 100%;
    overflow: hidden;
  }

  .honeycomb-cell {
    width: min(46vw, 220px);
    height: min(46vw, 220px);
  }

  .honeycomb-row:nth-child(2) {
    margin-top: -52px;
  }

  .edukacja-bloki,
  .galeria-edukacja {
    grid-template-columns: 1fr;
  }

  .galeria-edukacja .miniatura {
    height: 240px;
  }

  .produkty-kontener {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .produkt {
    width: 100%;
    min-height: 490px;
  }

  .product-lightbox-content {
    max-height: 90vh;
    padding: 26px 20px;
    overflow-y: auto;
  }

  .artykul {
    padding: 28px 22px;
  }

  .artykul-header-horizontal {
    align-items: flex-start;
    text-align: left;
  }

  .plaster-miodu {
    align-self: center;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .galeria-grid .miniatura {
    height: 180px;
  }

  .footer {
    padding-block: 56px;
  }

  .location-section {
    padding: 70px 14px 74px;
  }

  .location-heading {
    margin-bottom: 24px;
  }

  .map-container {
    padding: 5px;
    border-radius: 22px;
  }

  .map-container iframe {
    height: 480px;
    border-radius: 17px;
  }
}

@media (max-width: 560px) {
  .produkty-kontener,
  .galeria-grid {
    grid-template-columns: 1fr;
  }

  .produkt {
    max-width: 440px;
    justify-self: center;
  }

  .galeria-grid .miniatura {
    height: 250px;
  }

  .dolny-panel-akcji {
    flex-wrap: wrap;
  }

  .ilosc-input {
    width: 62px;
  }

  .koszyk-kontener {
    padding: 22px 18px;
  }

  .news-notice {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
