/* WEXTA universal.css v06 – univerzalni obal .wexta-content.
   Zachovava vzhled v05 a puvodni kompatibilni styly pro dalsi stranky.
   Pro nove produkty neni vyzadovana trida SU5 ani stranka-vybaveni-obchodu. */

/* WEXTA univerzální obsah v01 – testovací, izolovaný styl.
   Aktivuje se pouze uvnitř .wexta-content a s novými třídami .wexta-ui-*.
   Původní CSS Shoptetu ani #produkt-regal se tímto souborem nemění.
   Pro finální nasazení je nutné odpovídajícím způsobem upravit HTML. */

.wexta-content{--wexta-ui-purple:#5e10a6;--wexta-ui-green:#569c34;--wexta-ui-border:#e6e6e6;--wexta-ui-panel:#fafafa;--wexta-ui-gap:50px;width:100%;min-width:0;box-sizing:border-box}
.wexta-content,.wexta-content *{box-sizing:border-box}

/* Dvousloupcové bloky – žádné automatické přehazování podle nth-child. */
.wexta-content .wexta-ui-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--wexta-ui-gap);align-items:center;width:100%;margin:0 0 60px}
.wexta-content .wexta-ui-layout--reverse .wexta-ui-image{order:2}
.wexta-content .wexta-ui-layout--reverse .wexta-ui-copy{order:1}
.wexta-content .wexta-ui-image,.wexta-content .wexta-ui-copy{min-width:0;width:100%}
.wexta-content .wexta-ui-image{display:flex;align-items:center;justify-content:center}
.wexta-content .wexta-ui-image>a{display:block;width:100%;min-width:0}
.wexta-content .wexta-ui-image img{display:block;width:100%;max-width:100%;height:auto;border-radius:8px}
/* Volitelná varianta pro realizace: fotografii zobrazí na 90 % šířky. */
.wexta-content .wexta-ui-image--inset img{width:90%;max-width:90%;margin-inline:auto}
.wexta-content .wexta-ui-copy{display:block;text-align:left}
.wexta-content .wexta-ui-stack{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-width:0}

/* Informační karty SU5: fialový levý proužek, stejné vnitřní odsazení. */
.wexta-content .wexta-ui-card{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:12px 16px;margin:0;background:var(--wexta-ui-panel);border:1px solid var(--wexta-ui-border);border-left:3px solid var(--wexta-ui-purple);border-radius:6px;font-family:inherit;font-size:16px;line-height:1.65;text-align:left}
.wexta-content .wexta-ui-card__content{width:100%;min-width:0}
.wexta-content .wexta-ui-card h3{margin:0 0 12px;color:#222;font-family:inherit;font-weight:600;line-height:1.4}
.wexta-content .wexta-ui-card p{margin:0;font-family:inherit;font-size:16px;line-height:1.65}
.wexta-content .wexta-ui-card p+p{margin-top:12px}
.wexta-content .wexta-ui-card .wexta-ui-subtitle{display:block;margin:12px 0 14px;padding-bottom:10px;border-bottom:1px solid var(--wexta-ui-border);color:var(--wexta-ui-purple);font-size:18px;font-weight:700;line-height:1.45}
.wexta-content .wexta-ui-card .wexta-ui-subtitle strong{color:inherit;font-size:inherit;font-weight:inherit}
.wexta-content .wexta-ui-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch;margin:16px 0 24px}
.wexta-content .wexta-ui-card-grid--single{grid-template-columns:1fr}

/* Sekční nadpisy s linkami po stranách (současný styl produktu). */
.wexta-content .wexta-ui-section-heading{background:#f5f5f5;padding:5px;border-radius:20px;box-shadow:0 4px 8px rgba(0,0,0,.1);text-align:center;margin:20px 0}
.wexta-content .wexta-ui-section-heading h2{display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--wexta-ui-purple);margin:20px 0}
.wexta-content .wexta-ui-section-heading h2::before,.wexta-content .wexta-ui-section-heading h2::after{content:"";flex:1;min-width:0;height:2px;background:#000;border-radius:2px;margin:0 10px}

/* Technické parametry: tabulka vlevo, fotografie vpravo. */
.wexta-content .wexta-ui-parameters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:center;max-width:1200px;margin:20px auto 0}
.wexta-content .wexta-ui-parameters-table,.wexta-content .wexta-ui-parameters-image{min-width:0;width:100%;overflow:hidden;border-radius:20px}
.wexta-content .wexta-ui-parameters-table table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid #ddd;border-radius:20px}
.wexta-content .wexta-ui-parameters-table td{padding:10px;border-bottom:1px solid #ddd}
.wexta-content .wexta-ui-parameters-table td:first-child{font-weight:600}
.wexta-content .wexta-ui-parameters-table tr:last-child td{border-bottom:none}
.wexta-content .wexta-ui-parameters-image img{display:block;width:100%;height:auto;object-fit:contain}

/* Statistiky / informační pruh – pouze nové třídy. */
.wexta-content .wexta-ui-info{display:flex;align-items:stretch;gap:20px;margin:20px 0}
.wexta-content .wexta-ui-info-stat{flex:0 0 calc(30% - 10px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;border-radius:10px;padding:20px 15px;box-shadow:0 2px 8px rgba(0,0,0,.05);min-width:0}
.wexta-content .wexta-ui-info-stat img{display:block;width:80px;height:80px;object-fit:contain;margin:0 auto;border-radius:0}
.wexta-content .wexta-ui-info-stat .wexta-ui-info-number{font-size:38px;font-weight:700;line-height:1.1;color:var(--wexta-ui-purple)}
.wexta-content .wexta-ui-info-stat .wexta-ui-info-label{margin-top:8px;font-size:15px;line-height:1.3;color:#555}
.wexta-content .wexta-ui-info-text{flex:1;min-width:0;display:flex;align-items:center;background:#fff;border-radius:10px;padding:20px 25px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.wexta-content .wexta-ui-info-text p{margin:0;font-size:16px;line-height:1.55;color:#555}

/* Dokumenty ke stažení: ikony, text, bez změn ostatních seznamů. */
.wexta-content .wexta-ui-documents{list-style:none;padding-left:25px;margin:0 0 25px}
.wexta-content .wexta-ui-documents li{margin-bottom:10px}
.wexta-content .wexta-ui-documents li a{display:flex;align-items:center;gap:9px}
.wexta-content .wexta-ui-documents li a img{display:inline-block;flex:0 0 24px;width:24px;height:24px;object-fit:contain}

/* Responzivní zobrazení – text a fotografie se skládají pod sebe. */
@media(max-width:768px){
 .wexta-content .wexta-ui-layout{grid-template-columns:minmax(0,1fr);gap:25px;margin-bottom:45px}
 .wexta-content .wexta-ui-layout--reverse .wexta-ui-image,.wexta-content .wexta-ui-layout--reverse .wexta-ui-copy{order:initial}
 .wexta-content .wexta-ui-card-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .wexta-content .wexta-ui-stack{gap:12px}
 .wexta-content .wexta-ui-card{padding:12px 14px}
 .wexta-content .wexta-ui-parameters{grid-template-columns:minmax(0,1fr)}
 .wexta-content .wexta-ui-info{flex-direction:column;gap:15px}
 .wexta-content .wexta-ui-info-stat{flex:none;width:100%;padding:18px 15px}
 .wexta-content .wexta-ui-info-text{width:100%;padding:18px 20px}
 .wexta-content .wexta-ui-section-heading h2::before,.wexta-content .wexta-ui-section-heading h2::after{margin:0 5px}
}

/* v02 – oprava centrování a barev podle původního produktu SU5. */
.wexta-content > .product-description > h2{color:var(--wexta-ui-purple);margin:0 0 5px;font-weight:700;text-align:left}
.wexta-content > .product-description > h3{margin:0 0 20px;text-align:left}
.wexta-content > .product-description > p{margin:0 0 15px}
/* Centrování textu v šedém pruhu a symetrické linky. */
.wexta-content .wexta-ui-section-heading{width:100%;margin:20px auto;text-align:center}
.wexta-content .wexta-ui-section-heading h2{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:20px 0;text-align:center;color:var(--wexta-ui-purple);font-weight:700}
.wexta-content .wexta-ui-section-heading h2::before,
.wexta-content .wexta-ui-section-heading h2::after{content:"";display:block;flex:1 1 0;min-width:0;height:2px;margin:0;background:#000;border-radius:2px}
/* Tlačítka v produktovém popisu – původní středové zarovnání. */
.wexta-content p.usp-button{display:block;width:100%;margin:20px 0;text-align:center}
.wexta-content p.usp-button > a.btn{display:inline-flex;align-items:center;justify-content:center}

/* v03 – na mobilu je u každého obrazově-textového bloku vždy nejprve obrázek.
   Na počítači zůstává původní pořadí beze změny. */
@media (max-width:768px){
  .wexta-content .wexta-ui-layout > .wexta-ui-image{order:1 !important;}
  .wexta-content .wexta-ui-layout > .wexta-ui-copy{order:2 !important;}
  .wexta-content .wexta-ui-layout .wexta-ui-image img{max-width:100%;height:auto;object-fit:contain;}
}

/* v04 – vycentrované sekční lišty, odsazené dekorativní čáry.
   Platí pouze uvnitř univerzálního obalu WEXTA. */
.wexta-content .wexta-ui-section-heading{
  display:block;
  width:100%;
  max-width:100%;
  margin:24px auto 20px;
  padding:15px 20px;
  background:#f1f1f1;
  border-radius:20px;
  box-shadow:0 4px 8px rgba(0,0,0,.10);
  text-align:center;
  overflow:hidden;
}
.wexta-content .wexta-ui-section-heading > h2{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
  gap:12px;
  color:var(--wexta-ui-purple);
  font-weight:700;
  text-align:center;
  line-height:1.35;
}
.wexta-content .wexta-ui-section-heading > h2::before,
.wexta-content .wexta-ui-section-heading > h2::after{
  content:"";
  display:block;
  flex:1 1 0;
  min-width:0;
  height:2px;
  margin:0;
  background:#222;
  border-radius:2px;
}
@media(max-width:768px){
  .wexta-content .wexta-ui-section-heading{padding:15px 16px;margin:24px auto 20px}
  .wexta-content .wexta-ui-section-heading > h2{font-size:clamp(19px,5vw,25px);gap:8px}
  .wexta-content .wexta-ui-section-heading > h2::before,
  .wexta-content .wexta-ui-section-heading > h2::after{display:none}
}


/* =========================================================
   WEXTA – DOKUMENTY KE STAŽENÍ
   Přesunuto z globálního HEAD beze změny pravidel.
   ========================================================= */
.dokumenty-list {
    display: block !important;
    list-style: none !important;
    margin: 12px 0 16px !important;
    padding: 0 !important;
}
.dokumenty-list li {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.dokumenty-list li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    min-height: 28px;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none;
}
.dokumenty-list li img {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex: 0 0 24px !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

/* =========================================================
   WEXTA – PŮVODNÍ INFORMAČNÍ RÁMEČKY
   Přesunuto z globálního HEAD beze změny pravidel.
   ========================================================= */
.wexta-soft-card{display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;min-width:0;padding:12px 16px;margin:0;background:#fafafa;border:1px solid #e6e6e6;border-left:3px solid #5e10a6;border-radius:6px;font-family:inherit;font-size:16px;line-height:1.65;text-align:left}
.wexta-soft-card__content{width:100%;min-width:0}
.wexta-soft-card h3{margin:0 0 12px!important;color:#222!important;font-family:inherit;font-weight:600;line-height:1.4}
.wexta-soft-card p{margin:0;font-family:inherit;font-size:16px;line-height:1.65}
.wexta-soft-card p+p{margin-top:12px}
.wexta-soft-card p.wexta-module-subtitle{display:block;margin:12px 0 14px!important;padding-bottom:10px;border-bottom:1px solid #e6e6e6;color:#5e10a6!important;font-size:18px!important;font-weight:700!important;line-height:1.45}
.wexta-soft-card .wexta-module-subtitle strong{color:#5e10a6!important;font-size:18px!important;font-weight:700!important}
.wexta-soft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0 24px;align-items:stretch}
.wexta-soft-grid>.wexta-soft-card{height:100%}
.wexta-soft-grid--single{grid-template-columns:1fr}
.wexta-soft-card--text{margin:14px 0 24px}
.wexta-su5-modular-copy>.product-description{display:flex;flex-direction:column;gap:14px;align-items:stretch}
.wexta-su5-modular-copy>.product-description>.wexta-soft-card{margin:0;flex:0 0 auto}
@media(max-width:768px){.wexta-soft-grid{grid-template-columns:1fr;gap:12px}.wexta-soft-card{padding:12px 14px}.wexta-su5-modular-copy>.product-description{gap:12px}}

/* WEXTA universal v07 – zelena akcni tlacitka pouze uvnitr univerzalniho obsahu */
.wexta-content p.usp-button > a.btn.btn-primary,
.wexta-content p.usp-button > a.btn.btn-primary:link,
.wexta-content p.usp-button > a.btn.btn-primary:visited {
  background-color: #569C34 !important;
  border-color: #569C34 !important;
  color: #fff !important;
}
.wexta-content p.usp-button > a.btn.btn-primary:hover,
.wexta-content p.usp-button > a.btn.btn-primary:focus-visible {
  background-color: #477f2c !important;
  border-color: #477f2c !important;
  color: #fff !important;
}

/* =========================================================
   WEXTA universal v13 – šipky ZA textem odkazů.
   Platí pouze pro ikonka-sipka-03.svg v kartách WEXTA.
   ========================================================= */
.wexta-content .wexta-ui-card a img[src*="ikonka-sipka-03.svg"] {
    display: inline-block !important;
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain;
    vertical-align: 0px;
    margin: 0 0 0 1px !important;
    padding: 0 !important;
    flex: 0 0 13px;
}

/* WEXTA universal v10 – kompaktní odkazy pouze v nových dvou kartách.
   Ostatní informační karty a seznam dokumentů zůstávají beze změny. */
.wexta-content .wexta-ui-links-grid .wexta-ui-card__content > p + p {
    margin-top: 3px;
}
.wexta-content .wexta-ui-links-grid .wexta-ui-card__content > h3 + p + p {
    margin-top: 8px;
}
.wexta-content .wexta-ui-links-grid .wexta-ui-card__content > p > a {
    display: inline;
    line-height: 1.5;
}

/* v13 – poslední slovo a šipka tvoří nerozdělitelný celek.
   Šipka je zarovnána na textový řádek, ne nad něj. */
.wexta-content .wexta-ui-links-grid .wexta-ui-link-end {
    white-space: nowrap;
}
.wexta-content .wexta-ui-links-grid .wexta-ui-link-end img[src*="ikonka-sipka-03.svg"] {
    vertical-align: 0px;
}
