/* ==========================================================================
   Hepravet Egypt — Offers Page Styles
   ========================================================================== */

/* Offers page banner uses warm orange gradient */
.page-banner.banner-offers {
    background: linear-gradient(135deg, var(--color-warning) 0%, #d35400 100%);
}

.offer-card {
    position: relative;
}

.offer-discount {
    position: absolute;
    top: var(--space-md);
    inset-inline-end: var(--space-md);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-danger);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.feature-deal-wrap {
    padding-bottom: 0;
}

/* Featured deal banner */
.feature-deal {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-lg);
    align-items: center;
    flex-wrap: wrap;
}

.feature-deal h2 {
    color: #fff;
    margin-bottom: var(--space-xs);
}

.feature-deal p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

.feature-deal .badge-limited {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.feature-deal .btn {
    background-color: #fff;
    color: var(--color-primary-dark);
}

.offers-sort {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background-color: var(--color-surface);
}

/* -----------------------------
   Responsive
   ----------------------------- */
@media (max-width: 768px) {
    .feature-deal {
        grid-template-columns: 1fr;
        padding: var(--space-lg);
    }
    .feature-deal .btn { width: 100%; }
}

@media (max-width: 480px) {
    .offer-discount {
        width: 48px;
        height: 48px;
        font-size: 0.85rem;
    }
}
