/* Product Details Right Section */
.product_details_right {
    padding-left: 30px;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-meta-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.meta-item {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.meta-item strong {
    color: #333;
    margin-right: 5px;
}

.product-rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.rating-stars {
    display: flex;
    gap: 3px;
}

.rating-stars i {
    color: #ffc107;
    font-size: 18px;
}

.rating-stars .far {
    color: #ddd;
}

.review-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.review-link:hover {
    text-decoration: underline;
    color: #c0392b;
}

.product-description-details {
    margin-bottom: 25px;
}

.product-description-details h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.product-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-details-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-details-list li:last-child {
    border-bottom: none;
}

.product-details-list li strong {
    color: #333;
    font-weight: 600;
    min-width: 150px;
}

.product-details-list li span {
    color: #666;
    flex: 1;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

.product-price .offer {
    color: #e74c3c;
    font-size: 20px;
    margin-right: 10px;
}

.product-price .original-price {
    color: #999;
    font-size: 16px;
    text-decoration: line-through;
}

.stock-status {
    margin-bottom: 20px;
}

.stock-status p {
    font-size: 16px;
    font-weight: 500;
}

.price-info {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.price-text {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.main-price {
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
}

.price-note {
    font-size: 13px;
    color: #666;
}

.product-actions {
    margin-bottom: 30px;
}

.btn-add-to-cart,
.btn-alert {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover,
.btn-alert:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.product-links {
    text-align: center;
}

.wishlist-link,
.safety-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.wishlist-link:hover,
.safety-link:hover {
    color: #e74c3c;
    text-decoration: underline;
}

.spec-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.spec-wrapper h4 {
    margin-bottom: 16px;
    font-weight: 600;
}

.spec-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.spec-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.spec-list li span,
.spec-list li img {
    margin-left: auto;
    font-weight: 600;
}

.spec-list li:last-child {
    border-bottom: none;
}

.related-products {
    max-width: 50% !important;
}

/* Product Tabs Styling */
.product-tabs-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

.product-tabs-nav {
    border-bottom: 2px solid #e74c3c;
    margin-bottom: 0;
    gap: 10px;
}

.product-tabs-nav .nav-item {
    margin-bottom: -2px;
    margin-right: 10px;
}

.product-tabs-nav .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #666;
    font-weight: 600;
    padding: 15px 30px;
    transition: all 0.3s ease;
    text-transform: none;
}

.product-tabs-nav .nav-link:hover {
    color: #e74c3c;
    background: transparent;
    border-bottom-color: #ff9800;
}

.product-tabs-nav .nav-link.active {
    color: #ff9800;
    border-bottom-color: #ff9800;
    background: transparent;
}

.product-tabs-content {
    padding: 30px 20px;
    min-height: 200px;
}

.product-description {
    line-height: 1.8;
    color: #333;
}

/* Car Compatibility Table */
.compatibility-table {
    width: 100%;
    margin-top: 20px;
}

.compatibility-table thead {
    background: #f8f9fa;
}

.compatibility-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e74c3c;
}

.compatibility-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.compatibility-table tbody tr:hover {
    background: #f8f9fa;
}

.compatibility-group {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.compatibility-brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.compatibility-brand-header:hover {
    background: #e9ecef;
}

.compatibility-brand-header .brand-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.compatibility-brand-header .brand-info h5 {
    color: #e74c3c;
    font-weight: 600;
    margin: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.compatibility-brand-header .brand-info i {
    font-size: 20px;
    color: #e74c3c;
}

.compatibility-brand-header .badge {
    font-size: 12px;
    padding: 4px 8px;
}

.compatibility-brand-header .collapse-icon {
    color: #666;
    transition: transform 0.3s ease;
    font-size: 14px;
    flex-shrink: 0;
    margin-left: 15px;
}

.compatibility-brand-header[aria-expanded="true"] .collapse-icon {
    transform: rotate(90deg);
}

.compatibility-group .collapse {
    border-top: none;
}

.compatibility-group .compatibility-table {
    margin-bottom: 0;
}

/* Product Main Image Responsive */
.product-main-image,
.product_d_slider .product_main_slider .slick-slide img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    object-fit: contain;
}

.product_d_slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.product_d_slider .product_main_slider {
    width: 100%;
    max-width: 100%;
}

.product_d_slider .product_main_slider .item {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.product_d_slider .product_main_slider .item img {
    width: 100% !important;
    height: auto;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .product_details_right {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .product-title {
        font-size: 22px;
    }
    
    .product-meta-info,
    .product-rating-section {
        padding-bottom: 15px;
    }
    
    .product-details-list li strong {
        min-width: 120px;
    }
    
    .product-tabs-nav .nav-item {
        margin-right: 5px;
    }
    
    .product-tabs-nav .nav-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .product-tabs-content {
        padding: 20px 10px;
    }
    
    .compatibility-brand-header {
        padding: 12px 15px;
    }
    
    .compatibility-brand-header .brand-info i {
        font-size: 16px;
    }
    
    .compatibility-table {
        font-size: 14px;
    }
    
    .compatibility-table th,
    .compatibility-table td {
        padding: 8px;
    }
    
    .product_d_slider {
        margin-bottom: 20px;
    }
    
    .product_main_slider .item {
        padding: 0 10px;
    }
    
    .product_d_slider .product_main_slider .item img {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .btn-add-to-cart,
    .btn-alert {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .main-price {
        font-size: 20px;
    }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .product_d_slider {
        width: 100%;
        max-width: 100%;
    }
    
    .product_d_slider .product_main_slider .item img {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Desktop responsive */
@media (min-width: 1025px) {
    .product_d_slider {
        width: 100%;
        max-width: 100%;
    }
    
    .product_d_slider .product_main_slider {
        width: 100%;
        max-width: 100%;
    }
    
    .product_d_slider .product_main_slider .item {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .product_d_slider .product_main_slider .item img {
        width: 100% !important;
        max-width: 100% !important;
    }
}
