:root {
    --navy: #131921;
    --dark: #232f3e;
    --orange: #ff9900;
    --orange-hover: #e68a00;
    --bg: #eaeded;
    --border: #ddd;
    --radius: 14px;
    --transition: .3s ease;
    --az-cta: #f59e0b;
    --az-cta-dim: #d97706;
    --hdr-bg1: #0f0f12;
    --hdr-bg2: #1a1a22;
    --hdr-accent: #f59e0b;
    --hdr-text: #f5f5f0;
    --hdr-muted: #9ca3af;
    --card-bg: #ffffff;
    --card-border: #e8e8e8;
    --card-shadow: 0 2px 18px rgba(0, 0, 0, .07);
    --badge-oos: #ef4444;
    --badge-sale: #f59e0b;
    --badge-new: #10b981;
    --price-now: #111827;
    --price-was: #9ca3af;
    --btn-bg: #111827;
    --btn-hover: #f59e0b;
    --radius-card: 14px;
    --radius-btn: 8px;
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}


/* =========================================================
       DARK HEADER BAND
       ========================================================= */
.wl-header {
    background: linear-gradient(135deg, var(--hdr-bg1) 0%, var(--hdr-bg2) 60%, #1e1830 100%);
    padding: 3rem 1.5rem 2.8rem;
    position: relative;
    overflow: hidden;
}

/* decorative grid overlay */
.wl-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, .06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* glowing orb */
.wl-header::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, .18) 0%, transparent 70%);
    top: -120px;
    left: -80px;
    pointer-events: none;
}

.wl-header-inner {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.wl-header-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--az-cta), #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 6px 24px rgba(245, 158, 11, .4);
    flex-shrink: 0;
}

.wl-header-text {
    flex: 1;
    min-width: 160px;
}

.wl-header-text h1 {

    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    color: var(--hdr-text);
    letter-spacing: -.01em;
    line-height: 1.15;
}

.wl-header-text p {

    color: var(--hdr-muted);
    font-size: .9rem;
    margin-top: .3rem;
}

.wl-header-count {
    background: rgba(245, 158, 11, .15);
    border: 1px solid rgba(245, 158, 11, .35);
    border-radius: 50px;
    padding: .45rem 1.1rem;
    color: var(--az-cta);

    font-weight: 700;
    font-size: .9rem;
    white-space: nowrap;
}

/* breadcrumb strip */
.wl-breadcrumb {
    background: #18181f;
    border-bottom: 1px solid #2a2a35;
    padding: .65rem 1.5rem;
}

.wl-breadcrumb-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: .5rem;

    font-size: .8rem;
    color: var(--hdr-muted);
}

.wl-breadcrumb a {
    color: var(--hdr-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.wl-breadcrumb a:hover {
    color: var(--az-cta);
}

.wl-breadcrumb a i {
    margin-right: 8px;
}

[dir="rtl"] .wl-breadcrumb a i {
    margin-left: 8px;
}

.wl-breadcrumb .sep {
    color: #3f3f50;
}

.wl-breadcrumb .current {
    color: var(--az-cta);
}


/* Base */
.amazon-blog {
    background: var(--bg);
    min-height: 100vh;
    padding-bottom: 80px;
}

.amazon-container {
    max-width: 1500px;
    margin: auto;
    padding: 30px 20px;
}

/* Top Strip */
.amazon-strip {
    background: var(--navy);
    padding: 40px 20px;
    color: #fff;
    text-align: center;
}

.amazon-strip h1 {
    font-size: 34px;
    margin-bottom: 6px;
}

/* Featured */
.featured-post {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.featured-post img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: var(--transition);
}

.featured-post:hover img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), transparent);
    color: #fff;
}

.badge {
    background: var(--orange);
    color: #111;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
}

/* Grid */
.content-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

/* Posts */
.posts-area {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.post-box {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
    transition: var(--transition);
}

.post-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .1);
}

.post-image {
    position: relative;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--dark);
    color: #fff;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
}

.post-content {
    padding: 18px;
}

.post-content h3 {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-meta {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.read-more {
    color: var(--orange);
    font-weight: 600;
}

/* Sidebar */
.sidebar-area {
    position: sticky;
    top: 120px;
}

.widget {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}

.widget h4 {
    margin-bottom: 15px;
    font-size: 16px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 10px;
}

.widget li a {
    display: flex;
    justify-content: space-between;
    color: #333;
    text-decoration: none;
}

.widget li a span {
    background: var(--dark);
    color: #fff;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
}

/* Mini Posts */
.mini-post {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #333;
}

.mini-post img {
    width: 70px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.mini-title {
    font-size: 14px;
    font-weight: 600;
}

/* pagination.css */

/* الحاوية الرئيسية للباجينيشن */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 20px;
    padding: 0;
    list-style: none;
}

/* عناصر الباجينيشن */
.pagination li {
    display: inline-block;
}

/* روابط الصفحات */
.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: #ffffff;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* الصفحة النشطة */
.pagination li.active span {
    background: #007bff;
    color: #ffffff;
    border-color: #007bff;
}

/* روابط الصفحات عند التحويم */
.pagination li a:hover {
    background: #007bff;
    color: #ffffff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

/* أزرار السابق والتالي */
.pagination li:first-child a,
.pagination li:last-child a {
    padding: 0 15px;
    font-weight: 600;
}

/* تعطيل أزرار السابق والتالي */
.pagination li.disabled span {
    background: #f8f9fa;
    color: #adb5bd;
    border-color: #dee2e6;
    cursor: not-allowed;
}

/* أزرار السابق والتالي عند التحويم */
.pagination li:first-child a:hover,
.pagination li:last-child a:hover {
    background: #28a745;
    border-color: #28a745;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

/* الصفحات المنقطة */
.pagination li span.dots {
    border: none;
    background: transparent;
    color: #6c757d;
}

/* للشاشات الصغيرة */
@media (max-width: 768px) {
    .pagination {
        gap: 5px;
    }

    .pagination li a,
    .pagination li span {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
        border-radius: 8px;
    }

    .pagination li:first-child a,
    .pagination li:last-child a {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-wrap: wrap;
    }

    .pagination li a,
    .pagination li span {
        min-width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* تأثيرات إضافية للباجينيشن في قسم المدونة */
.amazon-blog .pagination {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

/* تصميم بديل - دائري */
.pagination.circle li a,
.pagination.circle li span {
    border-radius: 50%;
}

/* تصميم بديل - مع ظل */
.pagination.shadow li a {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* تصميم بديل - بدون حدود */
.pagination.borderless li a,
.pagination.borderless li span {
    border: none;
    background: transparent;
}

.pagination.borderless li a:hover {
    background: #007bff;
    color: white;
}

/* Empty */
.empty-state-pro {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 30px auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.empty-state-icon {
    color: #6c757d;
    margin-bottom: 25px;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
}

.empty-state-pro h3 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.empty-state-pro p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.empty-state-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.empty-state-btn i {
    font-size: 18px;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}