/*
 * Glamphouse Configurator – product page styles.
 * Ported from the inline <style> block of the legacy single-product.blade.php so the
 * "new" template looks identical. Hard-coded element IDs (#floorName, #woodFloorCollapse …)
 * are replaced by the generic .gh-selected-name / .gh-collapse classes.
 * The pill/swatch radio styles (.glamphouse-custom-radio*) still come from the theme's main.css.
 */

.global-title-3 {
    font-weight: bold;
    font-size: 20px;
}
.deliver-cost-example-block2 {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 10px;
}
.deliver-cost-example-block2 p {
    margin: 0;
}
.deliver-cost-example-block2 .delivery-example {
    flex: calc(25% - 10px);
    max-width: calc(25% - 10px);
    min-width: 140px;
    padding: 15px;
    border-radius: 10px;
}
.deliver-cost-example-block2 .delivery-example .estimate {
    font-size: 12px;
}
.isec3 {
    font-size: 16px;
    padding: 15px;
    background: #F5EEE4;
    border-radius: 5px;
    font-weight: bold;
    display: block;
}
.isec3:hover {
    text-decoration: none;
    color: #364C41;
}
.deliveryblock5 {
    padding: 15px;
    border: 1px solid #DDD6CD;
    border-radius: 5px;
}
.deliveryblock5 p {
    margin: 0;
}
.deliveryblock5 .title {
    font-weight: bold;
    margin-bottom: 3px;
}

.review-block .review-content {
    width: 100%;
}
.review-block img {
    display: none;
}

/* tooltip: standard (ⓘ info buttons) */
.standard-tooltip {
    max-width: 300px;
    width: 100%;
}
.standard-tooltip .tooltip-inner {
    max-width: 300px;
    width: 100%;
}
.standard-tooltip .tooltip-inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.standard-tooltip .tooltip-inner ul li {
    font-weight: bold;
}

/* tooltip: "large" option style (fabric swatches) */
.fabrics-tooltip-pc-box {
    max-width: 225px;
    width: 100%;
}
.fabrics-tooltip-pc-box .tooltip-inner {
    max-width: 225px;
    width: 100%;
}

.info-tooltip-1,
.info-tooltip-20,
.info-tooltip-120 {
    cursor: pointer;
}
.glamphouse-custom-radio input[type="radio"]:disabled + label {
    border: 2px solid #cbcbcb;
}
@media (max-width: 760px) {
    .woocommerce div.product .woocommerce-tabs ul.tabs {
        padding: 0 !important;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        padding: 0px 10px !important;
    }
}

/* selected swatch name next to the field label (was #floorName, #pvcName, #ku1Name …) */
.gh-selected-name {
    font-weight: bold;
    color: #364c41;
}

/* "Show more" collapse for swatch fields (was #woodFloorCollapse, #metalBracketDropdown, #kuUnit1Collapse …) */
.glamphouse-custom-radio-colors .glamphouse-custom-color-dropdown .gh-collapse {
    min-width: 100%;
    max-width: 100%;
    margin-top: 10px;
}
.glamphouse-custom-radio-colors .glamphouse-custom-color-dropdown .gh-collapse .dropdown-item {
    display: block;
    float: left;
    padding: 0;
    width: 45px;
    clear: unset;
    padding-top: 5px;
}
.glamphouse-custom-radio-colors .glamphouse-custom-color-dropdown .gh-collapse .dropdown-item:hover,
.glamphouse-custom-radio-colors .glamphouse-custom-color-dropdown .gh-collapse .dropdown-item:active {
    background: transparent;
    background-color: transparent;
}

.description-badge-container .item:nth-child(1),
.description-badge-container .item:nth-child(2),
.description-badge-container .item:nth-child(3) {
    margin: 0;
}

.cbtn-33 {
    padding: 5px 10px 5px 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 200;
    color: #364c41;
    background: transparent;
    border: 1px solid #364C41;
    font-size: 12px;
}
.cbtn-33:hover {
    color: #F5EEE4;
    background: #364C41;
}
.cbtn-33 img {
    width: 24px;
}
.cbtn-33:hover img {
    width: 24px;
    background: white;
    border-radius: 3px;
}

/* "(base + option)" price hint (configurator "Price hints: absolute") — same look as WAPF's hint */
.glamphouse-custom-radio label .wapf-label-text .gh-price-hint {
    font-size: 9pt;
}

/* small text under an option label (configurator "Sub text") */
.glamphouse-custom-radio label .gh-option-subtext {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    font-weight: normal;
    opacity: .75;
}

/* PDF link shown under a field for the selected option (configurator "PDF") */
.gh-option-downloads {
    clear: both;
    width: 100%;
    padding: 4px 0 2px 5px;
}
.gh-option-downloads .gh-option-pdf {
    font-size: 13px;
    font-weight: bold;
    color: #364c41;
    text-decoration: underline;
}
.gh-option-downloads .gh-option-pdf:hover {
    text-decoration: none;
}

/* headings inserted by frontend.js */
.custom-heading-2 {
    margin-left: 5px;
    display: block;
    width: 100%;
    border-top: 1px solid #ddd6cd;
    margin-top: 5px;
    padding-top: 5px;
}

/* "<Tent> / Base Price (€…)" block */
.newBasePriceContainer {
    margin-left: 5px;
    margin-bottom: 15px;
}
.newBasePriceItem {
    border: 2px solid #364c41;
    border-radius: 30px;
    padding: 5px 15px 5px 15px;
    margin: 0;
    display: inline-block;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
}
.newBasePriceItem span {
    font-size: 9pt;
    opacity: .7;
    font-weight: bold;
}
#nbpc {
    margin-bottom: 10px;
}

/* tooltip: "wide" option style (insulation) */
.product-option120-tooltip {
    max-width: 1000px;
    width: 100%;
}
.product-option120-tooltip .tooltip-inner {
    max-width: 1000px;
    width: 100%;
}
.product-option120-tooltip .tooltip-inner img {
    width: 50%;
}
@media (max-width: 568px) {
    .product-option120-tooltip {
        max-width: calc(100% - 20px);
        width: 100%;
    }
    .product-option120-tooltip .tooltip-inner {
        max-width: calc(100% - 20px);
        width: 100%;
    }
    .product-option120-tooltip .tooltip-inner img {
        width: 100%;
    }
    .product-option-tooltip {
        max-width: calc(100% - 20px);
    }
}

/* slick slider 1:1 proportion scaler */
.slick-track {
    display: flex;
}
.slick-track .slick-slide {
    display: flex;
    height: auto;
    max-height: 557px;
}
.slick-slide img {
    height: 100% !important;
    object-fit: contain;
    object-position: center;
}
.slick-slide a.wpgs-lightbox-icon {
    margin: 0px auto;
}
