.hero--product {
    grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
    gap: clamp(36px, 5vw, 76px);
}

.hero--product-rsvp {
    grid-template-columns: minmax(0, .74fr) minmax(560px, 1.26fr);
    gap: clamp(24px, 3vw, 48px);
    padding-right: 5%;
    padding-left: 6%;
}

.hero-product {
    --hero-product-accent: #a1684e;
    position: relative;
    isolation: isolate;
    display: grid;
    min-width: 0;
    padding: 24px 0 32px;
    align-content: center;
    justify-items: end;
}

.hero-product--rsvp {
    --hero-product-accent: #476a58;
}

.hero-product__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 18px 10px 0;
    color: #69766c;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1.8px;
}

.hero-product__label > span {
    width: 30px;
    height: 1px;
    background: var(--hero-product-accent);
}

.hero-product__media {
    position: relative;
    width: 100%;
    margin: 0;
    transition: transform .35s ease;
}

.hero-product--wedding .hero-product__media {
    max-width: 580px;
}

.hero-product--rsvp .hero-product__media {
    max-width: 700px;
}

.hero-product__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.hero-product:hover .hero-product__media {
    transform: translateY(-3px);
}

.hero-product__note {
    position: absolute;
    right: -18px;
    bottom: 4px;
    display: flex;
    align-items: center;
    gap: 11px;
    max-width: min(310px, 76%);
    padding: 13px 16px;
    border: 1px solid rgba(36, 62, 52, .1);
    border-radius: 14px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 34px rgba(36, 62, 52, .14);
    color: var(--ink);
    backdrop-filter: blur(10px);
}

.hero-product__note-icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #e9efe4;
    color: #315647;
    font-size: 15px;
}

.hero-product__note strong,
.hero-product__note small {
    display: block;
}

.hero-product__note strong {
    font-size: 12px;
    line-height: 1.35;
}

.hero-product__note small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    .hero--product-rsvp {
        grid-template-columns: minmax(0, .78fr) minmax(500px, 1.22fr);
        padding-right: 4%;
        padding-left: 5%;
    }

    .hero-product__note {
        right: -4px;
    }
}

@media (max-width: 960px) {
    .hero--product,
    .hero--product-rsvp {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-right: 7%;
        padding-left: 7%;
    }

    .hero-copy {
        max-width: 680px;
    }

    .hero-product {
        width: min(100%, 760px);
        padding-top: 0;
        justify-self: center;
    }

    .hero-product--wedding {
        width: min(100%, 640px);
    }

    .hero-product__label {
        margin-right: 0;
        justify-self: center;
    }

    .hero-product__note {
        right: 0;
    }
}

@media (max-width: 760px) {
    .hero--product,
    .hero--product-rsvp {
        gap: 28px;
        padding-top: 42px;
        padding-bottom: 64px;
    }

    .hero-product {
        width: calc(100% + 4vw);
        margin-right: -2vw;
        margin-left: -2vw;
        padding-bottom: 48px;
    }

    .hero-product--wedding {
        width: min(106%, 560px);
    }

    .hero-product__label {
        gap: 8px;
        font-size: 8px;
        letter-spacing: 1.35px;
    }

    .hero-product__label > span {
        width: 22px;
    }

    .hero-product__note {
        right: 50%;
        bottom: 0;
        width: max-content;
        max-width: calc(100% - 20px);
        transform: translateX(50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-product__media {
        transition: none;
    }

    .hero-product:hover .hero-product__media {
        transform: none;
    }
}
