/* Copyright (c) 2026 DNA Genics, S.L. All rights reserved. */
.heritage-demo-purchase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    padding: clamp(1rem, 3vw, 1.75rem);
    margin: 1rem auto;
    max-width: 72rem;
    background: #f8f3e8;
    color: #213a2f;
    border: 1px solid #d6c7ad;
    border-radius: .75rem;
    scroll-margin-top: calc(var(--nav-height, 72px) + var(--demo-ribbon-height, 30px) + 1rem);
}

.heritage-demo-purchase h2 {
    color: inherit;
    font: 600 clamp(1.2rem, 3vw, 1.5rem)/1.25 Georgia, serif;
    margin: 0 0 .5rem;
}

.heritage-demo-purchase p {
    color: inherit;
    margin: 0;
}

.heritage-demo-purchase-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .25rem .75rem;
}

.heritage-demo-purchase-price strong {
    font-size: 1.2rem;
}

.heritage-demo-purchase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.heritage-demo-purchase-actions a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .45rem .85rem;
    color: #213a2f;
    border: 1px solid currentColor;
    border-radius: .35rem;
    text-decoration: none;
    font-weight: 600;
}

.heritage-demo-purchase-actions a.heritage-demo-purchase-upload {
    color: #fff;
    background: #213a2f;
    border-color: #213a2f;
}

.heritage-demo-purchase-actions a:hover {
    text-decoration: underline;
}

.heritage-demo-purchase:focus-visible,
.heritage-demo-purchase-actions a:focus-visible {
    outline: 2px solid #213a2f;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .heritage-demo-purchase-actions {
        width: 100%;
    }

    .heritage-demo-purchase-actions a {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }
}
