/* Product Detail Page Styles - Amazon-inspired */

/* Product Detail Layout */
.product-detail-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

/* Breadcrumb Navigation */
.amazon-breadcrumb {
    margin-bottom: 15px;
}

.amazon-breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.amazon-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.amazon-breadcrumb li:not(:last-child)::after {
    content: '>';
    margin: 0 8px;
    color: #888;
}

.amazon-breadcrumb a {
    color: #007185;
    text-decoration: none;
}

.amazon-breadcrumb a:hover {
    color: #C7511F;
    text-decoration: underline;
}

.amazon-breadcrumb li:last-child {
    color: #565959;
    font-weight: 500;
}

/* Product Detail Container */
.product-detail-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
    }
}

/* Product Images Section */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    overflow: hidden;
}

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

.image-zoom-lens {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid #ddd;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: crosshair;
    display: none;
}

.image-zoom-result {
    position: relative;
    width: 100%;
    height: 300px;
    border: 1px solid #ddd;
    background-repeat: no-repeat;
    display: none;
    border-radius: 8px;
    overflow: hidden;
}

.main-image-container:hover .image-zoom-lens {
    display: block;
}

.main-image-container:hover+.image-zoom-result {
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: thin;
}

.product-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 3px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.thumbnail img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.thumbnail.active {
    border-color: #E77600;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
}

.thumbnail:hover:not(.active) {
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}

.video-thumbnail,
.360-thumbnail {
    background-color: #f8f8f8;
    color: #0F1111;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.2;
}

.video-thumbnail i,
.360-thumbnail i {
    font-size: 18px;
    margin-bottom: 4px;
    color: #007185;
}

/* Product Information Section */
.product-information {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-information h1 {
    font-size: 24px;
    margin: 0;
    line-height: 1.3;
    color: #0F1111;
}

.product-badges {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.amazon-choice {
    background-color: #002F36;
    color: #F69931;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bestseller {
    background-color: #FFA41C;
    color: #0F1111;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.stars {
    color: #FFA41C;
    font-size: 14px;
}

.rating-count {
    color: #007185;
    text-decoration: none;
    font-size: 14px;
}

.rating-count:hover {
    color: #C7511F;
    text-decoration: underline;
}

.product-price {
    margin: 15px 0;
}

.price-section {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 28px;
    font-weight: 500;
    color: #0F1111;
}

.original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #565959;
}

.saving {
    font-size: 14px;
    color: #CC0C39;
}

.tax-info {
    font-size: 12px;
    color: #565959;
}

.delivery-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #F3F3F3;
    border-radius: 8px;
}

.delivery-estimate {
    display: flex;
    align-items: center;
    gap: 15px;
}

.delivery-estimate i {
    font-size: 20px;
    color: #565959;
}

.deliver-to {
    margin-bottom: 5px;
}

.delivery-date {
    color: #565959;
}

.highlight {
    color: #007600;
    font-weight: 500;
}

.stock-status {
    margin-top: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.in-stock {
    color: #007600;
}

.low-stock {
    color: #B12704;
}

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

/* Product Attributes */
.product-attributes {
    margin: 15px 0;
}

.attribute {
    margin-bottom: 15px;
}

.attribute-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #0F1111;
}

.attribute-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.size-option {
    padding: 8px 16px;
    border: 1px solid #D5D9D9;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    min-width: 60px;
    text-align: center;
}

.size-option.selected {
    border-color: #E77600;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
}

.size-option:hover:not(.selected) {
    background-color: #F7FAFA;
}

.color-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid transparent;
}

.color-option.selected {
    border-color: #E77600;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.color-name {
    font-size: 12px;
    color: #565959;
}

/* Purchase Options */
.purchase-options {
    margin: 25px 0;
}

/* Enhanced Quantity Selector Styling */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.quantity-controls {
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quantity-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 100%;
    background: #f0f2f2;
    border: none;
    font-size: 20px;
    font-weight: 500;
    color: #0F1111;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #e0e2e2;
}

.quantity-btn:active {
    background: #d0d2d2;
    transform: translateY(1px);
}

.quantity-btn.decrease {
    border-right: 1px solid #e5e7eb;
}

.quantity-btn.increase {
    border-left: 1px solid #e5e7eb;
}

.quantity-selector input {
    width: 56px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #0F1111;
    -moz-appearance: textfield;
    /* Remove spinner for Firefox */
    background-color: white;
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Touch-optimized styles for mobile */
@media (max-width: 768px) {
    .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    .quantity-controls {
        height: 48px;
        /* Larger touch targets for mobile */
    }

    .quantity-btn {
        width: 48px;
        font-size: 22px;
    }

    .quantity-selector input {
        width: 60px;
        font-size: 18px;
    }

    .quantity-btn:active {
        background: #c0c2c2;
        /* Darker feedback on mobile */
    }
}

.buy-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.add-to-cart,
.buy-now {
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.add-to-cart {
    background-color: #FFD814;
    border: 1px solid #FCD200;
    color: #0F1111;
}

.add-to-cart:hover {
    background-color: #F7CA00;
}

.buy-now {
    background-color: #FF9900;
    border: 1px solid #FF9900;
    color: #0F1111;
}

.buy-now:hover {
    background-color: #FA8900;
}

.additional-actions {
    display: flex;
    gap: 15px;
}

.wishlist-btn,
.compare-btn {
    background: none;
    border: none;
    color: #007185;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wishlist-btn:hover,
.compare-btn:hover {
    color: #C7511F;
    text-decoration: underline;
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #565959;
    font-size: 14px;
    margin-bottom: 20px;
}

.secure-checkout i {
    color: #007600;
    font-size: 16px;
}

/* Special Offers Section */
.special-offers {
    margin: 30px 0;
    border-top: 1px solid #e7e7e7;
    padding-top: 20px;
}

.special-offers h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0F1111;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.special-offers h3 i {
    color: #CC0C39;
}

.offer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background-color: #F9F9F9;
    border-radius: 8px;
}

.offer-badge {
    background-color: #CC0C39;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.offer-details {
    display: flex;
    flex-direction: column;
}

.offer-title {
    font-weight: 500;
    color: #0F1111;
    font-size: 14px;
}

.offer-terms,
.offer-link {
    font-size: 12px;
    color: #565959;
}

.offer-link {
    color: #007185;
    text-decoration: none;
}

.offer-link:hover {
    color: #C7511F;
    text-decoration: underline;
}

/* Payment Options */
.payment-options {
    margin: 20px 0;
}

.payment-options h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0F1111;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.payment-options h3 i {
    color: #0066c0;
}

.emi-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.emi-option {
    padding: 12px 15px;
    border: 1px solid #D5D9D9;
    border-radius: 8px;
    background-color: #F7FAFA;
}

.emi-title {
    display: block;
    font-weight: 500;
    color: #0F1111;
    font-size: 14px;
    margin-bottom: 5px;
}

.emi-desc {
    color: #565959;
    font-size: 12px;
}

/* Feature Highlights Section */
.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    padding: 25px;
    background-color: #F7F8F8;
    border-radius: 8px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #007185;
    font-size: 18px;
}

.feature-text h4 {
    margin: 0 0 5px 0;
    color: #0F1111;
    font-weight: 600;
    font-size: 14px;
}

.feature-text p {
    margin: 0;
    color: #565959;
    font-size: 12px;
}

/* Product Information Tabs */
.product-info-tabs {
    margin: 40px 0;
    border-top: 1px solid #e7e7e7;
    padding-top: 20px;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-button {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #0F1111;
    white-space: nowrap;
    transition: all 0.2s;
}

.tab-button:hover {
    color: #007185;
}

.tab-button.active {
    border-bottom-color: #FF9900;
    color: #FF9900;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Description Tab */
.product-tagline {
    font-size: 18px;
    color: #0F1111;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

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

.key-benefits {
    margin-top: 25px;
    padding: 20px;
    background-color: #F9F9F9;
    border-radius: 8px;
}

.key-benefits h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #0F1111;
    font-size: 18px;
}

.key-benefits ul {
    padding-left: 25px;
    margin: 0;
}

.key-benefits li {
    margin-bottom: 10px;
}

.benefit-highlight {
    font-weight: 600;
    color: #0F1111;
}

/* Features Tab */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.feature-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    transition: all 0.3s;
    background-color: #fff;
}

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

.feature-card .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    background: linear-gradient(135deg, #007185, #00A8E1);
    color: white;
    flex-shrink: 0;
}

.feature-card .feature-content {
    flex-grow: 1;
}

.feature-card h3 {
    margin: 0 0 10px 0;
    color: #0F1111;
    font-size: 16px;
}

.feature-card p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.feature-stats {
    display: flex;
    gap: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.stat-value {
    font-weight: 600;
    color: #007185;
    font-size: 16px;
}

.stat-label {
    color: #565959;
    font-size: 12px;
    text-align: center;
}

.product-specifications {
    margin: 30px 0;
}

.product-specifications h3 {
    margin-bottom: 15px;
    color: #0F1111;
    font-size: 18px;
}

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

.specs-table tr {
    border-bottom: 1px solid #e7e7e7;
}

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

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
}

.specs-table th {
    width: 30%;
    color: #565959;
    font-weight: 500;
    background-color: #F9F9F9;
}

.specs-table td {
    color: #0F1111;
}

.in-the-box {
    margin-top: 30px;
}

.in-the-box h3 {
    margin-bottom: 15px;
    color: #0F1111;
    font-size: 18px;
}

.in-the-box ul {
    list-style-type: disc;
    padding-left: 25px;
    margin: 0;
}

.in-the-box li {
    margin-bottom: 8px;
    color: #333;
}

/* Reviews Tab */
.reviews-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: start;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e7e7e7;
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 50px;
    font-weight: 600;
    color: #0F1111;
    line-height: 1;
}

.rating-stars {
    color: #FFA41C;
    font-size: 16px;
    margin: 5px 0;
}

.rating-count {
    color: #565959;
    font-size: 14px;
}

.rating-breakdown {
    min-width: 250px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-level {
    min-width: 50px;
    color: #007185;
    font-size: 14px;
}

.progress-bar {
    height: 18px;
    flex-grow: 1;
    background-color: #F0F2F2;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #FFA41C;
    border-radius: 4px;
}

.rating-percent {
    min-width: 35px;
    text-align: right;
    color: #565959;
    font-size: 14px;
}

.write-review {
    text-align: center;
}

.review-button {
    padding: 8px 15px;
    background-color: #FFD814;
    border: 1px solid #FCD200;
    border-radius: 20px;
    color: #0F1111;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.review-button:hover {
    background-color: #F7CA00;
}

.feature-ratings {
    margin-bottom: 30px;
}

.feature-ratings h3 {
    margin-bottom: 15px;
    color: #0F1111;
    font-size: 18px;
}

.feature-rating-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.feature-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.feature-name {
    color: #0F1111;
    font-size: 14px;
    font-weight: 500;
}

.feature-rating .stars {
    font-size: 12px;
}

.feature-score {
    color: #565959;
    font-size: 12px;
}

.filter-reviews {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#sortReviews {
    padding: 8px 12px;
    border: 1px solid #D5D9D9;
    border-radius: 8px;
    background-color: #F0F2F2;
    cursor: pointer;
    font-size: 14px;
}

.filter-by-stars {
    display: flex;
    gap: 8px;
}

.filter-star {
    padding: 6px 10px;
    border: 1px solid #D5D9D9;
    border-radius: 15px;
    background-color: #F0F2F2;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.filter-star.active {
    background-color: #007185;
    color: white;
    border-color: #007185;
}

.filter-star:hover:not(.active) {
    background-color: #E3E6E6;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-item {
    padding: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    background-color: #fff;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviewer-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 500;
    color: #0F1111;
}

.review-rating {
    text-align: right;
}

.review-rating .stars {
    margin-bottom: 5px;
}

.review-date {
    font-size: 12px;
    color: #565959;
}

.review-title {
    font-weight: 600;
    color: #0F1111;
    margin-bottom: 10px;
    font-size: 16px;
}

.review-verified {
    display: inline-block;
    color: #007600;
    font-size: 12px;
    margin-bottom: 10px;
}

.review-content {
    margin-bottom: 15px;
    color: #333;
    line-height: 1.6;
}

.review-images {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.review-images img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s;
}

.review-images img:hover {
    transform: scale(1.05);
}

.review-helpful {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #565959;
}

.review-helpful button {
    padding: 6px 10px;
    border: 1px solid #D5D9D9;
    border-radius: 15px;
    background-color: #fff;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-helpful button:hover {
    background-color: #F0F2F2;
}

.more-reviews {
    text-align: center;
    margin-top: 10px;
}

.load-more {
    padding: 10px 20px;
    border: 1px solid #D5D9D9;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.load-more:hover {
    background-color: #F0F2F2;
}

/* FAQ Tab */
.faq-list {
    border-top: 1px solid #e7e7e7;
}

.faq-item {
    border-bottom: 1px solid #e7e7e7;
}

.faq-question {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question span {
    font-weight: 500;
    color: #0F1111;
}

.faq-question i {
    font-size: 12px;
    color: #565959;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 15px;
    color: #333;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Compare Tab */
.model-comparison {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.model-header {
    padding: 15px;
    text-align: center;
}

.model-header img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.model-name {
    font-weight: 500;
    color: #0F1111;
    margin-bottom: 5px;
}

.model-price {
    color: #B12704;
    font-weight: 600;
}

.model-tag {
    display: inline-block;
    margin-top: 5px;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.model-tag.current {
    background-color: #007600;
    color: white;
}

.comparison-table th,
.comparison-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #e7e7e7;
}

.comparison-table th:first-child {
    text-align: left;
    font-weight: 500;
    color: #0F1111;
    background-color: #F9F9F9;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #FAFAFA;
}

.best-feature {
    color: #B12704;
    font-weight: 600;
}

/* Similar Products Section */
.similar-products {
    margin: 40px 0;
}

.similar-products h2 {
    margin-bottom: 20px;
    color: #0F1111;
    font-size: 22px;
}

.product-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Recently Viewed Section */
.recently-viewed-section {
    margin: 40px 0;
}

.recently-viewed-section h2 {
    margin-bottom: 20px;
    color: #0F1111;
    font-size: 22px;
}

.recently-viewed-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* Media Queries */
@media (max-width: 768px) {
    .reviews-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-price .price-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .emi-options {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-rating-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-reviews {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-image-container {
        height: 300px;
    }

    .image-zoom-result {
        height: 200px;
    }
}

/* Mobile-friendly improvements */
@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }

    .product-gallery {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .gallery-main {
        height: 250px;
    }

    .gallery-thumbnails {
        justify-content: center;
    }

    .product-info {
        width: 100%;
        padding: 0;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .quantity-selector {
        margin-bottom: 1rem;
    }

    .size-selector-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .size-selector {
        margin-top: 0.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .add-to-cart,
    .buy-now {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.75rem;
        padding: 12px;
        min-height: 48px;
        /* Better tap target for mobile */
    }

    .tab-container ul.tab-nav {
        flex-wrap: wrap;
    }

    .tab-container ul.tab-nav li {
        padding: 10px 15px;
        font-size: 14px;
        margin-bottom: 5px;
    }

    .tab-content {
        padding: 15px;
    }

    .similar-products {
        padding: 1rem;
    }

    .similar-header {
        font-size: 1.25rem;
    }

    .similar-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .similar-product {
        padding: 8px;
    }

    .similar-product h4 {
        font-size: 14px;
    }

    .similar-product .price {
        font-size: 14px;
    }

    /* Improved touch targets */
    .tab-nav li,
    .size-option,
    .color-option,
    .quantity-button,
    .quantity-input,
    .add-to-cart,
    .buy-now,
    .wishlist-button,
    .share-button,
    .gallery-thumbnail {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Fixed add to cart bar */
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 10px 15px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 100;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-sticky-bar .product-price {
        font-size: 1.2rem;
        margin: 0;
    }

    .mobile-sticky-bar .product-actions {
        flex-direction: row;
        width: 60%;
    }

    .mobile-sticky-bar .product-actions button {
        margin-bottom: 0;
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    /* Add padding to account for fixed bar */
    body {
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    .product-description {
        font-size: 14px;
    }

    .product-features li {
        font-size: 14px;
        margin-bottom: 8px;
        padding-left: 22px;
    }

    .product-features li::before {
        font-size: 14px;
    }

    .tab-container ul.tab-nav li {
        flex: 1 0 40%;
        text-align: center;
    }

    .review-card {
        padding: 12px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .review-date {
        margin-top: 5px;
    }

    .specification-table th,
    .specification-table td {
        padding: 8px 10px;
        font-size: 14px;
    }

    .lightbox-content img {
        max-height: 80vh;
        max-width: 90vw;
    }

    /* Better swipe support */
    .gallery-main {
        touch-action: pan-y;
    }
}

/* Image slider mobile improvements */
.gallery-main .swipe-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    opacity: 0.7;
    display: none;
    pointer-events: none;
    animation: fade-out 2s ease-out forwards;
}

@media (max-width: 768px) {
    .gallery-main .swipe-hint.show {
        display: flex;
        align-items: center;
    }

    .gallery-main .swipe-hint i {
        margin-right: 8px;
        animation: swipe-animation 1.5s infinite;
    }
}

@keyframes swipe-animation {
    0% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    100% {
        transform: translateX(-5px);
    }
}

@keyframes fade-out {
    0% {
        opacity: 0.7;
    }

    80% {
        opacity: 0.7;
    }

    100% {
        opacity: 0;
    }
}

/* Better label touch handling */
label {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* Form field improvements for mobile */
input,
select,
textarea {
    font-size: 16px !important;
    /* Prevents zooming on iOS */
}

/* Toast notifications */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    max-width: 90%;
}

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

/* Ultra-Realistic Product Detail Enhancement - April 2025 */

/* 3D Product Showcase with advanced lighting effects */
.product-showcase {
    position: relative;
    height: 600px;
    perspective: 1200px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-3d-container {
    position: relative;
    width: 400px;
    height: 500px;
    transform-style: preserve-3d;
    animation: rotate-showcase 25s infinite linear;
    transition: transform 0.5s ease;
}

.product-3d-container:hover {
    animation-play-state: paused;
}

.showcase-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.showcase-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.showcase-btn:hover {
    background: rgba(8, 145, 178, 0.8);
    transform: scale(1.1);
}

.showcase-btn:active {
    transform: scale(0.95);
}

/* Advanced lighting effects */
.lighting-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.2) 0%,
            rgba(255, 255, 255, 0.1) 20%,
            transparent 60%);
    pointer-events: none;
    opacity: 0.7;
    mix-blend-mode: overlay;
}

/* Dynamic shadows for 3D effect */
.product-shadow {
    position: absolute;
    width: 90%;
    height: 20px;
    bottom: -30px;
    left: 5%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    transform: rotateX(70deg);
    filter: blur(5px);
    opacity: 0.6;
    animation: shadow-pulse 3s infinite alternate;
}

/* Interactive reality slider */
.reality-slider-container {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 10px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.reality-slider {
    appearance: none;
    width: 150px;
    height: 5px;
    background: linear-gradient(to right, #0891b2, #22d3ee);
    outline: none;
    transform: rotate(-90deg);
    margin: 70px 0;
    border-radius: 3px;
}

.reality-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.reality-labels {
    display: flex;
    flex-direction: column;
    gap: 140px;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

.reality-labels span:first-child {
    transform: translateY(-10px);
}

.reality-labels span:last-child {
    transform: translateY(10px);
}

/* Enhanced product detail section with realism */
.product-details {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.product-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.gallery-thumb {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    height: 80px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

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

.gallery-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 145, 178, 0);
    transition: background-color 0.3s ease;
}

.gallery-thumb:hover::after {
    background-color: rgba(8, 145, 178, 0.2);
}

.gallery-thumb.active {
    transform: scale(0.95);
    box-shadow: 0 0 0 2px #0891b2;
}

.gallery-thumb.active::after {
    background-color: rgba(8, 145, 178, 0.2);
}

/* 360-degree view button */
.view-360 {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(8, 145, 178, 0.8);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 5;
}

.view-360:hover {
    background-color: rgba(8, 145, 178, 1);
    transform: translateY(-3px);
}

.view-360 i {
    animation: rotate 3s linear infinite;
}

/* Product info panel */
.product-info {
    padding: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-title {
    margin: 0 0 20px;
    font-size: 28px;
    color: #1f2937;
    font-weight: 700;
}

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

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #059669;
}

.regular-price {
    font-size: 20px;
    text-decoration: line-through;
    color: #9ca3af;
}

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

.stars {
    color: #fbbf24;
}

.review-count {
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.review-count:hover {
    color: #0891b2;
    text-decoration: underline;
}

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

.option-group {
    margin-bottom: 20px;
}

.option-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #4b5563;
}

.color-options {
    display: flex;
    gap: 15px;
}

.color-option {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.color-option::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.color-option.active::after {
    border-color: #0891b2;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-blue {
    background-color: #3b82f6;
}

.color-green {
    background-color: #10b981;
}

.color-red {
    background-color: #ef4444;
}

.color-purple {
    background-color: #8b5cf6;
}

/* Size options */
.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    position: relative;
}

.size-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.size-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 40px;
    padding: 0 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option input:checked+span {
    border-color: #0891b2;
    background-color: rgba(8, 145, 178, 0.1);
    color: #0891b2;
}

.size-option span:hover {
    border-color: #0891b2;
}

/* Quantity selector */
.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:first-child {
    border-radius: 8px 0 0 8px;
}

.quantity-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.quantity-btn:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: 1px solid #e5e7eb;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.quantity-input:focus {
    outline: none;
    border-color: #0891b2;
}

/* Add to cart button with ripple effect */
.add-to-cart {
    position: relative;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(8, 145, 178, 0.3);
    margin-bottom: 20px;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
}

.add-to-cart::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.add-to-cart:active::after {
    width: 300px;
    height: 300px;
    opacity: 0;
}

/* Wishlist button */
.wishlist-btn {
    background-color: transparent;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.wishlist-btn:hover {
    border-color: #0891b2;
    color: #0891b2;
}

.wishlist-btn.active {
    border-color: #0891b2;
    color: #0891b2;
}

.wishlist-btn.active i {
    color: #ec4899;
}

/* Product description */
.product-description {
    margin-top: 40px;
}

.description-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #0891b2;
    border-bottom-color: #0891b2;
}

.tab-btn:hover:not(.active) {
    color: #4b5563;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content p {
    line-height: 1.8;
    color: #4b5563;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
}

.features-list li i {
    color: #10b981;
    font-size: 18px;
}

/* Specifications table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.specs-table tr:nth-child(even) {
    background-color: #f9fafb;
}

.specs-table th,
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.specs-table th {
    font-weight: 600;
    color: #1f2937;
    width: 40%;
}

.specs-table td {
    color: #4b5563;
}

/* Customer reviews section */
.reviews-section {
    margin-top: 40px;
}

.review-summary {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.rating-average {
    text-align: center;
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 10px;
    min-width: 200px;
}

.average-number {
    font-size: 48px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.total-reviews {
    color: #6b7280;
    margin-top: 5px;
}

.rating-bars {
    flex: 1;
}

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

.stars-label {
    min-width: 100px;
    color: #6b7280;
}

.progress-container {
    flex: 1;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #fbbf24;
    border-radius: 4px;
}

.percent {
    min-width: 50px;
    text-align: right;
    color: #6b7280;
}

/* Review cards */
.reviews-list {
    display: grid;
    gap: 20px;
}

.review-card {
    background-color: #f9fafb;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.reviewer-info h4 {
    margin: 0 0 5px;
    color: #1f2937;
}

.review-date {
    color: #9ca3af;
    font-size: 14px;
}

.review-rating {
    color: #fbbf24;
}

.review-content {
    line-height: 1.7;
    color: #4b5563;
}

/* Complementary products */
.complementary-products {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.complementary-title {
    margin: 0 0 20px;
    font-size: 20px;
    color: #1f2937;
}

.complementary-list {
    display: grid;
    gap: 20px;
}

.complementary-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.complementary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.complementary-image {
    height: 150px;
    overflow: hidden;
}

.complementary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.complementary-item:hover .complementary-image img {
    transform: scale(1.05);
}

.complementary-info {
    padding: 15px;
}

.complementary-info h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
}

.complementary-price {
    color: #059669;
    font-weight: 600;
    margin-bottom: 10px;
}

.add-complementary {
    background-color: transparent;
    border: 1px solid #0891b2;
    color: #0891b2;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-complementary:hover {
    background-color: #0891b2;
    color: white;
}

/* Delivery information */
.delivery-info {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.delivery-title {
    margin: 0 0 15px;
    font-size: 18px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-title i {
    color: #0891b2;
}

.delivery-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.delivery-icon {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0891b2;
}

.delivery-text h5 {
    margin: 0 0 5px;
    color: #1f2937;
    font-size: 16px;
}

.delivery-text p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-showcase {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes shadow-pulse {
    from {
        opacity: 0.4;
        width: 85%;
        left: 7.5%;
    }

    to {
        opacity: 0.6;
        width: 90%;
        left: 5%;
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .product-details {
        grid-template-columns: 1fr 1fr;
    }

    .complementary-products {
        grid-column: 1 / 3;
        grid-row: auto;
        margin-top: 30px;
    }

    .complementary-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-details {
        grid-template-columns: 1fr;
    }

    .product-showcase {
        height: 400px;
    }

    .product-3d-container {
        width: 300px;
        height: 370px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .review-summary {
        flex-direction: column;
    }

    .complementary-list {
        grid-template-columns: 1fr;
    }
}

/* Ultra-realistic HSC Cooler features */

/* Enhanced Fan animation with realistic physics */
.detail-fan-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 30px auto;
    perspective: 1000px;
}

.detail-fan {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: detail-fan-rotate 3s linear infinite;
}

.detail-fan-blade {
    position: absolute;
    width: 80%;
    height: 20%;
    top: 50%;
    left: 50%;
    background: linear-gradient(to right, #d1d5db, #9ca3af);
    transform-origin: 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 50% 10% 10% 50%;
    opacity: 0.9;
}

.detail-fan-blade:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg) translateZ(2px);
}

.detail-fan-blade:nth-child(2) {
    transform: translate(-50%, -50%) rotate(60deg) translateZ(1.5px);
}

.detail-fan-blade:nth-child(3) {
    transform: translate(-50%, -50%) rotate(120deg) translateZ(1px);
}

.detail-fan-blade:nth-child(4) {
    transform: translate(-50%, -50%) rotate(180deg) translateZ(0.5px);
}

.detail-fan-blade:nth-child(5) {
    transform: translate(-50%, -50%) rotate(240deg) translateZ(0px);
}

.detail-fan-blade:nth-child(6) {
    transform: translate(-50%, -50%) rotate(300deg) translateZ(-0.5px);
}

.detail-fan-center {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 30%, #e5e7eb, #9ca3af);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.detail-fan-air {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.05) 30%,
            transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: air-pulse 3s infinite alternate;
}

/* Realistic water level animation */
.detail-water-tank {
    position: relative;
    width: 100%;
    height: 200px;
    background-color: rgba(219, 234, 254, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(219, 234, 254, 0.3);
    overflow: hidden;
    margin: 30px 0;
}

.detail-water-level {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.4));
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    animation: water-wobble 5s ease-in-out infinite alternate;
}

.detail-water-surface {
    position: absolute;
    top: 0;
    left: -50px;
    width: calc(100% + 100px);
    height: 20px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: water-surface-move 3s linear infinite;
    transform-origin: center bottom;
}

.detail-water-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: water-bubble-rise 8s infinite;
}

.detail-water-bubble:nth-child(1) {
    width: 10px;
    height: 10px;
    left: 20%;
    bottom: 10%;
}

.detail-water-bubble:nth-child(2) {
    width: 15px;
    height: 15px;
    left: 50%;
    bottom: 5%;
    animation-delay: 2s;
}

.detail-water-bubble:nth-child(3) {
    width: 8px;
    height: 8px;
    left: 70%;
    bottom: 15%;
    animation-delay: 4s;
}

.detail-water-bubble:nth-child(4) {
    width: 12px;
    height: 12px;
    left: 35%;
    bottom: 20%;
    animation-delay: 6s;
}

/* Cool air animation for product details */
.detail-cool-air {
    position: relative;
    width: 100%;
    height: 100px;
    margin: 30px 0;
    overflow: hidden;
}

.detail-air-wave {
    position: absolute;
    height: 20px;
    width: 80px;
    background: linear-gradient(90deg,
            rgba(186, 230, 253, 0.6) 0%,
            rgba(186, 230, 253, 0.2) 50%,
            rgba(186, 230, 253, 0) 100%);
    border-radius: 10px;
    opacity: 0;
    animation: air-wave-move 3s linear infinite;
}

.detail-air-wave:nth-child(1) {
    top: 20%;
    left: 0;
}

.detail-air-wave:nth-child(2) {
    top: 50%;
    left: 0;
    animation-delay: 1s;
}

.detail-air-wave:nth-child(3) {
    top: 80%;
    left: 0;
    animation-delay: 2s;
}

/* Additional animations */
@keyframes detail-fan-rotate {
    from {
        transform: rotateZ(0deg);
    }

    to {
        transform: rotateZ(360deg);
    }
}

@keyframes air-pulse {
    from {
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 0.25;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes water-wobble {

    0%,
    100% {
        height: 60%;
        border-radius: 0 0 8px 8px;
    }

    50% {
        height: 62%;
        border-radius: 2px 2px 8px 8px;
    }
}

@keyframes water-surface-move {
    from {
        left: -100px;
    }

    to {
        left: 100%;
    }
}

@keyframes water-bubble-rise {
    0% {
        transform: scale(0.5) translate(0, 0);
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
        transform: scale(1) translate(-10px, -50px);
    }

    100% {
        transform: scale(0.5) translate(-20px, -100px);
        opacity: 0;
    }
}

@keyframes air-wave-move {
    0% {
        left: 0;
        opacity: 0;
        width: 50px;
    }

    20% {
        opacity: 0.8;
        width: 80px;
    }

    80% {
        opacity: 0.3;
    }

    100% {
        left: 100%;
        opacity: 0;
        width: 20px;
    }
}

/* Quantity Controls Styling */
.quantity-controls {
    display: flex;
    align-items: center;

    height: 40px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 100%;
    background: #f0f2f2;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #e0e2e2;
}

.quantity-btn:active {
    background: #d0d2d2;
}

.quantity-selector input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    -moz-appearance: textfield;
    /* Remove spinner for Firefox */
}

.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* quantity selector styles */
.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Order Modal Styles - Enhanced for better user experience */
.order-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.order-modal-content {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.order-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #565959;
    cursor: pointer;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f2f2;
}

.order-modal-close:hover {
    color: #FF9900;
    background-color: #e0e2e2;
}

.order-modal h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #0F1111;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
}

/* Product info in modal */
.order-product-info {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #FF9900;
}

.order-product-name {
    font-weight: 600;
    color: #0F1111;
    font-size: 16px;
}

.order-product-price {
    color: #B12704;
    font-weight: 600;
    font-size: 18px;
}

.order-modal form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.order-modal label {
    font-weight: 600;
    color: #0F1111;
    margin-bottom: 5px;
    display: block;
    font-size: 15px;
}

.order-modal input,
.order-modal textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D5D9D9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
    background-color: #fff;
}

.order-modal input:focus,
.order-modal textarea:focus {
    border-color: #FF9900;
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, 0.5);
    outline: none;
}

.order-modal input[type="number"] {
    -moz-appearance: textfield;
}

.order-modal input[type="number"]::-webkit-outer-spin-button,
.order-modal input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Enhanced quantity controls in modal */
.quantity-modal-controls {
    display: flex;
    align-items: center;
    height: 45px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    overflow: hidden;
    width: 140px;
}

.quantity-modal-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 100%;
    background: #f0f2f2;
    border: none;
    font-size: 20px;
    font-weight: 500;
    color: #0F1111;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quantity-modal-btn:hover {
    background: #e0e2e2;
}

.quantity-modal-btn:active {
    background: #d0d2d2;
    transform: translateY(1px);
}

#orderQuantity {
    flex: 1;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #0F1111;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.order-modal textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Total section */
.order-total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    border-left: 4px solid #007600;
}

.order-total-label {
    font-weight: 600;
    color: #0F1111;
    font-size: 16px;
}

.order-total-price {
    color: #B12704;
    font-weight: 700;
    font-size: 20px;
}

/* Submit button */
.order-modal button[type="submit"] {
    background-color: #FF9900;
    border: 1px solid #FF9900;
    border-radius: 30px;
    color: #0F1111;
    font-weight: 600;
    font-size: 18px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.order-modal button[type="submit"]:hover {
    background-color: #FA8900;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.order-modal button[type="submit"]:active {
    transform: translateY(0);
}

/* WhatsApp icon in submit button */
.order-modal button[type="submit"] i {
    font-size: 20px;
}

/* Form field wrapper for better organization */
.form-field {
    display: flex;
    flex-direction: column;
}

/* Error message styling */
.error-message {
    color: #B12704;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

/* Mobile-specific styles */
@media (max-width: 576px) {
    .order-modal-content {
        padding: 25px 20px;
        width: 95%;
        border-radius: 12px;
    }

    .order-modal h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .order-product-info {
        padding: 12px;
        margin-bottom: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .order-modal label {
        font-size: 14px;
    }

    .order-modal input,
    .order-modal textarea {
        padding: 12px;
        font-size: 16px;
        /* Keep 16px to avoid zoom on iOS */
    }

    .order-modal button[type="submit"] {
        padding: 12px;
        font-size: 16px;
    }

    /* Better touch targets for mobile */
    .quantity-modal-controls {
        height: 48px;
    }

    .quantity-modal-btn {
        width: 48px;
    }

    .order-modal-close {
        width: 36px;
        height: 36px;
    }
}

/* Animation for modal */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}