/* ===================================================================
   KML.SK - HLAVNÝ ŠTÝL ESHOPU
   Posledná aktualizácia: 13.09.2026
   =================================================================== */

/* ===================================================================
   1. PÄTIČKA (FOOTER)
   =================================================================== */

/* Starý štýl pre odkazy v pätičke - ponechaný pre kompatibilitu */
#paticka a {
    color: white;
    text-decoration: none;
}

/* Nová moderná pätička s Flexbox - responzívna */
.paticka-wrapper {
    display: flex;
    gap: 40px;
    width: 100%;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.paticka-stlpec {
    flex: 1;
    min-width: 0; /* Potrebné pre správne zlomenie textu */
}

.paticka-wrapper ul {
    list-style-image: url('/data/user-content/uzivatelske_obsahy/odrazka.png');
    margin-left: 0;
    padding-left: 20px;
    line-height: 25px;
}

.paticka-wrapper li {
    margin-left: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 400;
}

.paticka-wrapper a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.paticka-wrapper a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Responzivita pätičky - na mobile pod sebou */
@media (max-width: 768px) {
    .paticka-wrapper {
        flex-direction: column;
        gap: 30px;
    }
}


/* ===================================================================
   2. TEXTOVÉ BLOKY A POPISKY PRODUKTOV
   =================================================================== */

/* Dlhý popis, krátky popis, užívateľské stránky v detaili produktu */
div.PDProductDescription2,
div.shortDescription,
div.UserPageContent,
div.PDDescription,
div.NewsDetailMaster {
    line-height: 1.5em;
    font-size: 120%;
}


/* ===================================================================
   3. POMOCNÉ TRIEDY PRE ZAROVNANIE
   =================================================================== */

.left {
    float: left !important;
}

.right {
    float: right !important;
}

.riadok {
    clear: both !important;
}

.p-center {
    text-align: center !important;
}


/* ===================================================================
   4. SKRYTIE PARAMETROV V DETAILE PRODUKTU
   =================================================================== */

/* Parametre v detaili produktu */
div.PDTable3 table,
#PDTable3 table {
    display: none;
}


/* ===================================================================
   5. HODNOTENIA A RECENZIE
   =================================================================== */

/* Blok hodnotenia */
div.ERPhodnotenie {
    clear: both;
    margin-top: 10px;
    line-height: 1em;
    font-size: 100%;
}

div.ERPhodnotenie img {
    float: left;
    margin: -7px 1em 0 0;
}

div.ERPhodnotenie p {
    line-height: 1.5em;
    text-align: left;
}

/* ERP stránky */
div.ERPstranky {
    clear: both;
    margin-top: 10px;
    line-height: 1.5em;
    font-size: 130%;
}

/* Kruhové ikony (použité v recenziách) */
.kruh {
    display: block;
    float: left;
    width: 1em;
    height: 1em;
    line-height: 1em;
    border-radius: 1em;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    margin-right: 0.2em;
}

/* Farebné varianty kruhov */
.cerveny {
    background: red;
}

.zeleny {
    background: green;
}

.modry {
    background: blue;
}

/* Layout recenzií - 3 stĺpce */
div.ERPreferencie {
    width: 98%;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
}

/* Jednotlivá recenzia */
div.referencie {
    -webkit-margin-before: 0.5em;
    -webkit-margin-after: 0.5em;
    -webkit-margin-start: 0.5em;
    -webkit-margin-end: 0.5em;
    border-bottom: 1px solid #d2d2d2;
    padding: 0.5em;
    font-family: Roboto, Arial, sans-serif;
    line-height: 1em;
    break-inside: avoid;
}

div.referencie span.meno {
    color: #1f1f1f;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
}

/* Kruhová ikona v recenziách */
div.referencie .kruh {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: white;
    margin: 4px 12px 0 0;
    font-weight: 400;
}

/* Hodnotenie hviezdičkami */
.star-rating {
    display: inline-block;
    margin-right: 0.5em;
}

.star {
    width: 14.5px;
    height: 14.5px;
    display: inline-block;
    margin: 0 -4px -2px 0;
}

div.referencie span.sive {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: #5e5e5e;
    white-space: nowrap;
}

/* Citáty v recenziách */
div.ERPreferencie blockquote {
    -webkit-margin-before: 0.5em;
    -webkit-margin-after: 0.5em;
    -webkit-margin-start: 0.5em;
    -webkit-margin-end: 0.5em;
    font-style: italic;
    font-family: "Times New Roman", Times, serif;
    padding: 0.5em 0;
    quotes: "\201C""\201D";
    text-align: justify;
    border-bottom: 1px solid #e6e7e8;
    width: 100%;
}

div.ERPreferencie blockquote:before {
    color: #8c8c8c;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

div.ERPreferencie blockquote span {
    font-size: 70%;
}

div.ERPreferencie blockquote strong {
    font-style: normal;
}


/* ===================================================================
   6. GOOGLE MAPY - RESPONZÍVNY KONTAJNER
   =================================================================== */

.google-maps {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/* ===================================================================
   7. PLUS/MÍNUS BLOKY (VÝHODY/NEVÝHODY)
   =================================================================== */

div.plus {
    clear: both;
    min-height: 33px;
    margin-bottom: 0.5em;
    padding: 2px 0 0 40px;
    line-height: 1.2em;
    text-align: justify;
    background-image: url(/data/user-content/Uzivatelske_stranky/plus.PNG);
    background-repeat: no-repeat;
    background-position: left top;
}

div.minus {
    clear: both;
    min-height: 33px;
    margin-bottom: 0.5em;
    padding: 2px 0 0 40px;
    line-height: 1.2em;
    text-align: justify;
    background-image: url(/data/user-content/Uzivatelske_stranky/minus.PNG);
    background-repeat: no-repeat;
    background-position: left top;
}

img.riadok {
    float: none;
    display: inline-block;
    margin: 0;
    width: 1.5em;
}


/* ===================================================================
   8. ERP KOMPONENTY (VLASTNÉ BLOKY)
   =================================================================== */

div.ERPpopis {
    text-align: justify;
}

div.skupina {
    float: none;
    width: 100%;
    padding: 0;
    margin: 0;
    clear: both;
}

div.news {
    float: left;
    width: 48%;
    margin: 0 1% 1% 0;
}

div.ERPr {
    float: right;
    margin: 0 0 0 1%;
    width: 50%;
    max-width: 480px;
}

/* Video kontajner - responzívny (16:9) */
div.video-container {
    float: left;
    box-sizing: border-box;
    margin: 0;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Pomer strán 16:9 */
    padding-top: 25px;
    height: 0;
}

div.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* ===================================================================
   9. TLAČIDLÁ A INTERAKTÍVNE PRVKY
   =================================================================== */

a.ERPtlacitko {
    text-decoration: none;
    display: block;
    color: white;
    background-color: #d4440c;
    border-radius: 0.6em;
    font-size: 22px;
    font-weight: bold;
    width: 10em;
    height: 2em;
    margin: 0.5em 0 0 0;
    line-height: 2em;
    text-align: center;
}


/* ===================================================================
   10. TABUĽKY - ATRIBÚTY PRODUKTOV
   =================================================================== */

table.atribut {
    border-collapse: collapse;
    width: 100%;
}

table.atribut tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

table.atribut tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

table.atribut tr.hlavicka td {
    text-align: center;
    font-size: 120%;
    font-weight: bold;
}

table.atribut td {
    padding: 5px 15px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #E2E2E2;
}

table.atribut tr:hover {
    background: #EEE;
}


/* ===================================================================
   11. BSSHOP ŠPECIFICKÉ ÚPRAVY
   =================================================================== */

/* Skritie čísala za voľkou v podrobnom hľadaní Off-line doklady */
div.val_Ano span,
div.val_Nie span {
    display: none;
}

/* Balíček pri zviazaných produktoch */
.priceOuter:after {
    background-image: none !important;
}

/* Medzera nad zviazanými produktami */
.dcOtherProducts {
    margin-top: 0 !important;
}

/* Medzera pod nadpisom */
.boundItemListTitle {
    margin-bottom: 0 !important;
}

/* Skryť cenu po registrácií lebo je rovnaká */
div.PDPriceAfterRegistration {
    display: none;
}

/* Zmenšenie medzier v záhlaví tak aby bolo vidno dva riadky */
.BreadcrumbView {
    margin: 0.5em 0 0 0;
}

.HeadingView.v1 {
    margin: 0;
    padding-bottom: 0.1em;
}

.ProductsHostView {
    margin: 0;
    padding: 0.7em 0;
}

#PDVariantListRwd .item.variant .shortDescription{display:none}

/* ===================================================================
   12. STRÁNKA "O AUTOROVI"
   =================================================================== */

/* Hlavný kontajner */
.autor-stranka {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}

/* Karta autora - mobile first (pod sebou) */
.autor-karta {
    text-align: center;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.autor-fotka {
    margin-bottom: 1.25rem;
}

.autor-fotka img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e5e5;
}

.autor-fotka-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: #f9f9f9;
    border: 3px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.autor-info {
    text-align: center;
}

/* Sekcie */
.autor-sekcia {
    margin-bottom: 2rem;
}

/* Odbornosti - mobile (pod sebou) */
.autor-odbornosti {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* Doplnková odbornosť - vizuálne odlíšená */
.autor-doplnkova {
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 1.25rem;
    margin-top: 0.5rem;
}

/* Kontakt box */
.autor-kontakt {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}


/* ===================================================================
   13. MEDIA QUERIES - RESPONZIVITA
   =================================================================== */

/* Extra veľké obrazovky (1440px+) */
@media (min-width: 1440px) {
    .dc48 > *:nth-child(5) {
        margin-bottom: 1em;
    }
}

/* Desktop (768px+) */
@media (min-width: 768px) {
    /* Stránka O autorovi - desktop layout */
    .autor-stranka {
        padding: 2rem 1.5rem 3rem;
    }

    /* Karta autora - desktop (vedľa seba) */
    .autor-karta {
        display: flex;
        gap: 1.75rem;
        align-items: flex-start;
        text-align: left;
    }

    .autor-fotka {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .autor-fotka-placeholder {
        margin: 0;
    }

    .autor-info {
        text-align: left;
    }

    /* Odbornosti - desktop (3 stĺpce) */
    .autor-odbornosti {
        flex-direction: row;
        gap: 2rem;
    }

    .autor-odbornosti > div {
        flex: 1;
    }

    /* Doplnková odbornosť - desktop */
    .autor-doplnkova {
        padding: 1.5rem;
    }
}

/* Tablet (650px a menej) */
@media (max-width: 650px) {
    /* ERP pravý stĺpec na mobile */
    div.ERPr {
        display: block;
        width: 90%;
        float: none;
        margin: 0 auto;
    }

    /* Recenzie - 2 stĺpce */
    div.ERPreferencie {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

/* Mobile (470px a menej) */
@media (max-width: 470px) {
    /* Recenzie - 1 stĺpec */
    div.ERPreferencie {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

    /* News bloky na plnú šírku */
    div.news {
        width: 100%;
        padding-right: 0.7em;
    }
}
/* ===================================================================
   14. VZDIALENÁ POMOC – RESPONZIVITA
   =================================================================== */

.kml-pomoc-grid { grid-template-columns: 1fr 1fr; }

@media (max-width: 600px) {
    .kml-pomoc-grid { grid-template-columns: 1fr; }
    .kml-apk-pruh { flex-wrap: wrap; }
    .kml-apk-pruh a { width: 100%; justify-content: center; }
}
/* ===================================================================
   15. SKRYTIE DLHÉHO ÚVODNÉHO TEXTU NA MOBILE
   =================================================================== */

.uvodny-prepinac {
    display: none;
}

.uvodny-label {
    display: none;
}

@media (max-width: 768px) {
    .uvodny-detail {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .uvodny-prepinac:checked ~ .uvodny-detail {
        max-height: 2000px;
    }

    .uvodny-label {
        display: inline-block;
        margin-top: 6px;
        font-size: 14px;
        color: #e8a100;
        font-weight: 600;
        cursor: pointer;
    }

    .uvodny-prepinac:checked ~ .uvodny-label .sipka-dole {
        display: none;
    }

    .uvodny-label .sipka-hore {
        display: none;
    }

    .uvodny-prepinac:checked ~ .uvodny-label .sipka-hore {
        display: inline;
    }
}
/* ===================================================================
   16. PRIHLÁSENIE K ODBERU SPRÁV (PÄTIČKA)
   ===================================================================
   Formulár v pätičke, užívateľský obsah Zápätie → 2. obsah.
   Odosiela na portál https://spravy.kml.sk/api/odber.

   Vzhľad vychádza z pôvodného boxu „Zasielanie správ na e-mail“
   (SubscribeToNewsletterFooter) v jeho verzii pre počítač a zostáva
   rovnaký pri každej šírke okna. Pôvodný box sa skrýva.

   Zlom 820 px zodpovedá rozloženiu pätičky v šablóne: od tejto šírky
   sú odkazy a formulár vedľa seba, pod ňou pod sebou.
   =================================================================== */

/* Skrytie pôvodného boxu e-shopu (aj s jeho súhlasom a odkazom
   na zrušenie – sú vnorené v ňom) */
#SubscribeToNewsletterFooter {
    display: none !important;
}

/* Od 820 px: druhý obsah sa roztiahne cez celú mriežku pätičky
   a vnútri použije rovnaké stĺpce – odkazy vľavo, formulár vpravo,
   presne na mieste pôvodného boxu */
@media (min-width: 820px) {
    #FooterUserContent2 {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1em 1fr;
    }

    #FooterUserContent2 > * {
        grid-column: 1;
    }

    #FooterUserContent2 > .kml-odber {
        grid-column: 3;
        grid-row: 1;
    }
}

/* Formulár */
.kml-odber {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: "Open Sans", Arial;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #F6F7F7;
    text-align: start;
}

/* „Zasielanie správ na e-mail“ */
.kml-odber-nadpis {
    display: block;
    margin: 0 0 .4em;
    font-size: 2.286rem;
    font-weight: 300;
    color: #F6F7F7;
}

/* Otázka */
.kml-odber-otazka {
    display: block;
    margin: 0;
    font-weight: 700;
    color: #F6F7F7;
}

/* „Prihláste sa k odberu správ“ */
.kml-odber-vyzva {
    margin: 0 0 .5em;
    font-size: 18px;
    color: #FFFFFF;
}

/* Pole a tlačidlo vedľa seba */
.kml-odber-riadok {
    display: grid;
    grid-template-columns: 1fr 110px;
}

/* Pole a tlačidlo majú predponu .kml-odber, aby prebili globálne
   pravidlá šablóny pre input[type=email] a button */
.kml-odber .kml-odber-pole {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 1px 2px 1px 15px;
    font-family: "Open Sans", Arial;
    font-size: 16px;
    font-weight: 400;
    line-height: 2.8em;
    color: #BCBEC0;
    background-color: #6E6E6E;
    border: 0;
    border-radius: 3px;
}

.kml-odber .kml-odber-pole::placeholder {
    color: #BCBEC0;
    opacity: 1;
}

/* Tlačidlo „Zasielať“ – farby tlačidla šablóny. Okraj 4 px zľava
   je prevzatý z pôvodného boxu. */
.kml-odber .kml-odber-tlacidlo {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 45px;
    margin: 0 0 0 4px;
    padding: 0;
    align-items: center;
    justify-content: center;
    font-family: "Open Sans", Arial;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    text-transform: none;
    letter-spacing: normal;
    color: #FFFFFF;
    background-color: #E79B1B;
    background-image: linear-gradient(to bottom, #E9A532, #D08C18);
    border: 1px solid #B97C16;
    border-radius: 3px;
    cursor: pointer;
}

.kml-odber .kml-odber-tlacidlo span {
    display: block;
}

.kml-odber .kml-odber-tlacidlo[disabled] {
    cursor: default;
}

/* Súhlas – zaškrtávacie pole štýluje šablóna sama */
.kml-odber-suhlas {
    display: block;
    margin: .5em 0 .2em;
    font-size: .786rem;
    color: #FFFFFF;
}

.kml-odber .kml-odber-suhlas input + label {
    margin-left: .5em;
}

.kml-odber-suhlas label {
    cursor: pointer;
}

/* „Odber môžete kedykoľvek zrušiť.“ */
.kml-odber-zrusit {
    margin: 0;
    font-size: .786rem;
    color: #FFFFFF;
}

.kml-odber-suhlas a,
.kml-odber-zrusit a {
    color: #E79B1B;
    text-decoration: underline;
}

/* Popis poľa len pre čítačky obrazovky */
.kml-odber-skryte {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Pomocné pole formulára mimo obrazovky – nesmie byť display:none */
.kml-odber-pasca {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Odsadenie podľa šírky – dorovnáva vzdialenosti pôvodného boxu */
@media (max-width: 419px) {
    .kml-odber {
        margin-top: 21px;
    }
}

@media (min-width: 420px) and (max-width: 819px) {
    .kml-odber {
        margin-top: 28px;
    }
}

/* Na úzkom mobile menší nadpis, aby sa zmestil do riadku */
@media (max-width: 549px) {
    .kml-odber-nadpis {
        font-size: 1.8rem;
    }
}

@media (min-width: 820px) {
    .kml-odber {
        margin-top: 16px;
        margin-bottom: 30px;
    }
}
/* ===================================================================
   KONIEC SÚBORU
   =================================================================== */
