/* ==========================================================================
   MEERCATO OFFERS PAGE
   ========================================================================== */

/* ---------- Section spacing (Figma: ~24px between sections) ---------- */
.offers-section {
    margin-bottom: 24px;
}
.offers-section:last-child {
    margin-bottom: 0;
}
/* Magezon wraps each element in rows — remove default row padding/margin */
.cms-offers-page .mgz-element-row,
.cms-offers-page .mgz-element-column {
    margin: 0 !important;
    padding: 0 !important;
}
.cms-offers-page .mgz-element-inner,
.cms-offers-page .inner-content {
    margin: 0 !important;
    padding: 0 !important;
}

/* ---------- Section 1: Hero Banners ---------- */
.offers-hero-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px;
}

.offers-hero-banner-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3/1;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
}
.offers-hero-banner-card:hover { transform: scale(1.02); }
.offers-hero-banner-card img.banner-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.offers-hero-banner-card .banner-overlay {
    position: absolute;
    inset: 0;
}
.offers-hero-banner-card .banner-content {
    position: relative;
    z-index: 2;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    padding: 16px;
}
.offers-hero-banner-card .banner-title {
    font-family: 'Almarai', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}
.offers-hero-banner-card .banner-subtitle {
    font-family: 'Readex Pro', 'Noto Sans Arabic', sans-serif;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
}
.offers-hero-banner-card .banner-cta {
    font-family: 'Almarai', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .offers-hero-banners {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 8px;
    }
    .offers-hero-banner-card {
        aspect-ratio: 2/1;
    }
    .offers-hero-banner-card .banner-title { font-size: 14px; }
    .offers-hero-banner-card .banner-subtitle { font-size: 11px; }
    .offers-hero-banner-card .banner-cta { font-size: 11px; }
}

/* ---------- Section 2: Reels / Videos ---------- */
.offers-reels-heading {
    padding: 0 16px;
    margin-bottom: 12px;
}
.offers-reels-heading h2 {
    font-family: 'Almarai', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #191C1F;
    text-align: right;
}
.offers-reels-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 16px;
}
.offers-reels-scroll::-webkit-scrollbar { display: none; }
.offers-reel-card {
    min-width: 160px;
    flex: 0 0 160px;
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #1a1a2e;
    text-decoration: none;
    display: block;
}
.offers-reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.offers-reel-card .reel-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a4e, #1a1a2e);
}
.offers-reel-card .reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.offers-reel-card .reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.offers-reel-card .reel-title {
    font-family: 'Almarai', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}
.offers-reel-card .reel-subtitle {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 2px;
}

/* Legacy: keep for backward compat */
.offers-latest-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 16px;
}
.offers-latest-heading h2 {
    font-family: 'Almarai', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #191C1F;
}
.offers-product-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 16px;
}
.offers-product-scroll::-webkit-scrollbar { display: none; }
.offers-product-scroll .mc-product-card {
    min-width: 200px;
    max-width: 200px;
    flex-shrink: 0;
}

/* ---------- Section 3: Flash Deals ---------- */
.offers-flash-deals {
    background: #FFF5F5;
    border-radius: 16px;
    padding: 20px;
    margin: 0 16px;
}
.offers-flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.offers-flash-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Almarai', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #EE3E54;
}
.offers-flash-countdown {
    display: flex;
    gap: 6px;
    direction: ltr;
}
.offers-flash-countdown .unit {
    background: #EE3E54;
    color: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 14px;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
    font-family: 'Readex Pro', sans-serif;
}
.offers-flash-countdown .separator {
    color: #EE3E54;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.offers-flash-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
}
.offers-flash-item .flash-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.offers-flash-item .flash-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.offers-flash-item .flash-info {
    flex: 1;
    text-align: right;
}
.offers-flash-item .flash-name {
    font-family: 'Almarai', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.offers-flash-item .flash-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    justify-content: flex-end;
}
.offers-flash-item .flash-sale-price {
    font-family: 'Almarai', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #EE3E54;
}
.offers-flash-item .flash-original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}
.offers-flash-progress {
    width: 100%;
    height: 8px;
    background: #E0E0E0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}
.offers-flash-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #EE3E54, #FF6B6B);
    border-radius: 4px;
    transition: width 0.5s;
}
.offers-flash-progress-text {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    text-align: right;
}

@media (max-width: 768px) {
    .offers-flash-item { flex-direction: column; }
    .offers-flash-item .flash-image { width: 100%; height: auto; aspect-ratio: 1; }
}

/* ---------- Section 4: Bestseller Showcase (Dark BG) ---------- */
.offers-bestseller-showcase {
    background: transparent;
    padding: 16px;
    border-radius: 0;
    margin: 0;
}
.offers-bestseller-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.offers-bestseller-heading h2 {
    font-family: 'Almarai', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #191C1F;
}
.offers-bestseller-heading .view-all {
    color: #EE3E54;
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.offers-bestseller-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 20px;
    padding-bottom: 4px;
}
.offers-bestseller-tabs::-webkit-scrollbar { display: none; }
.offers-bestseller-tab {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 999px;
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #ddd;
    color: #555;
    background: #fff;
    transition: all 0.2s;
}
.offers-bestseller-tab.active,
.offers-bestseller-tab:hover {
    background: #1A1A2E;
    color: #fff;
    border-color: #1A1A2E;
}

/* ---------- Section 5: Shop by Category ---------- */
.offers-shop-categories {
    padding: 0 16px;
}
.offers-shop-categories h2 {
    font-family: 'Almarai', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #191C1F;
    margin-bottom: 20px;
    text-align: right;
}
.offers-category-icons {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.offers-category-icons::-webkit-scrollbar { display: none; }
.offers-category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    flex-shrink: 0;
    text-decoration: none;
}
.offers-category-icon-item .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.offers-category-icon-item:hover .icon-circle { transform: scale(1.08); }
.offers-category-icon-item .icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.offers-category-icon-item .icon-label {
    font-family: 'Almarai', sans-serif;
    font-size: 12px;
    color: #333;
    text-align: center;
    white-space: nowrap;
}

/* ---------- Section 6: Feature Banners ---------- */
.offers-feature-banners {
    display: flex;
    flex-direction: row-reverse;
    gap: 16px;
    padding: 0 16px;
}
.offers-feature-trust {
    flex: 3;
    display: flex;
    gap: 16px;
    background: #FAFAFA;
    border-radius: 16px;
    padding: 24px;
    align-items: center;
    justify-content: center;
}
.offers-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    flex: 1;
}
.offers-trust-item .trust-icon {
    width: 56px;
    height: 56px;
}
.offers-trust-item .trust-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.offers-trust-item .trust-title {
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.offers-trust-item .trust-desc {
    font-family: 'Readex Pro', sans-serif;
    font-size: 11px;
    color: #777;
    line-height: 1.4;
}
.offers-feature-promo {
    flex: 2;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}
.offers-feature-promo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.offers-feature-promo .promo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    color: #fff;
    text-align: right;
}
.offers-feature-promo .promo-badge {
    font-family: 'Almarai', sans-serif;
    font-size: 12px;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
    width: fit-content;
    margin-right: auto;
}
.offers-feature-promo .promo-title {
    font-family: 'Almarai', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}
.offers-feature-promo .promo-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .offers-feature-banners { flex-direction: column; }
    .offers-feature-trust { flex-direction: column; }
}

/* ---------- Section 7: Savings Bundles ---------- */
.offers-bundles-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 16px;
}
.offers-bundles-heading h2 {
    font-family: 'Almarai', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #191C1F;
    display: flex;
    align-items: center;
    gap: 8px;
}
.offers-bundles-heading .shop-more {
    color: #EE3E54;
    font-family: 'Almarai', sans-serif;
    font-size: 14px;
    text-decoration: none;
}
.offers-bundle-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 16px;
}
.offers-bundle-scroll::-webkit-scrollbar { display: none; }
.offers-bundle-card {
    min-width: 380px;
    flex: 0 0 380px;
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    transition: box-shadow 0.2s;
}
.offers-bundle-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.offers-bundle-card .bundle-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}
.offers-bundle-card .bundle-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.offers-bundle-card .bundle-info {
    flex: 1;
    text-align: right;
}
.offers-bundle-card .bundle-name {
    font-family: 'Almarai', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}
.offers-bundle-card .bundle-tags {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}
.offers-bundle-card .bundle-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
    justify-content: flex-end;
}
.offers-bundle-card .bundle-current-price {
    font-family: 'Almarai', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #EE3E54;
}
.offers-bundle-card .bundle-old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}
.offers-bundle-card .bundle-savings {
    font-family: 'Almarai', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #43A047;
    margin-bottom: 8px;
}
.offers-bundle-card .bundle-cta {
    font-family: 'Almarai', sans-serif;
    font-size: 13px;
    color: #EE3E54;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .offers-bundle-card { min-width: 300px; flex: 0 0 85%; }
}

/* ---------- Section 8: Top Sellers ---------- */
.offers-topsellers-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 16px;
}
.offers-topsellers-heading h2 {
    font-family: 'Almarai', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #191C1F;
    display: flex;
    align-items: center;
    gap: 8px;
}
.offers-topseller-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 0 16px 16px;
}
@media (max-width: 768px) {
    .offers-topseller-scroll {
        grid-template-columns: repeat(3, 1fr);
    }
}
.offers-topseller-card {
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.offers-topseller-card .card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}
.offers-topseller-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.offers-topseller-card .card-body {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.offers-topseller-card .card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
}
.offers-topseller-card .card-rating .stars {
    color: #F5A623;
    font-size: 13px;
}
.offers-topseller-card .card-title {
    font-family: 'Almarai', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: right;
}
.offers-topseller-card .card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
}
.offers-topseller-card .card-price .current {
    font-family: 'Almarai', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FF8F00;
}
.offers-topseller-card .card-price .old {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}
.offers-topseller-card .rank-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Readex Pro', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}
.offers-topseller-card .rank-badge.rank-1 { background: #FF8F00; }
.offers-topseller-card .rank-badge.rank-2 { background: #78909C; }
.offers-topseller-card .rank-badge.rank-3 { background: #8D6E63; }
.offers-topseller-card .rank-badge:not(.rank-1):not(.rank-2):not(.rank-3) { background: #546E7A; }

/* ---------- Section 9: Customer Reviews ---------- */
.offers-reviews-section {
    padding: 0 16px;
}
.offers-reviews-section h2 {
    font-family: 'Almarai', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #191C1F;
    margin-bottom: 20px;
    text-align: right;
}
.offers-reviews-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.offers-reviews-scroll::-webkit-scrollbar { display: none; }
.offers-review-card {
    min-width: 300px;
    flex: 0 0 300px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.offers-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.offers-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.offers-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.offers-review-name {
    font-family: 'Almarai', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}
.offers-review-stars {
    color: #F5A623;
    font-size: 14px;
    margin-top: 2px;
}
.offers-review-text {
    font-family: 'Readex Pro', 'Noto Sans Arabic', sans-serif;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}
.offers-review-product {
    font-size: 12px;
    color: #999;
}

/* ---------- Section 10: Price Range Cards ---------- */
.offers-price-range {
    padding: 0 16px;
}
.offers-price-range {
    padding: 0 16px;
}
.offers-price-range-title {
    font-family: 'Almarai', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #EE3E54;
    margin-bottom: 16px;
    float: right;
    clear: both;
    display: flex;
    align-items: center;
    gap: 8px;
}
.offers-price-range-grid {
    clear: both;
}
.offers-price-range-title img {
    width: 40px;
    height: 40px;
}
.offers-price-range-grid {
    margin-bottom: 16px;
}
.offers-price-range-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.offers-price-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
}
.offers-price-card:hover { transform: scale(1.03); }
.offers-price-card::before {
    display: none;
}
.offers-price-card .range-label {
    font-family: 'Readex Pro', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
    position: relative;
}
.offers-price-card .range-price {
    font-family: 'Almarai', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    position: relative;
}
.offers-price-card .range-currency {
    font-family: 'Almarai', sans-serif;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    position: relative;
}
.offers-price-card .range-cta {
    font-family: 'Almarai', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

@media (max-width: 768px) {
    .offers-price-range-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Section 11: Category Tags ---------- */
.offers-category-tags {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 16px;
}
.offers-category-tags::-webkit-scrollbar { display: none; }
.offers-tag-pill {
    white-space: nowrap;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1.5px solid #EE3E54;
    background: rgba(238, 62, 84, 0.12);
    color: #1A1A2E;
    font-family: 'Almarai', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.offers-tag-pill:hover,
.offers-tag-pill.active {
    background: #EE3E54;
    color: #fff;
}

/* ---------- Section 12: Product Grid with Sidebar ---------- */
.offers-grid-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    padding: 0 16px;
}
.offers-sidebar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 20px;
    color: #333;
    height: fit-content;
    position: sticky;
    top: 16px;
}
.offers-sidebar-title {
    font-family: 'Almarai', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #191C1F;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.offers-sidebar-group {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}
.offers-sidebar-group-title {
    font-family: 'Almarai', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #191C1F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.offers-sidebar-group-title::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid #EE3E54;
    border-bottom: 2px solid #EE3E54;
    transform: rotate(45deg);
    flex-shrink: 0;
}
.offers-sidebar-item {
    display: block;
    padding: 8px 0;
    font-family: 'Readex Pro', sans-serif;
    font-size: 14px;
    color: #555;
    text-decoration: none;
}
.offers-sidebar-item:hover { color: #EE3E54; }
.offers-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.offers-grid-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 0 16px 32px;
}
.offers-grid-pagination .page-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #fff;
    font-family: 'Readex Pro', sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.offers-grid-pagination .page-btn.active {
    background: #EE3E54;
    color: #fff;
    border-color: #EE3E54;
}

@media (max-width: 1024px) {
    .offers-grid-layout {
        grid-template-columns: 1fr;
    }
    .offers-sidebar {
        position: static;
    }
    .offers-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Utility: Star rating ---------- */
.offers-stars {
    display: inline-flex;
    gap: 1px;
}
.offers-stars .star {
    color: #F5A623;
}
.offers-stars .star.empty {
    color: #ddd;
}
