.best-deals-page {
    position: relative;
    z-index: 1;
    margin-top: 34px;
    margin-bottom: 70px;
}

.best-deals-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 52px);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 50% -30%,
            rgba(212, 175, 55, 0.17),
            transparent 55%
        ),
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent),
        #0d0d10;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 24px 70px rgba(0, 0, 0, 0.22);
}

.best-deals-eyebrow {
    display: inline-flex;
    min-height: 29px;
    padding: 5px 12px;
    align-items: center;
    color: #0a0a0b;
    font-size: 11px;
    font-weight: 900;
    border-radius: 999px;
    background: var(--pf-v30-accent);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.17);
}

.best-deals-hero h1 {
    max-width: 780px;
    margin: 15px auto 0;
    color: #fff;
    font-size: clamp(28px, 4.3vw, 46px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.7px;
}

.best-deals-hero p {
    max-width: 690px;
    margin: 14px auto 0;
    color: #a7a7b2;
    font-size: clamp(12px, 1.4vw, 15px);
    font-weight: 700;
    line-height: 2;
}

.best-deals-toolbar {
    display: flex;
    min-height: 72px;
    margin: 20px 0 14px;
    padding: 12px 15px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 18px;
    background: rgba(13, 13, 16, 0.88);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
}

.best-deals-count {
    margin: 0;
    color: #a7a7b2;
    font-size: 12px;
    font-weight: 800;
}

.best-deals-count strong {
    margin-inline-end: 3px;
    color: var(--pf-v30-accent);
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
}

.best-deals-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.best-deals-sort > span {
    color: #e7e7eb;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.best-deals-sort select {
    min-width: 190px;
    min-height: 42px;
    padding: 7px 13px;
    color: #f5f5f7;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    outline: none;
    background: #111115;
    cursor: pointer;
}

.best-deals-sort select:focus-visible {
    border-color: var(--pf-v30-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.best-deals-list {
    display: grid;
    gap: 16px;
}

.best-deal-item {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 23px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.022), transparent),
        rgba(10, 10, 13, 0.84);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.15);
}

.best-deal-company-link {
    display: flex;
    min-height: 45px;
    margin-bottom: 10px;
    padding: 6px 9px 6px 5px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 13px;
    transition: background-color 180ms ease, transform 180ms ease;
}

.best-deal-company-name {
    overflow: hidden;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 900;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.best-deal-company-details {
    display: inline-flex;
    min-height: 31px;
    padding: 5px 10px;
    align-items: center;
    gap: 6px;
    color: var(--pf-v30-accent);
    font-size: 10px;
    font-weight: 900;
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.055);
    white-space: nowrap;
}

.best-deal-item .pf-price-card {
    margin-bottom: 0;
}

.best-deals-empty {
    padding: 44px 20px;
    color: #a7a7b2;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.018);
}

@media (hover: hover) {
    .best-deal-company-link:hover {
        background: rgba(255, 255, 255, 0.025);
        transform: translateX(2px);
    }
}

@media (max-width: 720px) {
    .best-deals-page {
        margin-top: 20px;
        padding-inline: 10px;
    }

    .best-deals-hero {
        padding: 26px 18px;
        border-radius: 21px;
    }

    .best-deals-hero h1 {
        font-size: 27px;
    }

    .best-deals-toolbar {
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .best-deals-count {
        text-align: center;
    }

    .best-deals-sort {
        justify-content: space-between;
    }

    .best-deals-sort select {
        min-width: 0;
        width: min(220px, 66vw);
    }

    .best-deal-item {
        padding: 10px;
        border-radius: 19px;
    }

    .best-deal-company-link {
        min-height: 42px;
        padding-inline: 5px;
    }

    .best-deal-company-name {
        font-size: 16px;
    }

    .best-deal-company-details {
        min-height: 28px;
        padding-inline: 8px;
        font-size: 8.5px;
    }
}

@media (max-width: 430px) {
    .best-deals-sort {
        flex-direction: column;
        align-items: stretch;
    }

    .best-deals-sort > span {
        text-align: center;
    }

    .best-deals-sort select {
        width: 100%;
    }

    .best-deal-company-details {
        font-size: 0;
    }

    .best-deal-company-details span {
        font-size: 14px;
    }
}
