/* DP SHOP — product variants zone (capacity pills + color/variant cards) */
.dp-vz{ margin: 18px 0; }
.dp-vz-block{ margin-bottom: 18px; }
.dp-vz-block:last-child{ margin-bottom: 0; }
.dp-vz-title{
  font-size: 15px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 10px;
}

/* capacity pills */
.dp-vz-pills{ display: flex; flex-wrap: wrap; gap: 10px; }
.dp-vz-pill{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 68px;
  padding: 5px 14px;
  background: #fff;
  border: 1px solid #e2c9f5;
  border-radius: 11px;
  text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.dp-vz-pill-cap{ font-size: 12.5px; font-weight: 700; color: #1d1d1f; }
.dp-vz-pill-price{ font-size: 10.5px; color: #9a95a6; }
.dp-vz-pill:hover{ background: #BF78EE; border-color: #BF78EE; }
.dp-vz-pill.active{ background: #BF78EE; border-color: #BF78EE; }
.dp-vz-pill:hover .dp-vz-pill-cap,
.dp-vz-pill:hover .dp-vz-pill-price,
.dp-vz-pill.active .dp-vz-pill-cap,
.dp-vz-pill.active .dp-vz-pill-price{ color: #fff !important; }

/* related color / other-variant cards */
.dp-vz-cards{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dp-vz-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
  text-align: center;
  text-decoration: none !important;
  transition: transform .15s ease;
}
.dp-vz-card:hover{ transform: scale(.96); }
.dp-vz-card img{
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  background: #f4f0fa;
  margin-bottom: 6px;
}
.dp-vz-card span{
  font-size: 11.5px;
  line-height: 1.3;
  color: #4a4750 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* color cards: photo only, no name, smaller */
.dp-vz-cards-colors .dp-vz-card{ width: 56px; }
.dp-vz-cards-colors .dp-vz-card img{ width: 56px; height: 56px; margin-bottom: 0; }
.dp-vz-cards-colors .dp-vz-card span{ display: none; }
/* same hover as the "Inne warianty" thumbnails (.dp-vz-mini) */
.dp-vz-cards-colors .dp-vz-card{ position: relative; border-radius: 8px; transition: transform .18s ease, box-shadow .18s ease; }
.dp-vz-cards-colors .dp-vz-card:hover{ transform: scale(1.22); box-shadow: 0 6px 16px rgba(0,0,0,.22); z-index: 3; }

/* color block collapsed to 3 rows: "Pokaż więcej" fills the last card slot */
.dp-vz-card.dp-vz-hidden{ display: none !important; }
.dp-vz-cards-colors .dp-vz-more{ width: 56px; height: 56px; border-radius: 8px; font-size: 11px; }

@media (max-width: 767px){
  .dp-vz-card{ width: 72px; }
  .dp-vz-card img{ width: 64px; height: 64px; }
  .dp-vz-cards-colors .dp-vz-card{ width: 52px; }
  .dp-vz-cards-colors .dp-vz-card img{ width: 52px; height: 52px; }
  .dp-vz-cards-colors .dp-vz-more{ width: 52px; height: 52px; }
}

/* trust badges strip — same pill language as .dp-vz-pill */
.dp-tb{
  margin: 18px 0;
  display: flex;
  background: #fff;
  border: 1px solid #e2c9f5;
  border-radius: 14px;
  overflow: hidden;
}
.dp-tb-badge{
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  text-align: left;
}
.dp-tb-icon{
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f1e4fb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.dp-tb-icon svg{
  width: 16px;
  height: 16px;
  color: #BF78EE;
  stroke: #BF78EE;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dp-tb-label{
  min-width: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.25;
}

@media (max-width: 520px){
  .dp-tb{ flex-wrap: wrap; }
  .dp-tb-badge{ flex: 1 1 50%; }
}

/* "Dane techniczne" tab — clean alternating-row spec table */
.js-product-details .data-sheet{
  display: block;
  margin: 0;
  border: 1px solid #ece6f5;
  border-radius: 10px;
  overflow: hidden;
}
.js-product-details .data-sheet dt,
.js-product-details .data-sheet dd{
  display: block;
  margin: 0;
  padding: 10px 16px;
  font-size: 13.5px;
  line-height: 1.4;
}
.js-product-details .data-sheet dt{
  float: left;
  width: 42%;
  font-weight: 600;
  color: #4a4750;
  background: #faf7fd;
}
.js-product-details .data-sheet dd{
  float: left;
  width: 58%;
  color: #1d1d1f;
}
.js-product-details .data-sheet dt:nth-of-type(odd),
.js-product-details .data-sheet dd:nth-of-type(odd){
  background: #faf7fd;
}
.js-product-details .data-sheet::after{ content: ""; display: block; clear: both; }

/* "Koszty dostawy" tab — carrier price table */
.dp-ship-table{
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ece6f5;
  border-radius: 10px;
  overflow: hidden;
}
.dp-ship-table tr:nth-child(odd){ background: #faf7fd; }
.dp-ship-table td{
  padding: 11px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid #ece6f5;
}
.dp-ship-table tr:last-child td{ border-bottom: none; }
.dp-ship-carrier{ color: #1d1d1f; font-weight: 500; }
.dp-ship-price{ text-align: right; color: #4a4750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dp-ship-price.dp-ship-free{ color: #2e9e5b; font-weight: 700; }

@media (max-width: 520px){
  .js-product-details .data-sheet dt,
  .js-product-details .data-sheet dd{ width: 100%; float: none; }
  .js-product-details .data-sheet dt{ padding-bottom: 4px; }
  .js-product-details .data-sheet dd{ padding-top: 0; }
}

/* ============================ "Inne warianty" — manufacturer tabs (logos) ============================ */
/* row of manufacturer logo tabs; active = full colour + underline (no frame) */
.dp-vz-tabsnav{ display:flex; align-items:stretch; gap:2px; margin-bottom:14px; border-bottom:1px solid #ececf1; }
.dp-vz-tabs{ display:flex; flex-wrap:nowrap; align-items:flex-end; gap:16px; flex:1 1 auto; min-width:0; overflow-x:auto; scroll-behavior:smooth; padding-bottom:8px; scrollbar-width:none; -ms-overflow-style:none; }
.dp-vz-tabs::-webkit-scrollbar{ display:none; }
.dp-vz-tab{ flex:0 0 auto; border:0; background:transparent; padding:3px 2px 6px; margin:0; cursor:pointer; line-height:0; opacity:1; border-bottom:2px solid transparent; transition:border-color .15s ease; }
.dp-vz-tab img{ height:54px; width:auto; max-width:160px; object-fit:contain; display:block; }
/* text-only tab (manufacturer without a logo, e.g. YOSHI): same height as the
   54px logos + vertically centred, so flex-end doesn't drop it to the baseline */
.dp-vz-tab span{ display:inline-flex; align-items:center; height:54px; font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color:#1d1d1f; line-height:1.2; }
.dp-vz-tab.is-active{ border-bottom-color:#8b4fc4; }
.dp-vz-tab:focus, .dp-vz-tab:focus-visible, .dp-vz-tab:active{ outline:none !important; box-shadow:none !important; }
/* horizontal scroll arrows — shown only when logos overflow that side */
.dp-vz-arrow{ flex:0 0 auto; display:none; align-items:center; justify-content:center; width:30px; align-self:stretch; border:0; background:#fff; cursor:pointer; }
.dp-vz-arrow i{ display:block; width:9px; height:9px; border-top:2px solid #1d1d1f; border-right:2px solid #1d1d1f; }
.dp-vz-arrow-left i{ transform:rotate(-135deg); margin-left:3px; }
.dp-vz-arrow-right i{ transform:rotate(45deg); margin-right:3px; }
.dp-vz-arrow:hover i{ border-color:#8b4fc4; }
.dp-vz-arrow:focus, .dp-vz-arrow:focus-visible, .dp-vz-arrow:active{ outline:none !important; box-shadow:none !important; }
/* product panels: only the active manufacturer is shown; JS clamps to 3 rows */
.dp-vz-panel{ display:none; }
.dp-vz-panel.is-active{ display:block; }
.dp-vz-panel-grid{ display:flex; flex-wrap:wrap; gap:9px; overflow:visible; }
.dp-vz-mini.dp-vz-hidden{ display:none !important; }
.dp-vz-mini{ flex:0 0 auto; width:66px; height:66px; border:0; border-radius:10px; overflow:hidden; background:#fff; display:block; position:relative; transition:transform .18s ease, box-shadow .18s ease; }
.dp-vz-mini img{ width:100%; height:100%; object-fit:cover; display:block; }
.dp-vz-mini:hover{ transform:scale(1.22); box-shadow:0 6px 16px rgba(0,0,0,.22); z-index:3; }
.dp-vz-mini:focus, .dp-vz-mini:focus-visible, .dp-vz-mini:active{ outline:none !important; }
/* show-more occupies one thumbnail slot (last cell of row 3): plain black text, no frame */
.dp-vz-more{ flex:0 0 auto; width:66px; height:66px; display:flex; align-items:center; justify-content:center; text-align:center; border:0; background:transparent; color:#1d1d1f; font-size:12px; font-weight:600; line-height:1.15; padding:3px; cursor:pointer; text-decoration:none; }
.dp-vz-more:hover{ color:#000; text-decoration:underline; text-underline-offset:2px; }
.dp-vz-more:focus, .dp-vz-more:focus-visible, .dp-vz-more:active{ outline:none !important; box-shadow:none !important; }
@media (max-width:520px){
  .dp-vz-mini, .dp-vz-more{ width:58px; height:58px; }
  .dp-vz-tab img{ height:42px; }
  .dp-vz-tab span{ height:42px; }
}
