.product-grid > .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--border-blush);
    border-radius: 27px 27px 21px 21px;
    background: linear-gradient(155deg, var(--surface-pearl) 65%, var(--surface-blush) 100%);
    box-shadow: 0 4px 0 var(--surface-lilac), 0 12px 26px var(--shadow-jewel);
    transition: border-color .25s ease, box-shadow .25s ease;
    container-type: inline-size;
}

.product-card > .product-image-wrap {
    flex: none;
    min-width: 0;
}

.product-card .product-image-link {
    border-radius: 20px 20px 14px 14px;
}

.product-card .product-card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 18px 12px 10px;
}

.product-card-heading {
    flex: 1;
    min-height: 82px;
    min-width: 0;
}

.product-card .product-category {
    display: inline-block;
    max-width: 100%;
    padding: 5px 9px;
    border: 1px solid var(--border-pearl);
    border-radius: 7px;
    background: var(--surface-powder);
    color: var(--brand-blue);
    font-size: 9px;
    line-height: 1.45;
}

.product-card .product-card-heading h3 {
    margin: 11px 0 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
    color: var(--jewel-ink);
}

.product-card .product-card-heading h3 a {
    color: inherit;
}

.product-card-purchase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 65px;
    padding: 17px 0 0;
    border-top: 1px solid var(--border-blush);
}

.product-card-purchase::before {
    position: absolute;
    top: -4px;
    left: 4px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--surface-pearl);
    background: var(--jewel-gold);
    box-shadow: 0 0 0 4px var(--surface-pearl);
    transform: rotate(45deg);
    content: '';
}

.product-card-price {
    min-width: 0;
    color: var(--jewel-ink);
}

.product-card-price-visual {
    display: flex;
    align-items: baseline;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
    font-family: var(--display);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.product-card-currency {
    display: inline-grid;
    align-self: center;
    place-items: center;
    flex: none;
    width: 24px;
    height: 24px;
    margin-inline-end: 7px;
    border: 1px solid var(--border-champagne);
    border-radius: 50%;
    background: var(--surface-champagne);
    color: var(--jewel-gold);
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 0 var(--border-champagne);
}

.product-card-price-whole {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1.3px;
}

.product-card-price-fraction {
    align-self: flex-start;
    padding-top: 3px;
    color: var(--jewel-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -.3px;
}

.product-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100px;
    min-width: 84px;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--jewel-primary);
    border-radius: var(--button-radius);
    background: var(--jewel-primary);
    color: var(--brand-white);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 3px 0 color-mix(in srgb, var(--jewel-primary), black 15%);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-card-action .icon {
    flex: none;
    width: 16px;
    height: 16px;
    stroke-width: 1.6;
}

.product-card-action:focus-visible {
    outline: 2px solid var(--jewel-lilac);
    outline-offset: 4px;
}

@media (hover: hover) {
    .product-grid > .product-card:hover {
        border-color: var(--border-lilac);
        box-shadow: 0 4px 0 var(--border-blush), 0 16px 30px var(--shadow-jewel);
    }

    .product-card-action:hover {
        border-color: color-mix(in srgb, var(--jewel-primary), black 15%);
        background: color-mix(in srgb, var(--jewel-primary), black 15%);
        color: var(--brand-white);
        box-shadow: 0 1px 0 color-mix(in srgb, var(--jewel-primary), black 15%);
        transform: translateY(2px);
    }
}

.product-detail-copy .product-request-cta {
    display: block;
    scroll-margin-top: var(--store-sticky-offset, 150px);
}

@container (max-width: 260px) {
    .product-card-purchase {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0 0;
    }

    .product-card-price-visual {
        margin-inline: auto;
    }

    .product-card-action {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .product-grid > .product-card {
        padding: 6px;
        border-radius: 21px 21px 16px 16px;
        box-shadow: 0 3px 0 var(--surface-lilac), 0 7px 16px var(--shadow-jewel);
    }

    .product-card .product-image-link {
        border-radius: 15px 15px 11px 11px;
    }

    .catalog-grid + .pagination {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .catalog-grid + .pagination > * {
        white-space: nowrap;
    }

    .product-card .product-card-info {
        gap: 14px;
        padding: 13px 7px 9px;
    }

    .product-card-heading {
        min-height: 80px;
    }

    .product-card .product-category {
        font-size: 8px;
        padding: 4px 6px;
        border-radius: 6px;
        letter-spacing: .035em;
    }

    .product-card .product-card-heading h3 {
        margin-top: 9px;
        font-size: 16px;
        line-height: 1.35;
    }

    .product-card-purchase {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding: 15px 0 0;
    }

    .product-card-price-visual {
        margin-inline: auto;
    }

    .product-card-currency {
        width: 21px;
        height: 21px;
        margin-inline-end: 5px;
        font-size: 12px;
    }

    .product-card-price-whole {
        font-size: 25px;
        letter-spacing: -1.1px;
    }

    .product-card-price-fraction {
        font-size: 11px;
    }

    .product-card-action {
        gap: 9px;
        width: 100%;
        padding-inline: 9px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-grid > .product-card,
    .product-card-action {
        transition: none;
    }
}
