/* Product Detail Page Styles */
.product-detail {
    margin-bottom: 60px;
}


/* Enhanced Product Images */
.product-image-container {
    margin-bottom: 30px;
    position: relative;
    width: 50%;
    padding-right: 15px;
    float: left;
    box-sizing: border-box;
}

/* Product Info Container */
.product-info-container {
    width: 50%;
    padding-left: 15px;
    float: left;
    box-sizing: border-box;
}

/* Main layout */
.product-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
    width: 100%;
    clear: both;
    overflow: hidden;
    /* Clearfix for floated children */
}

/* Main Image Slider */
.product-image-slider {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    background: #fff;
    height: 0;
    padding-bottom: 100%;
    /* Maintain aspect ratio */
}

.main-image-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.main-image-slide.active {
    opacity: 1;
    z-index: 2;
}

.main-image-slide img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.image-zoom-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.image-zoom-overlay:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
    opacity: 1;
}

.image-zoom-overlay i {
    font-size: 18px;
    color: #333;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    transform: translateY(-50%);
}

.slider-prev,
.slider-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.slider-prev i,
.slider-next i {
    font-size: 18px;
    color: #333;
}

/* Thumbnail Gallery */
.thumbnail-gallery-container {
    position: relative;
    margin: 10px 0;
    padding: 0 30px;
}

.thumbnail-gallery-wrapper {
    overflow: hidden;
    width: 100%;
}

.thumbnail-gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    gap: 10px;
    padding: 5px;
    transition: transform 0.3s ease;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.thumbnail-gallery::-webkit-scrollbar {
    display: none;
}

.thumb-item {
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumb-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.thumb-item.active {
    border-color: #D73F15;
    opacity: 1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-gallery-prev,
.thumbnail-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.thumbnail-gallery-prev {
    left: 0;
}

.thumbnail-gallery-next {
    right: 0;
}

.thumbnail-gallery-prev:hover,
.thumbnail-gallery-next:hover {
    background: #e5e5e5;
}

.thumbnail-gallery-prev i,
.thumbnail-gallery-next i {
    font-size: 12px;
    color: #555;
}

/* Fullscreen Image Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.fullscreen-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.fullscreen-modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.fullscreen-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fullscreen-modal-close i {
    font-size: 24px;
    color: white;
}

.fullscreen-modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.fullscreen-modal-prev,
.fullscreen-modal-next {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.fullscreen-modal-prev:hover,
.fullscreen-modal-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.fullscreen-modal-prev {
    margin-left: 20px;
}

.fullscreen-modal-next {
    margin-right: 20px;
}

.fullscreen-modal-prev i,
.fullscreen-modal-next i {
    font-size: 24px;
    color: white;
}

/* Product images */
.main-image {
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.05);
    filter: brightness(0.95);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.02);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image:hover .image-overlay {
    opacity: 1;
}

.fa-stack {
    color: #ffc107;
}

.zoom-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D73F15;
    font-size: 20px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-image:hover .zoom-icon {
    transform: translateY(0);
    opacity: 1;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumb-item {
    width: calc(20% - 8px);
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumb-item:hover,
.thumb-item.active {
    opacity: 1;
    border-color: #D73F15;
    transform: translateY(-2px);
}

.thumb-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product information */
.product-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    color: #333;
    position: relative;
    padding-right: 50px;
    padding-top: 5px;
    padding-bottom: 5px;

}

/* Wishlist Icon Button in Product Title */
.btn-wishlist-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 2px solid #D73F15;
    border-radius: 50%;
    background: #fff;
    color: #D73F15;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(215, 63, 21, 0.2);
    z-index: 10;
}

.btn-wishlist-icon:hover {
    background: #D73F15;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(215, 63, 21, 0.4);
}

.btn-wishlist-icon:active {
    transform: translateY(-50%) scale(0.95);
}

.btn-wishlist-icon i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.btn-wishlist-icon:hover i {
    transform: scale(1.1);
}

/* Responsive adjustments for wishlist icon */
@media (max-width: 768px) {
    .product-title {
        padding-right: 45px;
    }

    .btn-wishlist-icon {
        width: 36px;
        height: 36px;
    }

    .btn-wishlist-icon i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
        padding-right: 40px;
    }

    .btn-wishlist-icon {
        width: 32px;
        height: 32px;
    }

    .btn-wishlist-icon i {
        font-size: 14px;
    }
}

.product-model {
    color: #777;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rating {
    margin-right: 10px;
}

.rating .fa-star {
    color: #ffc107;
}

.rating .fa-star-o {
    color: #ccc;
}

.rating-links a {
    color: #D73F15;
    text-decoration: none;
    font-size: 14px;
}

/* Product Price */
.product-price {
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    position: relative;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    z-index: 10;
    animation: pulse-discount 2s infinite;
}

.discount-text {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

@keyframes pulse-discount {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }
}

.price-new {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.price-old {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.price-tax,
.price-points {
    font-size: 13px;
    color: #888;
    margin-top: 5px;
}

/* Quick Specs */
.quick-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.spec-item {
    display: flex;
    align-items: center;
    width: calc(50% - 8px);
}

.spec-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #D73F15;
    font-size: 18px;
}

.spec-text {
    flex: 1;
}

.spec-value {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: #333;
}

.spec-label {
    font-size: 12px;
    color: #777;
    display: block;
}

/* Radiator dimensions highlight */
.radiator-dimensions {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    background: #f8f9fc;
    margin-bottom: 15px;
    border: 1px solid #e8ecf7;
}

.spec-highlight {
    box-shadow: 0 2px 8px rgba(13, 98, 208, 0.08);
}

.spec-title {
    font-weight: 600;
    color: #D73F15;
    margin-bottom: 8px;
    font-size: 14px;
}

.spec-data {
    display: flex;
    flex-direction: column;
}

.dimension-value {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
    color: #333;
}

.dimension-x {
    color: #777;
    margin: 0 5px;
    font-weight: 400;
}

.dimension-labels {
    display: flex;
    font-size: 12px;
    color: #777;
}

.label-h {
    margin-right: 25px;
    margin-left: 10px;
}

.label-w {
    margin-right: 25px;
    margin-left: 30px;
}

.label-d {
    margin-left: 5px;
}

/* Stock status */
.stock-status {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.stock-icon {
    margin-right: 10px;
    font-size: 18px;
}

.in-stock {
    color: #28a745;
}

.out-of-stock {
    color: #dc3545;
}

/* Product Options */
.product-options {
    margin-bottom: 25px;
}

.product-options h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Add to cart section */
.add-to-cart-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.quantity-label {
    margin-right: 10px;
    font-weight: 600;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-control {
    width: 30px;
    height: 38px;
    border: none;
    background: #f5f5f5;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-control:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 50px;
    height: 38px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.btn-cart {
    padding: 10px 25px;
    height: 45px;
    background: #36445a;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-cart:hover {
    background: #D73F15;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3);
}

.btn-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(230, 57, 70, 0.3);
}

.btn-cart i {
    margin-right: 8px;
}

.btn-cart.loading {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.8;
}

.cart-status-message {
    width: 100%;
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.cart-status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.cart-status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

@keyframes cart-success {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.cart-animation {
    animation: cart-success 0.5s ease-in-out;
}

/* Old wishlist/compare styles removed - now using icon button in product title */

/* Accordion sections */
.accordion-sections {
    margin-top: 30px;
}

.accordion-section {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #fff;
    overflow: hidden;
}

.accordion-header {
    padding: 15px 20px;
    background: #dbdbdb;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.accordion-section.active .accordion-header {
    background: #edf2f7;
}

.accordion-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.accordion-icon:after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 18px;
    color: #777;
    transition: transform 0.3s;
}

.accordion-section.active .accordion-icon:after {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 20px;
    display: none;
    border-top: 1px solid #eee;
}

.accordion-section.active .accordion-content {
    display: block;
}

/* Description section */
.product-description {
    line-height: 1.6;
    color: #555;
}

.product-description h2,
.product-description h3 {
    margin: 15px 0 10px;
    color: #333;
}

.product-description ul,
.product-description ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

/* Specifications table */
.radiator-specs {
    width: 100%;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    overflow: hidden;
    font-size: 14px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.spec-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e1e1e1;
}

.spec-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: #444;
}

.spec-group td {
    background-color: #edf2f7;
    font-weight: 700;
    color: #333;
}

/* Delivery & Returns Styling */
.delivery-info {
    padding: 15px 0;
}

.delivery-section,
.returns-section {
    margin-bottom: 30px;
}

.delivery-section h3,
.returns-section h3 {
    color: #D73F15;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8ecf7;
}

.delivery-section h4 {
    color: #333;
    font-size: 18px;
    margin: 20px 0 10px;
    font-weight: 600;
}

.delivery-section p,
.returns-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #444;
}

.delivery-section strong,
.returns-section strong {
    font-weight: 600;
    color: #333;
}

/* BTU Calculator */
.btu-calculator {
    padding: 20px;
    background: #f8f9fc;
    border-radius: 8px;
    border: 1px solid #e8ecf7;
}

.calc-intro {
    margin-bottom: 20px;
    text-align: center;
}

.calc-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.calc-description {
    color: #777;
}

.calc-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.calc-field {
    flex: 1;
    min-width: 120px;
}

.calc-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.calc-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.calc-field input:focus {
    border-color: #D73F15;
    outline: none;
}

.btn-calculate {
    display: block;
    width: 100%;
    padding: 12px;
    background: #D73F15;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-calculate:hover {
    background: #0950a9;
}

#btu-result {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #e8ecf7;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 10px 0;
}

#btu-value,
#watts-value {
    color: #D73F15;
    transition: all 0.3s ease;
}

.highlight {
    animation: pulse 1.5s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: #d73f15;
    }

    100% {
        transform: scale(1);
    }
}

.product-match {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.match-message {
    font-size: 16px;
    margin-bottom: 10px;
}

.match-good {
    color: #28a745;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.match-ok {
    color: #17a2b8;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.match-low {
    color: #dc3545;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

.match-high {
    color: #fd7e14;
    font-weight: 600;
    display: block;
    margin-top: 5px;
}

/* Enhanced Review Section Styling */
.accordion-section .accordion-content #review {
    margin-bottom: 25px;
}

/* Enhanced Star Rating */
.rating {
    display: inline-flex;
    margin-right: 15px;
}

.rating .fa-star {
    color: #FFD700;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.2));
    font-size: 18px;
    margin-right: 2px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.rating .fa-star-o {
    color: #d9d9d9;
    font-size: 18px;
    margin-right: 2px;
}

.rating:hover .fa-star {
    transform: scale(1.1);
}

/* Reviews List Styling */
.review-list {
    margin-top: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.review-list-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-list-item .author {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.review-list-item .date {
    color: #888;
    font-size: 13px;
    font-weight: normal;
}

.review-list-item .rating {
    margin: 8px 0;
}

.review-list-item .text {
    color: #555;
    line-height: 1.5;
}

/* Enhanced Review Form */
#form-review {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#form-review h2 {
    font-size: 24px;
    color: #2A3546;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #D73F15;
    position: relative;
    font-weight: 700;
}

#form-review h2:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #D73F15;
}

#form-review .form-group {
    margin-bottom: 25px;
}

#form-review .form-group.required .control-label:after {
    content: ' *';
    color: #e74c3c;
    font-weight: bold;
}

#form-review label.control-label {
    font-weight: 600;
    color: #2A3546;
    margin-bottom: 10px;
    display: block;
    font-size: 15px;
    letter-spacing: 0.3px;
}

#form-review .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#form-review .form-control:focus {
    border-color: #D73F15;
    box-shadow: 0 0 0 4px rgba(215, 63, 21, 0.1);
    outline: none;
    background: #fff;
}

#form-review textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

#form-review .help-block {
    color: #6c757d;
    font-size: 13px;
    margin-top: 8px;
    font-style: italic;
}

/* Enhanced Star Rating System - Comprehensive Approach */
.ratings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}



.rating-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.rating-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.rating-option .star-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 60px;
    position: relative;
    background: transparent;
    border: 2px solid transparent;
}

.rating-option .star-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(215, 63, 21, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.rating-option .star-icon {
    font-size: 32px;
    color: #ddd;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 8px;
    position: relative;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}



/* Hover Effects - Progressive Highlighting */
.ratings:hover .rating-option .star-icon {
    color: #ddd;
    transform: scale(0.9);
}

.rating-option:hover .star-container::before {
    opacity: 1;
}

.rating-option:hover .star-container {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(215, 63, 21, 0.3);
    box-shadow: 0 8px 25px rgba(215, 63, 21, 0.2);
}

.rating-option:hover .star-icon {
    color: #FFD700 !important;
    transform: scale(1.2) rotate(5deg) !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3));
}



/* Progressive highlighting - all stars up to hovered one */
.rating-option:hover~.rating-option .star-icon {
    color: #ddd !important;
    transform: scale(0.9) !important;
}

.rating-option:nth-child(1):hover~.rating-option:nth-child(n+3) .star-icon,
.rating-option:nth-child(2):hover~.rating-option:nth-child(n+4) .star-icon,
.rating-option:nth-child(3):hover~.rating-option:nth-child(n+5) .star-icon {
    color: #ddd !important;
    transform: scale(0.9) !important;
}

/* Highlight all stars up to the hovered one */
.rating-option:nth-child(n+1):hover,
.rating-option:nth-child(1):hover~.rating-option:nth-child(-n+1),
.rating-option:nth-child(2):hover~.rating-option:nth-child(-n+2),
.rating-option:nth-child(3):hover~.rating-option:nth-child(-n+3),
.rating-option:nth-child(4):hover~.rating-option:nth-child(-n+4),
.rating-option:nth-child(5):hover~.rating-option:nth-child(-n+5) {
    /* This will be handled by JavaScript for better control */
}

/* Selected State - Persistent highlighting */
.rating-option input[type="radio"]:checked+.star-container {
    background: linear-gradient(135deg, rgba(215, 63, 21, 0.15) 0%, rgba(255, 215, 0, 0.15) 100%);
    border: 2px solid #D73F15;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(215, 63, 21, 0.25);
}

.rating-option input[type="radio"]:checked+.star-container .star-icon {
    color: #FFD700;
    transform: scale(1.15);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    filter: drop-shadow(0 3px 6px rgba(255, 215, 0, 0.3));
}



/* Active/Click Animation */
.rating-option:active .star-container {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.rating-option:active .star-icon {
    transform: scale(1.1);
}

/* Rating Quality Indicators */
.rating-option:nth-child(1) .star-container:hover {
    border-color: #dc3545;
}

.rating-option:nth-child(2) .star-container:hover {
    border-color: #fd7e14;
}

.rating-option:nth-child(3) .star-container:hover {
    border-color: #ffc107;
}

.rating-option:nth-child(4) .star-container:hover {
    border-color: #20c997;
}

.rating-option:nth-child(5) .star-container:hover {
    border-color: #28a745;
}



/* Pulse animation for unselected state */
@keyframes pulse-star {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.ratings:hover .rating-option:not(:hover) .star-icon {
    animation: pulse-star 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ratings {
        gap: 8px;
        padding: 15px;
        margin: 15px 0 20px 0;
    }

    .rating-option .star-container {
        min-width: 50px;
        padding: 10px;
    }

    .rating-option .star-icon {
        font-size: 28px;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .ratings {
        gap: 6px;
        padding: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .rating-option .star-container {
        min-width: 45px;
        padding: 8px;
    }

    .rating-option .star-icon {
        font-size: 24px;
        margin-bottom: 4px;
    }
}

/* Related products */
.related-products {
    margin-top: 40px;
    padding: 20px 0;
}

.related-products h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.related-products h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #D73F15;
}

.related-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-products .product-card {
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-products .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-products .product-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f8f9fa;
}

.related-products .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.related-products .product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.related-products .product-details {
    padding: 15px;
}

.related-products .product-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.related-products .product-name a {
    color: #333;
    text-decoration: none;
}

.related-products .product-name a:hover {
    color: #D73F15;
}

.related-products .product-price {
    margin: 10px 0;
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

.related-products .price-old {
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.related-products .price-new {
    color: #D73F15;
}

.related-products .product-buttons {
    margin-top: 15px;
}

.related-products .product-buttons .btn {
    width: 100%;
    padding: 8px 15px;
    background: #D73F15;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s;
}

.related-products .product-buttons .btn:hover {
    background: #e74c3c;
}

/* Default Theme Blog Related Products */
.grid-holder.grid .product-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-holder.grid .product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.grid-holder.grid .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f8f9fa;
}

.grid-holder.grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.grid-holder.grid .product-item:hover .product-image img {
    transform: scale(1.05);
}

.grid-holder.grid .product-info {
    padding: 15px;
}

.grid-holder.grid .product-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.grid-holder.grid .product-name a {
    color: #333;
    text-decoration: none;
}

.grid-holder.grid .product-name a:hover {
    color: #D73F15;
}

.grid-holder.grid .product-price {
    margin: 10px 0;
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.grid-holder.grid .price-old {
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.grid-holder.grid .price-new {
    color: #D73F15;
}

.grid-holder.grid .product-actions {
    margin-top: 15px;
}

.grid-holder.grid .product-actions .btn {
    width: 100%;
    padding: 8px 15px;
    background: #D73F15;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.2s;
}

.grid-holder.grid .product-actions .btn:hover {
    background: #e74c3c;
}

/* Grid system for different columns */
.grid1 .product-item {
    width: 100%;
}

.grid2 .product-item {
    width: calc(50% - 10px);
}

.grid3 .product-item {
    width: calc(33.333% - 13.333px);
}

.grid4 .product-item {
    width: calc(25% - 15px);
}

.grid5 .product-item {
    width: calc(20% - 16px);
}

/* Mobile Optimizations for Blog Related Products */
@media (max-width: 768px) {
    .related-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .related-products .product-card {
        font-size: 14px;
    }

    .related-products .product-thumb {
        aspect-ratio: 1/1;
    }

    .related-products .product-thumb img {
        object-fit: cover;
        image-rendering: auto;
    }

    .related-products .product-details {
        padding: 12px;
    }

    .related-products .product-name {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .related-products .product-price {
        font-size: 16px;
        margin: 8px 0;
    }

    .related-products .product-buttons .btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Default theme mobile adjustments */
    .grid-holder.grid .product-item {
        width: calc(50% - 10px) !important;
        margin-right: 10px;
        margin-bottom: 15px;
    }

    .grid-holder.grid .product-image {
        aspect-ratio: 1/1;
    }

    .grid-holder.grid .product-image img {
        object-fit: cover;
        image-rendering: auto;
    }

    .grid-holder.grid .product-info {
        padding: 12px;
    }

    .grid-holder.grid .product-name {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .grid-holder.grid .product-price {
        font-size: 16px;
        margin: 8px 0;
    }

    .grid-holder.grid .product-actions .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .related-product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .related-products .product-card {
        max-width: 300px;
        margin: 0 auto;
    }

    .related-products .product-thumb {
        aspect-ratio: 16/9;
    }

    /* Default theme mobile adjustments */
    .grid-holder.grid .product-item {
        width: 100% !important;
        margin-right: 0;
    }

    .grid-holder.grid .product-image {
        aspect-ratio: 16/9;
    }
}

/* Lightbox styles */
.product-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    font-size: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

body.no-scroll {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .product-container {
        flex-direction: column;
    }

    .product-image-container,
    .product-info-container {
        width: 100%;
        padding: 0;
        float: none;
    }

    .product-image-container {
        margin-bottom: 20px;
    }

    .main-image {
        height: auto;
    }

    .thumb-item {
        width: 70px;
        height: 70px;
    }

    .radiator-dimensions {
        width: 100%;
    }

    .dimension-value {
        font-size: 18px;
    }

    /* Discount badge responsive */
    .discount-badge {
        top: 14px;
        right: 10px;
        padding: 5px 10px;
        font-size: 13px;

    }
}

@media (max-width: 767px) {
    .quick-specs {
        flex-wrap: wrap;
    }

    .spec-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .calc-form {
        flex-direction: column;
    }

    .calc-field {
        width: 100%;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }

    .delivery-section h3,
    .returns-section h3 {
        font-size: 20px;
    }

    .delivery-section h4 {
        font-size: 18px;
    }
}

/* Specifications Accordion */
.radiator-specs-container {
    padding: 10px 0;
}

.spec-group {
    margin-bottom: 25px;
}

.spec-group-title {
    font-size: 18px;
    color: #D73F15;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8ecf7;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 10px 15px;
}

.spec-table td:first-child {
    width: 40%;
    font-weight: 600;
    color: #555;
}

.spec-table td:last-child {
    color: #333;
}

.technical-specs {
    margin-bottom: 20px;
}

.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.tech-spec-item {
    background: #f8f9fc;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #e8ecf7;
}

.spec-name {
    font-size: 13px;
    color: #777;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Performance Summary */
.spec-summary {
    background: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #e8ecf7;
}

.summary-title {
    font-size: 16px;
    font-weight: 600;
    color: #D73F15;
    margin-bottom: 15px;
    text-align: center;
}

.summary-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.summary-item {
    display: flex;
    align-items: center;
    width: 220px;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #D73F15;
    font-size: 18px;
}

.summary-content {
    flex: 1;
}

.summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.summary-label {
    font-size: 12px;
    color: #777;
}

.important-point {
    background-color: #fff8e6;
    border-left: 4px solid #f7941d;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.important-point h4 {
    color: #f7941d;
    margin-top: 0;
    margin-bottom: 8px;
    font-weight: 600;
}

.important-point p {
    margin-bottom: 0;
}

/* Delivery & Returns Highlight Box */
.key-point-highlight {
    background-color: #f9f9f9;
    border-left: 4px solid #D73F15;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.key-point-highlight.warning {
    border-left-color: #e74c3c;
}

.key-point-highlight.info {
    border-left-color: #3498db;
}

.key-point-highlight p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

.key-point-highlight .highlight-icon {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #D73F15;
    font-size: 18px;
}

.key-point-highlight.warning .highlight-icon {
    color: #e74c3c;
}

.key-point-highlight.info .highlight-icon {
    color: #3498db;
}

/* Delivery & Returns Section */
.delivery-info h3,
.returns-section h3 {
    color: #D73F15;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-top: 25px;
}

.delivery-section,
.returns-section {
    margin-bottom: 30px;
}

/* Delivery and Returns Highlights */
.delivery-highlight {
    background-color: #f8f9fa;
    border-left: 4px solid #1a73e8;
    margin: 15px 0;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.delivery-highlight p {
    margin: 0;
    color: #333;
}

.delivery-highlight strong {
    color: #1a73e8;
}

.returns-section .delivery-highlight {
    border-left-color: #e53935;
}

.returns-section .delivery-highlight strong {
    color: #e53935;
}

/* BTU Calculator Tab Link */
.btu-calculator-tab {
    display: block;
    text-decoration: none;
    color: inherit;
}

.btu-calculator-tab:hover,
.btu-calculator-tab:focus {
    text-decoration: none;
    color: inherit;
}

.btu-calculator-tab .accordion-header {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btu-calculator-tab:hover .accordion-header {
    background-color: #f5f5f5;
}

.btu-calculator-tab .accordion-title {
    color: #333;
}

.btu-calculator-tab:hover .accordion-title {
    color: #23527c;
}

.btu-calculator-tab .fa-external-link {
    margin-left: 5px;
    font-size: 14px;
    opacity: 0.8;
}

/* Star Rating Animations */
@keyframes star-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
        color: #FFC107;
    }

    100% {
        transform: scale(1);
    }
}

.rating .fa-star.animated {
    animation: star-pulse 0.6s ease-in-out;
}

.rating-option.hover span {
    background: #fff8e1;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.rating-option.hover span::before {
    color: #FFC107;
    transform: scale(1.15);
}

/* Review animations */
@keyframes review-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-list-item {
    animation: review-fade-in 0.5s ease-out;
    animation-fill-mode: both;
}

.review-list-item:nth-child(2) {
    animation-delay: 0.1s;
}

.review-list-item:nth-child(3) {
    animation-delay: 0.2s;
}

.review-list-item:nth-child(4) {
    animation-delay: 0.3s;
}

.review-list-item:nth-child(5) {
    animation-delay: 0.4s;
}

/* Product Rating in Header */
.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.product-rating .rating {
    margin-right: 10px;
    margin-bottom: 0;
}

.product-rating .rating .fa-star,
.product-rating .rating .fa-star-o {
    color: #ffc107;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
    font-size: 24px;
    margin-right: 2px;
    transition: transform 0.2s ease;
}

.product-rating .rating .fa-star-o {
    color: #d9d9d9;
}

.product-rating .rating:hover .fa-star {
    transform: scale(1.1);
}

.rating-links a {
    color: #D73F15;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.rating-links a:hover {
    color: #0950a9;
    text-decoration: underline;
}

/* Enhanced Stock Status Display - Button Style */
.enhanced-stock-status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    white-space: nowrap;
    color: #ffffff !important;
    text-align: center;
    min-height: 45px;
}

.enhanced-stock-status .status-icon {
    font-size: 16px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: #ffffff !important;
}

.enhanced-stock-status .status-icon i {
    color: #ffffff !important;
}

.enhanced-stock-status .status-text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    flex: 1;
    text-align: center;
}

/* In Stock - Clean Green like the guarantee button */
.enhanced-stock-status.in-stock {
    background: #22c55e !important;
    color: #ffffff !important;
}

.enhanced-stock-status.in-stock .status-icon,
.enhanced-stock-status.in-stock .status-icon i {
    color: #ffffff !important;
}

.enhanced-stock-status.in-stock .status-text {
    color: #ffffff !important;
}

/* Limited Stock - Orange/Yellow Warning */
.enhanced-stock-status.limited-stock {
    background: #f59e0b !important;
    color: #ffffff !important;
}

.enhanced-stock-status.limited-stock .status-icon,
.enhanced-stock-status.limited-stock .status-icon i {
    color: #ffffff !important;
}

.enhanced-stock-status.limited-stock .status-text {
    color: #ffffff !important;
}

/* Out of Stock - Clean Red */
.enhanced-stock-status.out-of-stock {
    background: #ef4444 !important;
    color: #ffffff !important;
}

.enhanced-stock-status.out-of-stock .status-icon,
.enhanced-stock-status.out-of-stock .status-icon i {
    color: #ffffff !important;
}

.enhanced-stock-status.out-of-stock .status-text {
    color: #ffffff !important;
}

/* Pre-order - Clean Blue */
.enhanced-stock-status.pre-order {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.enhanced-stock-status.pre-order .status-icon,
.enhanced-stock-status.pre-order .status-icon i {
    color: #ffffff !important;
}

.enhanced-stock-status.pre-order .status-text {
    color: #ffffff !important;
}

/* No Information - Neutral Gray */
.enhanced-stock-status.no-information {
    background: #6b7280 !important;
    color: #ffffff !important;
}

.enhanced-stock-status.no-information .status-icon,
.enhanced-stock-status.no-information .status-icon i {
    color: #ffffff !important;
}

.enhanced-stock-status.no-information .status-text {
    color: #ffffff !important;
}

/* Hover effects for all stock statuses */
.enhanced-stock-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.enhanced-stock-status.in-stock:hover {
    background: #16a34a !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.enhanced-stock-status.limited-stock:hover {
    background: #d97706 !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.enhanced-stock-status.out-of-stock:hover {
    background: #dc2626 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.enhanced-stock-status.pre-order:hover {
    background: #2563eb !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.enhanced-stock-status.no-information:hover {
    background: #4b5563 !important;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* Responsive adjustments for enhanced stock status */
@media (max-width: 768px) {
    .enhanced-stock-status {
        padding: 10px 16px;
        margin: 12px 0;
        font-size: 13px;
        min-height: 40px;
    }

    .enhanced-stock-status .status-icon {
        font-size: 14px;
        width: 14px;
        height: 14px;
        margin-right: 6px;
    }

    .enhanced-stock-status .status-text {
        font-size: 13px;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 480px) {
    .enhanced-stock-status {
        padding: 8px 14px;
        margin: 10px 0;
        font-size: 12px;
        min-height: 36px;
    }

    .enhanced-stock-status .status-icon {
        font-size: 12px;
        width: 12px;
        height: 12px;
        margin-right: 5px;
    }

    .enhanced-stock-status .status-text {
        font-size: 12px;
        letter-spacing: 0.2px;
    }
}

.add-to-cart-section .cart-status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.add-to-cart-section .cart-status-message.success {
    background-color: rgba(76, 175, 80, 0.15);
    border: 1px solid #4CAF50;
    color: #2E7D32;
}

.add-to-cart-section .cart-status-message.error {
    background-color: rgba(244, 67, 54, 0.15);
    border: 1px solid #F44336;
    color: #C62828;
}

.btn-cart.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Cart animation */
#cart.cart-animation {
    animation: cartPulse 0.5s ease;
}

@keyframes cartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Out of Stock Button */
.btn-cart.out-of-stock-btn {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-cart.out-of-stock-btn:hover,
.btn-cart.out-of-stock-btn:focus {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #999;
}

.quantity-control[disabled],
.quantity-input[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Downloads Section */
.downloads-section {
    padding: 15px 0;
}

.downloads-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.downloads-table thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.downloads-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    border-bottom: 2px solid #D73F15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.downloads-table th.download-icon-col {
    width: 60px;
    text-align: center;
    padding: 15px 10px;
}

.downloads-table th.download-name-col {
    width: auto;
    min-width: 250px;
}

.downloads-table th.download-size-col {
    width: 100px;
    text-align: center;
}

.downloads-table th.download-action-col {
    width: 140px;
    text-align: center;
}

.downloads-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.downloads-table tbody tr:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.downloads-table tbody tr:last-child {
    border-bottom: none;
}

.downloads-table td {
    padding: 15px 20px;
    vertical-align: middle;
}

.download-icon {
    text-align: center;
    padding: 15px 10px !important;
}

.download-icon i {
    font-size: 24px;
    color: #D73F15;
    transition: all 0.3s ease;
}

.download-row:hover .download-icon i {
    transform: scale(1.1);
    color: #c62d16;
}

.download-name {
    padding-right: 20px !important;
}

.file-name {
    font-weight: 600;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
    word-break: break-word;
}

.download-size {
    text-align: center;
}

.file-size {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.download-action {
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #D73F15;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #D73F15;
    min-width: 100px;
}

.download-btn:hover {
    background: #c62d16;
    border-color: #c62d16;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215, 63, 21, 0.3);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn i {
    margin-right: 6px;
    font-size: 12px;
}

.download-btn .btn-text {
    font-weight: 500;
}

/* Downloads responsive */
@media (max-width: 768px) {

    .downloads-table th,
    .downloads-table td {
        padding: 12px 15px;
    }

    .downloads-table th.download-icon-col,
    .download-icon {
        padding: 12px 8px !important;
    }

    .downloads-table th.download-name-col {
        min-width: 200px;
    }

    .file-name {
        font-size: 14px;
    }

    .download-icon i {
        font-size: 20px;
    }

    .download-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 80px;
    }

    .download-btn i {
        font-size: 11px;
        margin-right: 4px;
    }
}

@media (max-width: 480px) {
    .downloads-table {
        font-size: 13px;
    }

    .downloads-table th,
    .downloads-table td {
        padding: 10px 12px;
    }

    .downloads-table th {
        font-size: 12px;
    }

    .downloads-table th.download-name-col {
        min-width: 150px;
    }

    .file-name {
        font-size: 13px;
        line-height: 1.3;
    }

    .download-icon i {
        font-size: 18px;
    }

    .file-size {
        font-size: 11px;
        padding: 3px 8px;
    }

    .download-btn {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 70px;
    }

    .download-btn .btn-text {
        display: none;
    }

    .download-btn i {
        margin-right: 0;
        font-size: 12px;
    }
}

.review-total {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.review-total .count {
    color: #D73F15;
}

/* Review pagination */
.review-pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination-link {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-link:hover,
.pagination-link.active {
    background: #D73F15;
    color: white;
}

/* No reviews message */
.no-reviews {
    text-align: center;
    padding: 40px 30px;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin: 20px 0;
}

.no-reviews .fa {
    font-size: 48px;
    color: #D73F15;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-reviews p {
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Review loading states */
.review-loading,
.review-error {
    text-align: center;
    padding: 30px 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.review-loading {
    background: #f0f8ff;
    color: #2196F3;
}

.review-loading i {
    font-size: 24px;
    margin-right: 10px;
}

.review-error {
    background: #fff5f5;
    color: #e53e3e;
}

.review-error i {
    font-size: 24px;
    margin-right: 10px;
}

/* Review pagination styling */
.review-pagination {
    margin: 20px 0;
    text-align: center;
}

.review-pagination .pagination {
    display: inline-block;
    margin: 0;
}

.review-pagination .pagination li {
    display: inline-block;
    margin: 0 2px;
}

.review-pagination .pagination li a,
.review-pagination .pagination li span {
    display: block;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.review-pagination .pagination li a:hover {
    background: #D73F15;
    color: #fff;
    border-color: #D73F15;
}

.review-pagination .pagination li.active span {
    background: #D73F15;
    color: #fff;
    border-color: #D73F15;
}

.review-pagination .pagination li.disabled span {
    color: #999;
    background: #f5f5f5;
    cursor: not-allowed;
}

/* Form validation styles */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: #e53e3e;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.1);
}

.text-danger {
    color: #e53e3e !important;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Enhanced alert styling */
.alert {
    margin: 15px 0;
    border-radius: 6px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert i {
    margin-right: 8px;
}

.alert .close {
    opacity: 0.7;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.alert .close:hover {
    opacity: 1;
}

/* Review notification area */
.review-notifications {
    margin: 25px 0;
}

.review-notifications .alert {
    margin: 15px 0;
    animation: slideInFromTop 0.3s ease-out;
}

/* Notifications above form styling */
#form-review .alert {
    margin: 20px 0;
    animation: slideInFromTop 0.3s ease-out;
}

/* Ensure proper spacing between notifications and form */
.review-form-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f1f3f4;
}

/* Add spacing when notifications appear before form */
#form-review .alert+* {
    margin-top: 20px;
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Review Section Header */
.accordion-section .accordion-content {
    background: #fff;
}

/* Enhanced Reviews Display */
.review-list {
    margin-top: 20px;
    border-bottom: none;
    padding-bottom: 0;
}

.review-list-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.review-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #D73F15;
}

.review-list-item .author {
    font-weight: 700;
    color: #2A3546;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
}

.review-list-item .date {
    color: #6c757d;
    font-size: 13px;
    font-weight: 500;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.review-list-item .rating {
    margin: 12px 0;
}

.review-list-item .rating .fa-star {
    color: #FFD700;
    font-size: 16px;
    margin-right: 2px;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.review-list-item .rating .fa-star-o {
    color: #ddd;
    font-size: 16px;
    margin-right: 2px;
}

.review-list-item .text {
    color: #495057;
    line-height: 1.6;
    font-size: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f3f4;
}

/* Review Form Container */
.review-form-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f1f3f4;
}

/* Success/Error Messages */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert .fa {
    margin-right: 8px;
    font-size: 16px;
}

/* Login Message Styling */
.review-login-message {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: #856404;
    font-weight: 500;
}

.review-login-message a {
    color: #D73F15;
    text-decoration: none;
    font-weight: 600;
}

.review-login-message a:hover {
    text-decoration: underline;
}

/* Captcha Styling */
.captcha-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 15px 0;
}

/* Button Container */
.buttons {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
}

.pull-right {
    text-align: right;
}

/* Form Validation Errors */
.text-danger {
    color: #e74c3c !important;
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

.form-group.has-error .form-control {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .review-list-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .review-list-item .author {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .review-list-item .date {
        align-self: flex-end;
    }

    .no-reviews {
        padding: 30px 20px;
    }

    .no-reviews .fa {
        font-size: 40px;
    }

    .no-reviews p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .review-list-item {
        padding: 12px;
    }

    .review-list-item .text {
        font-size: 14px;
    }

    .alert {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Legacy stock-info class compatibility - redirect to new enhanced styling */
.stock-info {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 20px;
    margin: 15px 0;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none;
    width: fit-content;
    white-space: nowrap;
    background: #22c55e;
    color: #ffffff;
}

.stock-info.out-of-stock {
    background: #ef4444;
}

.stock-info.limited-stock {
    background: #f59e0b;
}

.stock-info.pre-order {
    background: #3b82f6;
}

.stock-info:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stock-info.out-of-stock:hover {
    background: #dc2626;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.stock-info.limited-stock:hover {
    background: #d97706;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.stock-info.pre-order:hover {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.stock-info:hover {
    background: #16a34a;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Payment Method Images Styling */
.payment-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.payment-icons .payment-image {
    height: 40px;
    max-width: 80px;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 5px;
    background: white;
    transition: all 0.3s ease;
}

.payment-icons .payment-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #d73f15;
}

.payment-method-images {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.payment-method-images .payment-image {
    height: 30px;
    max-width: 60px;
    object-fit: contain;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 3px;
    background: white;
}

/* Responsive design for payment images */
@media (max-width: 768px) {
    .payment-icons {
        justify-content: center;
        gap: 10px;
    }

    .payment-icons .payment-image {
        height: 35px;
        max-width: 70px;
    }

    .payment-method-images .payment-image {
        height: 25px;
        max-width: 50px;
    }
}

/* Special styling for Stripe logo to maintain brand colors */
.payment-image[alt*="Stripe"] {
    background: #635bff;
    border-color: #635bff;
}

.payment-image[alt*="Bank Transfer"] {
    background: #f8f9fa;
    border-color: #dee2e6;
}

.navbar-header {
    background-color: transparent;
}

.navbar-toggle {
    background-color: #36445a;
    border: none;
    margin-right: 0;
    padding: 12px 10px;
    position: relative;
    z-index: 1060;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: -4px;
}

.more-link {
    background-color: #36445a !important;
}