/*! iStage · Detail produktu ve stylu redesignu · v1.0.0
 *  Styly platí jen na detailu produktu v české verzi (html[lang="cs"] body.type-detail) a nic jiného na e-shopu
 *  neovlivní. Jsou to jen styly: košík, varianty, hlídací pes, hodnocení i měření dál obsluhuje Shoptet.
 *  Galerie a sloupce fungují i bez skriptu produkt.js (skript jen přidává informační řádky, značku nad názvem
 *  a lištu s cenou dole). ?pd=0 na konci adresy ukáže původní vzhled.
 */

/* ---------- Písmo Poppins – stejné soubory jako bannery (složka homepage/fonts, licence OFL) ---------- */
@font-face{font-family:'HP Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/user/documents/homepage/fonts/poppins-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'HP Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/user/documents/homepage/fonts/poppins-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'HP Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/user/documents/homepage/fonts/poppins-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'HP Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/user/documents/homepage/fonts/poppins-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- 0) Barvy a písmo – na jednom místě (stejné jako sekce z redesignu na úvodní stránce) ---------- */
html[lang="cs"]:not(.pd-off) .type-detail {
  --pd-font: 'HP Poppins', 'Poppins', 'Nunito Sans', Arial, sans-serif;
  --pd-ink: #0b0d10; --pd-2: #55595f; --pd-3: #6b7079; --pd-line: #e2e2df; --pd-line-2: #cdcdc9;
  --pd-sunk: #f0f0ee; --pd-soft: #f7f7f5;
  --pd-acc: #fb2a2d; --pd-acc-t: #d4121a;           /* červená iStage; -t = ztmavená pro text (kontrast 4,5 : 1) */
  --pd-ok: #15803d; --pd-blue: #0063c7;             /* zelená „skladem“ a modrá rámečku fokusu (kontrast 4,5 : 1) */
  --pd-r: 20px; --pd-r-sm: 12px;
}

/* ---------- 1) Sloupce: galerie | nákupní box (počítač od 992 px, jako šablona) ---------- */
@media (min-width: 992px) {
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .product-top > .p-image-wrapper { width: 56%; padding-right: 28px; }
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .product-top > .p-info-wrapper { width: 44%; padding-left: 16px; }
}

/* ---------- 2) Galerie – fotka v bílé kartě, náhledy vlevo (počítač) nebo pod fotkou (mobil).
   Náhledy se posouvají kolečkem / prstem; šipky šablony nejsou potřeba. Lupu a zvětšení fotky dál dělá Shoptet. ---------- */
html[lang="cs"]:not(.pd-off) .type-detail .p-image-wrapper .p-image {
  position: relative; margin: 0; padding: 24px; overflow: hidden;
  background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-r);
}
html[lang="cs"]:not(.pd-off) .type-detail .p-image-wrapper .p-image::after { content: none; }
html[lang="cs"]:not(.pd-off) .type-detail .p-image-wrapper .p-image img { display: block; max-width: 100%; height: auto; }
html[lang="cs"]:not(.pd-off) .type-detail .p-image-wrapper .p-image .mousetrap { cursor: zoom-in; }

/* štítky (Akce, Novinka, vlastní) – tvar z redesignu, barvy zůstávají z administrace */
html[lang="cs"]:not(.pd-off) .type-detail .p-image-wrapper .flags.flags-default {
  top: 16px; left: 16px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-image-wrapper .flags-default .flag {
  float: none; margin: 0; padding: 6px 10px; border-radius: 8px;
  font-size: 11.5px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; text-transform: uppercase;
}

/* náhledy – společné */
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .p-thumbnails { height: auto; margin: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .p-thumbnails-inner {
  position: static !important; left: 0 !important; top: 0 !important; width: auto !important; height: auto !important; transition: none !important;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .p-thumbnails-inner > div { display: flex; gap: 10px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .p-thumbnails-inner > div::before,
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .p-thumbnails-inner > div::after { content: none; display: none; }
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper a.p-thumbnail {
  float: none; flex: 0 0 auto; box-sizing: border-box; width: 72px; height: 72px; margin: 0 !important; padding: 5px;
  background: #fff; border: 1.5px solid var(--pd-line); border-radius: var(--pd-r-sm); overflow: hidden;
  transition: border-color .15s;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper a.p-thumbnail::before { content: none; display: none; }
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper a.p-thumbnail img {
  width: 100%; height: 100%; object-fit: contain; border: 0 !important;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper a.p-thumbnail:hover { border-color: var(--pd-3); }
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper a.p-thumbnail.highlighted { border-color: var(--pd-ink); }
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper a.p-thumbnail:focus-visible { outline: 3px solid var(--pd-blue); outline-offset: 1px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .thumbnail-prev,
html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .thumbnail-next { display: none !important; }

/* náhledy vlevo od fotky (počítač). Sloupec náhledů nemá vlastní výšku – je vysoký přesně jako fotka a posouvá se. */
@media (min-width: 992px) {
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .p-image-wrapper { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .p-image-wrapper > * { grid-column: 1 / -1; }
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .p-image-wrapper > .p-image { grid-column: 2; grid-row: 1; }
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .p-image-wrapper > .p-thumbnails-wrapper {
    grid-column: 1; grid-row: 1; align-self: stretch; position: relative; width: 76px; margin: 0 14px 0 0;
  }
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .p-thumbnails-wrapper .p-thumbnails {
    position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin;
  }
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .p-thumbnails-wrapper .p-thumbnails-inner > div { flex-direction: column; padding: 0 2px 2px 0; }
  html[lang="cs"]:not(.pd-off) .type-detail.one-column-body .p-thumbnails-wrapper a.p-thumbnail { width: 72px; height: 72px; }
}
/* náhledy pod fotkou (tablet a mobil) – řada se posouvá prstem */
@media (max-width: 991px) {
  html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .p-thumbnails {
    position: relative; margin: 12px 0 0; padding: 0 0 6px; overflow-x: auto; overflow-y: hidden;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper .p-thumbnails-inner > div { width: max-content; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-thumbnails-wrapper a.p-thumbnail { width: 64px; height: 64px; }
}

/* ---------- 3) Nákupní box ---------- */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper { color: var(--pd-ink); -webkit-font-smoothing: antialiased; }

/* značka nad názvem (doplní skript, jen počítač – na mobilu je název nad fotkou) */
html[lang="cs"]:not(.pd-off) .type-detail .pd-brand {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 0;
  font: 700 12px/1.4 var(--pd-font); letter-spacing: .08em; text-transform: uppercase; color: var(--pd-3) !important; text-decoration: none !important;
}
html[lang="cs"]:not(.pd-off) .type-detail .pd-brand:hover { color: var(--pd-acc-t) !important; }
html[lang="cs"]:not(.pd-off) .type-detail .pd-brand .pd-ico { width: 15px; height: 15px; }
@media (min-width: 992px) { html.pd-brand-on[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .addit-info .znacka { display: none; } }

/* název */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-detail-inner-header { margin: 0 0 12px; padding: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-detail-inner-header h1,
html[lang="cs"]:not(.pd-off) .type-detail .p-detail-inner > .p-detail-inner-header .h1 {
  display: block; margin: 0 !important; padding: 0; font-family: var(--pd-font) !important; font-size: 30px !important; font-weight: 600 !important;
  line-height: 1.2 !important; letter-spacing: -.02em; text-transform: none; color: var(--pd-ink);
}

/* hodnocení a kód (display nechává na šabloně – na mobilu tuhle kopii schovává a ukazuje tu pod názvem) */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-detail-info {
  flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 0 16px; font-size: 13px; line-height: 1.4; color: var(--pd-3);
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-detail-info .stars-wrapper { margin: 0; flex-wrap: wrap; gap: 4px 8px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-detail-info .stars-label,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-detail-info .stars-link { margin: 0; font-size: 13px; color: var(--pd-3); }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-detail-info .js-ratingDialogTrigger { margin: 0; padding: 0; font-size: 13px; color: var(--pd-2); }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-code { font-size: 13px; color: var(--pd-3); }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-code > span:not(.p-code-label) { color: var(--pd-2); font-weight: 600; }

/* krátký popis */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper > .p-short-description {
  margin: 0 0 18px; padding: 0; border: 0; font-size: 14.5px; line-height: 1.65; color: var(--pd-2);
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-short-description .vice-info a { color: var(--pd-ink); font-weight: 600; }

/* dostupnost a termín doručení (text „Můžeme doručit do“ doplňuje šablona) */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .availability-value { margin: 0 0 14px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .availability-value > span { font-size: 15px; font-weight: 800; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .availability-value .delivery-time { font-size: 14px; font-weight: 600; }

/* „Položka byla vyprodána…“ */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .detail-parameters .sold-out td {
  display: block; margin: 0 0 12px; padding: 10px 14px; border: 0; border-radius: var(--pd-r-sm);
  background: var(--pd-sunk); font-size: 14px; font-weight: 600; color: var(--pd-2);
}

/* karta s cenou a tlačítkem (obal .buy-box vytváří šablona Merkur) */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box {
  display: block; margin: 0 0 16px; padding: 20px; background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-r);
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box > .p-final-price-wrapper { width: auto; margin: 0 0 16px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box > :last-child { margin-bottom: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .price-final {
  display: block; font-family: var(--pd-font); font-size: 36px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--pd-ink);
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .price-final.price-action { color: var(--pd-acc-t); }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .price-additional { display: block; margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--pd-3); }

/* množství [− 1 +] a tlačítko do košíku vedle sebe; na úzkém mobilu tlačítko pod množstvím */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart {
  position: static; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; width: auto;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity {
  position: relative; right: auto; bottom: auto; top: auto; display: inline-flex; flex: 0 0 auto; align-items: stretch;
  width: auto; height: 52px; margin: 0; padding: 0; background: #fff; border: 1px solid var(--pd-line-2); border-radius: 999px; overflow: hidden;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity > .increase-tooltip,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity > .decrease-tooltip { position: absolute; left: 50%; top: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity label { order: 2; display: flex; margin: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity input {
  width: 44px; height: 100%; padding: 0; border: 0; font: 700 16px/1 var(--pd-font); color: var(--pd-ink);
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .decrease { order: 1; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .increase { order: 3; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .increase,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .decrease {
  position: relative; left: auto; right: auto; top: auto; width: 42px; height: auto; margin: 0; padding: 0;
  border: 0 !important; background: transparent; color: var(--pd-2); transition: background-color .15s, color .15s;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .increase::before,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .decrease::before {
  position: absolute; left: 0; top: 50%; width: 100%; height: auto; transform: translateY(-50%);
  font-size: 20px; font-weight: 400; line-height: 1; color: inherit;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .decrease::before { content: '\2212'; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .increase:hover,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .decrease:hover { background: var(--pd-sunk); color: var(--pd-ink); }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .increase:hover::before,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .decrease:hover::before { color: var(--pd-ink); }

html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .btn.add-to-cart-button,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box #choose-variant {
  flex: 1 1 170px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: auto !important; min-width: 0; height: 52px !important; margin: 0 !important; padding: 0 20px !important;
  border-radius: 999px !important; font-family: var(--pd-font) !important; font-size: 16px !important; font-weight: 600 !important;
  line-height: 1 !important; letter-spacing: 0; text-transform: none !important; white-space: nowrap;
  box-shadow: 0 10px 22px -14px rgba(0, 118, 225, .9); transition: background-color .15s, box-shadow .15s, transform .15s;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .btn.add-to-cart-button::before { margin: 0 !important; top: 0 !important; font-size: 21px !important; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .btn.add-to-cart-button:hover,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box #choose-variant:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(0, 118, 225, .95); }
/* „Zvolte variantu“ přes celou šířku; doplněk Poznámka (dkLab) vkládá svá pole do stejného odstavce – ta jsou pod ním */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box .vyber-var { margin: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box #choose-variant { display: flex; width: 100% !important; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity input:focus-visible { outline: 3px solid var(--pd-blue); outline-offset: -3px; border-radius: 6px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .btn.add-to-cart-button:focus-visible,
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box #choose-variant:focus-visible { outline: 3px solid var(--pd-blue); outline-offset: 2px; }

/* ---------- 4) Informační řádky pod košíkem (doplní skript – data z produktu v Shoptetu) ---------- */
.pd-info {
  display: grid; gap: 10px; margin: 0 0 18px; padding: 2px 2px 0;
  font-size: 13.5px; line-height: 1.45; color: #55595f; -webkit-font-smoothing: antialiased;
}
.pd-info *, .pd-info *::before, .pd-info *::after { box-sizing: border-box; }
.pd-row { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.pd-row > .pd-ico { width: 20px; height: 20px; margin-top: -1px; color: #6b7079; }
.pd-row.is-hot > .pd-ico { color: #15803d; }
.pd-row-t { min-width: 0; }
.pd-row-t strong { font-weight: 700; color: #0b0d10; }
.pd-row-t a { color: #0b0d10 !important; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.pd-row-t a:hover { color: #d4121a !important; }
.pd-ship > summary.pd-row { display: flex; cursor: pointer; list-style: none; }
.pd-ship summary::-webkit-details-marker { display: none; }
.pd-ship summary .pd-more {
  display: inline-flex; align-items: center; gap: 2px; margin-left: 4px; font-weight: 600; color: #0b0d10;
  text-decoration: underline; text-underline-offset: 2px; white-space: nowrap;
}
.pd-ship summary .pd-more .pd-ico { width: 14px; height: 14px; transition: transform .2s; }
.pd-ship[open] summary .pd-more .pd-ico { transform: rotate(180deg); }
.pd-ship summary:focus-visible { outline: 3px solid #0063c7; outline-offset: 2px; border-radius: 4px; }
.pd-ship-list { margin: 8px 0 2px; padding: 4px 0 0; list-style: none; border-top: 1px solid #e2e2df; }
.pd-ship-list li { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 6px 0; border-bottom: 1px dashed #e2e2df; list-style: none; }
.pd-ship-list li::before, .pd-ship-list li::marker { content: none; }
.pd-ship-list li:last-child { border-bottom: 0; }
.pd-ship-list b { flex: 0 0 auto; font-weight: 700; color: #0b0d10; white-space: nowrap; }
.pd-ico { display: block; flex: 0 0 auto; width: 20px; height: 20px; }

/* ---------- 5) Dotaz, hlídací pes, sdílení – měkká tlačítka ---------- */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .social-buttons-wrapper {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; padding: 0; border: 0;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .link-icons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .link-icons .link-icon {
  display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 8px 14px 8px 12px; border-radius: 999px;
  background: var(--pd-sunk); font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--pd-ink) !important; text-decoration: none !important;
  transition: background-color .15s;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .link-icons .link-icon span { text-decoration: none !important; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .link-icons .link-icon::before { margin: 0; font-size: 17px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .link-icons .link-icon:hover { background: #e6e6e3; }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .link-icons .link-icon:focus-visible { outline: 3px solid var(--pd-blue); outline-offset: 2px; }
@media (max-width: 991px) { html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .link-icons .link-icon.print { display: none; } }   /* jako šablona */
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .social-buttons-wrapper .addit-info { margin: 0 0 0 auto; font-size: 13px; color: var(--pd-3); }
html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .social-buttons-wrapper .social-buttons:not(.no-display) { width: 100%; }

/* ---------- 6) Ikony výhod (doplněk dkLab) – kompaktní řádek v kartě ---------- */
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 36px 0 !important; padding: 4px 0;
  background: #fff; border: 1px solid var(--pd-line); border-radius: var(--pd-r); box-shadow: none;
}
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; column-gap: 12px;
  width: auto !important; margin: 0; padding: 16px 18px; text-align: left; text-transform: none; font-size: 13px;
}
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona + .dklabBanplusIkona { border-left: 1px solid var(--pd-line); }
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona br { display: none; }
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona .dklabBanplusIkonaSvg,
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona .dklabBanplusIkonaImg {
  grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; line-height: 44px; margin: 0;
}
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona .dklabBanplusIkonaSvg svg { width: 22px; height: 22px; }
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona strong {
  grid-column: 2; grid-row: 1; align-self: end; font-family: var(--pd-font); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--pd-ink);
}
html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona .dklabBanplusIkonaPopis {
  grid-column: 2; grid-row: 2; align-self: start; width: auto; margin: 2px 0 0; padding: 0; background: none;
  font-size: 12.5px; line-height: 1.45; color: var(--pd-2); text-transform: none;
}

/* ---------- 7) Záložky, popis a parametry ---------- */
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-wrapper .shp-tabs-holder { margin: 0; padding: 0; background: transparent; }
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs {
  display: flex; flex-wrap: nowrap; gap: 4px; border: 0; border-bottom: 1px solid var(--pd-line); background: transparent;
}
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs > li { flex: 0 0 auto; margin: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs > li > a {
  position: relative; height: auto; padding: 14px 18px; border: 0 !important; background: none !important;
  font-family: var(--pd-font) !important; font-size: 15px; font-weight: 600; line-height: 1.3; text-transform: none; text-align: left;
  color: var(--pd-3) !important; transition: color .15s;
}
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs > li > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; margin: 0;
  border-radius: 2px 2px 0 0; background: var(--pd-acc); transform: scaleX(0); transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs > li > a:hover,
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs > li.active > a { color: var(--pd-ink) !important; }
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs > li.active > a::after { transform: scaleX(1); }
html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs > li > a:focus-visible { outline: 3px solid var(--pd-blue); outline-offset: -3px; border-radius: 8px; }

html[lang="cs"]:not(.pd-off) .type-detail .extended-description h3 {
  font-family: var(--pd-font) !important; font-size: 20px !important; font-weight: 600 !important; letter-spacing: -.01em; color: var(--pd-ink);
}
html[lang="cs"]:not(.pd-off) .type-detail .extended-description table.detail-parameters {
  width: 100%; max-width: 860px; border: 1px solid var(--pd-line); border-radius: 14px; border-collapse: separate; border-spacing: 0; overflow: hidden;
}
html[lang="cs"]:not(.pd-off) .type-detail .extended-description table.detail-parameters tr > th,
html[lang="cs"]:not(.pd-off) .type-detail .extended-description table.detail-parameters tr > td {
  padding: 11px 16px; border: 0; background: #fff; font-size: 14px; line-height: 1.5; text-align: left; vertical-align: top;
}
html[lang="cs"]:not(.pd-off) .type-detail .extended-description table.detail-parameters tr:nth-child(odd) > * { background: var(--pd-soft); }
html[lang="cs"]:not(.pd-off) .type-detail .extended-description table.detail-parameters tr > th { width: 38%; font-weight: 500; color: var(--pd-2); }
html[lang="cs"]:not(.pd-off) .type-detail .extended-description table.detail-parameters tr > td { font-weight: 600; color: var(--pd-ink); }

/* ---------- 8) Varianty (tabulka „Varianty produktu“) ---------- */
html[lang="cs"]:not(.pd-off) .type-detail #variants .variant-table .table-row { padding: 14px 20px; }
html[lang="cs"]:not(.pd-off) .type-detail #variants .variant-table .table-row:first-child { border-top-left-radius: 16px; border-top-right-radius: 16px; }
html[lang="cs"]:not(.pd-off) .type-detail #variants .variant-table .table-row:last-child { border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; }
html[lang="cs"]:not(.pd-off) .type-detail #variants .variant-cart .btn.add-to-cart-button {
  height: 48px !important; padding: 0 18px; border-radius: 999px !important; font-family: var(--pd-font); font-weight: 600; text-transform: none;
}
html[lang="cs"]:not(.pd-off) .type-detail #variants .variant-cart .quantity { border-radius: 12px; overflow: hidden; }

/* ---------- 9) Související a podobné produkty – karty jako na úvodní stránce (jen vzhled) ---------- */
html[lang="cs"]:not(.pd-off) .type-detail .products-related-header {
  font-family: var(--pd-font) !important; font-size: 26px !important; font-weight: 600 !important; line-height: 1.2 !important;
  letter-spacing: -.02em; text-align: left; text-transform: none; color: var(--pd-ink) !important;
}
html[lang="cs"]:not(.pd-off) .type-detail #productsAlternative::before {           /* „Mohlo by se vám také líbit“ (text doplňuje šablona) */
  font-family: var(--pd-font) !important; font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; text-align: left; color: var(--pd-ink);
}
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block.products-additional { border: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block.slick-slider .slick-list { width: auto !important; margin: 0 -9px; padding: 4px 0 18px; border-left: 0 !important; border-right: 0 !important; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product { padding: 0 9px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product > .p {
  display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--pd-line); border-radius: var(--pd-r); background: #fff;
  transition: transform .2s cubic-bezier(.22, 1, .36, 1), box-shadow .2s, border-color .2s;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product > .p:hover {
  transform: translateY(-4px); border-color: var(--pd-line-2);
  box-shadow: 0 8px 20px -8px rgba(11, 13, 16, .16), 0 18px 40px -22px rgba(11, 13, 16, .22);
}
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product a.image { flex: 0 0 auto; margin: 0 !important; padding: 18px 18px 6px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product a.image img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .flags { top: 14px !important; left: 14px !important; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .flags .flag {
  margin: 0 !important; padding: 5px 9px !important; border-radius: 7px !important; font-size: 11px !important; font-weight: 800 !important;
  line-height: 1.25 !important; letter-spacing: .03em; text-transform: uppercase;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-in { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; padding: 0 18px 18px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .stars-wrapper { position: static !important; margin: 0 0 6px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product a.name { height: 42px; margin: 0 0 10px; font-size: 15px; font-weight: 700; line-height: 21px; color: var(--pd-ink); }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-bottom > [data-micro="offer"] { flex: 1 1 auto; min-width: 0; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .prices,
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-tools { float: none; width: auto; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-tools { flex: 0 0 auto; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .price-final strong { font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--pd-ink); }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product > .p:has(.flag-action) .price-final strong { color: var(--pd-acc-t); }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .availability { margin: 4px 0 0; font-size: 12.5px; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-tools .btn {
  height: 40px; min-width: 0; padding: 0 16px; border-radius: 999px !important; font-size: 13.5px; font-weight: 800;
  line-height: 38px; letter-spacing: 0; text-transform: none;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-desc { display: none !important; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .slick-arrow {
  width: 44px; height: 44px; border: 1px solid var(--pd-line); border-radius: 50%; background: #fff !important;
  box-shadow: 0 2px 6px rgba(11, 13, 16, .06); transition: border-color .15s, box-shadow .15s;
}
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .slick-arrow::before { color: var(--pd-ink) !important; }
html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .slick-arrow:hover { border-color: var(--pd-line-2); box-shadow: 0 6px 14px -6px rgba(11, 13, 16, .2); }

/* ---------- 10) Lišta s cenou dole (doplní skript, když nákupní box odjede z obrazovky) ---------- */
.pd-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 980;
  background: rgba(255, 255, 255, .96); border-top: 1px solid #e2e2df; box-shadow: 0 -10px 30px -18px rgba(11, 13, 16, .35);
  font-family: 'Nunito Sans', Arial, sans-serif; color: #0b0d10; -webkit-font-smoothing: antialiased;
  transform: translate3d(0, 110%, 0); visibility: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .35s;
}
.pd-bar.is-on { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pd-bar { background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5); }
}
.pd-bar *, .pd-bar *::before, .pd-bar *::after { box-sizing: border-box; }
.pd-bar p { margin: 0; }
.pd-bar-in { display: flex; align-items: center; gap: 14px; max-width: 1178px; margin: 0 auto; padding: 10px 0; }
.pd-bar-img { flex: 0 0 auto; width: 48px; height: 48px; padding: 3px; object-fit: contain; background: #fff; border: 1px solid #e2e2df; border-radius: 10px; }
.pd-bar-t { flex: 1 1 auto; min-width: 0; }
.pd-bar-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 700; line-height: 1.35; }
.pd-bar-av { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.35; color: var(--c, #15803d); }
.pd-bar-av::before { content: ''; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pd-bar-av:empty { display: none; }
.pd-bar-r { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; margin-left: auto; }
.pd-bar-price { font-family: 'HP Poppins', 'Poppins', Arial, sans-serif; font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; white-space: nowrap; }
.pd-bar-price.is-action { color: #d4121a; }
.pd-bar-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin: 0; padding: 0 24px;
  border: 0; border-radius: 999px; background: #0076e1; color: #fff; cursor: pointer;
  font: 600 15px/1 'HP Poppins', 'Poppins', Arial, sans-serif; white-space: nowrap; text-decoration: none;
  box-shadow: 0 10px 22px -14px rgba(0, 118, 225, .9); transition: background-color .15s, transform .15s;
}
.pd-bar-btn:hover { background: #105eab; color: #fff; transform: translateY(-1px); }
.pd-bar-btn:focus-visible { outline: 3px solid #0063c7; outline-offset: 2px; }
.pd-bar-btn .pd-ico { width: 19px; height: 19px; }
.pd-bar-btn.is-busy { opacity: .75; cursor: progress; transform: none; }
.pd-bar-btn.is-done { background: #15803d; }
/* lišta ustoupí otevřenému menu, košíku, přihlášení nebo vyhledávání */
html[class*="-window-visible"] .pd-bar, body[class*="-window-visible"] .pd-bar { visibility: hidden !important; transform: translate3d(0, 110%, 0) !important; }
@media (max-width: 1217px) { .pd-bar-in { padding-left: 20px; padding-right: 20px; } }

/* ---------- 11) Tablet a mobil ---------- */
@media (max-width: 991px) {
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail-inner > .p-detail-inner-header { margin: 0 0 14px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box { margin-top: 4px; }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona + .dklabBanplusIkona { border-left: 0; }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona:nth-child(even) { border-left: 1px solid var(--pd-line); }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona:nth-child(n+3) { border-top: 1px solid var(--pd-line); }
}
@media (max-width: 767px) {
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .p-detail-inner-header h1,
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail-inner > .p-detail-inner-header .h1 { font-size: 24px !important; line-height: 1.22 !important; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-image-wrapper .p-image { padding: 14px; border-radius: 16px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-image-wrapper .flags.flags-default { top: 10px; left: 10px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .buy-box { padding: 16px; border-radius: 16px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .price-final { font-size: 32px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart { gap: 10px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .increase,
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity .decrease { width: 38px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .quantity input { width: 38px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .btn.add-to-cart-button { flex-basis: 160px; font-size: 15px !important; padding: 0 16px !important; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .social-buttons-wrapper .addit-info { width: 100%; margin: 0; }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony { margin: 28px 0 !important; }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; padding: 14px 12px; }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona .dklabBanplusIkonaSvg,
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona .dklabBanplusIkonaImg { width: 36px; height: 36px; line-height: 36px; }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona .dklabBanplusIkonaSvg svg { width: 18px; height: 18px; }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona strong { font-size: 12.5px; }
  html[lang="cs"]:not(.pd-off) .type-detail #dklabBanplusIkony .dklabBanplusIkona .dklabBanplusIkonaPopis { font-size: 12px; }
  /* záložky jsou na mobilu rozbalovací (šablona) – jen vzhled */
  html[lang="cs"]:not(.pd-off) .type-detail #tab-content .tab-mobil {
    height: 48px; line-height: 46px; padding: 0 44px 0 16px; border: 1px solid var(--pd-line); border-radius: 12px; background: #fff;
    font-family: var(--pd-font) !important; font-size: 15px; font-weight: 600; color: var(--pd-ink);
  }
  html[lang="cs"]:not(.pd-off) .type-detail .products-related-header,
  html[lang="cs"]:not(.pd-off) .type-detail #productsAlternative::before { font-size: 22px !important; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block.slick-slider .slick-list { margin: 0 7px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product { padding: 0 5px !important; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product a.image { padding: 12px 12px 4px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-in { padding: 0 12px 14px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .flags { top: 10px !important; left: 10px !important; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .price-final strong { font-size: 18px; }
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product .p-tools .btn { height: 38px; line-height: 36px; padding: 0 14px; font-size: 13px; }

  .pd-bar-in { gap: 12px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .pd-bar-img, .pd-bar-name { display: none; }
  .pd-bar-t { flex: 0 1 auto; }
  .pd-bar-price { font-size: 20px; }
  .pd-bar-r { flex: 1 1 auto; gap: 12px; }
  .pd-bar-btn { flex: 1 1 auto; height: 46px; padding: 0 16px; }
}
@media (max-width: 359px) {
  .pd-bar-btn .pd-ico { display: none; }
  .pd-bar-price { font-size: 18px; }
}

/* ---------- 12) Omezený pohyb a tisk ---------- */
@media (prefers-reduced-motion: reduce) {
  .pd-bar, .pd-bar.is-on, .pd-bar-btn,
  html[lang="cs"]:not(.pd-off) .type-detail .p-detail .products-block .product > .p,
  html[lang="cs"]:not(.pd-off) .type-detail .p-info-wrapper .add-to-cart .btn.add-to-cart-button,
  html[lang="cs"]:not(.pd-off) .type-detail .shp-tabs-holder ul.shp-tabs > li > a::after { transition: none !important; }
}
@media print { .pd-bar, .pd-info .pd-ship-list { display: none !important; } }
