body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
}

.details-card2 {
    max-width: 1100px;
    margin: 40px auto;
    padding: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.product-images img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    border-radius: 8px;
}

.thumbs-swiper .swiper-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    border-radius: 6px;
}


.thumbs-swiper .swiper-slide-thumb-active img {
    border: 2px solid #007bff;
}




.price-tag {
    font-size: 1.8rem;
    color: #dc3545;
    font-weight: bold;
}

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.lapse1{
    text-align: right;
    margin-bottom: 2rem ;
}

.spec-table {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spec-table:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.spec-table h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #2c3e50;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}

.spec-table table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 8px 6px;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #eee;
}

.spec-table td:first-child {
    font-weight: bold;
    color: #222;
    width: 45%;
}

/* Responsive: تكدّس الأعمدة تحت بعض في الشاشات الصغيرة */
@media (max-width: 767px) {
    .features-table .col-sm-12 {
        margin-bottom: 15px;
    }
}

/* عنوان القسم */
.expert-section {
    background-color: #b2d8df;
    padding: 10px;
    border-radius: 10px;
    height: min-content;
    position: relative;
}

.expert-section h6 {
    font-size: 1.1rem;
    color: #0d3b66;
    margin-bottom: 15px;
    position: relative;
    text-align: right;
}

.expert-section h6::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: #198754;
    border-radius: 2px;
    margin-top: 5px;
}

/* شبكة الآراء */
.opinions {

}

/* كل رأي */
.opinion {
    flex: 1 1 calc(50% - 10px);
    background: #ffffff;
    border-radius: 8px;
    padding: 15px 20px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* أيقونة الاقتباس */
.quote-icon {
    font-size: 2.5rem;
    color: #0d6efd;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.2;
}

/* نص الرأي */
.opinion p {
    margin: 0 0 10px;
    color: #333;
    line-height: 1.4;
    font-style: italic;
}

/* تذييل باسم الخبير */
.opinion footer {
    font-size: 0.9rem;
    color: #555;
    text-align: right;
}

/* تأثير الـ hover */
.opinion:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.warrantyimg {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #f9f9f9;
    /* خلفية فاتحة بسيطة */
    border: 1px solid #e0e0e0;
    /* خط رفيع للفصل */
    border-radius: 8px;
    /* حواف ناعمة */
    padding: 10px;
    /* مسافة داخلية للفصل عن العناصر الأخرى */
    margin: 15px 0;
    /* مسافة خارجية للفصل عن باقي العناصر */
}

.warrantyimg img {
    width: 100%;
    aspect-ratio: 4 / 1;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

.warrantyimg .wardesc {
    margin-top: 8px;
    text-align: center;
    word-wrap: break-word;
    white-space: normal;
}

.warrantyimg .wardesc h6 {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: #333;
    /* لون النص واضح */
}

/* Responsive للموبايل */
@media (max-width: 767px) {
    .opinions {
        flex-direction: column;
    }

    .opinion {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .product-images {
        margin-bottom: 20px;
    }
}