* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
background-color: #fff;
color: #333; 
}

.nav {
    background-color: #F5F3FF;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; align-items: center; gap: 10px; }
.lo_go_wrapper { background: #8B5CF6; padding: 8px; border-radius: 8px; display: flex; }
.lo_go { width: 25px; }
.logo h1 { font-size: 20px; }
.logo h1 span { color: #8B5CF6; }

.links ul { list-style: none; display: flex; gap: 25px; }
.links ul li a { text-decoration: none; color: #4B5563; font-size: 14px; position: relative; padding: 5px 0; }
.links ul li a.active, .links ul li a:hover { color: #8B5CF6; }
.links ul li a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #8B5CF6; transition: 0.3s; }
.links ul li a.active::after, .links ul li a:hover::after { width: 100%; }

.container {
     width: 90%;
      max-width: 1200px; 
      margin: 120px auto 60px;
       display: flex;
      gap: 50px;
}
.container2 { 
    width: 100%; 
    padding: 0 5%; 
    margin: 80px auto 100px auto; 
    text-align: center; 
    background-color: rgb(247,245,255);

}


.example_ph { flex: 1; background: #F9FAFB; border-radius: 20px; padding: 40px; position: relative; text-align: center; }
.example_ph img { width: 100%; max-width: 400px; }
.discount { position: absolute; top: 20px; left: 20px; background: #8B5CF6; color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 12px; }

.ph_describtion { flex: 1; }
.badge { padding: 5px 12px; border-radius: 8px; font-size: 12px; color: #fff; background: #A78BFA; margin-right: 5px; }
.main-title { font-size: 40px; margin: 20px 0; }
.main-title span { color: #8B5CF6; }
.desc-text { color: #6B7280; line-height: 1.6; margin-bottom: 25px; }

.price { font-size: 32px; font-weight: bold; }
.old-price { text-decoration: line-through; color: #9CA3AF; margin-left: 10px; }
.save { color: #EF4444; background: #FEE2E2; padding: 2px 8px; border-radius: 5px; font-size: 14px; margin-left: 10px; }
.installments { color: #6B7280; font-size: 14px; margin-top: 10px; }

.buttons { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.add-btn { background: #8B5CF6; color: #fff; border: none; padding: 15px; border-radius: 50px; cursor: pointer; font-size: 16px; font-weight: bold; }
.wish-btn { background: #fff; border: 1px solid #D1D5DB; padding: 15px; border-radius: 50px; cursor: pointer; }

.comp-header h1 span { color: #8B5CF6; }
.comp-header p { color: #6B7280; margin: 10px 0 40px; }
.comp-header {
    margin-bottom: 50px;
}
.table-container { 
    width: 100%; 
    background: #fff; 
    border-radius: 24px; 
    padding: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.02); 
    overflow-x: auto; 
}
table { 
    width: 100%;
     border-collapse: collapse;
}

th, td {
     padding: 20px; 
     border-bottom: 1px solid #F3F4F6;
      text-align: center;
     }

.feature-col {
     text-align: left !important; 
     font-weight: bold; 
     display: flex;
      align-items: center;
       gap: 10px;
       border-bottom: 1px solid #F3F4F6;
}

.icon {
     width: 20px; 
}

.our-product-col, td:nth-child(2) {
    background: rgba(139, 92, 246, 0.04);
 }
.product-name { 
    color: #8B5CF6;
    font-weight: bold;
}
.product-status {
    font-size: 12px;
    color: #A78BFA;
}

.p-badge {
    background: #8B5CF6;
    color: #fff; padding: 6px 15px; 
    border-radius: 20px;
    font-size: 13px;
}

.text-red { 
    color: #EF4444;
}
.stars {
color: #F59E0B; 
}
.stars.faded { 
color: #D1D5DB;
}

.winner-box { 
    margin-top: 30px; 
    background: rgba(139, 92, 246, 0.05); 
    padding: 20px;
    border-radius: 15px;
}
.winner-header { color: #8B5CF6; font-weight: bold; display: flex; justify-content: center; align-items: center; gap: 10px; }
.winner-header img { width: 25px; }

.cl { clear: both; }

:root {
    --primary-purple: #8b5cf6;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
}
.bar-bg {
    flex: 1;
    height: 8px;
    background: #f3f4f6;
    border-radius: 10px;
    margin: 0 12px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #F59E0B;
    border-radius: 10px;
}

.reviews-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 5%;
    position: relative;
}

.left-summary {
    flex: 0 0 350px;
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
        position: sticky;
    top: 120px; 
    z-index: 10;
}
.right-list {
    flex: 1;
}

.review-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}


.review-card .stars {
    color: #f59e0b;
    font-size: 14px; 
    margin: 5px 0;
}

.review-card .stars span {
    color: #6B7280;
    font-size: 12px;
    margin-left: 5px;
    font-weight: bold;
}

.review-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
}

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

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.user-details p {
    font-size: 13px;
    color: #6B7280;
}
.verified {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #F5F3FF;
    color: #8B5CF6;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 600;
}
.load-more {
    display: block;
    width: 250px;
    margin: 40px auto;
    padding: 14px;
    background: #8B5CF6;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.load-more:hover {
    background: #7c3aed;
}

.setup-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.setup-header {
    text-align: center;
    margin-bottom: 50px;
}

.setup-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
}

.setup-header h1 span {
    color: #8B5CF6; 
}

.setup-header p {
    color: #6B7280;
    font-size: 16px;
    margin-top: 10px;
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
}

.setup-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.setup-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.img-wrapper {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

.img-wrapper img {
    width: 100%;
    height: 150px;
    object-fit: contain; 
}

.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    text-transform: capitalize;
}

.img-wrapper.Accessory .tag {
     background: #10B981;
} 
.img-wrapper.Essential .tag {
     background: #059669;
} 
.img-wrapper.Power .tag { 
    background: #0EA5E9;
 }   
.img-wrapper.Safety .tag { 
    background: #F97316;
 }   

.setup-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.setup-info p {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    height: 40px; 
    overflow: hidden; 
    margin-bottom: 20px;
}

.setup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.setup-price {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.mini-add {
    background: #8B5CF6; 
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mini-add:hover {
    background: #7c3aed; 
}
.view-all-wrapper {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #8B5CF6; 
    border: 2px solid #8B5CF6; 
    border-radius: 50px; 
    text-decoration: none; 
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #8B5CF6;
    color: #fff;
}

/* تنسيقات الـ Footer الأساسية */
.main-footer {
    background-color: #0B1221; /* اللون الداكن من الصورة */
    color: #ffffff;
    padding: 80px 0 0;
    font-family: 'Segoe UI', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; /* جعل عمود اللوجو أعرض قليلاً */
    gap: 40px;
    padding: 0 20px 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-logo i {
    background: #8B5CF6;
    padding: 8px;
    border-radius: 8px;
}

.brand-info p {
    color: #9CA3AF;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: #8B5CF6;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #8B5CF6;
    padding-left: 5px;
}

.footer-bottom {
    background: #070B14;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: white;
}

.footer-bottom p {
    color: #6B7280;
    font-size: 13px;
}

.footer-bottom p a {
    color: #6B7280;
    text-decoration: none;
}

.footer-bottom p a:hover {
    color: #fff;
}

.payment-methods {
    display: flex;
    gap: 20px;
    font-size: 28px;
    color: #9CA3AF;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
@media (max-width: 900px) {
    .setup-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 600px) {
    .setup-grid {
        grid-template-columns: 1fr;
    }
}