/* Product Details Page Styles */

:root {
    --primary-color: #0F4793;
    --primary-dark: #0f045e;
    --primary-light: #b0d0ff;
    --secondary-color: #FF9800;
    --light-bg: #F5F5F5;
    --dark-color: #333333;
    --white: #FFFFFF;
}

/* Breadcrumb */
.breadcrumb-section {
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">" !important;
    color: var(--primary-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Product Images */
.main-image {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 10px;
    background: var(--white);
    
}
.main-image img {
    height: 330px;
}
.thumbnail-img {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    padding: 5px;
    height: 90px;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.product-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
}

/* Product Info */
.category-badge {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-title {
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.3;
}

.product-rating .stars {
    font-size: 1.1rem;
}

.rating-text {
    color: var(--primary-color);
    font-weight: 600;
}

.reviews-count {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Product Price Card */
.product-price-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.current-price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2.5rem;
}

.current-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.old-price {
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

.discount-percentage {
    /* background: #dc3545; */
    /* color: white; */
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.stock-status .badge {
    font-size: 0.9rem;
}

/* Product Description */
.product-description .lead {
    color: #495057;
    font-weight: 500;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.features-list li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
}

/* Product Specifications */
/* .section-title {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
} */

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-label {
    color: #6c757d;
    font-weight: 500;
}

.spec-value {
    color: var(--dark-color);
    font-weight: 600;
}

/* Purchase Options */
.purchase-options .card {
    border-radius: 15px;
}

.quantity-control .input-group {
    width: 140px;
}

.quantity-control .btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #ced4da;
}

.quantity-control .form-control {
    text-align: center;
    border-color: #ced4da;
    height: 40px;
}

.purchase-options .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

.delivery-info {
    font-size: 0.9rem;
}

/* Product Tabs */
.product-tabs-wrapper {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    padding: 0 1rem;
    background: #f8f9fa;
}

.nav-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background: transparent;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom: 3px solid var(--primary-color);
}

.tab-content {
    min-height: 400px;
}

/* Instructions List */
.instructions-list {
    padding-right: 1.5rem;
}

.instructions-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #dee2e6;
}

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

/* Safety Cards */
.safety-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
}

.safety-card:hover {
    transform: translateY(-5px);
}

.safety-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.emergency-contact {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    font-weight: 500;
}

/* Reviews */
.review-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.overall-rating {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.rating-bars {
    padding: 0.5rem 0;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    gap: 1rem;
}

.rating-bar .progress {
    flex: 1;
    height: 10px;
    border-radius: 5px;
}

.rating-bar span:first-child {
    width: 80px;
    color: #6c757d;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: left;
    color: var(--dark-color);
    font-weight: 500;
}

.review-item {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.reviewer-info h6 {
    color: var(--dark-color);
    font-weight: 600;
}

.review-rating .stars {
    font-size: 0.9rem;
}

.review-body h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.review-body p {
    color: #6c757d;
    line-height: 1.6;
}

/* Review Form */
.rating-input {
    direction: ltr;
    text-align: right;
}

.rating-star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: 0.2rem;
}

.rating-star:hover,
.rating-star.active {
    color: #ffc107;
}

/* Related Products */
.related-products .section-header {
    text-align: center;
}

.related-products .section-title {
    display: inline-block;
    padding-bottom: 0.5rem;
}

.related-products .section-title::after {
    right: 50%;
    transform: translateX(50%);
    width: 100px;
}

/* FAQ */
.faq-section .section-header {
    text-align: center; 
}
.faq-section {
  position: relative;
  /* overflow: hidden; */
  padding-block: 20px;
  color: #fff;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url("../img/slider-banner (1).jpg");

  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;

}

.faq-section .section-title::after {
    right: 50%;
    transform: translateX(50%);
    width: 100px;
}

.accordion {
    opacity: 0.9;
}
.accordion-button {
    font-weight: 600;
    color: var(--dark-color);
    padding: 1rem 1.25rem;
    background: var(--white);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: rgba(15, 71, 147, 0.05);
    border-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(15, 71, 147, 0.25);
    border-color: var(--primary-color);
}

.accordion-body {
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding-right: 3rem !important;
    padding-left: 3rem !important;
}

/* Quick Info */
.quick-info .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #dee2e6;
}

.quick-info .info-item:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .product-title {
        font-size: 1.75rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .main-image {
        margin-bottom: 1.5rem;
    }
    
    .product-price-card {
        text-align: center;
    }
    
    .spec-item {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .rating-bar {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .rating-bar .progress {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.75rem;
    }
    
    .purchase-options .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .safety-card {
        padding: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-images,
.product-info {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar Styling */
.product-tabs-wrapper .tab-content {
    max-height: 500px;
    overflow-y: auto;
}

.product-tabs-wrapper .tab-content::-webkit-scrollbar {
    width: 8px;
}

.product-tabs-wrapper .tab-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.product-tabs-wrapper .tab-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.product-tabs-wrapper .tab-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}