
/* MODERNÉ PRODUKTOVÉ PARAMETRE */
table.product-params-modern {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    table-layout: auto !important;
    margin: 22px 0 30px 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: rgba(255,255,255,0.90) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    border-radius: 13px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.09) !important;
}

table.product-params-modern tr td,
table.product-params-modern tr th {
    padding: 13px 17px !important;
    border: 0 !important;
    border-bottom: 1px solid #e7e2dd !important;
    vertical-align: middle !important;
    background: transparent !important;
    white-space: normal !important;
    word-break: normal !important;
    line-height: 1.45 !important;
}

table.product-params-modern tr:nth-child(even) td,
table.product-params-modern tr:nth-child(even) th {
    background: rgba(169,120,42,0.035) !important;
}

table.product-params-modern tr:last-child td,
table.product-params-modern tr:last-child th {
    border-bottom: 0 !important;
}

table.product-params-modern .product-param-label {
    width: 42% !important;
    color: #4F4945 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    text-transform: uppercase;
}

table.product-params-modern .product-param-value {
    color: #5F5A56 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.product-param-icon {
    display: inline-block !important;
    width: 22px !important;
    margin-right: 8px !important;
    color: #A9782A !important;
    font-size: 14px !important;
    text-align: center !important;
    vertical-align: middle !important;
    opacity: 0.92 !important;
}

.product-param-empty-row {
    display: none !important;
}

@media only screen and (max-width: 768px) {
    table.product-params-modern,
    table.product-params-modern tbody,
    table.product-params-modern tr,
    table.product-params-modern td,
    table.product-params-modern th {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        box-sizing: border-box !important;
    }

    /*
     * Niektoré produktové tabuľky prichádzajú z administrácie s pevnou
     * výškou. Na mobile by sa po preklopení tabuľky na karty obsah
     * odrezal. Všetky vnútorné vrstvy preto nechávame rásť podľa obsahu.
     */
    table.product-params-modern tbody,
    table.product-params-modern tr,
    table.product-params-modern td,
    table.product-params-modern th {
        overflow: visible !important;
    }

    table.product-params-modern colgroup {
        display: none !important;
    }

    table.product-params-modern tr {
        padding: 13px 15px !important;
        border-bottom: 1px solid #e7e2dd !important;
        background: transparent !important;
    }

    table.product-params-modern tr:nth-child(even) {
        background: rgba(169,120,42,0.035) !important;
    }

    table.product-params-modern tr:last-child {
        border-bottom: 0 !important;
    }

    table.product-params-modern tr td,
    table.product-params-modern tr th {
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    table.product-params-modern .product-param-label {
        width: 100% !important;
        margin-bottom: 5px !important;
        font-size: 14px !important;
    }

    table.product-params-modern .product-param-value {
        width: 100% !important;
        padding-left: 30px !important;
        font-size: 16px !important;
    }
}

/* VÝPOČET SPOTREBY */
.consumption-calculator {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 18px 0;
    padding: 18px 20px;
    background: #f3f3f3;
    border: 1px solid #dddddd;
    border-radius: 2px;
}

.consumption-title {
    font-size: 23px;
    line-height: 1.3;
    font-weight: 700;
    color: #555555;
    padding-bottom: 8px;
    margin-bottom: 14px;
    border-bottom: 1px solid #888888;
}

.consumption-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.consumption-label {
    font-size: 16px;
    font-weight: 600;
    color: #555555;
}

.consumption-input {
    width: 105px;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid #cccccc;
    background: #ffffff;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 17px;
    text-align: center;
    color: #555555;
}

.consumption-unit {
    font-size: 16px;
    color: #666666;
}

.consumption-info {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
}

.consumption-type {
    font-weight: 700;
    color: #555555;
}

.consumption-reserve {
    font-weight: 700;
    color: #A9782A;
}

.consumption-result-box {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid #d1d1d1;
}

.consumption-result-label {
    font-size: 15px;
    color: #555555;
}

.consumption-result {
    display: inline-block;
    margin-left: 5px;
    font-size: 21px;
    font-weight: 700;
    color: #E79C00;
}

.consumption-help {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.5;
    color: #777777;
}

@media only screen and (max-width: 600px) {
    .consumption-calculator {
        padding: 16px;
    }

    .consumption-title {
        font-size: 20px;
    }

    .consumption-input {
        width: 95px;
    }
}

/* OTÁZKA + PODLAHOVÉ VYKUROVANIE */
.product-question-heating-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.product-question-heating-row .product-question-original {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.floor-heating-badge {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 1 285px !important;
    max-width: 390px !important;
    min-height: 54px !important;
    box-sizing: border-box !important;
    padding: 11px 15px !important;
    border-radius: 4px !important;
    background: #f4f1ec !important;
    border: 1px solid #d9d1c6 !important;
    color: #4f4945 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}

.floor-heating-badge .heating-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    background: #A9782A !important;
    color: #ffffff !important;
    font-size: 16px !important;
}

.floor-heating-badge .heating-text {
    min-width: 0 !important;
    line-height: 1.3 !important;
}

.floor-heating-badge .heating-title {
    display: block !important;
    color: #4f4945 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

.floor-heating-badge .heating-note {
    display: block !important;
    margin-top: 3px !important;
    color: #706a65 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.floor-heating-badge .heating-resistance {
    display: block !important;
    margin-top: 5px !important;
    color: #4f4945 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}

.floor-heating-badge .heating-resistance-detail {
    font-weight: 400 !important;
    color: #706a65 !important;
}

.floor-heating-badge .heating-resistance-secondary {
    margin-top: 2px !important;
}

.floor-heating-badge .heating-rating {
    display: block !important;
    margin-top: 5px !important;
    color: #4f4945 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}

/*
 * FILTRE PARAMETROV - PODLAHOVÉ KÚRENIE + VODEODOLNOSŤ
 * ANT generuje samotné checkboxy aj filtrovanie serverovo.
 * Tento blok upravuje iba vzhľad: nadpisy a každú hodnotu na vlastný riadok.
 * Funkcia filtra a URL parametre zostávajú nedotknuté.
 */
.mega-heating-filter-title,
.mega-water-filter-title {
    display: block !important;
    width: 100% !important;
    margin: 14px 0 8px 0 !important;
    color: #555555 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

.mega-heating-filter-break,
.mega-water-filter-break {
    display: block !important;
    width: 100% !important;
    height: 0 !important;
    clear: both !important;
    line-height: 0 !important;
}

.mega-heating-filter-checkbox,
.mega-water-filter-checkbox {
    margin: 7px 7px 7px 0 !important;
    vertical-align: middle !important;
}

.mega-heating-filter-option,
.mega-water-filter-option {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

.floor-heating-badge.heating-consult {
    background: #fff7e8 !important;
    border-color: #d9b878 !important;
}

.floor-heating-badge.heating-consult .heating-icon {
    background: #B77B22 !important;
}

.floor-heating-badge.heating-consult .heating-title {
    color: #8A5D1B !important;
}

/* PODLAHOVÉ VYKUROVANIE - POD CELOU GALÉRIOU */
.floor-heating-badge.heating-under-gallery {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    clear: both !important;
    box-sizing: border-box !important;
    margin: 18px 0 20px 0 !important;
    z-index: auto !important;
    transform: none !important;
}

@media only screen and (max-width: 768px) {
    .floor-heating-badge.heating-under-gallery {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        margin: 12px 0 16px 0 !important;
    }
}

@media only screen and (max-width: 768px) {
    .product-question-heating-row {
        display: block !important;
    }

    .product-question-heating-row .product-question-original,
    .floor-heating-badge {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box !important;
    }

    .floor-heating-badge {
        margin-top: 10px !important;
    }
}

/* ŠPECIÁLNA CENA NAD 100 M2 */
.special-price-100-wrap {
    display: block !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    clear: both !important;
    margin-top: 10px !important;
}

.special-price-100 {
    background: #575757 !important;
    border-color: #575757 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
}

.special-price-100,
.special-price-100 span,
.special-price-100 strong,
.special-price-100 i {
    color: #ffffff !important;
}

.special-price-100:hover,
.special-price-100:focus,
.special-price-100:active {
    background: #414141 !important;
    border-color: #414141 !important;
    color: #ffffff !important;
    text-shadow: none !important;
}

