
.region-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.region-tab {
    padding: 8px 16px;
    background-color: #1e293b;
    border-radius: 6px;
    cursor: pointer;
}

    .region-tab.active {
        background-color: #3b82f6;
        color: white;
    }

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.card {
    background-color: #1e293b;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

.price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.btn {
    display: block;
    text-align: center;
    background-color: #3b82f6;
    padding: 10px;
    color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: bold;
}

    .btn.out-of-stock {
        background-color: #475569;
        cursor: not-allowed;
    }

.features {
    list-style: none;
    font-size: 14px;
}

    .features li {
        margin: 6px 0;
        display: flex;
        margin: 6px 0;
    }

.stock-note {
    color: #f87171;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
}

/* ------------------ الأنماط الأساسية والحاوية ------------------ */

/* أزلنا h1 و body لنتجنب التعارض مع صفحات أخرى */

/* ------------------ أزرار التنقل (دمج أنماط region-tabs) ------------------ */
.CarrotSmurfs-nav { /* استبدلنا region-tabs بـ CarrotSmurfs-nav */
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap; /* للسماح لها بالانتقال إلى سطر جديد في الجوال */
}

.CarrotSmurfs-nav-btn { /* استبدلنا region-tab بـ CarrotSmurfs-nav-btn */
    padding: 8px 16px;
    /*background-color: #1e293b;*/ /* لون خلفية داكن */
    color: #e7e7e7; /* لون النص فاتح */
    border: 1px solid #33334d;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    font-weight: 600;
    text-align: center;
    text-decoration: none; /* إذا كان زر تنقل */
}

    .CarrotSmurfs-nav-btn:hover {
        background-color: #e68d44;
    }

    .CarrotSmurfs-nav-btn.active { /* استبدلنا active بـ CarrotSmurfs-active */
        background-color: #e68d44; /* اللون البرتقالي المميز */
        border-color: #ff9c50;
        color: #1e293b; /* لون نص داكن على الزر النشط */
    }

/* ------------------ شبكة البطاقات ------------------ */
/* استخدمنا CarrotSmurfs-grid بدلاً من card-container */
.CarrotSmurfs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding-bottom: 20px;
}

/* ------------------ نمط البطاقة ------------------ */
/* استخدمنا CarrotSmurfs-card بدلاً من card */
.CarrotSmurfs-card {
    color: #e7e7e7;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #33334d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

    .CarrotSmurfs-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(255, 156, 80, 0.2);
        border: 1px solid #ff9c50; /* حدود برتقالية عند التمرير */
    }

/* ------------------ رأس البطاقة ------------------ */
.CarrotSmurfs-header {
    padding: 6px;
    font-size: 21px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    position: relative;
    color: #ff9c50; /* لون العنوان */
}

.CarrotSmurfs-header-default {
    color: white; /* إذا لم يكن هناك لون خاص */
}

.CarrotSmurfs-header-icon {
    font-size: 1.5rem;
}




/* ------------------ تفاصيل البطاقة ------------------ */
.CarrotSmurfs-details {
    padding: 20px;
    flex-grow: 1;
}

/* الأنماط القديمة لـ stat غير موجودة، لذا نركز على المميزات */
.CarrotSmurfs-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px; /* من features القديمة */
}

    .CarrotSmurfs-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
        font-size: 20px;
        color: #cec4e5;
    }

.CarrotSmurfs-feature-icon {
    font-size: 1.2rem;
    color: #ff9c50;
    line-height: 1; /* تصحيح لتجنب مشاكل محاذاة الصور */
}

/* ------------------ ذيل البطاقة (الأسعار والزر) ------------------ */
.CarrotSmurfs-footer {
    padding: 0 20px;
    margin-top: auto;
    text-align: center;
}

.CarrotSmurfs-old-price {
    font-size: 0.85rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: -5px;
}

.CarrotSmurfs-price {
    font-size: 24px; /* دمج price القديمة */
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    margin-top: 10px;
}

.CarrotSmurfs-dis {
    font-size: 15px; /* دمج price القديمة */
    font-weight: 700;
    color: #e68d44;
    /* من price القديمة */
    text-decoration-line: line-through; /* من price القديمة */
}

.CarrotSmurfs-currency {
    font-size: 0.9rem;
    font-weight: 400;
    color: #b3a5cc;
    margin-left: 5px;
}

.CarrotSmurfs-view-btn { /* دمج btn القديمة و CarrotSmurfs-view-btn */
    width: 100%;
    background-color: #ff9c50; /* نستخدم اللون المميز لزر CTA */
    color: #1e293b;
    border: none;
    padding: 10px 0; /* دمج padding */
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    text-align: center;
    display: block;
    text-decoration: none;
}

    .CarrotSmurfs-view-btn:hover {
        background-color: #e68d44;
    }

    .CarrotSmurfs-view-btn.out-of-stock { /* دمج out-of-stock */
        background-color: #475569;
        cursor: not-allowed;
        color: #94a3b8;
    }

.CarrotSmurfs-stock-note { /* استبدلنا stock-note بـ CarrotSmurfs-stock-note */
    color: #f87171;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: center;
}

/* ------------------ تصحيحات الأنماط المعقدة في ListItem ------------------ */

/* لضمان أن الصورة في رأس البطاقة تكون بالحجم الصحيح */
.CarrotSmurfs-header .image__tag {
    height: 60px !important;
    max-width: 60px;
    object-fit: contain;
}

/* لضمان أن صور السمات تكون بالحجم الصحيح داخل القائمة */
.CarrotSmurfs-features li .CarrotSmurfs-feature-icon .image__tag {
    height: 20px !important; /* حجم مناسب للأيقونة */
    width: 20px;
    object-fit: contain;
}

/* ------------------ الاستجابة للتصغير (Media Queries) ------------------ */

@media (max-width: 900px) {
    .CarrotSmurfs-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 650px) {
    .CarrotSmurfs-grid {
        grid-template-columns: 1fr;
    }
}