/* kosik dklab poznamka - množstvi */
.dkLabCartAmount{
    display:none;
}
.dkLabNoteDetailRemovePart {
    margin-left: 0px;
    width: 12px;
    height: 12px;
}
/* Kalkulátor plochy siete - Štýly */
.type-detail .p-info-wrapper:has(#js-calculator-row) #dkLabNoteMainWrapper {
    display: none !important;
}
.calculator-container {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 0px;
    margin: 15px 0;
    box-shadow: none;
    border: none;
    font-family: var(--template-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    color: #000;
}

.calculator-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 400;
    font-family: var(--template-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    color: #000;
    line-height: 1.4;
}

.calculator-inputs-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.calculator-input-group {
    flex: 1;
    min-width: 150px;
}

.calculator-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    font-size: 14px;
    font-family: var(--template-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    color: #000;
    line-height: 1.5;
}

.calculator-input-group input {
    width: 100%;
    padding: 10px 12px;
}


.calculator-result {
    display: none;
    padding: 20px;
    background: #fff;
    border-radius: 0px;
    margin-top: 20px;
    border: none;
    box-shadow: none;
}

.calculator-result-item {
    margin-bottom: 12px;
    font-size: 14px;
    font-family: var(--template-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    color: #000;
    line-height: 1.6;
}

.calculator-result-item:last-child {
    margin-bottom: 0;
}

.calculator-result-item strong {
    font-weight: 400;
    color: #000;
}

.calculator-result-item span {
    color: #000;
    font-weight: 600;
}

.calculator-result-total {
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 500;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    margin-top: 12px;
}

.calculator-result-total strong {
    font-weight: 500;
    color: #000;
}

.calculator-result-total-price {
    color: #cb0000 !important;
    font-weight: 600 !important;
    font-size: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    .calculator-container {
        padding: 15px;
        margin: 10px 0;
    }

    .calculator-container h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .calculator-inputs-wrapper {
        gap: 12px;
        margin-bottom: 15px;
    }

    .calculator-input-group {
        min-width: 100%;
    }

    .calculator-input-group label {
        font-size: 13px;
        margin-bottom: 6px;
    }


    .calculator-result {
        padding: 15px;
        margin-top: 15px;
    }

    .calculator-result-item {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .calculator-result-total {
        font-size: 15px;
    }

    .calculator-result-total-price {
        font-size: 15px;
    }
}

/* Kalkulátor plochy siete - Štýly pre kategóriu */

.calculator-container-category {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 0px;
    margin: 10px 0;
    font-family: var(--template-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    color: #000;
}

.calculator-title-category {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 400;
    font-family: var(--template-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    color: #000;
    line-height: 1.4;
}

.calculator-inputs-wrapper-category {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.calculator-input-group-category {
    flex: 1;
    min-width: 120px;
}

/* Na větších obrazovkách zobrazit všechny tři inputy vedle sebe s různou šířkou */
@media (min-width: 992px) {
    .calculator-inputs-wrapper-category {
        flex-wrap: nowrap;
    }
    
    .calculator-input-group-category {
        min-width: auto;
    }
    
    /* Výška a šírka - každá 38% */
    .calculator-input-group-category:not(.calculator-input-quantity) {
        flex: 0 0 35%;
        max-width: 35%;
    }
    
    /* Počet kusov - 24% */
    .calculator-input-group-category.calculator-input-quantity {
        flex: 0 0 24%;
        max-width: 24%;
    }
}

.calculator-input-group-category label {
    display: block;
    margin-bottom: 6px;
    font-weight: 400;
    font-size: 13px;
    font-family: var(--template-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    color: #000;
    line-height: 1.4;
}

.calculator-input-group-category input {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
}

.calculator-result-category {
    display: none;
    padding: 12px;
    background: #fff;
    border-radius: 0px;
    margin-top: 12px;
}

.calculator-result-item-category {
    margin-bottom: 8px;
    font-size: 13px;
    font-family: var(--template-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
    color: #000;
    line-height: 1.5;
}

.calculator-result-item-category:last-child {
    margin-bottom: 0;
}

.calculator-result-item-category strong {
    font-weight: 400;
    color: #000;
}

.calculator-result-item-category span {
    color: #000;
    font-weight: 600;
}

.calculator-result-total-category {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    padding-top: 8px;
    border-top: 1px solid #e5e5e5;
    margin-top: 8px;
}

.calculator-result-total-category strong {
    font-weight: 500;
    color: #000;
}

.calculator-result-total-category .calc-total-price {
    color: #cb0000;
    font-weight: 600;
    font-size: 14px;
}

/* Responsive design pro kategorii */
@media (max-width: 768px) {
    .calculator-container-category {
        padding: 12px;
        margin: 8px 0;
    }

    .calculator-title-category {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .calculator-inputs-wrapper-category {
        gap: 8px;
        margin-bottom: 12px;
    }

    .calculator-input-group-category {
        min-width: 100%;
    }

    .calculator-input-group-category label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .calculator-input-group-category input {
        padding: 7px 9px;
        font-size: 13px;
    }

    .calculator-result-category {
        padding: 10px;
        margin-top: 10px;
    }

    .calculator-result-item-category {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .calculator-result-total-category {
        font-size: 13px;
    }
}
