/** Shopify CDN: Minification failed

Line 42:2 Expected identifier but found ")"
Line 278:30 Unexpected "{"
Line 278:39 Expected ":"
Line 278:46 Unexpected "{"
Line 279:12 Expected identifier but found whitespace
Line 279:14 Unexpected "{"
Line 279:23 Expected ":"
Line 279:58 Expected ":"
Line 285:32 Unexpected "{"
Line 285:41 Expected ":"
... and 5 more hidden warnings

**/
/* — Nadpisania i finalne style dla sekcji custom-testimonials — */

.custom-testimonials {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 0 !important;

  /* 🔹 Ten sam styl rozjaśniania jak wcześniej, ale zaczyna od dołu */
  background: linear-gradient(
    180deg,
    #FBFAF6 0%,
    #D7E5F1 25%,
    #A1C2E2 50%,
    #1554D1 85%,
    #1554D1 100%
  ) !important;
}



.custom-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;

  );
  z-index: 0;
  pointer-events: none;
}


.custom-testimonials .page-width {
  position: relative;
  z-index: 1;
}

/* Outer wrapper — zaczyna dokładnie z lewej, ale pozwala kontenerowi wychodzić w prawo */
.custom-testimonials__outer-wrapper {
  margin-left: -30px; /* 🔹 przesunięcie bardziej w lewo względem tytułu */
  margin-right: -9999px; /* 🔹 pozwala sliderowi „uciec” na prawo poza ekran */
  width: auto;
  max-width: 2150px; /* dopasuj do layoutu */
  overflow: visible;
}


/* Wrapper kart — ustawiamy overflow hidden i ukrywamy scroll */
.custom-testimonials__wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: auto;
  overflow: hidden;  /* ukrywamy overflow, by użytkownik nie scrollował ręcznie */
  gap: 20px;
  padding-bottom: 20px;
  scroll-behavior: smooth;
}

/* Karty — bez zmian w stylu, ale ustawiamy, by nie były przycinane */
.testimonial-card {
  flex-shrink: 0;
  width: 420px !important;
  height: 340px !important;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(20, 66, 174, 0.16);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .18s ease, box-shadow .18s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(20, 66, 174, 0.22);
}

.testimonial-card .testimonial-text {
  margin-bottom: 0;
  line-height: 1.5;
}

.testimonial-card .testimonial-divider {
  height: 1px;
  background: linear-gradient(90deg,
    rgba(23,58,122,0.08),
    rgba(23,58,122,0.18),
    rgba(23,58,122,0.08)
  );
  border-radius: 1px;
}

.testimonial-product-wrapper {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-top: auto;
}
.testimonial-product {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-product__image {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(20, 66, 174, 0.18);
}
.testimonial-product__title {
  font-weight: 800;
  font-size: 16px;
  color: #174DBC;
}
.testimonial-product__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  transition: none;
}

/* Nawigacja przyciski */
.custom-testimonials__nav {
  position: absolute;
  top: 16px;
  right: 32px;
  display: flex;
  gap: 16px;
  z-index: 5;
}
.custom-testimonials__nav {
  display: flex;
  gap: 16px;
  position: absolute;
  top: 0;
  right: 40px;
  transform: translateY(-100%);
  z-index: 10;
}

.custom-testimonials__nav-btn {
  background-color: #ffffff;
  color: #1554D1;
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0;
}

.custom-testimonials__nav-btn:hover {
  background-color: #1554D1;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
  .custom-testimonials {
    padding: 40px 0;
  }

  .custom-testimonials__outer-wrapper {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 0 16px;
  }

  .custom-testimonials__wrapper {
    flex-direction: row !important;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .custom-testimonials__wrapper::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    width: 280px !important;
    height: auto !important;
    padding: 16px;
    scroll-snap-align: center;
  }

  .testimonial-product {
    gap: 10px;
  }

  .testimonial-product__image {
    width: 56px;
    height: 56px;
  }

  .testimonial-product__cta {
    width: 40px;
    height: 40px;
  }

  .testimonial-product__title {
    font-size: 14px;
  }

  .custom-testimonials__nav {
    position: static;
    justify-content: center;
    margin-top: 16px;
  }

  .custom-testimonials__nav-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  /* Ukryj przyciski na mobile */
  .custom-testimonials__nav {
    display: none !important;
  }
}

/* Dla desktopu pozostaw przyciski widoczne (już masz) */

/* Upewnij się, że wrapper pozwala na przewijanie palcem */
.custom-testimonials__wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}
.custom-testimonials__wrapper::-webkit-scrollbar {
  display: none;
}

@media (max-width: 767px) {
  .custom-testimonials {
  margin-bottom: 0 !important;
  }
}
/* Rozmiar nagłówka sterowany z ustawień – unikalnie dla tej sekcji */
.custom-testimonials__title--{{ section.id }} {
  font-size: {{ section.settings.heading_size_desktop }}px;
  line-height: 1.2;
  font-weight: 700; /* możesz zmienić, jeśli chcesz */
}

@media (max-width: 767px) {
  .custom-testimonials__title--{{ section.id }} {
    font-size: {{ section.settings.heading_size_mobile }}px;
  }
}

/* --- POPRAWKA RESPONSYWNOŚCI NA LAPTOPACH / MACBOOKACH --- */
@media (min-width: 1024px) and (max-width: 1600px) {
  .custom-testimonials__outer-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    overflow: hidden;
  }

  .custom-testimonials__wrapper {
    justify-content: center;
    gap: 24px;
    padding: 0 32px;
  }

  .testimonial-card {
    width: calc((100% - 96px) / 3); /* 3 karty na ekranie z odstępami */
    max-width: 420px;
  }
}

/* Dodatkowe zabezpieczenie dla ekranów 1280 px */
@media (max-width: 1366px) {
  .testimonial-card {
    width: calc((100% - 72px) / 2.5);
  }
}

@media (min-width: 1024px) and (max-width: 1600px) {
  .testimonial-card {
    width: calc((100% - 96px) / 3); /* dopasuje się do szerokości */
    max-width: 420px;
  }
}
/* --- WYŚRODKOWANY SLIDER, RÓWNE MARGINESY 15px, PEŁNE PRZEWIJANIE --- */
.custom-testimonials__outer-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.custom-testimonials__wrapper {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 5px; /* 🔹 równe marginesy po bokach */
  max-width: 2000px;
  margin: 0 auto;
}

.custom-testimonials__wrapper::-webkit-scrollbar {
  display: none;
}

/* --- KARTY --- */
.testimonial-card {
  flex: 0 0 auto;
  width: 400px;
  min-height: 340px;
  height: auto;
  box-sizing: border-box;
}

/* --- USUWA SZTYWNY MARGINES, POZWALA PRZEWIJAĆ DO KOŃCA --- */
.testimonial-card:first-child {
  margin-left: 0;
}
.testimonial-card:last-child {
  margin-right: 0;
}

/* --- DOPASOWANIE DLA LAPTOPÓW (MacBook 13–15") --- */
@media (min-width: 1200px) and (max-width: 1600px) {
  .custom-testimonials__wrapper {
    padding: 0 15px;
    max-width: 1800px;
  }
}

/* --- RESPONSYWNE KARTY OPINII --- */
.testimonial-card {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 400px); /* 🔹 elastyczna szerokość */
  min-height: 280px;
  height: auto;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 66, 174, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(20, 66, 174, 0.22);
}

/* --- TEKST W OPINII --- */
.testimonial-text {
  font-size: clamp(14px, 1vw, 17px); /* 🔹 dopasowanie tekstu */
  line-height: 1.5;
  margin-bottom: 0;
}

/* --- PRODUKT W OPINII --- */
.testimonial-product__image {
  width: clamp(48px, 6vw, 72px);
  height: clamp(48px, 6vw, 72px);
}

.testimonial-product__title {
  font-size: clamp(13px, 1vw, 16px);
}

/* --- NA TABLETACH I LAPTOPACH <1200px --- */
@media (max-width: 1200px) {
  .custom-testimonials__wrapper {
    gap: 16px;
    padding: 0 15px;
  }

  .testimonial-card {
    width: clamp(240px, 40vw, 360px);
  }

  .testimonial-text {
    font-size: clamp(13px, 1.2vw, 16px);
  }
}

/* --- NA MAŁYCH EKRANACH <768px --- */
@media (max-width: 767px) {
  .custom-testimonials__wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 12px;
  }

  .testimonial-card {
    scroll-snap-align: center;
    width: 85%; /* 🔹 jedna karta na ekranie */
    min-height: auto;
  }

  .testimonial-text {
    font-size: 13px;
  }
}

/* --- NA SZEROKICH EKRANACH >1600px --- */
@media (min-width: 1601px) {
  .custom-testimonials__outer-wrapper {
    width: 100vw; /* rozciągnij na całą szerokość ekranu */
    margin-left: calc(-1 * (100vw - 100%) / 2); /* kompensacja scrollbara Shopify */
    max-width: 100vw !important;
    overflow: visible;
  }

  .custom-testimonials__wrapper {
    max-width: none !important; /* usuń ograniczenie */
    width: 100%;
    padding: 0 40px; /* lekki margines po bokach */
    justify-content: flex-start;
  }

  .testimonial-card {
    width: 420px !important; /* zachowaj rozmiar jak na laptopach */
  }
}
/* --- POKAZUJ 5 PEŁNYCH KART + 6. LEKKO WYSTAJĄCĄ NA DESKTOPACH --- */
@media (min-width: 1601px) {
  .custom-testimonials__outer-wrapper {
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    overflow: hidden;
  }

  .custom-testimonials__wrapper {
    display: flex;
    gap: 24px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 40px;
  }

  .custom-testimonials__wrapper::-webkit-scrollbar {
    display: none;
  }

  /* 5 kart widocznych + fragment 6. */
  .testimonial-card {
    flex: 0 0 calc((100vw - (24px * 4) - 80px) / 5.05);
    /* objaśnienie:
       100vw -> szerokość całego ekranu,
       24px * 4 -> 4 odstępy między 5 kartami,
       80px -> padding po bokach (40+40),
       /5.05 -> delikatne zmniejszenie, by 6. karta lekko wystawała */
    max-width: 420px;
    min-height: 340px;
    height: auto;
  }
}

/* ===============================
   PADDING DESKTOP (Shopify desktop)
   =============================== */
@media (min-width: 990px) {
  .custom-testimonials {
    padding-top: 120px !important;
    padding-bottom: 80px !important;
  }
}

/* ===============================
   PADDING MOBILE (Shopify mobile)
   =============================== */
@media (max-width: 749px) {
  .custom-testimonials {
    padding-top: 40px !important;
    padding-bottom: 80px !important;
  }
}
