@import url("windowsill.css");

/* Дополнительные стили для превью умывальника */
.sink-preview-wrapper {
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    border: 2px solid #c5a47e;
    display: inline-block;
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#sink-preview {
    max-height: 90px;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer; /* Курсор-указатель для кликабельности */
}

#sink-preview:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .sink-preview-wrapper {
        margin-top: 15px;
    }
}

/* Модальное окно для превью умывальника (увеличение в 3 раза) */
.sink-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    user-select: none;
}

.sink-modal-content {
    position: relative;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    border: 3px solid #c5a47e;
    max-width: 90%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInSimple 0.3s ease;
}

.sink-modal-img {
    width: 270px; /* Увеличение примерно в 3 раза от исходного размера в 90px */
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.sink-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.sink-modal-close:hover {
    color: #c5a47e;
}

/* Стили для блока увеличения ширины видимого края */
.edge-surcharge-box {
    background: #fafaf9;
    border: 1px solid #c5a47e;
    border-top: 3px solid #c5a47e;
    margin-top: 25px;
    padding: 20px;
    border-radius: 8px;
}

.edge-surcharge-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    text-align: center;
}

.edge-info-box {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    padding: 15px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-top: 20px;
}

.edge-info-box p {
    margin-bottom: 10px;
}

.edge-info-box p:last-child {
    margin-bottom: 0;
}

.edge-schema-img {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}


