body{
  font-size: 16px;
}

.bg-main-zdjecie {
  padding: 82px 0px;
  background-image: url("/img/banner.webp");
  background-position: center;
  background-size: cover;
}

img {
  width: 100%;
}

form a {
  text-decoration: none;
  color: #ff9100;
}
body,
html {
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

h1 {
  color: #141414;
  font-family: Poppins;
  font-size: 4.3rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -1.38px;
}

h3 {
  color: #141414;
  font-family: Poppins;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 42px */
  letter-spacing: -0.7px;
}

body {
  position: relative;
  background-color: #0e0b14;
  background-image: radial-gradient(ellipse 80% 50% at 50% -5%, rgba(255, 145, 0, 0.28) 0%, rgba(255, 145, 0, 0) 70%),
    radial-gradient(ellipse 60% 40% at 100% 60%, rgba(120, 40, 160, 0.18) 0%, rgba(120, 40, 160, 0) 70%),
    radial-gradient(ellipse 60% 40% at 0% 85%, rgba(255, 145, 0, 0.12) 0%, rgba(255, 145, 0, 0) 70%);
  background-repeat: no-repeat;
}

nav {
  height: 75px;
  display: flex;
  width: 100%;
  align-self: stretch;
  align-items: center;
  justify-content: space-between;
}
nav .container{
  width: 100%;
}
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-left {
  display: flex;
  align-items: center;
}
.logo-div,
.menu-div {
  width: fit-content;
  display: flex;
  align-items: center;
  padding: 12px 16px; 
}
.logo-div svg {
  width: 160px;
  height: auto;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-right .nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff9100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-right .nav-btn svg path {
fill: white;
}
.accessibility-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 20px;
}
.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff9100;
  color: #fff;
  border: none;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nav-btn:hover {
  background: #ff7a00;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(255, 145, 0, 0.35);
}

.nav-btn:active {
  transform: scale(0.95);
}

.nav-btn:focus-visible {
  outline: 2px solid #001a38;
  outline-offset: 3px;
}
.menu-div {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
}

.menu-div a {
  color: #141414;
  text-decoration: none;
  font-family: Poppins;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  position: relative;
}

.menu-div a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0%;
  background-color: #ff9100;
  transition: all 0.3s ease-in-out;
}

.menu-div a:hover:before {
  width: 100%;
}

p {
  color: #e9dfd3;
  text-align: center;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 24px */
  letter-spacing: -0.36px;
}

.color-orange {
  color: #ff9100;
}

.bg-main-container {
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);

  padding: 48px 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.main-btn {
  border-radius: 12px;
  background: #ff9100;
  padding: 8px 24px;
  text-decoration: none;
  color: #fff;
  font-family: Poppins;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
  letter-spacing: -0.28px;
  transition: all 0.3s ease-in-out;
}

h2 {
  color: white;
  font-family: Poppins;
  font-size: 3.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 66px */
  letter-spacing: -1.1px;
}

h4 {
  color: #141414;
  font-family: Poppins;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 33.6px */
  letter-spacing: -0.56px;
}

.main-btn:hover {
  background: #ff9e20;
}

.bg-grey {
  background: #f8f8f8;
}

.oferta {
  padding: 96px 160px;
}

.tel-btn-menu {
  display: none;
  width: 56px;
  height: 32px;
  border-radius: 16px;
  background: #ff9100;
  justify-content: center;
  align-items: center;
}

.tel-btn-menu::before {
  all: unset;
}

.whole-offer-div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 32px;
  overflow-x: auto;
  padding: 128px 12px;
  scroll-snap-type: x mandatory;
}

.div-img-offer-item {
  margin-top: -106px;
}

.div-img-offer-item img {
  border-radius: 48px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.25);
  width: 124px;
}

.single-item {
  padding: 40px 24px 72px 24px;
  border-radius: 48px;
  width: 31%;
  background: #fff;
  box-shadow: 4px 4px 16px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  scroll-snap-align: center;
  min-height: 526px;
}

.warte-uwagi-whole-div {
  padding: 96px 0px;
}

.warte-uwagi-whole-div .container {
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.div-img-warte-uwagi img {
  border-radius: 48px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
}

.diety,
.kosmetyki,
.zespol,
.faq,
.kontakt {
  padding: 24px 0px;
}

footer {
  padding: 48px 0px;
}

.div-diets {
  flex-wrap: nowrap;
  gap: 32px;
  display: flex;
}

.img-diets {
  width: 25%;
}

.img-diets img {
  border-radius: 48px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.faq-item {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  overflow: hidden;
  gap: 32px;
  border-bottom: 1px solid #ff9100;
  padding: 32px 0px 0px 0px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.faq-item.active .faq-answer {
  padding-bottom: 32px;
}

.faq-item div:nth-child(1) svg {
  transform: rotate(-90deg);
  transition: all 0.3s ease-in-out;
  width: 20px;
  height: 20px;
}

.faq-item.active div:nth-child(1) svg {
  transform: rotate(0deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-question {
  display: flex;
  gap: 16px;
  align-items: center;
  color: #141414;
  font-family: Poppins, sans-serif;
  font-size: 1.4375rem;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.46px;
}

.faq-item div:nth-child(1) {
  display: flex;
  gap: 16px;
  align-items: center;
}

.faq-item div:nth-child(1) {
  color: #141414;
  font-family: Poppins;
  font-size: 1.4375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 27.6px */
  letter-spacing: -0.46px;
}

.faq-item div:nth-child(1) svg {
  display: flex;
}

.desc-of-kontakt {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.open-hours {
  display: flex;
  gap: 24px;
}

.open-hours div:nth-child(1) {
  color: #ff9100;
  font-family: Poppins;
  font-size: 1.4375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 27.6px */
  letter-spacing: -1.15px;
}

.open-hours div:nth-child(2),
.open-hours div:nth-child(3) {
  color: #141414;
  font-family: Poppins;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 27px */
  letter-spacing: -0.36px;
}

.open-hours div:nth-child(3) {
  border-left: 1px solid #ff9100;
  padding-left: 24px;
}

#form-offer {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

#form-offer div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

#form-offer label {
  color: #e9dfd3;
  font-family: Poppins;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 27px */
  letter-spacing: -0.36px;
}

#form-offer *::placeholder {
  color: #7d7385;
}

#form-offer .kontakt-input,
#form-offer textarea,
select {
  border-radius: 24px;
  background: #1a1422;
  color: #fff;
  border: 1px solid rgba(255, 145, 0, 0.35);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 12px 16px;
  width: 100%;
  font-family: Poppins;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 27px */
  letter-spacing: -0.36px;
}

#form-offer .kontakt-input:focus,
#form-offer textarea:focus {
  border-color: #ff9100;
  box-shadow: 0 0 0 3px rgba(255, 145, 0, 0.25);
}

#form-offer select option {
  background: #1a1422;
  color: #fff;
}

.h2-hallowen {
  color: #ff9100;
  text-align: center;
  font-family: Poppins;
  font-size: 1.6875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 40.5px */
  text-transform: uppercase;
}

.akceptacja {
  flex-direction: row !important;
}

button[type="submit"] {
  padding: 14px 48px;
  border: none;
  outline: none;
  border-radius: 64px;
  background: #ff9100;
  font-family: Poppins;
  font-size: 0.875rem;
  font-style: normal;
  color: white;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
  letter-spacing: -0.28px;
  width: fit-content;
}

.kontakt-iframe iframe {
  border-radius: 48px;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
}

.footer-links div {
  display: flex;
  gap: 32px;
  justify-content: end;
}

.footer-links div a {
  color: #e9dfd3;
  font-family: Poppins;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 27px */
  letter-spacing: -0.36px;
  text-decoration: none;
}

.footer-social-links {
  display: flex;
  gap: 32px;
  justify-content: end;
  border-bottom: 1px solid rgba(255, 145, 0, 0.3);
}

.footer-social-links div a {
  color: #e9dfd3;
  font-family: Poppins;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  letter-spacing: -0.28px;
}

.footer-links,
.footer-social-links {
  padding: 16px 0px;
  width: 100%;
}

.links-n-social {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.polityka-div {
  color: #ff9100;
  font-family: Poppins;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  letter-spacing: -0.28px;
}

.polityka-div a {
  color: #ff9100;
  font-family: Poppins;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.28px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

#rezultat span {
  padding: 64px 0px;
  color: #e9dfd3;
}

#rezultat {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-align: center;
  font-family: Poppins;
  font-size: 1.4375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  /* 27.6px */
  letter-spacing: -0.46px;
}

@media screen and (max-width: 1319px) {
  .whole-offer-div {
    justify-content: start;
  }

  .single-item {
    width: 360px;
  }
}

@media screen and (max-width: 992px) {
  .footer-links div {
    gap: 16px;
    flex-direction: column;
    align-items: center;
  }

  .footer-social-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-logo-div {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-logo-div img {
    width: 20%;
  }

  .open-hours {
    flex-direction: column;
    align-items: center;
  }

  .open-hours div:nth-child(3) {
    padding: 0;
    border-left: 0px;
  }

  .faq-item div:nth-child(1) svg {
    width: 70px;
    height: 70px;
  }

  .div-diets {
    gap: 16px;
  }

  .img-diets img {
    height: 280px;
  }

  .whole-offer-div {
    gap: 16px;
  }

  p {
    font-size: 1rem;
  }

  .single-item {
    width: 270px;
  }

  .menu-div a {
    display: none;
  }

  .tel-btn-menu {
    display: flex !important;
  }

  h2 {
    font-size: 2.1875rem;
  }

  h1 {
    font-size: 2.75rem;
  }

  .bg-main-zdjecie,
  .oferta {
    padding: 48px 16px;
  }

  .bg-main-container {
    padding: 48px 24px;
  }
}

/* hallowen styles */

.hallowen-h1 {
  color: #fff;
  text-shadow: 0 0 32px rgba(255, 145, 0, 0.45);
  text-align: center;
  font-family: Poppins;
  font-size: 3rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
}

.hallowen-h3 {
  color: #f8f8f8;
  text-align: center;
  font-family: Poppins;
  font-size: 1.6875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  /* 40.5px */
}

.candies-div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.candy-card {
  width: 100%;
  height: 360px;
  perspective: 1000px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  display: flex;
}

.candy-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
}

.candy-card.flipped .candy-inner {
  transform: rotateY(180deg);
}

.candy-front,
.candy-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
}

.candy-back {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  transform: rotateY(180deg);
}
.content-candy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.content-candy__title {
  color: #141414;
  font-family: Poppins;
  font-size: 1.4375rem;
  font-style: normal;
  font-weight: 800;
  line-height: 150%;
  /* 34.5px */
}

.content-candy__desc {
  color: #141414;
  font-family: Poppins;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 19.5px */
}

.content-candy__desc b {
  color: #141414;
  font-family: Poppins;
  font-size: 1.1875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 28.5px */
}

.content-candy__btn {
  display: flex;
  width: fit-content;
  border-radius: 64px;
  background: #e73429;
  padding: 14px 48px;
  color: #fff;
  text-align: center;
  font-family: Poppins;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  text-decoration: none;
  /* 19.5px */
}

.candy-front {
  position: relative;
  display: flex;
  width: 100%;
  height: 360px;
  padding: 0 24px 108px 24px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 145, 0, 0.32) 0%, rgba(255, 145, 0, 0) 55%),
    linear-gradient(160deg, #241a2e 0%, #120d18 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 145, 0, 0.35);
  overflow: hidden;
  transform: rotateY(0deg);
}

.candy-front > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.candy-front > div:nth-child(2) span:nth-child(1) {
  color: #fff;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}

.candy-front > div:nth-child(2) span:nth-child(2) {
  color: #ff9100;
  text-align: center;
  font-family: Poppins;
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 38.4px */
}

.candy-front img {
  width: 80%;
  height: auto;
}

.mikolaj-span-niespodzianka {
  color: #427230;
  text-align: center;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  /* 19.2px */
}

.candy-back {
  border-radius: 24px;
  background: #0e0b14;
  box-shadow: 0 0 0 1px rgba(255, 145, 0, 0.5), 0 8px 40px rgba(255, 145, 0, 0.25);
  transform: rotateY(180deg);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 32px 24px;
  transform: rotateY(180deg);
}

.imgs-candy {
  display: flex;
  justify-content: center;
}

.imgs-candy img {
  width: 50%;
}

.oferta-wazna {
  color: #ff9100;
  text-align: center;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  padding-top: 24px;
  /* 24px */
}

.kliknij-i-zobacz {
  color: #b9aea3;
  font-family: Poppins;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 19.5px */
}

.pc {
  display: flex !important;
}

.tel {
  display: none !important;
}

.akceptacja input[type="checkbox"] {
  /* ukrycie natywnego wyglądu */
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid #ff9100;
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.akceptacja input[type="checkbox"]:checked {
  background-color: #ff9100;
  border-color: #ff9100;
}

.akceptacja input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 8px;
  height: 14px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(45deg);
}

@media screen and (max-width: 992px) {
  .hallowen-h1 {
    font-size: 2.75rem;
  }

  .pc {
    display: none !important;
  }

  .tel {
    display: flex !important;
  }

  .candies-div {
    grid-template-columns: repeat(1, 1fr);
  }

  .candy-back {
    flex-direction: column;
    padding: 16px;
    height: 100%;
  }

  .content-candy__btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .content-candy div {
    width: 100%;
  }
}

.too-late {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 60px 20px;
}

.too-late__emoji {
  font-size: 5rem;
  margin-bottom: 20px;
}

.too-late__text {
  color: #e9dfd3;
  text-align: center;
  font-family: Poppins;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 72px */
  text-transform: uppercase;
}

.wybierz-swoj {
  color: #ff9100;
  text-align: center;
  font-family: Poppins;
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 72px */
  text-transform: uppercase;
}

.ktory-pakiet-div {
  display: flex;
  flex-direction: column;
  gap: 8;
  text-align: center;
}

.ktory-pakiet-div h3 {
  color: #ff9100;
  text-align: center;
  font-family: Poppins;
  font-size: 1.6875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  /* 40.5px */
}

.zamow-przez-platforme {
  padding: 14px 48px;
  border-radius: 64px;
  background: #e73429;
  color: #fff;
  text-align: center;
  font-family: Poppins;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  text-decoration: none;
  /* 19.5px */
}
.text-under {
  color: #e9dfd3;
  text-align: center;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}
.text-under span {
  color: #ff9f31;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}
/* halloween – dekoracje w tle */
.dekoracja {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
}
.dekoracja-1 {
  width: 260px;
  left: -60px;
  top: 120px;
  transform: rotate(-20deg);
}
.dekoracja-2 {
  width: 200px;
  right: -50px;
  top: 90vh;
  transform: rotate(35deg);
}
.dekoracja-3 {
  width: 240px;
  left: -40px;
  top: 160vh;
  transform: rotate(-12deg);
}

.hero-halloween {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  padding-top: 24px;
}
.hero-kapelusz {
  width: 260px;
}
.hero-cukierek {
  width: 110px;
  animation: cukierek-float 4s ease-in-out infinite;
}
.hero-cukierek--lewy {
  transform: rotate(-25deg);
}
.hero-cukierek--prawy {
  transform: rotate(25deg) scaleX(-1);
  animation-delay: -2s;
}
@keyframes cukierek-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

.candy-icon-layer {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.candy-icon-layer img {
  width: 120px;
  height: auto;
  transition: transform 0.4s ease;
}
.candy-card:hover .candy-icon-layer img {
  transform: rotate(-15deg) scale(1.08);
}
.text-layer {
  position: absolute;
  top: 190px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.text-layer span:nth-child(2) {
  color: #ff9100;
  text-align: center;
  font-family: Poppins;
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 38.4px */
}
.back-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.back-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
/* halloween – zdjęcie urządzenia jako tło całego kafelka po rozpakowaniu cukierka */
.back-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
}
.back-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1.15);
}
.back-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to top,
      rgba(14, 11, 20, 0.97) 0%,
      rgba(14, 11, 20, 0.88) 38%,
      rgba(14, 11, 20, 0.35) 70%,
      rgba(14, 11, 20, 0.05) 100%
    ),
    radial-gradient(circle at 50% 100%, rgba(255, 145, 0, 0.25) 0%, rgba(255, 145, 0, 0) 60%);
  pointer-events: none;
}
.back-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.back-photo__badge {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 8px;
  border-radius: 64px;
  background: #ff9100;
  color: #fff;
  font-family: Poppins;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 120%;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: scale(0.4) rotate(-12deg);
}
.back-photo__badge img {
  width: 28px;
  height: auto;
  filter: brightness(0) invert(1);
}
.candy-card.flipped .back-photo > img {
  animation: zdjecie-reveal 0.9s ease-out 0.5s forwards;
}
.candy-card.flipped .back-photo__badge {
  animation: badge-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s forwards;
}
@keyframes zdjecie-reveal {
  from {
    opacity: 0;
    transform: scale(1.15);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}
@keyframes badge-pop {
  to {
    opacity: 1;
    transform: scale(1) rotate(-4deg);
  }
}

/* rozpakowanie cukierka przed obróceniem karty */
.candy-card.unwrapping .candy-icon-layer img {
  animation: cukierek-rozpakuj 0.75s ease-in forwards;
}
.candy-card.unwrapping .text-layer {
  transition: opacity 0.4s ease;
  opacity: 0;
}
@keyframes cukierek-rozpakuj {
  0% {
    transform: rotate(0) scale(1);
  }
  15% {
    transform: rotate(-18deg) scale(1.05);
  }
  30% {
    transform: rotate(16deg) scale(1.08);
  }
  45% {
    transform: rotate(-14deg) scale(1.1);
  }
  60% {
    transform: rotate(180deg) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: rotate(540deg) scale(2.2);
    opacity: 0;
  }
}
.drobinka {
  position: absolute;
  top: 100px;
  left: 50%;
  z-index: 4;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  pointer-events: none;
  animation: drobinka-lot 0.8s ease-out forwards;
}
@keyframes drobinka-lot {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  to {
    transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.3);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .candy-card.unwrapping .candy-icon-layer img,
  .candy-card.flipped .back-photo > img,
  .candy-card.flipped .back-photo__badge {
    animation-duration: 0.01s;
    animation-delay: 0s;
  }
  .drobinka {
    display: none;
  }
}
.back-images img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
}
.back-content {
  color: #fff;
  text-align: center;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}

.back-content h3 {
  color: #ff9100;
  text-align: center;
  font-family: Poppins;
  font-size: 1.75rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 33.6px */
}

.regular-price {
  color: #fff;
  text-align: center;
  font-family: Poppins;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 24px */
}

.promo-price {
color: #FFF;
font-family: Poppins;
font-size: 1.1875rem;
font-style: normal;
font-weight: 700;
line-height: 150%;
text-transform: uppercase;
}
.promo-price strong {
  color: #ff9100;
  font-family: Poppins;
  font-size: 1.1875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}

.saving {
  color: #ff9100;
  font-family: Poppins;
  font-size: 1.1875rem;
  font-style: normal;
  font-weight: 800;
  line-height: 150%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-transform: uppercase;
}
/* halloween – duch przelatujący przez stronę */
.duch {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 90px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  will-change: transform;
  transform: translate3d(-200px, 30vh, 0);
}
.duch:focus-visible {
  outline: 2px solid #ff9100;
  outline-offset: 4px;
  border-radius: 50%;
}
.duch__unoszenie {
  display: block;
  animation: duch-unoszenie 2.4s ease-in-out infinite;
}
.duch__cialo {
  display: block;
  opacity: 0.92;
  filter: drop-shadow(0 0 18px rgba(255, 145, 0, 0.55)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
}
.duch__cialo svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.duch__cien {
  position: absolute;
  top: calc(100% + 18px);
  left: 20%;
  width: 60%;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(2px);
  animation: duch-cien 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes duch-cien {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(0.7);
    opacity: 0.45;
  }
}
.duch__oczy {
  transform-box: fill-box;
  transform-origin: center;
  animation: duch-mruganie 4s infinite;
}
.duch--ucieka {
  pointer-events: none;
}
.duch:hover .duch__cialo {
  opacity: 1;
}
.duch--salto .duch__unoszenie {
  animation: duch-salto 0.6s ease-in-out, duch-unoszenie 2.4s ease-in-out 0.6s infinite;
}
.duch__dymek {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 8px 14px;
  border-radius: 16px;
  background: #ff9100;
  color: #fff;
  font-family: Poppins;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 130%;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.duch__dymek::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #ff9100;
}
.duch--mowi .duch__dymek {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
@keyframes duch-unoszenie {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes duch-mruganie {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
@keyframes duch-salto {
  from {
    transform: rotate(0) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  to {
    transform: rotate(360deg) scale(1);
  }
}
@media (max-width: 768px) {
  .duch {
    width: 64px;
  }
  .duch__dymek {
    font-size: 0.75rem;
  }
}
body.high-contrast .duch {
  display: none;
}

/* =========================
   HIGH CONTRAST MODE
========================= */

body.high-contrast {
  background: #000 !important;
  color: #fff !important;
}

body.high-contrast * {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

body.high-contrast a {
  color: #00ffff !important;
}

body.high-contrast button,
body.high-contrast .nav-btn {
  background: #fff !important;
  color: #000 !important;
}
body.high-contrast .nav-btn svg path {
  fill: black;
}
@media (max-width: 768px) {
  .candies-div {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px; /* odstęp między kartami */
    padding-left: 16px;
    padding-right: 16px;
  }

  .candy-card {
    width: 100% !important;
    max-width: 100%;
  }
    .candy-front {
    width: 100%;
    height: auto;
    min-height: 320px;
    padding-bottom: 96px;
  }

  .hero-kapelusz {
    width: 170px;
  }
  .hero-cukierek {
    width: 70px;
  }
  .dekoracja {
    display: none;
  }
  .back-photo__badge {
    font-size: 1rem;
  }
  .back-content h3 {
    font-size: 1.5rem;
  }
  .promo-price,
  .promo-price strong,
  .saving {
    font-size: 1rem;
  }
  .imgs-candy {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .imgs-candy img {
    width: 100%;
    height: auto;
  }
}
