/* SCANwelcome — Photo Product Visual V7 */

.hero-grid {
    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(560px, 1.08fr);
    gap: clamp(64px, 6vw, 104px);
}

.photo-visual {
    position: relative;
    width: 100%;
    min-height: 650px;
    overflow: hidden;
    border-radius: 26px;
    background: #F7F4EE;
    border: 1px solid #E4E7E3;
    box-shadow:
        0 28px 64px rgba(11, 31, 42, 0.08),
        0 5px 16px rgba(11, 31, 42, 0.035);
}

.photo-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 56% center;
}

/* Product preview */

.photo-product {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 318px;
    overflow: hidden;
    transform: translateY(-50%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.55);
    background: #FCFBF8;
    box-shadow:
        0 28px 64px rgba(11,31,42,0.20),
        0 7px 20px rgba(11,31,42,0.08);
}

.photo-product-head {
    min-height: 70px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    background: #FCFBF8;
    border-bottom: 1px solid #E4E7E3;
}

.photo-product-head img {
    display: block;
    width: 154px;
    height: auto;
}

.photo-product-body {
    padding: 26px 24px 22px;
    background: #0B1F2A;
    color: #FCFBF8;
}

.photo-product-accent {
    width: 28px;
    height: 2px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: #C6A574;
}

.photo-product-body h2 {
    margin: 0;
    color: #FCFBF8;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.photo-product-body > p {
    margin: 16px 0 0;
    color: rgba(252,251,248,0.64);
    font-size: 13px;
    line-height: 1.7;
}

.photo-product-links {
    margin-top: 24px;
    border-top: 1px solid rgba(252,251,248,0.11);
}

.photo-product-links > div {
    min-height: 50px;
    display: grid;
    grid-template-columns: 28px 1fr 18px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(252,251,248,0.11);
}

.photo-product-links span {
    color: #C6A574;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.photo-product-links strong {
    color: rgba(252,251,248,0.88);
    font-size: 12px;
    font-weight: 500;
}

.photo-product-links b {
    color: rgba(252,251,248,0.42);
    font-size: 14px;
    font-weight: 400;
    text-align: right;
}

.photo-product-destination {
    min-height: 78px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.photo-product-destination > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.photo-product-destination small {
    color: rgba(252,251,248,0.38);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.photo-product-destination strong {
    color: #FCFBF8;
    font-size: 15px;
    font-weight: 600;
}

.photo-product-destination > span {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(198,165,116,0.42);
    border-radius: 50%;
    color: #C6A574;
    font-size: 17px;
}

/* Tablet */

@media (max-width: 1050px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .photo-visual {
        width: min(100%, 820px);
        min-height: 680px;
    }
}

/* Mobile */

@media (max-width: 640px) {
    .photo-visual {
        min-height: 620px;
        border-radius: 20px;
    }

    .photo-visual-image {
        object-position: 60% center;
    }

    .photo-product {
        top: auto;
        right: 16px;
        bottom: 16px;
        left: 16px;
        width: auto;
        transform: none;
        border-radius: 18px;
    }

    .photo-product-head {
        min-height: 62px;
        padding: 0 18px;
    }

    .photo-product-head img {
        width: 140px;
    }

    .photo-product-body {
        padding: 20px 18px 18px;
    }

    .photo-product-body h2 {
        font-size: 30px;
    }
}
