.product-detail-page {
    background: #f8f7fb;
}

.product-detail-hero {
    padding: 2.4rem 0 2rem;
    border-bottom: 1px solid var(--compare-line);
    background:
        radial-gradient(circle at 90% 8%, rgba(91, 33, 182, .10), transparent 28%),
        #fff;
}

.product-detail-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #667085;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.product-detail-back:hover {
    color: #5b21b6;
}

.product-detail-hero__grid {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 230px;
    gap: 2rem;
    align-items: center;
    margin-top: 1.25rem;
}

.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    padding: 1rem;
    border: 1px solid #eceaf1;
    border-radius: 22px;
    background: #fafafa;
}

.product-detail-image img {
    max-width: 150px;
    max-height: 160px;
    object-fit: contain;
}

.product-detail-image__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: #f5f3ff;
    color: #5b21b6;
    font-size: 2rem;
    font-weight: 850;
}

.product-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .8rem;
}

.product-detail-badges span {
    padding: .36rem .58rem;
    border-radius: 999px;
    background: #f5f3ff;
    color: #5b21b6;
    font-size: .7rem;
    font-weight: 800;
}

.product-detail-title {
    color: #111827;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.03;
}

.product-detail-presentation {
    color: #667085;
    font-size: 1rem;
}

.product-detail-best-price {
    padding: 1rem;
    border: 1px solid #abefc6;
    border-radius: 18px;
    background: #ecfdf3;
}

.product-detail-best-price span,
.product-detail-best-price small {
    display: block;
    color: #15803d;
    font-size: .74rem;
    font-weight: 750;
}

.product-detail-best-price strong {
    display: block;
    margin: .15rem 0;
    color: #166534;
    font-size: 2rem;
    font-weight: 900;
}

.product-detail-section-title {
    color: #111827;
    font-weight: 850;
    letter-spacing: -.03em;
}

.product-detail-offer {
    padding: 1.1rem;
    border: 1px solid #e7e5ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(16, 24, 40, .04);
}

.product-detail-offer--best {
    border-color: #abefc6;
    background: #f6fef9;
}

.product-detail-offer__store {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.product-detail-offer__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f5f3ff;
    color: #5b21b6;
    font-weight: 900;
}

.product-detail-offer__price {
    color: #111827;
    font-size: 1.5rem;
    font-weight: 900;
}

.product-detail-offer__cta .btn {
    min-width: 150px;
    border-radius: 11px;
    font-weight: 800;
}

.product-detail-sidebar {
    position: sticky;
    top: 96px;
}

.product-detail-info {
    padding: 1.3rem;
    border: 1px solid #e7e5ee;
    border-radius: 18px;
    background: #fff;
}

.product-detail-info dl {
    margin-bottom: 0;
}

.product-detail-info dt,
.product-detail-info dd {
    padding-top: .55rem;
    padding-bottom: .55rem;
    border-bottom: 1px solid #f1eff5;
}

.product-detail-info dt {
    color: #98a2b3;
    font-size: .78rem;
    font-weight: 700;
}

.product-detail-info dd {
    margin-bottom: 0;
    color: #344054;
    font-size: .85rem;
    font-weight: 650;
}

.product-detail-trust {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid #e7e5ee;
    border-radius: 16px;
    background: #fff;
    color: #667085;
    font-size: .8rem;
    line-height: 1.6;
}

.product-detail-trust i {
    color: #5b21b6;
}

.product-detail-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid #e7e5ee;
    border-radius: 18px;
    background: #fff;
}

@media (max-width: 991.98px) {
    .product-detail-hero__grid {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .product-detail-best-price {
        grid-column: 1 / -1;
    }

    .product-detail-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .product-detail-hero__grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .product-detail-image {
        min-height: 150px;
    }

    .product-detail-best-price {
        width: 100%;
    }

    .product-detail-offer__cta .btn {
        width: 100%;
    }

    .product-detail-bottom-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .product-detail-hero {
        padding: 1.8rem 0 1.5rem;
    }

    .product-detail-offer {
        padding: .95rem;
        border-radius: 15px;
    }

    .product-detail-title {
        font-size: 2rem;
    }
}
