/* Catalog hover and thumbnail presentation are shared in style.css. */
body[data-category="coin"] {
    font-variant-numeric: tabular-nums;
}

/* Both detail templates show the product directly on the page. */
[data-category="coin"] .model-detail-hero {
    background: var(--white);
}

[data-category="coin"] .model-gallery-frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(100%, 410px);
    max-height: 440px;
    aspect-ratio: auto;
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

[data-category="coin"] .product-profile-product-stage {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

[data-category="coin"] .product-profile-product-image {
    width: auto;
    max-width: min(100%, 410px);
    max-height: 440px;
    object-fit: contain;
}

@media (max-width: 760px) {
    [data-category="coin"] .model-gallery-frame img,
    [data-category="coin"] .product-profile-product-image {
        max-height: 310px;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-category="coin"] .linear-showcase .linear-glow-card,
    [data-category="coin"] .linear-showcase:is(:hover, :focus-visible, :active) .linear-glow-card,
    [data-category="coin"] .linear-showcase .linear-glow-card img,
    [data-category="coin"] .linear-showcase:is(:hover, :focus-visible, :active) .linear-glow-card img,
    [data-category="coin"] .linear-link > i,
    [data-category="coin"] .linear-showcase:is(:hover, :focus-visible, :active) .linear-link > i {
        transform: none;
        transition: none;
        will-change: auto;
    }

    [data-category="coin"] .linear-glow-card::before {
        transition: none;
        will-change: auto;
    }
}
