/* Explicit per-block model-card options; standard cards do not match these rules. */
div[ro-block-id] .product-model-cards .product-card-photo-background a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
div[ro-block-id] .product-model-cards .product-card-photo-background .product-card-media {
    position: static;
    background: transparent;
}
div[ro-block-id] .product-model-cards .product-card-photo-background .product-card-product {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}
div[ro-block-id] .product-model-cards .product-card-photo-background .product-card-copy {
    position: relative;
    background: transparent;
}
div[ro-block-id] .product-model-cards .product-card.is-dark {
    --model-card-text: var(--text-color-on-dark, #f6f3ec);
}
div[ro-block-id] .product-model-cards .product-card.is-light {
    --model-card-text: var(--page-text-color, #25201d);
}
div[ro-block-id] .product-model-cards .product-card-photo-background.is-dark a {
    grid-template-rows: auto minmax(0, 1fr);
}
div[ro-block-id] .product-model-cards .product-card-photo-background.is-dark .product-card-copy {
    grid-row: 1;
    grid-column: 1;
}
div[ro-block-id] .product-model-cards .product-card-photo-background.is-dark .product-card-media {
    grid-row: 2;
    grid-column: 1;
}
div[ro-block-id] .product-model-cards .product-card-photo-background.is-dark .product-card-price {
    opacity: 1;
}
div[ro-block-id] .product-model-cards .product-card-photo-background.is-dark .product-card-reserve {
    position: absolute;
    left: 24px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: calc(100% - 48px);
    margin: 0;
    padding: 7.5px 15px;
    border: 3px solid currentColor;
    background: transparent;
    color: var(--model-card-text);
    font: 700 17px/17px 'Reem Kufi', sans-serif;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}
div[ro-block-id] .product-model-cards .product-card-photo-background.is-dark a:hover .product-card-reserve,
div[ro-block-id] .product-model-cards .product-card-photo-background.is-dark a:focus-visible .product-card-reserve {
    opacity: 1;
}
div[ro-block-id] .product-model-cards .product-card:is(.is-dark, .is-light) a,
div[ro-block-id] .product-model-cards .product-card:is(.is-dark, .is-light) .product-card-copy,
div[ro-block-id] .product-model-cards .product-card:is(.is-dark, .is-light) .product-card-copy * {
    color: var(--model-card-text) !important;
}
@media (max-width: 600px) {
    div[ro-block-id] .product-model-cards .product-card-photo-background .product-card-copy > .spread:first-child {
        display: block;
    }
    div[ro-block-id] .product-model-cards .product-card-photo-background .product-card-copy strong {
        height: auto;
    }
    div[ro-block-id] .product-model-cards .product-card-photo-background .product-card-price {
        display: block;
        margin-top: 6px;
        font-size: 12px;
    }
}
@media (max-width: 720px) {
    div[ro-block-id] .product-model-cards .product-card-photo-background.is-dark .product-card-reserve {
        left: 12px;
        bottom: 14px;
        max-width: calc(100% - 24px);
        padding: 4px 7.5px;
        font-size: 12px;
        line-height: 1.35;
    }
}
