/* ================== Constructor ================== */
.container {
    width: auto!important;
}
.constructor-main .cw-header {
    font-size: clamp(1.5rem,.80109375rem + 1.75vw,2.375rem);
    margin-top: clamp(1.2rem,.640875rem + 1.4vw,1.9rem);
    margin-bottom: clamp(1.2rem,.640875rem + 1.4vw,1.9rem);
    color: #2a2a2a;
}
.constructor-main .cw-subheader {
    font-size: clamp(1.25rem,.75078125rem + 1.25vw,1.875rem);
    color: #555555;
}
.cw-header {
    font-size: 38px;
    font-weight: 700;
}

.cw-subheader {
    font-size: 30px;
    font-weight: 300;
}

.mp-constructor-wrapp .gofr {
    width: 74px;
    border: none;
    padding: 0;
}

.mp-constructor-wrapp {
    width: 100%;
    outline: 1px solid #f2f2f2;
    box-shadow: 2px 2px 6px rgba(0,0,0,.1);
}

.mp-constructor-wrapp .border {
    background-color: #FFFFFF;
}

.mp-constructor-wrapp__images {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    width: 100%;
}
.mp-constructor-wrapp__overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
}
.mp-constructor-wrapp__image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}
.mp-constructor-wrapp__overlay,
.mp-constructor-wrapp__image {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.cf-wrapp {
    position: relative;
    box-shadow: -3px 0 7px 0 rgba(0,0,0,.1);
}

.cf-wrapp::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1px;
    background: #f2f2f2;
    pointer-events: none;
}

.cf-headline {
    position: relative;
    background-color: #f2f2f2;
    line-height: 1.3;
}

.cf-number {
    display: flex;
    font-weight: bold;
    padding: 5px;
    position: relative;
    align-items: center;
}

.cf-label {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
}

.cf-field-inside {
    padding: 20px;
}
.cf-field-singleselect {
    position: relative;
    background-color: #f2f2f2;
    box-sizing: border-box;
}

.cf-field-singleselect:before,
.cf-field-singleselect:before {
    content:"";
    pointer-events:none;
    position:absolute;
    right:1.25rem;
    top:calc(50% - 9px);
    width:.75rem;
    height:.75rem;
    border-right:2px solid #c01011;
    border-top:2px solid #c01011;
    transform:rotate(135deg);
    background-color:rgba(0,0,0,0)
}
.cf-field-singleselect>select,
.cf-field-singleselect>select {
    padding-right:2.5rem
}
.cf-field-singleselect:not(.is-filled)>select {
    color:#000
}

.cf-field-inside .select {
    appearance: none;
    background: transparent;
    border: none;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    outline: none;
    padding: 5px 20px;
    text-rendering: geometricprecision;
    text-transform: none;
    width: 100%;
}

.constructor-title {
    margin-right: auto;
    font-size: 30px;
    color: #2a2a2a;
}

.constructor-item {
    position: relative;
}

.constructor-form .item-text {
    font-size: 11px;
    font-weight: 700;
    margin-top: 5px;
}

.constructor-item:not(.disable-item) {
    cursor: pointer;
}
.constructor-item img {
    outline: 1px solid #b2b2b2;
    padding: 1px;
    max-width: inherit;
}
.constructor-item.active:before {
    content: "\2713"; /* Галочка (Unicode символ) */
    color: white; /* Цвет галочки */
    background-color: #c01011;
    font-size: 14px;
    width: 22px;
    height: 22px;
    line-height: 22px; /* Выравнивание галочки по центру */
    border-radius: 50%;
    position: absolute;
    top: -4px;
    right: -3px;
    text-align: center; /* Центрирование текста (галочки) */
    display: block;
}
.constructor-item span.item-text {
    position: absolute;
    background: #eee;
    padding: 5px;
    font-size: 10px;
    z-index: 99;
    top: 100%;
    left: 0;
    display: none;
}
.constructor-item:hover span.item-text {
    display: inline;
}
.constructor-item.disable-item {
    filter: grayscale(100%);
    cursor: default;
}
.constructor-item.disable-item:before {
    background-repeat:no-repeat;
    background-position:center center;
    background-size:100%;
    background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 50 50%27%3E%3Cpath fill=%27none%27 stroke=%27%23000%27 stroke-miterlimit=%2710%27 d=%27M-.49-.3L50.1 50.3m0-50.6L-.49 50.3%27 opacity=%27.33%27/%3E%3Cpath fill=%27none%27 stroke=%27%23fff%27 stroke-miterlimit=%2710%27 d=%27M-.1-.3l50.59 50.6m0-50.6L-.1 50.3%27 opacity=%27.6%27/%3E%3C/svg%3E");
    content:"";
    position:absolute;
    z-index:10;
    top:0;
    right:0;
    bottom:0;
    left:0
}

.constructor-modal-selected-price,
.constructor-selected-price {
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap;
}
.constructor-information {
    color: #FFFFFF;
    padding: 5px 0;
    background-color: #2a2a2a;
}
.cf-info-title,
.constructor-selected-price {
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
}
.constructor-selected-info {
    font-size: 18px;
    font-weight: 300;
}
.constructor-information .remodal-confirm {
    max-width: 205px;
    padding: 10px 20px;
    line-height: 27px;
    font-size: 18px;
    font-weight: 700;
}
.cf-item,
.gap-20 {
    gap: 20px;
}
.product-reset {
    margin-right: auto;
}
.product-reset-btn {
    background-color: rgba(0,0,0,0);
    border-color: rgba(0,0,0,0);
    position: relative;
    text-decoration: none;
    text-align: left;
    text-transform: uppercase;
    line-height: 1.5;
    font-weight: 700;
    margin: 0;
    vertical-align: middle;
    overflow: hidden;
    transition: none;
    cursor: pointer;
}
.btn-icon {
    color: #c01011;
    display: inline-block;
    transition: all 300ms ease-in-out;
    pointer-events: none;
    fill: currentColor;
    height: 24px;
    width: 24px;
    line-height: 1;
    position: relative;
    vertical-align: middle;
    min-width: 1.5rem;
    top: -0.05em;
}
.btn-label {
    font-size: 18px;
    color: #c01011;
    line-height: 1.25;
    margin-left: .625rem;
    text-transform: uppercase;
}


/* Адаптивные стили */

/* На экранах меньше 600px: один блок в ряду */
@media (max-width: 767px) {
    .product-reset {
        margin-right: 0;
    }
    .btn-icon {
        height: 20px;
        width: 20px;
    }
    .btn-label {
        font-size: 14px;
    }
    .constructor-title {
        font-size: 20px;
        text-align: center;
        padding-top: 20px;
        margin: 0;
    }
    .cf-number {
        display: none;
    }
    .cf-info-title {
        font-size: 20px;
    }
    .constructor-selected-price {
        font-size: 30px;
    }
}

/* На экранах от 601px до 900px: два блока в ряду */
@media (min-width: 768px) and (max-width: 1279px) {
    .flex-block {
        flex-basis: 48%; /* 48% ширины, чтобы два блока вмещались в строку */
        max-width: 48%;
    }
}

/* На экранах больше 900px: три блока в ряду */
@media (min-width: 901px) {

}