/* PRODUCT AND MODAL VARIANTS: INDUSTRIAL ENAMELS */

.product-visual {
    position: relative;
    aspect-ratio: 1.28 / 1;
    overflow: visible;
    background: #eee;
}

.product-application {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-can {
    position: absolute;
    z-index: 5;
    right: 4%;
    bottom: -10%;
    width: 32%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 11px 9px rgba(0, 0, 0, .32));
    pointer-events: none;
}

.product-content h3 {
    font-size: 17px;
    margin-bottom: 9px;
}

.product-finishes {
    padding-left: 19px;
    margin-bottom: 18px;
}

.product-finishes li {
    margin-bottom: 5px;
    font-size: 13.5px;
    line-height: 1.3;
}

.product-available {
    margin-top: auto;
    padding-top: 8px;
    font-size: 13.5px;
    line-height: 1.4;
}

.product-detail-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.modal-window {
    position: relative;
    z-index: 2;
    width: min(1120px, 100%);
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .45);
    transform: translateY(18px) scale(.985);
    transition: transform .28s ease;
}

.modal-visual {
    position: relative;
    min-height: 500px;
    overflow: visible;
    z-index: 5;
    background: #ddd;
}

.modal-detail-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.modal-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(         90deg,         rgba(0, 0, 0, .05) 0%,         rgba(0, 0, 0, .02) 50%,         rgba(0, 0, 0, .18) 100%     );
    pointer-events: none;
}

.modal-can {
    position: absolute;
    z-index: 10;
    right: 7%;
    bottom: -7%;
    width: clamp(150px, 22%, 270px);
    height: auto;
    filter: drop-shadow(0 17px 12px rgba(0, 0, 0, .4));
    pointer-events: none;
}

.modal-visual-title {
    position: absolute;
    z-index: 5;
    left: 5%;
    bottom: 7%;
    color: #fff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .55);
}

.modal-visual-title span {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .12em;
}

.modal-visual-title h2 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: .95;
    font-weight: 900;
}

.modal-info {
    position: relative;
    z-index: 1;
}

.modal-info-header {
    padding: 16px 34px;
    color: #fff;
}

.modal-info-header h3 {
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.modal-info-body {
    padding: 30px 34px 36px;
}

.info-block {
    margin-bottom: 24px;
}

.info-block h4 {
    margin-bottom: 9px;
    font-size: 17px;
}

.info-block p {
    color: #3f3f3f;
    font-size: 15px;
    line-height: 1.5;
}

.info-block ul {
    padding-left: 20px;
}

.info-block li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.35;
}

.available-block {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 14px;
}

.info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.modal-action {
    text-align: center;
    padding-top: 5px;
}

.product-detail-button {
    display: inline-block;
    min-width: 175px;
    padding: 14px 28px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: transform .2s ease, filter .2s ease;
}

@media (max-width: 1100px) {
    .modal-visual {
        min-height: 430px;
    }

    .modal-detail-image {
        min-height: 430px;
    }

}

@media (max-width: 700px) {
    .product-can {
        width: 29%;
        right: 5%;
        bottom: -9%;
    }

    .modal-window {
        max-height: 96vh;
    }

    .modal-visual {
        min-height: 290px;
    }

    .modal-detail-image {
        min-height: 290px;
    }

    .modal-can {
        width: 31%;
        right: 5%;
        bottom: -6%;
    }

    .modal-visual-title {
        left: 5%;
        bottom: 8%;
        max-width: 65%;
    }

    .modal-visual-title h2 {
        font-size: clamp(30px, 9vw, 50px);
    }

    .modal-info-header {
        padding: 13px 22px;
    }

    .modal-info-body {
        padding: 24px 22px 30px;
    }

    .info-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

}

@media (prefers-reduced-motion: reduce) {
    *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }

}
