


@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");


/* 1. جعل كل سمة (wattage, specification) تظهر في سطر مستقل تحت بعضها */
.product-attributes .row {
    display: flex;
    flex-direction: column; /* ترتيب العناصر عمودياً */
    gap: 20px;
}

/* 2. إلغاء تأثير الأعمدة الجانبية لتأخذ السمة العرض كاملاً */
.product-attributes .col-lg-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0;
}

/* 3. جعل الأزرار داخل كل سمة تترتب أفقياً بجانب بعضها */
.product-attributes .form-group > div {
    display: flex;
    flex-wrap: wrap; /* للسماح بنزول الأزرار لو كانت كثيرة */
    gap: 10px;
    margin-top: 10px;
}

/* 4. إخفاء الراديو الأصلي تماماً */
.product-attributes .custom-radio input[type="radio"] {
    display: none !important;
}

/* 5. تنسيق الزر (الـ Label) ليطابق الصورة */
.product-attributes .custom-control-label {
    background-color: #f5f5f5; /* لون رمادي فاتح كخلفية افتراضية */
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 10px 18px !important;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    position: relative;
    padding-left: 18px !important; /* مساواة البادينج */
    color: #333;
    margin: 0;
}

/* 6. إلغاء الدوائر الأصلية من بوتستراب */
.product-attributes .custom-control-label::before, 
.product-attributes .custom-control-label::after {
    display: none !important;
}

/* 7. ستايل الزر المختار (Checked) - اللون الأخضر المميز */
.product-attributes input[type="radio"]:checked + .custom-control-label {
    background-color: #02020c !important; /* لون أخضر مثل الصورة */
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* 8. تنسيق العناوين (Wattage, Specification) */
.product-attributes strong.text-capitalize {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 5px;
    display: block;
}
/* تأثير عند تمرير الماوس (Hover) */
.siz-list li.sizes:hover {
    border-color: #02020c;
    color: #02020c;
}

/* تنسيق الزر الفعال (Active) */
.siz-list li.sizes.active {
    background-color: #02020c; /* لون الخلفية */
    color: #fff;               /* لون النص */
    border-color: #02020c;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); /* ظل خفيف */
}



body {
    /* font-family: "Inter", sans-serif; */
    font-family: "Cairo", sans-serif;
}

.hide{
  display: none;
}

.hero-gradient {
    background: linear-gradient(135deg, rgba(1, 2, 1, 0.9) 0%, rgba(0, 128, 0, 0.2) 100%);
}

.header-bg {
    --tw-bg-opacity: 1;
     background-color: #143250;
   
}

.footer-bg {
    --tw-bg-opacity: 1;
    background-color: #143250;
}

.green-accent {
    color: #02020c;
}

.green-accent:hover {
    color: #02020c;
}

.bg-green-accent {
    background-color: #02020c;
}

.bg-green-accent:hover {
    --tw-bg-opacity: 1;
    background-color: #02020c;
}

.border-green-accent {
    border-color: #02020c;
}

.border-green-accent:hover {
    background-color: #02020c;
}

.dark-bg {
    background-color: #010201;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 128, 0, 0.15);
}
/* دعم RTL */
.rtl {
    direction: rtl;
}
/* ألوان مخصصة */
 
 

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 128, 0, 0.15);
}

.section-padding {
    padding: 5rem 0;
}

.tab-active {
    background-color: #02020c;
    color: white;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-card {
    position: relative;
    /* مهم جداً لكي تعمل الـ::before والـ::after */
    overflow: hidden;
}

.product-card::before,
.product-card::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    transition: all 0.4s ease-in-out;
    z-index: 1;
    /* أعلى من الخلفية لكنه أقل من المحتوى */
}
/*
        Top-left
        corner
        */
.product-card::before {
    top: 0;
    left: 0;
    border-top: 3px solid #02020c;
    border-left: 3px solid #02020c;
}
/*
        Bottom-right
        corner
        */
.product-card::after {
    bottom: 0;
    right: 0;
    border-bottom: 3px solid #02020c;
    border-right: 3px solid #02020c;
}
/*
        عند
        التحويم
        */
.product-card:hover::before,
.product-card:hover::after {
    width: 100%;
    height: 100%;
}
/*
        =====================
        IMAGE
        HOVER
        ANIMATION
        =====================
        */
.img-zoom {
    transition:
        transform 0.3s ease,
        filter 0.3s ease;
    display: block;
}
.img-zoom:hover {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.2);
}
/*
        =====================
        MODAL
        STYLES
        =====================
        */
.modal-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-bg.active {
    display: flex;
}
.modal-content {
    animation: modalFadeIn 0.3s ease-out;
    z-index: 1010;
    /*
        أعلى
        من
        الخلفية
        */
}
.add-to-cart-btn,
.add-to-wishlist-btn {
    position: relative;
    z-index: 10;
    cursor: pointer;
}
/*
        =====================
        ANIMATION
        =====================
        */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.product-image {
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.star-rating i {
    color: #d1d5db;
}

.star-rating i.active {
    color: #fbbf24;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-button.active {
    border-bottom: 3px solid #10b981;
    color: #10b981;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.dropdown:hover .dropdown-menu {
    display: block;
}

.cart-count,
.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
