
@charset "utf-8";

/*
 * IPrice Calculator LIGHT
 * Catalogue-only frontend styles
 * Joomla 5 / YOOtheme Pro
 *
 * All styles scoped to .iprice-catalogue
 */

/* Main container */

.iprice-catalogue {
    width: 100%;
    max-width: 100%;
    color: #627484;
    font-family: inherit;
    font-size: inherit;
}

.iprice_intro {
    margin-bottom: 12px;
}

/* Currency selector */

.iprice-catalogue #filter_form {
    margin: 0 0 12px;
}

.iprice-catalogue .ip-currselector {
    float: right;
    margin: 4px 0 8px;
}

.iprice-catalogue .curr-input {
    width: auto !important;
    max-width: 100%;
}

/* Categories */

.iprice-catalogue .iprice-category {
    margin: 0 0 14px;
    padding: 0;
}

/* Table */

.iprice-catalogue .ipricetable {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    margin: 0;
}

.iprice-catalogue .ipricetable th,
.iprice-catalogue .ipricetable td {
    box-sizing: border-box;
    border: 0;
    vertical-align: middle;
    overflow-wrap: break-word;
}

/* Category heading */

.iprice-catalogue .ipricetable th.tablzag2 {
    padding: 9px 12px !important;
    background-color: #4c759f !important;
    color: #fff !important;
    font-size: 1em !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* Column headings */

.iprice-catalogue .ipricetable th.tablzag3 {
    padding: 7px 9px !important;
    background-color: #75a3d3 !important;
    color: #fff !important;
    font-size: 0.92em !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

.iprice-catalogue .ipricetable th.ip-price-column {
    text-align: right;
}

/* Product rows */

.iprice-catalogue .iprice-item-row {
    border-bottom: 1px solid #e4eaf0;
}

.iprice-catalogue .iprice-item-row:nth-child(even) {
    background-color: #f8fafc;
}

.iprice-catalogue .iprice-item-row:hover {
    background-color: #f0f5fa;
}

.iprice-catalogue .ipricetable td.tablchet {
    padding: 7px 9px;
    color: #627484;
    font-weight: 400;
    line-height: 1.45;
    height: auto;
}

/* Product name */

.iprice-catalogue .iprice-item-name {
    width: 40%;
}

.iprice-catalogue .tablcheta {
    color: #506b83;
    font-weight: 700;
}

/* Short description */

.iprice-catalogue .ip-description {
    text-align: left;
    color: #627484;
}

/* Custom fields */

.iprice-catalogue .ipricecustfield {
    text-align: center;
}

/* Price */

.iprice-catalogue .ip-price-column {
    width: 18%;
    min-width: 110px;
    text-align: right;
    white-space: nowrap;
}

.iprice-catalogue .iprice-price {
    display: inline-block;
    color: #506b83;
    font-weight: 700;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* Description link */

.iprice-catalogue .iprice-details-link {
    display: block;
    width: fit-content;
    margin-top: 3px;
    padding: 2px 0;
    color: #3977ad;
    font-size: 0.88em;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.iprice-catalogue .iprice-details-link:hover {
    color: #245b8d;
}

.iprice-catalogue .iprice-details-link:focus-visible {
    outline: 2px solid #3977ad;
    outline-offset: 3px;
    border-radius: 2px;
}

/* Expanded description */

.iprice-catalogue .iprice-description-row td.tabldiv {
    padding: 0;
    background-color: #fafafa;
}

.iprice-catalogue .iprice-full-description {
    padding: 12px 16px;
    color: #627484;
    line-height: 1.6;
    border-left: 3px solid #75a3d3;
}

.iprice-catalogue .iprice-full-description[hidden] {
    display: none !important;
}

.iprice-catalogue .iprice-full-description > :first-child {
    margin-top: 0;
}

.iprice-catalogue .iprice-full-description > :last-child {
    margin-bottom: 0;
}

.iprice-catalogue .iprice-full-description img {
    max-width: 100%;
    height: auto;
}

/* WhatsApp */

.iprice-catalogue .iprice-whatsapp {
    margin: 20px 0;
    text-align: center;
}

.iprice-catalogue .iprice-whatsapp .uk-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tablet */

@media (max-width: 764px) {

    .iprice-catalogue .ip-hide-field {
        display: none !important;
    }

    .iprice-catalogue .iprice-item-name {
        width: auto;
    }

    .iprice-catalogue .ip-price-column {
        width: 30%;
        min-width: 100px;
    }

    .iprice-catalogue .ipricetable th.tablzag2 {
        padding: 9px 10px;
    }

    .iprice-catalogue .ipricetable th.tablzag3,
    .iprice-catalogue .ipricetable td.tablchet {
        padding: 7px 8px;
    }
}

/* Mobile */

@media (max-width: 500px) {

    .iprice-catalogue .iprice-category {
        margin-bottom: 12px;
    }

    .iprice-catalogue .ipricetable {
        font-size: 0.95em;
    }

    .iprice-catalogue .ipricetable th.tablzag2 {
        padding: 10px;
        font-size: 1em;
    }

    .iprice-catalogue .ipricetable th.tablzag3 {
        padding: 7px 6px;
        font-size: 0.88em;
    }

    .iprice-catalogue .ipricetable td.tablchet {
        padding: 9px 6px;
        line-height: 1.4;
    }

    .iprice-catalogue .iprice-item-name {
        width: auto;
    }

    .iprice-catalogue .ip-price-column {
        width: 34%;
        min-width: 90px;
    }

    .iprice-catalogue .iprice-price {
        font-size: 0.96em;
    }

    .iprice-catalogue .iprice-details-link {
        padding: 4px 0;
        font-size: 0.9em;
    }

    .iprice-catalogue .iprice-full-description {
        padding: 12px;
        line-height: 1.55;
    }

    .iprice-catalogue .ip-currselector {
        float: none;
        margin: 0 0 10px;
    }
}

/* Narrow phones */

@media (max-width: 360px) {

    .iprice-catalogue .ipricetable th.tablzag3,
    .iprice-catalogue .ipricetable td.tablchet {
        padding-left: 5px;
        padding-right: 5px;
    }

    .iprice-catalogue .ip-price-column {
        min-width: 80px;
    }
}
