.nr-products,
.nr-product-single {
    --nrp-accent: #7c3aed;
    --nrp-bg: #111318;
    --nrp-border: rgba(255, 255, 255, .12);
    --nrp-muted: #a9afbb;
    --nrp-text: #f7f8fa;
    color: inherit;
}

.nr-products {
    display: grid;
    gap: 18px;
}

.nr-products--grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.nr-products--carousel {
    grid-auto-columns: clamp(180px, 22vw, 240px);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.nr-products--carousel::-webkit-scrollbar {
    display: none;
}

.nr-carousel__controls {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 2px 12px;
}

.nr-carousel__controls[hidden] {
    display: none;
}

.nr-carousel__status {
    color: var(--nrp-muted);
    font-size: .75rem;
    margin: 0 auto 0 0;
}

.nr-carousel__button {
    align-items: center;
    background: color-mix(in srgb, currentColor 8%, transparent);
    border: 1px solid var(--nrp-border);
    border-radius: 999px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 1.1rem;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.nr-carousel__button:hover:not(:disabled),
.nr-carousel__button:focus-visible {
    background: color-mix(in srgb, var(--nrp-accent) 28%, transparent);
    border-color: color-mix(in srgb, var(--nrp-accent) 70%, white 10%);
}

.nr-carousel__button:focus-visible,
.nr-products--carousel:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--nrp-accent) 70%, white 20%);
    outline-offset: 3px;
}

.nr-carousel__button:disabled {
    cursor: default;
    opacity: .35;
}

.nr-products--list {
    grid-template-columns: 1fr;
}

.nr-product-card {
    background: var(--nrp-bg);
    border: 1px solid var(--nrp-border);
    border-radius: 12px;
    color: var(--nrp-text);
    min-width: 0;
    overflow: hidden;
    scroll-snap-align: start;
}

.nr-products--list .nr-product-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
}

.nr-product-card__cover {
    position: relative;
    aspect-ratio: 2 / 3;
    background: linear-gradient(145deg, #272a33, #15171c);
    display: block;
    overflow: hidden;
}

.nr-product-card__score {
    align-items: center;
    background: #8b5cf6;
    border: 2px solid rgba(255, 255, 255, .82);
    border-radius: 999px;
    bottom: 10px;
    color: #fff;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 850;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: 10px;
    width: 42px;
}

.nr-products--list .nr-product-card__cover {
    aspect-ratio: auto;
    min-height: 170px;
}

.nr-product-card__cover img,
.nr-product-card__placeholder {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
    width: 100%;
}

.nr-product-card:hover .nr-product-card__cover img {
    transform: scale(1.025);
}

.nr-product-card__body {
    padding: 14px;
}

.nr-product-card__body h3 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 7px 0;
}

.nr-product-card__body h3 a {
    color: inherit;
    text-decoration: none;
}

.nr-product-card__meta {
    color: var(--nrp-muted);
    display: flex;
    font-size: .72rem;
    gap: 8px;
    justify-content: space-between;
    text-transform: uppercase;
}

.nr-product-card__engine,
.nr-product-card__summary {
    color: var(--nrp-muted);
    font-size: .85rem;
    margin: 6px 0;
}

.nr-product-card__price {
    font-size: .8rem;
    margin: 12px 0 0;
}

.nr-product-card__price strong {
    color: #fff;
    display: block;
    font-size: 1rem;
}

.nr-product-hero {
    align-items: start;
    display: grid;
    gap: clamp(24px, 4vw, 48px);
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    margin-bottom: 32px;
    max-width: 100%;
    min-width: 0;
}

.nr-product-hero__cover {
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    object-fit: cover;
    width: 100%;
}

.nr-product-hero__summary {
    font-size: 1.2rem;
    line-height: 1.6;
}

.nr-product-hero__content {
    min-width: 0;
}

.nr-product-hero-offer {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--nrp-accent) 22%, transparent), transparent 72%),
        color-mix(in srgb, var(--nrp-bg) 92%, white 8%);
    border: 1px solid color-mix(in srgb, var(--nrp-accent) 55%, white 10%);
    border-radius: 14px;
    margin-bottom: 22px;
    padding: clamp(16px, 2vw, 22px);
}

.nr-product-hero-offer__label {
    color: color-mix(in srgb, var(--nrp-accent) 62%, white 38%);
    display: block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.nr-product-hero-offer__row {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.nr-product-hero-offer__price {
    display: block;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.1;
}

.nr-product-hero-offer__row small,
.nr-product-hero-offer__note {
    display: block;
    opacity: .7;
}

.nr-product-hero-offer__note {
    font-size: .72rem;
    margin-top: 12px;
}

.nr-product-hero-offer__button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-height: 46px;
    padding-inline: 20px;
    text-align: center;
}

.nr-product-facts {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nr-product-facts div,
.nr-product-specs div {
    border-bottom: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 15%, transparent);
    padding: 10px 0;
}

.nr-product-facts dt,
.nr-product-specs dt {
    font-size: .75rem;
    opacity: .65;
    text-transform: uppercase;
}

.nr-product-facts dd,
.nr-product-specs dd {
    margin: 3px 0 0;
}

.nr-product-tabs__nav {
    border-bottom: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 18%, transparent);
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    overflow-x: auto;
}

.nr-product-tabs__nav button {
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 12px 16px;
    white-space: nowrap;
}

.nr-product-tabs__nav button[aria-selected="true"] {
    border-bottom-color: var(--nrp-accent);
    font-weight: 700;
}

.nr-product-specs {
    display: grid;
    gap: 0 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nr-product-offers {
    display: grid;
    gap: 10px;
}

.nr-product-offer {
    align-items: center;
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 16%, transparent);
    border-radius: 10px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: 14px;
}

.nr-product-offer small,
.nr-product-offer__price del {
    display: block;
    opacity: .62;
}

.nr-product-offer__button {
    background: var(--nrp-accent);
    border-radius: 8px;
    color: #fff !important;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none !important;
}

.nr-product-official-link {
    align-items: center;
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 20%, transparent);
    border-radius: 9px;
    color: inherit;
    display: inline-flex;
    font-weight: 700;
    padding: 10px 14px;
    text-decoration: none;
}

.nr-product-official-link:hover,
.nr-product-official-link:focus-visible {
    border-color: var(--nrp-accent);
}

.nr-product-disclosure {
    font-size: .78rem;
    opacity: .65;
}

.nr-product-review {
    align-items: center;
    display: flex;
    gap: 18px;
}

.nr-product-review-score {
    font-size: 1.6rem;
}

@media (max-width: 680px) {
    body.single-nr_product {
        overflow-x: clip;
    }

    .nr-product-single,
    .nr-product-hero,
    .nr-product-hero__content {
        max-width: 100%;
        min-width: 0;
    }

    .nr-products--carousel {
        grid-auto-columns: min(76vw, 260px);
    }

    .nr-product-hero,
    .nr-product-facts,
    .nr-product-specs {
        grid-template-columns: 1fr;
    }

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

    .nr-product-hero__content {
        order: -1;
    }

    .nr-product-hero-offer__row {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .nr-product-hero-offer__button {
        width: 100%;
    }

    .nr-product-offer {
        align-items: start;
        grid-template-columns: 1fr auto;
    }

    .nr-product-offer__button {
        grid-column: 1 / -1;
        text-align: center;
    }
}
