/* Enhanced Single Product Page Styles */
.breadcrumb-section {
    background-color: var(--light-color);
    padding: 120px 0 40px 0;
    margin-top: 75px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-gray);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--text-gray);
}

.single-product-section {
    background-color: white;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f8f9fa;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.image-zoom-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-image-container:hover .image-zoom-indicator {
    opacity: 1;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.thumbnail-item.active {
    border-color: #b01302;
    box-shadow: 0 0 15px rgba(176, 19, 2, 0.3);
}

.thumbnail-item:hover {
    border-color: #056db6;
    transform: translateY(-2px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

/* Product Information */
.product-info {
    padding-left: 30px;
}

.product-badge {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.category-badge {
    background: linear-gradient(45deg, #b01302, #056db6);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-badge {
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    color: #ffc107;
    font-size: 1rem;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
}

.price-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #b01302;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: #b01302;
    margin-right: 15px;
}

.original-price {
    font-size: 1.2rem;
    color: #666;
    text-decoration: line-through;
    margin-right: 10px;
}

.savings {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.product-description,
.product-features,
.product-warranty {
    margin-bottom: 30px;
}

.product-description h4,
.product-features h4,
.product-warranty h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.3rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 8px;
}

.product-description p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.feature-list {
    display: grid;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.feature-item i {
    color: #28a745;
    font-size: 1.1rem;
}

.feature-item span {
    color: #333;
    font-size: 0.95rem;
}

/* Add to Cart Form */
.add-to-cart-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.quantity-section {
    margin-bottom: 25px;
}

.quantity-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    color: #b01302;
    transition: all 0.3s ease;
    width: 45px;
}

.qty-btn:hover {
    background: #b01302;
    color: white;
}

.quantity-controls input {
    border: none;
    padding: 12px 15px;
    width: 80px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    outline: none;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    min-width: 200px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn {
    background: linear-gradient(45deg, #b01302, #056db6);
    color: white;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(176, 19, 2, 0.3);
}

.buy-now-btn {
    background: #056db6;
    color: white;
}

.buy-now-btn:hover {
    background: #b01302;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(5, 109, 182, 0.3);
}

.warranty-info {
    display: grid;
    gap: 20px;
}

.warranty-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.warranty-item i {
    color: #b01302;
    font-size: 1.5rem;
    margin-top: 5px;
}

.warranty-item strong {
    display: block;
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
}

.warranty-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Product Specifications */
.product-specs {
    background-color: #f8f9fa;
}

.specs-wrapper h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.spec-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.spec-card h5 {
    color: #b01302;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.spec-list li:last-child {
    border-bottom: none;
}

.spec-list li strong {
    color: #333;
}

/* Related Products */
.related-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.related-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.related-product-card .product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: #f8f9fa;
}

.related-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.3s ease;
}

.related-product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: #b01302;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quick-view:hover {
    background: #056db6;
    color: white;
    transform: scale(1.05);
}

.related-product-card .product-details {
    padding: 25px;
    text-align: center;
}

.related-product-card .product-details h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-product-card .price .current {
    color: #b01302;
    font-weight: 700;
    font-size: 1.3rem;
}

.view-product {
    display: inline-block;
    margin-top: 15px;
    color: #056db6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.view-product:hover {
    color: #b01302;
}

/* Responsive Styles for Single Product */
@media (max-width: 992px) {
    .product-info {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .add-to-cart-btn,
    .buy-now-btn {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 100px 0 30px 0;
    }
    
    .main-product-image {
        height: 350px;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.4rem;
    }
    
    .add-to-cart-form {
        padding: 20px;
    }
    
    .spec-card {
        padding: 20px;
    }
    
    .related-product-card .product-image {
        height: 200px;
    }
}