/* ============================================================
   KINGSWHEELS – additional.css : JEDYNE ŹRÓDŁO PRAWDY
   Merge: custom.css + additional.css (2026-07-21)
   Ten plik ładuje się jako OSTATNI w <head>, dzięki czemu
   wygrywa z motywem i Creative Elements — dlatego to on jest
   źródłem prawdy, a custom.css należy OPRÓŻNIĆ.
   ============================================================ */

@font-face {
  font-family: SegoeUI;
  src: local("Segoe UI Light"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff2) format("woff2"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.woff) format("woff"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf) format("truetype");
  font-weight: 100;
}
@font-face {
  font-family: SegoeUI;
  src: local("Segoe UI Semilight"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff2) format("woff2"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.woff) format("woff"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.ttf) format("truetype");
  font-weight: 200;
}
@font-face {
  font-family: SegoeUI;
  src: local("Segoe UI"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2) format("woff2"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff) format("woff"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf) format("truetype");
  font-weight: 400;
}
@font-face {
  font-family: SegoeUI;
  src: local("Segoe UI Bold"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.woff2) format("woff2"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.woff) format("woff"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.ttf) format("truetype");
  font-weight: 600;
}
@font-face {
  font-family: SegoeUI;
  src: local("Segoe UI Semibold"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff2) format("woff2"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff) format("woff"), url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.ttf) format("truetype");
  font-weight: 700;
}
body {
  font: 400 1rem/1.5 "Segoe UI", SegoeUI, system-ui, -apple-system, Arial, sans-serif;
}

#wrapper {
  padding: 0;
}

/* Base Styles - Mobile First */
html {
  font-size: 100%;
}

#block_myaccount_infos .myaccount-title a, #header a, #wrapper .breadcrumb li a, .block-contact .block-contact-title, .block-contact .navbar-toggler .material-icons, .linklist .blockcms-title a {
  color: inherit;
}

#product-modal .modal-content .modal-body .product-images img:hover,
.product-images > li.thumb-container .thumb.selected, .product-images > li.thumb-container .thumb:hover {
  border: #d0b059 3px solid;
}

.product-manufacturer {
  margin-bottom: 5px;
  font-weight: 700;
}
.product-manufacturer label {
  font-size: 14px;
  color: #000;
  font-weight: 700;
}
.product-manufacturer a {
  font-size: 14px;
  color: #d0b059;
  text-decoration: none;
  font-weight: 700;
}
.product-manufacturer img {
  max-width: 100px;
}

.product-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  mix-blend-mode: multiply;
  margin: 0 auto;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  min-height: 2.6rem;
  margin: 10px 0;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.product-price-vat {
  font-size: 0.8rem;
  color: #999;
}

.product-specs {
  text-align: left;
  flex: 1;
  margin: 15px 0;
}

/* union: baza z additional + align-items/flex-shrink/padding z custom */
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  align-items: flex-start;
}

.spec-label {
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
  padding-right: 10px;
}

.spec-value {
  color: #666;
  text-transform: uppercase;
}

/* konflikt radius 5px vs 8px -> wygrywa additional (5px) */
.btn-buy {
  width: 100%;
  padding: 12px 0;
  background-color: #d0b059;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.3s ease;
  line-height: 22px;
}

.btn-buy:hover {
  background-color: #b8945a;
}

.btn-buy::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url("../images/cart.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
  margin-top: -2px;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(1);
  transition: transform 0.3s ease;
}

@keyframes snap-rotate {
  0% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(15deg);
  }
  70% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
.btn-buy:hover::before {
  animation: snap-rotate 0.5s ease-out;
}

.btn-read-more {
  width: 100%;
  padding: 12px;
  background-color: #000033;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  line-height: 22px;
}

.btn-read-more:hover {
  background-color: #1a1a5f;
}

.see-all {
  max-width: 400px;
  width: calc(100% - 30px);
  text-align: center;
  display: block;
  margin: 20px auto;
  border: 2px solid #000;
  padding: 10px;
  border-radius: 5px;
  font-weight: 700;
}

/* Product Detail */
.product-name {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 15px;
}

/* konflikt radius 12 vs 5 -> additional (5px) */
.product-detail-section {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: linear-gradient(170deg, #f4f4f4 0%, #ffffff 100%);
  border-radius: 5px;
  box-sizing: border-box;
}

.product-gallery {
  position: relative;
}

.product-gallery img {
  mix-blend-mode: multiply;
}

.main-image-container {
  width: 100%;
  height: auto;
  min-height: 300px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 15px;
}

/* w custom była zakomentowana, w additional aktywna -> zostaje aktywna */
.main-image {
  width: auto;
  height: 85%;
  max-height: 450px;
  max-width: 100%;
  object-fit: contain;
}

.thumbnails {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
  border-radius: 5px;
}

.thumbnail.active {
  border-color: #b8945a;
}

.thumbnail img {
  width: 80%;
  height: auto;
}

.compatibility-section {
  width: 100%;
  text-align: center;
}

.compatibility-button {
  width: 100%;
  padding: 12px 20px;
  background: none;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.compatibility-content {
  display: none;
  padding: 20px;
  border-top: none;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}

.compatibility-content.show {
  display: block;
}

.spec-header h3 {
  font-size: 1.2rem;
  border-bottom: 5px solid #d0b059;
  display: inline-block;
  margin: 0 0 20px 0;
  padding: 0;
}

.product-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #333;
}

.product-description strong {
  color: #000;
}

/* konflikt: additional = ramka dookoła + radius; custom = tylko border-bottom
   -> wygrywa additional */
.price-section {
  border: 1px solid #e0e0e0;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.price-and-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.price-container {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  justify-content: center;
}

.price-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.price-slash {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.price-subtext {
  font-size: 0.65rem;
  color: #333;
  font-weight: 400;
  line-height: 1.1;
  padding-top: 5px;
  text-align: left;
}

.price-section .btn-buy {
  width: 100% !important;
}

.price-vat {
  font-size: 0.85rem;
  color: #999;
}

.delivery-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.delivery-info .material-symbols-outlined {
  color: #666;
  font-size: 20px;
}

/* additional miał wypełnioną, custom pustą -> additional */
.features-section {
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-top: 10px;
}

.features-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.features-header h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.features-subtext {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0 16px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.feature-icon {
  width: 34px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text {
  color: #666;
  line-height: 1.4;
}

.search-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 24px;
  height: 24px;
  color: #666;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon:hover {
  color: #333;
}

/* konflikt radius 12 vs 5 -> additional (5px) */
.elementor-button-info .elementor-button {
  color: #fff;
  background-color: #d0b059;
  border-radius: 5px;
}

.btn-primary, .btn-primary:hover {
  color: #fff;
  background-color: #d0b059;
  border-radius: 5px;
}

#subcategories ul li .subcategory-name:hover, .block-categories .arrows .arrow-down:hover, .block-categories .arrows .arrow-right:hover, .block-categories .collapse-icons .add:hover, .block-categories .collapse-icons .remove:hover, .cart-grid-body a.label:hover {
  color: #d0b059;
}

body#checkout a:hover {
  color: #d0b059;
}

.ce-product-badge {
  background-color: #d0b059;
  color: #fff;
}

.current-menu-ancestor > .sub-menu,
.current-menu-item > .sub-menu {
  display: block !important;
}

@media (min-width: 600px) {
  .product-detail-section {
    padding: 20px;
  }
}
@media (min-width: 768px) {
  .product-detail-section {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .main-image-container {
    height: 450px;
  }
  .main-image {
    max-height: 400px;
  }
  .thumbnails {
    justify-content: flex-start;
  }
  .thumbnail {
    width: 90px;
    height: 90px;
  }
  .price-and-button-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .price-section {
    text-align: left;
  }
  .price-container {
    justify-content: flex-start;
  }
  .delivery-info {
    justify-content: flex-start;
  }
  /* konflikt 180px vs 95% -> additional (95%) */
  .price-section .btn-buy {
    width: 95% !important;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1375px !important;
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .product-card {
    height: 600px;
  }
  .product-title {
    font-size: 1rem;
    height: 2.6rem;
  }
  .product-price {
    font-size: 1.3rem;
  }
  .product-name {
    max-width: 1140px;
  }
  /* konflikt 1140 vs 1350 -> additional (1350px) */
  .product-detail-section {
    max-width: 1350px;
    gap: 40px;
  }
  .main-image-container {
    height: 550px;
  }
  .main-image {
    max-height: 450px;
  }
  .thumbnail {
    width: 100px;
    height: 100px;
  }
}

/* --- tylko w custom.css: ViaBill --- */
div[data-payment-module=viabill] .payment-option label {
  display: block;
}

/* --- tylko w custom.css: dopisek przy ilosci w koszyku --- */
.cart-item .bootstrap-touchspin:has(input[aria-label*="fælge" i])::after {
  content: "sæt med 4 stk. ";
  display: block;
  text-align: center;
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}

/* --- tylko w custom.css: strona certyfikatów kw-cert --- */
.kw-cert h1{font-size:2rem;margin:0 0 1rem}
.kw-cert h2{font-size:1.5rem;margin:2.5rem 0 1rem;border-bottom:2px solid #FFA800;padding-bottom:.4rem}
.kw-cert h3{font-size:1.2rem;margin:.2rem 0 .5rem}
.kw-cert h4{font-size:1.05rem;margin:0 0 .4rem}
.kw-cert p{margin:.5rem 0}
.kw-cert .kw-lead{font-size:1.1rem;color:#333}
.kw-cert .kw-figure{text-align:center;margin:1.5rem 0}
.kw-cert .kw-figure img{max-width:100%;height:auto;border-radius:8px}
.kw-cert .kw-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin:1.5rem 0}
.kw-cert .kw-card{border:1px solid #e6e6e6;border-radius:10px;padding:1.25rem;background:#fafafa}
.kw-cert .kw-card img{height:56px;width:auto;margin-bottom:.75rem}
.kw-cert .kw-row{display:flex;gap:1.25rem;align-items:flex-start;margin:1.5rem 0;padding:1.25rem;border:1px solid #eee;border-radius:10px}
.kw-cert .kw-row img{height:64px;width:auto;flex:0 0 auto}
.kw-cert .kw-badge{display:inline-block;background:#0a7c3a;color:#fff;font-weight:700;font-size:.8rem;padding:.2rem .6rem;border-radius:6px;margin-left:.5rem;vertical-align:middle}
.kw-cert .kw-cta{text-align:center;background:#1a1a1a;color:#fff;border-radius:12px;padding:2rem;margin:2.5rem 0}
.kw-cert .kw-cta h2{color:#fff;border:0}
.kw-cert .kw-btn{display:inline-block;background:#FFA800;color:#1a1a1a;font-weight:700;text-decoration:none;padding:.75rem 1.5rem;border-radius:8px;margin:.5rem}
@media(max-width:600px){.kw-cert .kw-row{flex-direction:column;align-items:center;text-align:center}}

/* --- tylko w custom.css: ikony certyfikatów EV --- */
.EVcertICO{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  width:100%;
}
.EVcertICO a{
  display:flex;
  align-items:center;
  gap:10px;
}
.EVcertICO img{
  max-width:30px;
  height:auto;
}
.EVcertICO .cert-text{
  margin:0;
  padding:5px 14px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.5px;
  color:#000033;
  background:#fff;
  border:1.5px solid #d0b059;
  border-radius:50px;
  line-height:1;
  white-space:nowrap;
}

/* --- tylko w custom.css: Nets Easy ikony zamiast tekstu ---
   UWAGA: usunięty błąd składni ("/ contain; !important" -> średnik
   przed !important unieważniał deklarację background) */
[data-payment-module="netseasy"] .payment-call-to-action-and-logo .h6 {
  display: inline-block;
  margin: 0;
  width: 100%;
  height: 35px;
  max-width: 100%;
  font-size: 0 !important;
  line-height: 0;
  color: transparent !important;
  background: url("../images/kingspay.svg") no-repeat left center / contain !important;
  vertical-align: middle;
}

/* radio w jednej linii z ikonami */
[data-payment-module="netseasy"] .payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* pusty div logo dodawał wysokość — chowamy */
[data-payment-module="netseasy"] .payment-logo:empty {
  display: none;
}

/* ============================================================
   KALKULATOR ET (z additional.css)
   FIX: selektory h2/label/input/sup były globalne i stylowały
   całą stronę — zescope'owane do .etcalc-wrap
   ============================================================ */
.etcalc-wrap {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 16px;
  text-align: center;
}

.etcalc-wrap h2 {
  margin: 0 0 24px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.etcalc-row{
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 16px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto 24px;
  width: 100%;
}

.etcalc-gruppe{
  width: 100%;
  max-width: 360px;
  padding: 20px;
  background: #ffffff;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: left;
  margin: 0;
}

.etcalc-gruppe strong{
  display:block;
  font-size:17px;
  font-weight:600;
  margin-bottom:16px;
  color:#1d1d1f;
}

.etcalc-wrap label{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 5px;
  margin-top:12px;
  font-size:15px;
  color:#1d1d1f;
  text-align:left;
}
.etcalc-wrap label:first-of-type{ margin-top:0; }

.etcalc-wrap input{
  width: 110px;
  padding:8px 12px;
  border:1px solid #d2d2d7;
  border-radius:8px;
  font-size:15px;
  background:#fff;
  transition: all .2s ease;
  margin-left: 0;
}
.etcalc-wrap input:focus{
  outline:none;
  border-color:#007aff;
  box-shadow:0 0 0 3px rgba(0,122,255,.1);
}

.etcalc-wrap sup{ font-size:11px; color:#86868b; }

/* wynik / parametry / opis */
.etcalc-result,
.etcalc-params,
.etcalc-beskrivelse,
.redalert{
  max-width:760px;
  margin: 20px auto;
  width: 100%;
  padding:16px 20px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  text-align:left;
}
.etcalc-result p{ margin:8px 0; font-size:15px; line-height:1.6; }

.etcalc-params{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  text-align:center;
}
.etcalc-params div{
  padding:12px;
  background:#f5f5f7;
  border-radius:8px;
}
.etcalc-params strong{
  display:block;
  font-size:13px;
  color:#86868b;
  margin-bottom:4px;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.etcalc-params span{
  font-size:18px;
  font-weight:600;
  color:#1d1d1f;
}

.etcalc-beskrivelse{ font-size:14px; line-height:1.6; }
.etcalc-beskrivelse b{
  display:block;
  font-size:15px;
  font-weight:600;
  margin-bottom:12px;
}

.redalert{
  background:#fff3cd;
  color:#856404;
  line-height:1.6;
}
.redalert strong{
  display:block;
  font-size:15px;
  font-weight:600;
  margin-bottom:8px;
}

/* felgi */
.etcalc-linia{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
}

.etcalc-felg{
  display:inline-flex;
  align-items:center;
  transition: margin-left .2s;
}

.etcalc-l, .etcalc-p{
  width:10px;
  height:200px;
  border-radius:50px;
}
.etcalc-s{
  width:60px;
  height:180px;
  transition: width .2s;
  line-height:180px;
  font-weight:700;
  font-size:10px;
}

.etcalc-os-1, .etcalc-os-2{
  line-height:40px;
  padding:0 16px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.5px;
  width:210px;
  height:40px;
  flex: 0 0 auto;
}

.etcalc-blok{
  background:#B8B8B8;
  background: linear-gradient(0deg, rgba(184,184,184,1) 0%, rgba(242,242,242,1) 50%, rgba(184,184,184,1) 100%);
}

.etcalc-os-1{
  color:#fff;
  background: linear-gradient(90deg, #005ecb 0%, #007aff 100%);
}
.etcalc-os-2{
  color:#fff;
  background: linear-gradient(90deg, #cc7700 0%, #ff9500 100%);
}

/* tablet/telefon */
@media (max-width: 900px){
  .etcalc-row{
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .etcalc-gruppe{
    max-width: 100%;
  }
  .etcalc-linia{
    max-width: 100%;
  }
}

/* małe telefony: skalowanie felgi + przycisków */
@media (max-width: 520px){
  .etcalc-l, .etcalc-p{ height:160px; }
  .etcalc-s{ height:140px; line-height:140px; width:52px; }
  .etcalc-os-1, .etcalc-os-2{
    width:auto;
    min-width: 160px;
    font-size:12px;
    padding:0 12px;
  }
}

/* h2 + params na telefonie */
@media (max-width: 760px){
  .etcalc-wrap h2{ font-size:28px; }
  .etcalc-params{ grid-template-columns: 1fr; }
  /* FIX: iOS Safari auto-zoomuje przy focusie na input < 16px */
  .etcalc-wrap input{ font-size:16px; }
}

/* ============================================================
   CHECKOUT (z additional.css)
   ============================================================ */
body#checkout span.custom-checkbox, body#checkout span.custom-checkbox span {
    margin: 0 0 20px 0;
    gap: 10px;
}

.page-content .form-control, .page-content select.form-control-select.form-control {
  margin-top: 10px;
}

.mark-required .form-group.checkbox label.required span.label::before {
  float: initial;
  margin-right: 5px;
  margin-left: 0;
}

body#checkout span.custom-checkbox > label, body#checkout span.custom-checkbox span.label {
  line-height: 1.5;
}

div#tc-payment-confirmation :is(.dm_reviews, .dm_zbozi, .dm_heureka, .terms-and-conditions, .shaim_heureka_checkbox, .shaim_zbozi_checkbox) {
  justify-content: flex-start;
}

.checkout-block .form-group label {
  gap: 0;
}

.psgdpr span.custom-checkbox {
  margin-bottom: 0;
}

/* ============================================================
   TOPBAR / BENEFITS SLIDER (z additional.css)
   ============================================================ */
.tinyAlert{color:silver;font-size:11px;line-height:14px;margin-top:10px;}

/* Desktop - normalny display */
.tinyTop {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.tinyTop > span {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.benefit-slide {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.benefit-slide .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}

/* Mobile - carousel */
@media (max-width: 767px) {
  .mobile-benefits-slider {
    position: relative;
    height: 12px;
    overflow: hidden;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    display: block !important;
    padding: 2px 10px !important;
    line-height: 12px;
  }

  .benefit-slide {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.5s;
    height: 12px;
    font-weight: 600;
  }

  .benefit-slide.active {
    opacity: 1;
  }

  .benefit-slide .material-symbols-outlined {
    font-size: 12px;
    line-height: 1;
    vertical-align: middle;
    font-weight: 500;
  }

  .benefit-slide span:last-child {
    line-height: 12px;
    vertical-align: middle;
    font-weight: 600;
  }

  /* FIX: powiększony obszar dotyku linku (np. Trustpilot) bez zmiany wyglądu */
  .benefit-slide a {
    position: relative;
  }
  .benefit-slide a::after {
    content: "";
    position: absolute;
    top: -10px;
    bottom: -10px;
    left: -10px;
    right: -10px;
  }
}

/* ============================================================
   TOOLTIPY (z additional.css)
   ============================================================ */
.tooltip-trigger {
    position: relative;
    cursor: help;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 1000;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}

.tooltip-trigger:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Mobile friendly adjustments */
@media (max-width: 768px) {
    .tooltip-text {
        white-space: normal;
        max-width: 200px;
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Na mobile tooltip pojawi się też przy kliknięciu/dotknięciu */
    .tooltip-trigger:active .tooltip-text {
        visibility: visible;
        opacity: 1;
    }
}

/* ============================================================
   PS-TRUNK-ICONS (z additional.css)
   ============================================================ */
/* 3 columns, icon on top, centered text */
.ps-trunk-icons{
  display:flex !important;
  flex-direction:row !important;
  justify-content:space-between !important;
  align-items:stretch !important;
  gap:18px !important;
  width:100% !important;
  flex-wrap:nowrap !important;
  margin:0 !important;
  padding:0 !important;
  text-align:center !important;
}

.ps-trunk-icons__item{
  flex:0 0 calc(33.333% - 12px) !important;
  display:flex !important;
  flex-direction:column !important;        /* icon above text */
  align-items:center !important;            /* center horizontally */
  justify-content:flex-start !important;
  gap:8px !important;
  padding:6px 0 !important;
  box-sizing:border-box !important;
  min-width:0 !important;
}

.ps-trunk-icons__icon{
  font-size:26px !important;
  line-height:1 !important;
  display:block !important;
  margin:0 auto !important;
}

.ps-trunk-icons__text{
  line-height:1.25 !important;
}

.ps-trunk-icons__title{
  display:block !important;
  font-weight:700 !important;
  margin:0 0 3px 0 !important;
}

.ps-trunk-icons__subtitle{
  display:block !important;
  margin:0 !important;
}

/* 2 columns on tablet */
@media (max-width: 820px){
  .ps-trunk-icons{
    flex-wrap:wrap !important;
    justify-content:center !important;
  }
  .ps-trunk-icons__item{
    flex:0 0 calc(50% - 9px) !important;
  }
}

/* 1 column on phone */
@media (max-width: 520px){
  .ps-trunk-icons__item{
    flex:0 0 100% !important;
  }
}

/* ============================================================
   CENA "sæt med 4 stk." NA LISTINGU (z additional.css)
   ============================================================ */
.category-id-3 .ce-product-price::after{
  content: "Pris for et sæt med 4 stk.";
  display: block;
  font-size: 10px;
  line-height: 1.1;
  opacity: .85;
  margin-top: 2px;
  width:100%;
  font-weight:500;
}

.category-id-3 .ce-product-price {
    display: block!important;
    align-items: center;
}

/* ============================================================
   SHARELINK NA DETALU (z additional.css)
   ============================================================ */
.product-info{position:relative;}
 .ps-sharelink-wrap{
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 9999;
  }
  .ps-sharelink-btn{
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .ps-sharelink-btn:hover{ background: rgba(0,0,0,0.12); }
  .ps-sharelink-btn i{ font-size: 16px; line-height: 1; }
  .ps-sharelink-toast{
    position: absolute;
    top: 38px;
    right: 0;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    white-space: nowrap;
  }
  .ps-sharelink-wrap.ps-sharelink--show .ps-sharelink-toast{
    opacity: 1;
    transform: translateY(0);
  }

  .product-description ul{margin-top:25px;}
  .product-description ul li{border-bottom:1px solid #e0e0e0;padding:5px;}

/* ============================================================
   SHORT DESCRIPTION / BEMÆRKNING NA LISTINGU (z additional.css)
   ============================================================ */
.ce-product-description-short {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    text-align: left;
    font-size: 11px;
    line-height: 1.5;
    padding: 4px 0;
    border-bottom: 1px solid #EEE;
}

.ce-product-description-short::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f06a"; /* fa-circle-exclamation */
    color: black;
}
.ce-product-description-short:empty {
    display: none;
}

.emptydesc:has(.ce-product-description-short:empty) {
    display: none;
}

/* ============================================================
   RÓWNE KARTY PRODUKTÓW + Køb NA DOLE (fix z additional.css)
   ============================================================ */
.ce-product-grid.elementor-grid {
    align-items: stretch;
}
.ce-product-grid > .elementor,
.ce-product-grid > .elementor > article.elementor-section-wrap,
.ce-product-grid > .elementor article > section.elementor-top-section,
.ce-product-grid > .elementor article > section.elementor-top-section > .elementor-container,
.ce-product-grid > .elementor article > section.elementor-top-section > .elementor-container > .elementor-row,
.ce-product-grid > .elementor article .elementor-top-column,
.ce-product-grid > .elementor article .elementor-top-column > .elementor-column-wrap,
.ce-product-grid > .elementor article .elementor-top-column > .elementor-column-wrap > .elementor-widget-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}
.ce-product-grid .elementor-widget-product-miniature-add-to-cart {
    margin-top: auto;
}

.ce-product-features .ce-product-features__row:nth-last-child(-n+2) {
    display: none;
}

