@charset "UTF-8";

/* ========================================================================== 
   LEDKÁRNA / produktový detail
   Varianta produktu + nákupní panel

   Prefix vlastních tříd: lk-pd-
   Verze: 1.5.8

   Zásady:
   1. Soubor je oddělený od content-sections-lk.css.
   2. Nativní výběr variant Shoptetu se skryje až po úspěšném spuštění JS.
   3. JavaScript pouze doplní stabilní třídy lk-pd-* na existující prvky.
   4. Bez JavaScriptu zůstane původní výběr i nákup plně funkční.
   ========================================================================== */


/* --------------------------------------------------------------------------
   PROMĚNNÉ A ZÁKLADNÍ SCOPE

   Proměnné musí být dostupné variantám i nákupnímu panelu. Nákupní panel je
   původní Shoptet prvek a neleží uvnitř kontejneru .lk-pd.
   -------------------------------------------------------------------------- */

:root {
  --lk-pd-accent: #00eda5;
  --lk-pd-accent-dark: #00b77f;
  --lk-pd-success: #079b22;
  --lk-pd-text: #222222;
  --lk-pd-muted: #5f646d;
  --lk-pd-border: #e8ecef;
  --lk-pd-border-strong: #d6dde3;
  --lk-pd-soft: #f6f8fa;
  --lk-pd-selected: #f0fff9;
  --lk-pd-card: #ffffff;
  --lk-pd-dark: #202020;
  --lk-pd-dark-hover: #000000;
  --lk-pd-radius: 4px;
  --lk-pd-focus: 0 0 0 3px rgba(0, 183, 127, 0.22);
}

.lk-pd {
  width: 100%;
  color: var(--lk-pd-text);
  font-family: inherit;
}

.lk-pd *,
.lk-pd *::before,
.lk-pd *::after {
  box-sizing: border-box;
}


/* --------------------------------------------------------------------------
   NADPIS VÝBĚRU
   -------------------------------------------------------------------------- */

.lk-pd__heading {
  margin: 0 0 12px;
  color: var(--lk-pd-text);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.35;
}


/* --------------------------------------------------------------------------
   SEZNAM VARIANT
   -------------------------------------------------------------------------- */

.lk-pd__variants {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lk-pd__variant {
  position: relative;
  display: grid;
  grid-template-columns: 28px 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 88px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--lk-pd-border);
  border-radius: var(--lk-pd-radius);
  background: var(--lk-pd-card);
  color: var(--lk-pd-text);
  font: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.lk-pd__variant:hover {
  border-color: var(--lk-pd-border-strong);
  background: #fbfcfc;
}

.lk-pd__variant:focus-visible {
  outline: none;
  border-color: var(--lk-pd-accent-dark);
  box-shadow: var(--lk-pd-focus);
}

.lk-pd__variant[aria-checked="true"],
.lk-pd__variant.is-selected {
  border-color: var(--lk-pd-accent-dark);
  background: var(--lk-pd-selected);
  box-shadow: inset 3px 0 0 var(--lk-pd-accent-dark);
}

.lk-pd__variant[aria-disabled="true"],
.lk-pd__variant.is-disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.lk-pd__variant[aria-disabled="true"]:hover,
.lk-pd__variant.is-disabled:hover {
  border-color: var(--lk-pd-border);
  background: var(--lk-pd-card);
  transform: none;
}


/* --------------------------------------------------------------------------
   PŘEPÍNAČ / STAV VÝBĚRU
   -------------------------------------------------------------------------- */

.lk-pd__check {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--lk-pd-border-strong);
  border-radius: 50%;
  background: #ffffff;
  color: transparent;
  flex: 0 0 auto;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.lk-pd__variant[aria-checked="true"] .lk-pd__check,
.lk-pd__variant.is-selected .lk-pd__check {
  border-color: var(--lk-pd-success);
  background: var(--lk-pd-success);
  color: #ffffff;
}

.lk-pd__check::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-1px) rotate(-45deg);
}


/* --------------------------------------------------------------------------
   OBRÁZEK VARIANTY
   -------------------------------------------------------------------------- */

.lk-pd__image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border: 1px solid #eef0f2;
  border-radius: 3px;
  background: #ffffff;
}

.lk-pd__image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

/* Varianta bez obrázku: obrázkový sloupec se odstraní přes třídu na řádku. */
.lk-pd__variant--no-image {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  min-height: 64px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.lk-pd__variant--no-image .lk-pd__image-wrap {
  display: none;
}


/* --------------------------------------------------------------------------
   NÁZEV A CENA VARIANTY
   -------------------------------------------------------------------------- */

.lk-pd__name {
  min-width: 0;
  color: var(--lk-pd-text);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.35;
}

.lk-pd__price {
  min-width: 118px;
  color: var(--lk-pd-text);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.28;
  text-align: right;
  white-space: nowrap;
}

.lk-pd__price-without-vat {
  display: block;
  margin-top: 3px;
  color: var(--lk-pd-muted);
  font-size: 1.16rem;
  font-weight: 400;
}

.lk-pd__variant[aria-checked="true"] .lk-pd__name,
.lk-pd__variant[aria-checked="true"] .lk-pd__price,
.lk-pd__variant.is-selected .lk-pd__name,
.lk-pd__variant.is-selected .lk-pd__price {
  color: var(--lk-pd-success);
}


/* --------------------------------------------------------------------------
   NÁKUPNÍ PANEL

   Třídu .lk-pd-purchase přidá JS na nativní nákupní blok Shoptetu.
   Vnořené pomocné třídy přidá na cenu, množství a tlačítko.
   -------------------------------------------------------------------------- */

body.lk-pd-purchase-is-ready .lk-pd-purchase {
  display: grid !important;
  grid-template-columns: minmax(150px, 1fr) auto minmax(210px, 1.35fr);
  align-items: stretch;
  gap: 14px;
  width: 100%;
  margin-top: 20px;
  padding: 18px;
  border: 0;
  background: var(--lk-pd-soft);
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__price {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 0;
}

.lk-pd-purchase__price-main {
  color: var(--lk-pd-text);
  font-size: clamp(2.2rem, 2.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  white-space: nowrap;
}

.lk-pd-purchase__price-note {
  margin-top: 5px;
  color: var(--lk-pd-muted);
  font-size: 1.18rem;
  line-height: 1.3;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity {
  display: grid !important;
  grid-template-columns: 42px minmax(76px, auto) 42px;
  align-self: center;
  width: 162px;
  min-width: 162px;
  height: 52px;
  overflow: hidden;
  box-sizing: border-box !important;
  border: 1px solid var(--lk-pd-border-strong) !important;
  border-right: 1px solid var(--lk-pd-border-strong) !important;
  background: #ffffff !important;
  margin: 0 !important;
}

/* Nativní nápovědy Shoptetu nesmí vytvářet další buňky CSS gridu. */
body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > .increase-tooltip,
body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > .decrease-tooltip {
  display: none !important;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button,
body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity input {
  width: 100%;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: var(--lk-pd-text) !important;
  font: inherit;
  text-align: center;
  box-shadow: none !important;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 1.9rem;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

/* Shoptet své znaky uvnitř tlačítek styluje pro původní rozložení.
   Vlastní symboly jsou stabilnější a zůstanou vždy přesně uprostřed. */
body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button > * {
  display: none !important;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button::before {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  color: inherit !important;
  font: inherit !important;
  line-height: 1 !important;
  transform: none !important;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button::after {
  display: none !important;
  content: none !important;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button.decrease {
  grid-column: 1;
  grid-row: 1;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button.decrease::before {
  content: "\2212" !important;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button.increase {
  grid-column: 3;
  grid-row: 1;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity > button.increase::before {
  content: "+" !important;
}

.lk-pd-purchase__quantity > button:hover {
  background: #eceff1 !important;
}

.lk-pd-purchase__quantity > button:focus-visible,
.lk-pd-purchase__quantity input:focus-visible {
  position: relative;
  z-index: 1;
  outline: none;
  box-shadow: inset var(--lk-pd-focus);
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__amount {
  grid-column: 2;
  grid-row: 1;
  display: grid !important;
  grid-template-columns: minmax(28px, 1fr) auto;
  align-items: center;
  height: 50px;
  margin: 0 !important;
  padding: 0 10px;
  border-right: 1px solid var(--lk-pd-border);
  border-left: 1px solid var(--lk-pd-border);
  background: #ffffff;
  box-sizing: border-box;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__amount::before,
body.lk-pd-purchase-is-ready .lk-pd-purchase__amount::after,
body.lk-pd-purchase-is-ready .lk-pd-purchase__amount > .sr-only {
  display: none !important;
  content: none !important;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity input {
  text-align: right;
  font-size: 1.4rem;
  background-image: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
}

.lk-pd-purchase__quantity input::-webkit-inner-spin-button,
.lk-pd-purchase__quantity input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none !important;
}

.lk-pd-purchase__unit {
  padding-left: 5px;
  color: var(--lk-pd-muted);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid var(--lk-pd-dark) !important;
  border-radius: 0;
  background: var(--lk-pd-dark) !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease;
}

body.lk-pd-purchase-is-ready .lk-pd-purchase__button:hover {
  border-color: var(--lk-pd-dark-hover) !important;
  background: var(--lk-pd-dark-hover) !important;
  color: #ffffff;
}

.lk-pd-purchase__button:active {
  transform: translateY(1px);
}

.lk-pd-purchase__button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(32, 32, 32, 0.2);
}

.lk-pd-purchase__button:disabled,
.lk-pd-purchase__button.is-disabled {
  border-color: #aeb3b8;
  background: #aeb3b8;
  cursor: not-allowed;
  transform: none;
}


/* --------------------------------------------------------------------------
   BEZPEČNÉ SKRYTÍ NATIVNÍHO VÝBĚRU

   JS přidá třídu .lk-pd-is-ready na <body> teprve po vytvoření a propojení
   vlastního výběru. Třídu .lk-pd-native-variants přidá na původní blok.
   Prvek zůstává v DOM kvůli funkci Shoptetu a přístupnosti.
   -------------------------------------------------------------------------- */

body.lk-pd-is-ready .lk-pd-native-variants {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}


/* --------------------------------------------------------------------------
   RESPONZIVNÍ ZOBRAZENÍ
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {
  .lk-pd__variant {
    grid-template-columns: 26px 58px minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 78px;
    padding: 9px 12px;
  }

  .lk-pd__image-wrap {
    width: 58px;
    height: 58px;
  }

  .lk-pd__variant--no-image {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }

  .lk-pd__name,
  .lk-pd__price {
    font-size: 1.35rem;
  }

  body.lk-pd-purchase-is-ready .lk-pd-purchase {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.lk-pd-purchase-is-ready .lk-pd-purchase__button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 479px) {
  .lk-pd__variant {
    grid-template-columns: 24px 52px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 10px;
  }

  .lk-pd__image-wrap {
    width: 52px;
    height: 52px;
  }

  .lk-pd__variant--no-image {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .lk-pd__price {
    grid-column: 2 / -1;
    min-width: 0;
    padding-top: 2px;
    text-align: left;
  }

  .lk-pd__variant:not(.lk-pd__variant--no-image) .lk-pd__price {
    grid-column: 3;
  }

  .lk-pd__price-without-vat {
    display: inline;
    margin: 0 0 0 7px;
  }

  body.lk-pd-purchase-is-ready .lk-pd-purchase {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .lk-pd-purchase__price {
    text-align: center;
  }

  body.lk-pd-purchase-is-ready .lk-pd-purchase__quantity {
    grid-template-columns: 1fr 1.2fr 1fr;
    width: 100%;
    min-width: 0;
  }

  body.lk-pd-purchase-is-ready .lk-pd-purchase__button {
    grid-column: auto;
    min-height: 54px;
  }
}


/* --------------------------------------------------------------------------
   OMEZENÍ ANIMACÍ
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .lk-pd__variant,
  .lk-pd__check,
  .lk-pd-purchase__button,
  .lk-pd-purchase__quantity button {
    transition: none;
  }
}


/* --------------------------------------------------------------------------
   ZÁLOŽKY DETAILU PRODUKTU

   Zachováváme Shoptet tab navigaci a její funkčnost. Vzhled pouze jemně
   sjednocujeme s barvami obsahových sekcí; aktivní záložka má čistou bílou
   plochu a zelený horní akcent.
   -------------------------------------------------------------------------- */

body.type-detail #p-detail-tabs.p-detail-tabs {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin: 0;
  padding: 0 10px;
  border-bottom: 1px solid var(--lk-pd-border);
  background: var(--lk-pd-soft);
}

body.type-detail #p-detail-tabs.p-detail-tabs > .shp-tab {
  float: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.type-detail #p-detail-tabs .shp-tab-link {
  display: block;
  margin: 0;
  padding: 15px 22px 14px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  color: var(--lk-pd-muted);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease,
    border-color 160ms ease;
}

body.type-detail #p-detail-tabs .shp-tab-link:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--lk-pd-text);
}

body.type-detail #p-detail-tabs > .shp-tab.active > .shp-tab-link {
  position: relative;
  top: 1px;
  border-color: var(--lk-pd-border);
  border-top: 3px solid var(--lk-pd-accent-dark);
  border-bottom: 1px solid #ffffff;
  background: #ffffff;
  color: var(--lk-pd-text);
  font-weight: 700;
}

body.type-detail #p-detail-tabs .shp-tab-link:focus-visible {
  outline: 3px solid rgba(0, 183, 127, 0.3);
  outline-offset: -3px;
}

/* --------------------------------------------------------------------------
   SJEDNOCENÍ OBSAHU A NADPISŮ ZÁLOŽEK
   -------------------------------------------------------------------------- */

body.type-detail #tab-content .tab-pane {
  box-sizing: border-box;
  padding: 24px 28px 30px !important;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

body.type-detail #tab-content .lk-pd__parameters-heading,
body.type-detail #tab-content #description .basic-description h3:first-of-type,
body.type-detail #tab-content #relatedFiles::before,
body.type-detail #tab-content #productDiscussion h1,
body.type-detail #tab-content #productDiscussion h2,
body.type-detail #tab-content #productDiscussion h3,
body.type-detail #tab-content #discussion h1,
body.type-detail #tab-content #discussion h2,
body.type-detail #tab-content #discussion h3 {
  display: block;
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--lk-pd-accent);
  color: var(--lk-pd-text);
  font-size: clamp(1.9rem, 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
}

body.type-detail #tab-content #relatedFiles::before {
  content: "Soubory ke stažení";
}

body.type-detail #tab-content .lk-pd__parameters-panel {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: var(--lk-pd-text);
}

body.type-detail #tab-content .lk-pd__parameters-table {
  width: 100%;
  max-width: 1000px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1.5;
}

body.type-detail #tab-content .lk-pd__parameters-table tr {
  border-bottom: 1px solid var(--lk-pd-border);
}

body.type-detail #tab-content .lk-pd__parameters-table tr:last-child {
  border-bottom: 0;
}

body.type-detail #tab-content .lk-pd__parameters-table th,
body.type-detail #tab-content .lk-pd__parameters-table td {
  padding: 11px 14px;
  border: 0;
  background: transparent;
  text-align: left;
  vertical-align: top;
}

body.type-detail #tab-content .lk-pd__parameters-table th {
  width: 38%;
  color: var(--lk-pd-muted);
  font-weight: 500;
}

body.type-detail #tab-content .lk-pd__parameters-table td {
  color: var(--lk-pd-text);
  font-weight: 650;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   SOUVISEJÍCÍ SOUBORY

   Soubory zůstávají v nativní záložce Shoptetu. Starší skript může ještě
   vytvořit jejich kopii u parametrů, proto skryjeme pouze tento vlastní box.
   -------------------------------------------------------------------------- */

body.type-detail #tab-content #productParameters .attachments-box,
body.type-detail #tab-content #description .attachments-box {
  display: none !important;
}

body.type-detail #tab-content #relatedFiles {
  max-width: 1000px;
}

body.type-detail #tab-content #relatedFiles > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--lk-pd-border);
  border-radius: 14px;
  background: var(--lk-pd-card);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

body.type-detail #tab-content #relatedFiles > ul > li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  margin: 0;
  padding: 14px 18px;
  border: 0;
}

body.type-detail #tab-content #relatedFiles > ul > li + li {
  border-top: 1px solid var(--lk-pd-border);
}

body.type-detail #tab-content #relatedFiles > ul > li img {
  display: block;
  position: static !important;
  float: none !important;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  max-width: 24px;
  margin: 0 !important;
  object-fit: contain;
  vertical-align: middle;
}

body.type-detail #tab-content #relatedFiles > ul > li > a {
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--lk-pd-text);
  font-size: 1.5rem;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none;
}

body.type-detail #tab-content #relatedFiles > ul > li:hover {
  background: rgba(0, 237, 165, 0.04);
}

body.type-detail #tab-content #relatedFiles > ul > li > a:hover {
  color: var(--lk-pd-success);
  text-decoration: none;
}

body.type-detail #tab-content #relatedFiles > ul > li > a img {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  max-width: 24px;
}

/* --------------------------------------------------------------------------
   DISKUZE
   Zachovává nativní formulář a chování Shoptetu; upravuje pouze vzhled.
   -------------------------------------------------------------------------- */

body.type-detail #tab-content #productDiscussion {
  max-width: 1000px;
  color: var(--lk-pd-text);
  font-family: inherit;
}

body.type-detail #tab-content #productDiscussion p {
  color: var(--lk-pd-muted);
  font-size: 1.55rem;
  line-height: 1.65;
}

body.type-detail #tab-content #productDiscussion form {
  max-width: 760px;
  margin: 24px 0 0;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--lk-pd-border);
  border-radius: 16px;
  background: var(--lk-pd-soft);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

body.type-detail #tab-content #productDiscussion form .form-group,
body.type-detail #tab-content #productDiscussion form .form-group > div {
  margin-bottom: 18px;
}

body.type-detail #tab-content #productDiscussion form label {
  display: block;
  margin: 0 0 7px;
  color: var(--lk-pd-text);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.45;
}

body.type-detail #tab-content #productDiscussion form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]),
body.type-detail #tab-content #productDiscussion form textarea,
body.type-detail #tab-content #productDiscussion form select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--lk-pd-border-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--lk-pd-text);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.type-detail #tab-content #productDiscussion form textarea {
  min-height: 150px;
  resize: vertical;
}

body.type-detail #tab-content #productDiscussion form input:focus,
body.type-detail #tab-content #productDiscussion form textarea:focus,
body.type-detail #tab-content #productDiscussion form select:focus {
  border-color: var(--lk-pd-accent-dark);
  outline: 0;
  box-shadow: var(--lk-pd-focus);
}

body.type-detail #tab-content #productDiscussion form button[type="submit"],
body.type-detail #tab-content #productDiscussion form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--lk-pd-success);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

body.type-detail #tab-content #productDiscussion form button[type="submit"]:hover,
body.type-detail #tab-content #productDiscussion form input[type="submit"]:hover {
  background: #057d1c;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  body.type-detail #p-detail-tabs.p-detail-tabs {
    gap: 0;
    padding: 0 4px;
  }

  body.type-detail #p-detail-tabs .shp-tab-link {
    padding: 13px 14px 12px;
    font-size: 1.4rem;
  }

  body.type-detail #tab-content .tab-pane {
    padding: 20px 16px 24px !important;
  }

  body.type-detail #tab-content .lk-pd__parameters-table th,
  body.type-detail #tab-content .lk-pd__parameters-table td {
    padding: 9px 8px;
  }

  body.type-detail #tab-content #relatedFiles > ul > li {
    padding: 13px 15px;
  }

  body.type-detail #tab-content #productDiscussion form {
    padding: 18px 15px;
  }
}

@media (max-width: 479px) {
  body.type-detail #tab-content .lk-pd__parameters-table th {
    width: 45%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.type-detail #p-detail-tabs .shp-tab-link {
    transition: none;
  }
}


/* --------------------------------------------------------------------------
   ŠÍŘKA A TYPOGRAFIE POPISU PRODUKTU

   Na šabloně Classic je .description-inner flex kontejner. Po odebrání
   parametrů by proto základní a rozšířený popis zůstávaly úzkými flex sloupci.
   Změníme pouze vnitřní tok popisu produktu na plnou šířku a použijeme stejné
   typografické měřítko jako obsahové sekce v content-sections-lk.css.
   -------------------------------------------------------------------------- */

body.type-detail #description .description-inner {
  display: block;
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

body.type-detail #description .description-inner > .basic-description,
body.type-detail #description .description-inner > .extended-description {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-left: 0 !important;
  padding-left: 0 !important;
  flex: none;
}

body.type-detail #description .basic-description p,
body.type-detail #description .basic-description li,
body.type-detail #description .extended-description p,
body.type-detail #description .extended-description li {
  color: var(--lk-pd-muted);
  font-size: 1.65rem;
  line-height: 1.75;
}

body.type-detail #description .basic-description p,
body.type-detail #description .extended-description p {
  margin-bottom: 16px;
}

body.type-detail #description .basic-description h2,
body.type-detail #description .extended-description h2 {
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 5px solid var(--lk-pd-accent);
  color: var(--lk-pd-text);
  font-size: clamp(2.4rem, 2.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.22;
}

body.type-detail #description .basic-description h3,
body.type-detail #description .extended-description h3 {
  margin: 0 0 12px;
  color: var(--lk-pd-text);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.32;
}

@media (max-width: 768px) {
  body.type-detail #description .basic-description p,
  body.type-detail #description .basic-description li,
  body.type-detail #description .extended-description p,
  body.type-detail #description .extended-description li {
    font-size: 1.55rem;
  }
}
