/*
 * JEJ ŁAZIENKA – child_classic
 * Paleta Różana (#f3c5c8)
 *
 * Nadpisuje kolory motywu classic (teal #24b9d7 → róż #a66b6f).
 * Załadowane po parent CSS (priority: 200), więc !important tylko tam,
 * gdzie Bootstrap ustawia go w oryginale.
 */

/* ─────────────────────────────────────────
   1. Zmienne CSS
   ───────────────────────────────────────── */
:root {
  --clr-primary:      #a66b6f;
  --clr-primary-hov:  #8f5559;
  --clr-primary-dark: #744246;
  --clr-accent:       #f3c5c8;
  --clr-accent-light: #f7d2d5;
  --clr-accent-pale:  #fce9eb;
  --clr-accent-mid:   #d39da1;
}

/* ─────────────────────────────────────────
   2. Topbar (nowy pasek na samej górze)
   ───────────────────────────────────────── */
.topbar-info {
  background: linear-gradient(90deg, #8B2635, #D4737E);
  padding: 9px 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
}
.topbar-info strong {
  color: #fce9eb;
}
.topbar-info a {
  color: #fce9eb;
  text-decoration: none;
  font-weight: 600;
}
.topbar-info a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Wyłączone: link "Zadzwoń do nas" (ps_contactinfo, displayNav1) */
#contact-link {
  display: none;
}

/* Wyłączony baner promocyjny (ps_banner, displayHome) na stronie głównej */
#index a.banner {
  display: none;
}

/* ─────────────────────────────────────────
   3. Linki globalne
   ───────────────────────────────────────── */
a {
  color: #a66b6f;
}
a:hover,
a:focus {
  color: #744246;
  text-decoration: none;
}
#header .top-menu a[data-depth="0"]:hover,
a:hover {
  color: #744246;
}

/* ─────────────────────────────────────────
   4. Przyciski – btn-primary
   ───────────────────────────────────────── */
.btn-primary,
.btn-primary:hover {
  color: #fff;
  background-color: #a66b6f;
  border-color: #a66b6f;
}
.btn-primary:hover {
  background-color: #8f5559;
  border-color: #8f5559;
}
.btn-primary.focus,
.btn-primary:focus {
  color: #fff;
  background-color: #8f5559;
  border-color: #8f5559;
  box-shadow: 0 0 0 3px rgba(243, 197, 200, 0.5);
}
.btn-primary.active,
.btn-primary:active,
.open > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #744246;
  border-color: #744246;
  background-image: none;
}
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .btn-primary.dropdown-toggle.focus,
.open > .btn-primary.dropdown-toggle:focus,
.open > .btn-primary.dropdown-toggle:hover {
  color: #fff;
  background-color: #5e3336;
  border-color: #5e3336;
}
.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary:disabled.focus,
.btn-primary:disabled:focus,
.btn-primary.disabled:hover,
.btn-primary:disabled:hover {
  background-color: #d39da1;
  border-color: #d39da1;
}

/* btn-default (używany w search i innych miejscach) */
.bootstrap-touchspin .group-span-filestyle .btn-touchspin,
.group-span-filestyle .bootstrap-touchspin .btn-touchspin,
.group-span-filestyle .btn-default,
.btn-default {
  color: #fff;
  background: #a66b6f;
}
.btn-default:hover {
  background: #8f5559;
}

/* btn-outline-primary */
.btn-outline-primary {
  color: #a66b6f;
  background-color: transparent;
  border-color: #a66b6f;
  background-image: none;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: #fff;
  background-color: #a66b6f;
  border-color: #a66b6f;
}

/* ─────────────────────────────────────────
   5. Nagłówek / header
   ───────────────────────────────────────── */
#header {
  box-shadow: 0 2px 20px rgba(116, 66, 70, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Fokus dostępnościowy (WCAG) w nagłówku, jak we wzorze */
#header a:focus-visible,
#header button:focus-visible,
#header input:focus-visible {
  outline: 3px solid #8B2635;
  outline-offset: 3px;
}
#header .header-top {
  background: #fff;
  position: relative;
}

/* Wiersz header-top: logo | wyszukiwarka (środek) | konto+koszyk (prawo) */
@media (min-width: 768px) {
  #header .header-top-right {
    display: flex;
    justify-content: center;
    padding-right: 0;
  }
  #header #search_widget {
    float: none;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
  #header .header-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
  }
  #header .header-top-actions #_desktop_user_info,
  #header .header-top-actions #_desktop_cart {
    margin-bottom: 0;
  }
}

/* Przycisk "Zaloguj się" – ghost button jak .hbtn we wzorze */
#header .header-top-actions #_desktop_user_info a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  color: #6F4A50;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
#header .header-top-actions #_desktop_user_info a:hover {
  background: #fdf0f1;
  color: #8B2635;
}

/* Pasek menu kategorii jako osobny pełnej szerokości wiersz pod nagłówkiem (styl nav-inner) */
.jl-category-nav {
  background: #FFF5F6;
  border-bottom: 2px solid #F1D4D8;
}
.jl-category-nav .top-menu[data-depth="0"] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
}
.jl-category-nav .top-menu[data-depth="0"] > li > a[data-depth="0"] {
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6F4A50;
  text-transform: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.jl-category-nav .top-menu[data-depth="0"] > li > a[data-depth="0"]:hover,
.jl-category-nav .top-menu[data-depth="0"] > li.current > a[data-depth="0"] {
  color: #8B2635;
  border-bottom-color: #8B2635;
}
.jl-category-nav .top-menu[data-depth="0"] > li.current > a[data-depth="0"] {
  background: rgba(243, 197, 200, 0.42);
}

/* Nav górny (kontakt, logowanie, koszyk) */
#header .header-nav {
  background: #fff;
  color: #2D1215;
}
#header .header-nav a,
#header .header-nav .material-icons {
  color: #2D1215;
}
#header .header-nav a:hover {
  color: #B84C59;
}

/* Logo graficzne */
.jl-logo-link {
  display: inline-block;
  line-height: 0;
}
.jl-logo-img {
  height: 66px;
  width: auto;
  display: block;
}
#_mobile_logo .jl-logo-img {
  height: 50px;
}

/* Wyszukiwarka */
#search_widget form input[type="text"] {
  background: #FFF7F8;
  border: 2px solid #F1D4D8;
}
#search_widget form input[type="text"]::placeholder {
  color: #6F4A50;
}
#search_widget form input[type="text"]:focus,
.header-top .search-widgets form input[type="text"]:focus {
  border-color: #B84C59;
  box-shadow: 0 0 0 4px rgba(243, 197, 200, 0.55);
  background: #fff;
}
#search_widget form button[type="submit"],
.header-top .search-widgets form button[type="submit"] {
  background: #a66b6f;
  border-color: #a66b6f;
  color: #fff;
}
#search_widget form button[type="submit"]:hover {
  background: #8f5559;
}

/* Wyszukiwanie – ikona (klasa .search w material-icons) */
.search {
  color: #a66b6f;
}

/* ─────────────────────────────────────────
   6. Koszyk
   ───────────────────────────────────────── */
#_desktop_cart .blockcart .cart-products-count,
.blockcart .cart-products-count {
  background-color: #f3c5c8;
  color: #8B2635;
}
.blockcart a:hover,
.blockcart a:hover .material-icons {
  color: #a66b6f;
}

/* Mobile: parent theme podświetla "cart-preview active" na niebiesko (#24b9d7) po dodaniu do koszyka */
#_mobile_cart .blockcart.cart-preview.active,
#_mobile_cart .cart-preview.active {
  background: #fff !important;
}
#_mobile_cart .cart-products-count {
  background-color: #fff !important;
}
/* Motyw nadrzędny koloruje ikonę/link na biało w stanie active (pasowało do niebieskiego tła) –
   przy białym tle trzeba przywrócić widoczny kolor, inaczej ikona znika (białe na białym) */
#_mobile_cart .cart-preview.active a,
#_mobile_cart .cart-preview.active i,
#_mobile_cart .cart-preview.active .material-icons {
  color: #8B2635 !important;
}

/* Przycisk koszyka w nagłówku – pełna różana pigułka, jak we wzorze */
#header .header-top-actions #_desktop_cart .blockcart .header {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #8B2635;
  color: #fff;
  padding: 9px 18px;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.2s;
}
#header .header-top-actions #_desktop_cart .blockcart .header:hover {
  background: #B84C59;
}
#header .header-top-actions #_desktop_cart .blockcart .header .material-icons,
#header .header-top-actions #_desktop_cart .blockcart .header > span:not(.cart-products-count) {
  color: #fff;
}
/* Przycisk dodaj do koszyka w modalu */
#blockcart-modal .cart-content .btn-primary {
  background-color: #a66b6f;
  border-color: #a66b6f;
}
#blockcart-modal .cart-content .btn-primary:hover {
  background-color: #8f5559;
}
/* Nazwa produktu w modalu koszyka */
#blockcart-modal .product-name {
  color: #a66b6f;
}

/* ─────────────────────────────────────────
   7. Nawigacja główna (menu)
   ───────────────────────────────────────── */
#top-menu > li > a:hover,
#top-menu > li.current > a,
.top-menu a:hover,
.top-menu .current > a {
  color: #a66b6f;
}
.top-menu a[data-depth="0"]:hover,
.top-menu .current a[data-depth="0"] {
  color: #a66b6f;
  border-bottom-color: #a66b6f;
}
/* Dropdown */
.popover,
.sub-menu {
  border-color: #f3c5c8;
}
.top-menu .sub-menu a:hover {
  color: #a66b6f;
}

/* ─────────────────────────────────────────
   8. Produkty – miniatura
   ───────────────────────────────────────── */
.product-miniature .product-title a {
  color: #404040;
}
.product-miniature .product-title a:hover {
  color: #a66b6f;
}
.product-miniature .thumbnail-container:hover {
  border-color: #f3c5c8;
  box-shadow: 0 8px 30px rgba(243, 197, 200, 0.35);
}

/* Flagi (etykiety: -%, Nowość, itp.) */
.product-flag {
  background: #a66b6f;
  color: #fff;
}
.product-flag.on-sale {
  background: #f3c5c8;
  color: #744246;
}
.product-flag.new {
  background: #744246;
}

/* Cena */
.product-price-and-shipping .price,
.price,
.product-price {
  color: #a66b6f;
}
.product-miniature .product-price-and-shipping {
  color: #a66b6f;
  font-weight: 700;
}
.regular-price {
  color: #999;
  text-decoration: line-through;
}
.discount-percentage,
.discount-amount {
  color: #744246;
  font-weight: 700;
}

/* Nazwa produktu (strona produktu) */
.product-name {
  color: #a66b6f;
}

/* Quick view hover */
.product-miniature .highlighted-informations {
  background: rgba(116, 66, 70, 0.85);
}
.product-miniature .quick-view {
  color: #fff;
}

/* ─────────────────────────────────────────
   9. Strona produktu
   ───────────────────────────────────────── */
.product-add-to-cart .add-to-cart {
  background-color: #a66b6f;
  border-color: #a66b6f;
  color: #fff;
}
.product-add-to-cart .add-to-cart:hover {
  background-color: #8f5559;
  border-color: #8f5559;
}

/* Tabs */
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #a66b6f;
  border-bottom-color: #a66b6f;
}
.nav-tabs .nav-link:hover {
  color: #a66b6f;
  border-bottom-color: transparent;
}

/* Reassurance wewnątrz produktu */
.product-reassurance .block-reassurance-item span {
  color: #a66b6f;
}

/* ─────────────────────────────────────────
   10. Checkout / koszyk pełny
   ───────────────────────────────────────── */
body#checkout section.checkout-step .step-number {
  background: #a66b6f;
}
body#checkout section.checkout-step.-current .step-number,
body#checkout section.checkout-step.-complete .step-number {
  background: #a66b6f;
}
body#checkout section.checkout-step .btn-primary {
  background: #a66b6f;
  border-color: #a66b6f;
}
body#checkout section.checkout-step .btn-primary:hover {
  background: #8f5559;
}
.cart-summary-totals .cart-total {
  color: #a66b6f;
}
.promo-code .btn,
#cart .promo-code .btn {
  color: #a66b6f;
  border-color: #a66b6f;
}
.promo-code .btn:hover {
  background-color: #a66b6f;
  color: #fff;
}

/* ─────────────────────────────────────────
   11. Footer
   ───────────────────────────────────────── */
.footer-container {
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.7);
}
.footer-container .links .h3,
.footer-container h4 {
  color: #fff;
}
.footer-container li a,
.block-contact {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}
.footer-container li a:hover,
.account-list a:hover,
.block_newsletter form button[type="submit"] .search:hover {
  color: #f3c5c8;
  text-decoration: none;
}
.footer-container .block_newsletter form input[type="email"]:focus {
  border-color: #f3c5c8;
  box-shadow: 0 0 0 3px rgba(243, 197, 200, 0.25);
}
.footer-container .block_newsletter form button[type="submit"] {
  background: #a66b6f;
  border-color: #a66b6f;
  color: #fff;
}
.footer-container .block_newsletter form button[type="submit"]:hover {
  background: #8f5559;
}

/* ─────────────────────────────────────────
   12. Paginacja
   ───────────────────────────────────────── */
.page-link {
  color: #a66b6f;
}
.page-link:hover {
  color: #744246;
}
.page-item.active .page-link {
  background-color: #a66b6f;
  border-color: #a66b6f;
  color: #fff;
}
.page-item.disabled .page-link {
  color: #d39da1;
}

/* ─────────────────────────────────────────
   13. Okruszki (breadcrumb)
   ───────────────────────────────────────── */
.breadcrumb-item a {
  color: #a66b6f;
}
.breadcrumb-item a:hover {
  color: #744246;
}

/* ─────────────────────────────────────────
   14. Alerty / Bootstrap utilities
   ───────────────────────────────────────── */
/* Bootstrap info */
.alert-info {
  background-color: #fce9eb;
  border-color: #f3c5c8;
  color: #744246;
}
/* Bootstrap primary */
.bg-primary {
  background-color: #a66b6f !important;
}
.text-primary {
  color: #a66b6f !important;
}
.border-primary {
  border-color: #a66b6f !important;
}

/* Badges */
.badge-primary,
.tag-primary {
  background-color: #a66b6f;
  color: #fff;
}
.badge-info {
  background-color: #f3c5c8;
  color: #744246;
}

/* Cards */
.card-primary {
  background-color: #a66b6f;
  border-color: #a66b6f;
}
.card-outline-secondary {
  border-color: #a66b6f;
}

/* ─────────────────────────────────────────
   15. Formularze
   ───────────────────────────────────────── */
.form-control:focus {
  border-color: #f3c5c8;
  box-shadow: 0 0 0 0.2rem rgba(243, 197, 200, 0.35);
}
.custom-select:focus {
  border-color: #f3c5c8;
  box-shadow: 0 0 0 0.2rem rgba(243, 197, 200, 0.35);
}

/* ─────────────────────────────────────────
   16. Pasek postępu / loading
   ───────────────────────────────────────── */
.progress-bar {
  background-color: #a66b6f;
}

/* ─────────────────────────────────────────
   17. Blok categoryTree / facets
   ───────────────────────────────────────── */
.block-categories .category-sub-menu li a:hover,
.facet .facet-label a:hover {
  color: #a66b6f;
}
.facet .facet-title {
  color: #a66b6f;
}
.active-filter-title {
  color: #744246;
}
.active_filters .active-filter-title {
  border-bottom-color: #a66b6f;
}

/* ─────────────────────────────────────────
   18. Dropdowny / selects
   ───────────────────────────────────────── */
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #fce9eb;
  color: #a66b6f;
}
.dropdown-toggle {
  color: #fff;
  background-color: #a66b6f;
  border-color: #a66b6f;
}
.dropdown-toggle:hover {
  background-color: #8f5559;
}

/* Sort / Select na listingu */
.select-title {
  color: #a66b6f;
}

/* ─────────────────────────────────────────
   19. Blockreassurance (ikony zaufania)
   ───────────────────────────────────────── */
#block-reassurance {
  background: #fce9eb;
  border-top: 1px solid #f3c5c8;
  border-bottom: 1px solid #f3c5c8;
}
#block-reassurance .block-reassurance-item span.h6 {
  color: #744246;
  font-weight: 600;
}

/* ─────────────────────────────────────────
   20. Subskrypcja newsletter
   ───────────────────────────────────────── */
#block_myaccount_infos .myaccount-title a:hover,
.cancel-promo {
  color: #a66b6f;
}

/* ─────────────────────────────────────────
   21. Bootstrap info ($.fn.tooltip etc.)
   ───────────────────────────────────────── */
.popover-title {
  background-color: #fce9eb;
  border-bottom-color: #f3c5c8;
}

/* ─────────────────────────────────────────
   22. Globalne ulepszenia wizualne
   ───────────────────────────────────────── */

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow-x: hidden; /* zapobiega poziomemu scrollowi przy hero breakout */
}

/* Zaokrąglone przyciski */
.btn-primary,
.btn-default,
#search_widget form button[type="submit"],
.product-add-to-cart .add-to-cart {
  border-radius: 40px;
}

/* Zaokrąglone pola input */
.form-control,
#search_widget form input[type="text"] {
  border-radius: 40px;
  padding-left: 1.25rem;
}

/* Lupa jako okrągły przycisk szukania (po prawej, jak we wzorze) */
#search_widget form i.search {
  left: auto;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #8B2635;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
#search_widget form i.search:hover {
  background: #B84C59;
}
#search_widget form i.clear {
  right: 46px;
}
#search_widget form input[type="text"] {
  padding-left: 1.25rem !important;
  padding-right: 3rem !important;
}

/* Subtelny cień + animacja na kartach produktu */
.product-miniature .thumbnail-container {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #f7d2d5;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.product-miniature .thumbnail-container:hover {
  transform: translateY(-4px);
  border-color: #f3c5c8;
  box-shadow: 0 12px 40px rgba(243, 197, 200, 0.35);
}

/* Ukryj slider – hero go zastępuje */
#carousel,
.jl-hide-slider #carousel {
  display: none !important;
}

/* ─────────────────────────────────────────
   23. HERO – strona główna
   ───────────────────────────────────────── */

/* Usunięcie domyślnego odstępu #wrapper + breadcrumb na stronie głównej,
   żeby hero stykało się z paskiem menu (.jl-category-nav), jak we wzorze */
#index #wrapper {
  padding-top: 0;
}
#index .breadcrumb {
  display: none;
}

/* Breakout z Bootstrap .container */
.jl-hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: linear-gradient(135deg, #8B2635 0%, #B84C59 50%, #D4737E 100%);
  overflow: hidden;
}
.jl-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0; height: 80px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.jl-hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 72px 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Tekst po lewej */
.jl-hero-text {
  color: #fff;
}
.jl-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fce9eb;
  margin-bottom: 24px;
}
.jl-hero-text h1 {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: #fff;
}
.jl-hero-text h1 span {
  color: #f7d2d5;
}
.jl-hero-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 36px;
}
.jl-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.jl-btn-white {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #a66b6f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 40px;
  transition: background 0.25s, color 0.25s;
}
.jl-btn-white:hover {
  background: #fce9eb;
  color: #744246;
  text-decoration: none;
}
.jl-btn-clear {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  transition: background 0.25s;
}
.jl-btn-clear:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
}

/* Statystyki w hero */
.jl-hero-stats {
  display: flex;
  gap: 32px;
}
.jl-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: #f7d2d5;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.jl-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Kafelki kategorii po prawej */
.jl-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.jl-hcard {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 160px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s;
  text-decoration: none;
}
.jl-hcard:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  text-decoration: none;
}
.jl-hcard-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  opacity: 0.3;
}
.jl-hcard-icon svg {
  width: 44px;
  height: 44px;
}
.jl-hcard-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.jl-hcard-count {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   24. BADGES – pasek zaufania
   ───────────────────────────────────────── */
.jl-badges {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: linear-gradient(180deg, #ffffff 0%, #fdf0f1 100%);
  border-bottom: 2px solid #F1D4D8;
  padding: 24px 0;
  margin-top: 0;
}
.jl-badges-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.jl-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 24px;
  border-right: 1px solid #F1D4D8;
}
.jl-badge:first-child {
  padding-left: 0;
}
.jl-badge:last-child {
  border-right: none;
}
.jl-b-icon {
  width: 44px;
  height: 44px;
  background: #f3c5c8;
  border: 1px solid rgba(139, 38, 53, 0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jl-b-icon svg {
  width: 22px;
  height: 22px;
  stroke: #8B2635;
  fill: none;
  stroke-width: 2;
}
.jl-b-label strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #2D1215;
}
.jl-b-label span {
  display: block;
  font-size: 12px;
  color: #6F4A50;
}

/* Blockreassurance hook – poza głównym blokiem, np. w displayNavFullWidth */
#block-reassurance {
  background: #fce9eb;
  border-top: 1px solid #f7d2d5;
  border-bottom: 1px solid #f7d2d5;
  padding: 16px 0;
}
#block-reassurance ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
#block-reassurance ul li {
  flex: 1;
  min-width: 180px;
  padding: 8px 20px;
  border-right: 1px solid #f7d2d5;
}
#block-reassurance ul li:last-child {
  border-right: none;
}
#block-reassurance .block-reassurance-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
#block-reassurance .block-reassurance-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
#block-reassurance .block-reassurance-item .h6 {
  font-size: 13px;
  font-weight: 700;
  color: #744246;
  margin: 0;
}

/* ─────────────────────────────────────────
   25. SEKCJE PRODUKTÓW na stronie głównej
   ───────────────────────────────────────── */

/* Nagłówek sekcji */
.jl-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  margin-top: 48px;
}
.jl-sec-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #404040;
  margin: 0;
}
.jl-sec-title span {
  color: #a66b6f;
}
.jl-sec-all {
  font-size: 13px;
  font-weight: 700;
  color: #a66b6f;
  text-decoration: none;
}
.jl-sec-all:hover {
  color: #744246;
}

/* Ukryj domyślny tytuł featured products (zastąpiony naszym) */
.featured-products .products-section-title {
  display: none;
}
.featured-products .all-product-link {
  display: none; /* zastąpiony linkiem w jl-sec-header */
}

/* ─────────────────────────────────────────
   26. WAVE PROMO – gradient CTA
   ───────────────────────────────────────── */
.jl-wave-promo {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  background: linear-gradient(135deg, #D4737E, #f3c5c8);
  padding: 72px 0;
  overflow: hidden;
  margin-top: 48px;
}
.jl-wave-promo::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0; height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 0%);
}
.jl-wave-promo::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0; height: 60px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
}
.jl-wave-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.jl-wave-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.jl-wave-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.jl-wave-btn {
  white-space: nowrap;
  padding: 16px 40px;
  background: #fff;
  color: #a66b6f;
  font-size: 15px;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.jl-wave-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  color: #744246;
  text-decoration: none;
}

/* ─────────────────────────────────────────
   27. FOOTER – ciemny, nowy układ
   ───────────────────────────────────────── */
.jl-footer {
  background: #241013;
  color: rgba(255,255,255,0.7);
  margin-top: 0; /* wave promo jest ostatnia */
}

/* Layout wewnętrzny: 2.5fr + 1fr */
.jl-footer-inner {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 40px;
}

/* Kolumna z marką */
.jl-footer-brand {}
.jl-footer-logo {
  margin-bottom: 16px;
}
.jl-footer-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.jl-footer-desc {
  font-size: 13px;
  line-height: 1.85;
  max-width: 320px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
}
.jl-footer-contact {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jl-footer-contact a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.jl-footer-contact a:hover {
  color: #f3c5c8;
  text-decoration: none;
}

/* Kolumny linków (hook output) – restyle modułów PS */
.jl-footer-links {
  display: flex;
  gap: 0;
}
.jl-footer-links .links {
  display: flex !important;
  flex: 1;
  flex-wrap: wrap;
  gap: 0;
  /* nadpisz klasę col-md-6 z ps_linklist */
  width: 100% !important;
  max-width: 100% !important;
}
.jl-footer-links .links .wrapper,
.jl-footer-links .wrapper {
  flex: 1;
  min-width: 120px;
  padding: 0 8px;
}
.jl-footer-links .links .h3,
.jl-footer-links .h3,
.jl-footer-links #block_myaccount_infos .myaccount-title a,
.jl-footer-links .block_newsletter label {
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  margin-bottom: 20px !important;
}
.jl-footer-links ul,
.jl-footer-links .account-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jl-footer-links ul li,
.jl-footer-links .account-list li {
  margin-bottom: 10px;
}
.jl-footer-links ul li a,
.jl-footer-links .account-list li a {
  font-size: 13px !important;
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  transition: color 0.2s;
}
.jl-footer-links ul li a:hover,
.jl-footer-links .account-list li a:hover {
  color: #f3c5c8 !important;
}

/* Ukryj collapse togglery w footer (mobilne) na desktopie */
.jl-footer-links .title.hidden-md-up {
  display: none !important;
}
.jl-footer-links .collapse {
  display: block !important;
}

/* col-md-3 z ps_customeraccountlinks – znormalizuj */
.jl-footer-links #block_myaccount_infos {
  flex: 1;
  min-width: 120px;
  padding: 0 8px;
  max-width: none !important;
  width: auto !important;
}

/* Pasek dolny stopki */
.jl-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.jl-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.jl-footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* Ukryj oryginalne kontenery stopki classic (zastąpione naszymi) */
.footer-container {
  display: none !important;
}

/* ─────────────────────────────────────────
   28. Responsywność
   ───────────────────────────────────────── */
@media (max-width: 991px) {
  .jl-hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 24px 80px;
    gap: 32px;
  }
  .jl-hero-cards {
    grid-template-columns: 1fr 1fr;
  }
  .jl-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .jl-footer-links {
    flex-wrap: wrap;
  }
  .jl-wave-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .jl-hero-text h1 {
    font-size: 32px;
  }
  .jl-hero-cards {
    grid-template-columns: 1fr;
  }
  .jl-badges-inner {
    grid-template-columns: 1fr 1fr;
  }
  .jl-badge {
    border-right: none;
    border-bottom: 1px solid #f7d2d5;
  }
  .jl-badge:first-child {
    padding-left: 24px;
  }
  .jl-footer-links {
    flex-direction: column;
    gap: 24px;
  }
}
