.product-hero {
    display: grid;
    position: relative;

    grid-template-columns:
        minmax(220px, 320px)
        1fr;

    gap: var(--space-2xl);

    align-items: start;
    
    background: var(--color-surface);

    border-radius: var(--radius-lg);
    
    box-shadow: var(--shadow-soft);

    padding: var(--space-2xl);
}

.product-hero__giveaway-teaser {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: #ffe6ee;
    color: #8c1d40;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 2;
}

.product-hero__giveaway-teaser:hover,
.product-hero__giveaway-teaser:focus-visible {
    background: #ffd3e3;
    text-decoration: underline;
}

.product-hero__cover {

    display: flex;
    flex-direction: column;
    
    align-items: center;

    gap: var(--space-lg);
    
    width: 100%;
}

.product-hero__cover-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
}

.product-cover-image {

    display: block;

    width: 100%;
    height: auto;

    filter:
        drop-shadow(
            16px 16px 20px
            rgba(0,0,0,.20)
        );
}

.product-cover--no-shadow {

    filter: none;
}

.product-cover-placeholder {
    aspect-ratio: 2 / 3;

    border-radius: var(--radius-lg);

    background: var(--color-border);
}

.product-hero__content {

    display: flex;
    flex-direction: column;

    gap: 0;
}

.product-title {

    font-size:
        clamp(
            1.75rem,
            2.8vw,
            2.6rem
        );

    font-weight: 600;

    line-height: 1.2;

    max-inline-size: 26ch;

    text-wrap: balance;
    
    margin-top: .15rem;
}

.product-subtitle {
    font-size: 1.15rem;

    color: var(--color-muted);
    
    margin-top: .5rem;
}

.product-authors {

    margin: 0;

    min-height: 40px;
    display: inline-flex;
    align-items: center;
    margin-bottom: var(--space-sm);

    font-size: 1rem;

    font-weight: 600;

    color: var(--color-muted);
}

.product-authors a {

    color: inherit;

    text-decoration: none;

    transition: color 120ms ease, text-decoration-color 120ms ease;
}

.product-authors a:hover,
.product-authors a:focus-visible {

    color: var(--color-accent);

    text-decoration: underline;

    text-underline-offset: .14em;

    outline: none;
}

.product-hero__tagline {
    max-width: var(--content-width);

    font-size: 1.2rem;

    line-height: 1.8;
    
    font-weight: 500;

    color: var(--color-text);
    
    padding-left: var(--space-lg);
    
    border-left: 4px solid
        var(--color-accent);
}

.product-hero__primary-genres {

    align-self: flex-end;

    text-align: right;

    margin-bottom: var(--space-lg);

    font-size: .9rem;

    font-weight: 600;

    color: var(--color-accent);

    line-height: 1.4;

    max-width: 30rem;
}

.rm-chip--genre {
    background: transparent;
    color: var(--color-accent);
    padding: 0;
    border-radius: 0;
}

.product-hero__eyebrow {
    margin-bottom: .65rem;

    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: var(--color-muted);
}

.product-hero__details-link {

    display: inline-flex;

    align-items: center;

    gap: .35rem;

    margin-top: var(--space-sm);

    font-size: .95rem;

    font-weight: 600;

    color: var(--color-accent);

    text-decoration: none;
}

.product-hero__details-link:hover {

    text-decoration: underline;
}

.product-hero__details-link::after {

    content: "↓";

    font-size: .9em;
}

.product-hero-meta {

    display: flex;
    flex-direction: column;

    gap: .35rem;

    margin-top: 1rem;
}

.product-hero__content > .product-trope-chips {
    margin-top: 3rem;
}

.product-hero-meta--commerce {
    margin-top: 3rem;
}

.product-hero__content > .product-hero-meta--commerce + .product-hero__shop-links {
    margin-top: 3rem;
}

.product-hero__spice-row {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;

    margin-top: 1.15rem;
    margin-bottom: 0.3rem;
}

.product-hero__age-row {
    margin: 1.15rem 0 0;

    font-size: 1rem;
    line-height: 1.5;
}

.product-hero__age-row + .product-hero__spice-row {
    margin-top: 0.6rem;
}

.product-hero .product-hero__section-title {
    margin: 0 0 1rem;

    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;

    color: var(--rm-text-muted, #666);
}

.product-hero__spice-label {
    margin-bottom: 0;
}

.product-hero__spice {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}

.product-hero__spice-icon {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.product-hero-meta__row {

    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: .35rem;
    row-gap: .15rem;

    font-size: 1rem;

    line-height: 1.5;
}

.product-hero-meta__row:first-child {

    font-weight: 600;

    color: var(--color-accent);
}

.product-hero-meta__commerce {

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;

    font-weight: 600;
}

.product-hero-meta__price {

    display: inline-flex;

    flex-wrap: wrap;

    align-items: baseline;

    column-gap: .35rem;
    row-gap: .15rem;

    font-size: 1.05rem;

    line-height: 1.4;
}

.product-hero-meta__current-price {

    color: var(--color-text);

    font-weight: 700;

    white-space: nowrap;

    font-variant-numeric:
        tabular-nums;
}

.product-hero-meta__regular-price {

    display: inline-flex;

    align-items: baseline;

    gap: .25rem;

    color: var(--color-muted);

    font-size: .95rem;

    font-weight: 400;

    white-space: nowrap;
}

.product-hero-meta__regular-price-amount {

    font-weight: 600;

    font-variant-numeric:
        tabular-nums;

    text-decoration:
        line-through;

    text-decoration-thickness:
        .0625rem;

    text-decoration-color:
        currentColor;
}


.product-hero__shop-links {
    display: flex;
    flex-direction: column;
    margin-top: var(--space-lg);
}

.product-hero__shop-links-header {
    margin-bottom: 0.55rem;
}

.product-hero__shop-links-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
}

.product-hero__affiliate-notice {
    margin-top: 0.3rem;
}

.product-hero__affiliate-notice summary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    list-style: none;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--color-muted);
}

.product-hero__affiliate-notice summary::-webkit-details-marker {
    display: none;
}

.product-hero__affiliate-notice summary::after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    opacity: 0.85;
}

.product-hero__affiliate-notice[open] summary::after {
    transform: rotate(-135deg);
}

.product-hero__affiliate-notice p {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--color-muted);
}

.product-hero__shop-links-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-hero__shop-links-item {
    margin: 0;
}

.product-hero__shop-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0.35rem 0.5rem;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.product-hero__shop-link:hover,
.product-hero__shop-link:focus-visible {
    transform: translateY(-1px);
}

.product-hero__shop-button-image {
    display: block;
    width: min(100%, 210px);
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.product-hero__shop-fallback-name {
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.product-hero__more-shop-options {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-end;
    margin-top: 0.65rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
}

.product-hero__more-shop-options:hover,
.product-hero__more-shop-options:focus-visible {
    text-decoration: underline;
}

.product-hero__more-shop-options::after {
    content: "↓";
    font-size: 0.9em;
}

@media (max-width: 900px) {
    .product-hero__shop-links-list {
        grid-template-columns: 1fr;
    }

    .product-hero__more-shop-options {
        align-self: center;
    }

    .product-hero__shop-links-header {
        text-align: center;
    }
}

.product-hero-meta__price-validity {

    color: var(--color-muted);

    font-size: .875rem;

    font-weight: 400;

    white-space: nowrap;
}

.product-hero-meta__separator {

    margin-inline: .35rem;

    color: var(--color-muted);

    white-space: nowrap;
}

.product-hero-meta__label {

    color: var(--color-text);

    font-weight: 400;

    white-space: nowrap;
}

.product-hero-meta__series {
    font-weight: 600;
}

.product-hero-meta__series-number {
    color: var(--color-muted);
    font-weight: 400;
    white-space: nowrap;
}

.product-hero-meta__format {
    white-space: nowrap;
}

.product-hero-meta__format-picker {
    display: inline-flex;
    align-items: center;
}

.product-hero-meta__format-select {
    font: inherit;
    font-weight: 600;
    color: var(--color-text);
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--color-text) 22%, transparent);
    border-radius: 8px;
    padding: 0.3rem 2rem 0.3rem 0.55rem;
    line-height: 1.25;
    max-width: min(100%, 320px);
}

.product-hero-meta__format-select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

@media (max-width: 768px) {

    .product-hero {
        grid-template-columns: 1fr;

        gap: var(--space-xl);
    }

    .product-hero__cover {
        max-width: 220px;

        margin-inline: auto;
    }

    .product-title {
        max-width: none;
    }

    .product-authors {
        min-height: 0;
        margin-bottom: 0;
    }

    .product-hero-meta__format-select {
        max-width: 100%;
    }

}