/* Hide the buy buttons and surchargres */
/* .add-to-cart:not(.configurator-fy), 
.add-to-cart-button:not(.btn-open-configurator), 
.surcharge-list {
    display: none !important;
} */
/*
Hide Price slider
*/
/* .slider-wrapper {
    display: none !important;
} */
/** hidelogin, data target is also hidding in js. */
/* .navigationActions {
    display: none !important;
}
[data-target="login"] {
    display: none;
} */
/* link icons on product detail - hide print */
.link-icon {
    padding: 0;
}
.link-icon.print {
    display: none !important;
}
/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    /* Add flex properties for centering */
    display: none; /* Will be changed to flex when modal is shown */
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    max-height: 90vh; /* Slightly reduced to ensure some spacing */
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    overflow-y: auto;
    /* Add margin for spacing */
    margin: 20px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 20px;
        border-radius: 0;
        max-height: 100vh;
    }
}
.modal-header {
    margin-bottom: 20px;
}
.progress-container {
    margin-top: 20px;
}
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.step {
    flex: 1;
    text-align: center;
    color: #666;
    position: relative;
    padding: 5px;
}
.step.active {
    color: #1EA6F9;
    font-weight: bold;
}
.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background-color: #1EA6F9;
    width: 33.33%;
    transition: width 0.3s ease;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}
.close-btn:hover {
    color: #555;
}
.parameter-heading {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #333;
    margin-bottom: .5rem;
    font-weight: bold;
}
.basic-sub-param {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.sub-parameter {
    cursor: pointer;
}
.sub-parameter:hover {
    background-color: #f8f9fa;
}
.sub-parameter.selected {
    background-color: #e3f2fd;
    border-color: #1EA6F9;
}
.modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: end;
}
.modal-footer:has(> :nth-child(2))
{
    justify-content: space-between;
}
.modal-recap {
    display: flex;
    justify-content: end;
    margin-top: 20px;
    /* background-color: #1EA6F9; */
    border-radius: 1rem;
    height: 5rem;
    align-items: center;
    padding: 1rem;
    .price {
        display: flex;
        flex-direction: row;
        color: #1EA6F9;
        font-size: 2rem;
        font-weight: bold;
    }
}


.btn-prev, .btn-next {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-prev {
    background-color: #f8f9fa;
    color: #666;
}
.btn-next {
    background-color: #1EA6F9;
    color: white;
}
.btn-prev:hover {
    background-color: #e9ecef;
    transform: translateX(-4px);
}

.btn-next:hover {
    background-color: #0d8edb;
    transform: translateX(4px);
}
.btn-open-configurator {
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem; /* Much larger padding compared to original .75rem */
    border: none;
    background-color: #1EA6F9;
    color: white;
    border-radius: .25rem;
    font-weight: bold;
    font-size: 1.7rem; /* Added larger font size */
    display: flex;
    align-items: center;
    gap: 1rem; /* Bigger gap than original 0.5rem */
    transition: all 0.3s ease;
}
.btn-open-configurator svg {
    width: 2.5rem; /* Much bigger than original 1.5rem */
}
.btn-open-configurator:hover {
    background-color: #0d8edb;
    transform: scale(1.05);
}

/* PARAMETERS */
/* KONSTRUKCE */
.image-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    gap: .5rem;
}
/* .image-wrapper:has(> :nth-child(4)) {
    justify-content: space-between;
} */


/* .image-individual-wrapper {
    width: 12rem;
} */

.image-image {
    position: relative;
    box-sizing: border-box;
    border: 2px solid #e9ecef; /* Light gray border by default */
    border-radius: 8px; /* Smallish border radius */
    width: 12rem;
    height: 10rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.image-image.is-konstrukce {
    width: 25rem;
    height: 13.73rem;
}

.image-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.subParam-price {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.image-individual-wrapper > .selected:first-child {
    border-color: #1EA6F9;
}
.image-image.selected::after {
    content: 'X';
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    background-color: white;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    border: 1px solid #1EA6F9;
}

.image-image:hover {
    border-color: #1EA6F9;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 166, 249, 0.1);
}
/* COLOR */
.color-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;

    .color-individual-wrapper {
        position: relative;
        width: 3rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 6rem;
        padding: .25rem;
        transition: transform 0.3s ease;
    }
    .color-wrapper .color-individual-wrapper:hover {
        transform: translateY(-4px);
    }
    .color-individual-wrapper > .selected:first-child {
        border: 2px solid #1EA6F9;
    }

    .color-swatch {
        border: 1px solid #E5E5E5;
        border-radius: 4px;
        position: relative;
        cursor: pointer;
        margin: 0;
        padding: 0;
        width: 6rem;
        height: 4rem;
        transition: all 0.3s ease;
    }
    .color-swatch:hover {
        border: 1px solid #1EA6F9;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(30, 166, 249, 0.1);
    }
    .color-swatch.selected::after {
        content: 'X';
        position: absolute;
        bottom: 0.25rem;
        right: 0.25rem;
        font-size: 1.4rem;
        font-weight: bold;
        color: #333;
        background-color: white;
        width: 1.25rem;
        height: 1.25rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.25rem;
        border: 1px solid #1EA6F9;
    }

    .color-swatch._ral9016 {
        background-color: #FFFFFF;
    }
    .color-swatch._ral1015 {
        background-color: #F3EDCD;
    }
    .color-swatch._ral1018 {
        background-color: #FCD80A;
    }
    .color-swatch._ral1034 {
        background-color: #EC9E49;
    }
    .color-swatch._ral3015 {
        background-color: #E4ADB3;
    }
    .color-swatch._ral4009 {
        background-color: #A58998;
    }
    .color-swatch._ral5012 {
        background-color: #1C7ABA;
    }
    .color-swatch._ral6019 {
        background-color: #B7D9B8;
    }
    .color-swatch._ral6027 {
        background-color: #78B8B8;
    }
    .color-swatch._ral7035 {
        background-color: #C7CDC9;
    }
    .color-swatch._ral7001 {
        background-color: #676E74;
    }
    .color-swatch._ral9011 {
        background-color: #010101;
    }
    .color-swatch._ral9006 {
        background-color: #A7AAB1;
    }
    .color-swatch._ral9002 {
        background-color: #FFFFFF;
    }
    .color-swatch._tmave-moreni {
        background-color: #5B3D37;
    }
    .color-swatch._bez-moreni {
        background-color: #AB8463;
    }

    /* Polstrovani */
    .color-swatch._1 {
        background-image: url('polstrovani/1.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .color-swatch._4 {
        background-image: url('polstrovani/4.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._6 {
        background-image: url('polstrovani/6.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._9 {
        background-image: url('polstrovani/9.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._12 {
        background-image: url('polstrovani/12.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._17 {
        background-image: url('polstrovani/17.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._26 {
        background-image: url('polstrovani/26.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._28 {
        background-image: url('polstrovani/28.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._32 {
        background-image: url('polstrovani/32.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._35 {
        background-image: url('polstrovani/35.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._40 {
        background-image: url('polstrovani/40.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._41 {
        background-image: url('polstrovani/41.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .color-swatch._42 {
        background-image: url('polstrovani/42.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

}

.subParam-name {
    color: #64748B;
    font-size: 1.2rem;
    max-width: 10rem;
    text-align: center;
}
.sub-parameter-cart .subParam-name {
    max-width: none;
    width: auto;
    white-space: normal; /* Ensures text wraps if needed */
    text-align: left;
}


/**
**
*/
.param-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: system-ui, -apple-system, sans-serif;
}

.param-wrapper .basic-sub-param {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.param-wrapper .basic-sub-param:hover {
    background-color: #e9ecef;
    transform: translateX(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.param-wrapper .basic-sub-param.active,
.param-wrapper .sub-parameter-cart.selected {
    background-color: #e3f2fd;
    border-color: #90caf9;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.15);
}

.param-wrapper .subParam-name {
    font-size: 15px;
    color: #212529;
    flex-grow: 1;
    padding-right: 20px;
}

.param-wrapper .subParam-price {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.param-wrapper .basic-sub-param:last-child {
    margin-bottom: 0;
}

/* Active/Selected state price emphasis */
.param-wrapper .basic-sub-param.active .subParam-price,
.param-wrapper .sub-parameter-cart.selected .subParam-price {
    color: #2196f3;
}

/* Hover state price emphasis */
.param-wrapper .basic-sub-param:hover .subParam-price {
    color: #1976d2;
}

/* Focus state for accessibility */
.param-wrapper .basic-sub-param:focus {
    outline: none;
    border-color: #90caf9;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.25);
}

/**
VALIDATION
**/

.validation-error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #dc2626;
    padding: 12px;
    margin-bottom: 16px;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/**
Info button
**/
.info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
    margin-left: 8px;
    font-size: 14px;
    color: #666;
}

.parameter-info {
    display:none;
    font-size: 13px;
}

.parameter-info .content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    padding: 8px;
}

.parameter-info .construction-type {
    background: white;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.parameter-info .construction-type h2 {
    color: #2c3e50;
    margin: 0 0 8px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    font-weight: 600;
}

.parameter-info .feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.parameter-info .feature-list li {
    position: relative;
    padding: 3px 0 3px 18px;
    color: #4a5568;
    line-height: 1.4;
}

.parameter-info .feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #2ecc71;
    font-size: 12px;
}

.parameter-info .height-spec {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 6px 8px;
    margin: 4px 0;
    font-size: 0.95em;
    color: #666;
}


/* Custom Select Styles */
.custom-select {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #212529;
    font-size: 15px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.custom-select:hover {
    background-color: #e9ecef;
    transform: translateX(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.custom-select:focus {
    outline: none;
    border-color: #90caf9;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.25);
}

.custom-select[disabled] {
    opacity: 0.75;
    cursor: default;
    background-color: #f8f9fa;
    transform: none;
    box-shadow: none;
}

/* Style for selected option */
.custom-select option:checked {
    background-color: #e3f2fd;
    color: #2196f3;
}

/**
Custom website styles
**/
.btn.btn-default,a.btn.btn-default {
    color: white;
}
.btn.btn-lg {
    color: white;
}
.cart-widget-button {
    color: white;
}
.btn-conversion {
    color: white !important;
}

.btn.btn-default:hover,a.btn.btn-default:hover {
    color: white;
}
.btn.next-step-back,
.btn.toggle-contacts {
    color: inherit !important;
}


@media (min-width: 992px) {
    .benefitBanner__item {
        justify-content: center;
    }
}
.slider-wrapper {
    display:none;
}

/* .footer-banner{
    display: flex;
    justify-content: center;
    a>img {
        max-width: 700px;
        width: auto;
    }
} */
ol.cart-header li.active a, ol.cart-header li.active strong, ol.cart-header li.completed a, ol.cart-header li.completed a:hover, ol.cart-header li.completed strong
{
    color: white;
}
.top-navigation-tools{
    display: none !important;
}
.social-icon {
    color: white !important;
}

#formContact .submit-wrapper .btn {
    margin-bottom: 5rem;
}

@media (min-width: 992px) {
    .subcategories {
        display: none;
    }
}
.box-filters {
    border-style: none !important;
}
.pagination-link.up{
    background-color: white;
}
.js-scroll-top {
    background-color: white !important;
}