/* 
 * Product Detail Page Styles
 * Premium Design for DreamHome Furniture E-Commerce
 * Professional 1900*1080 Image Format with Full Responsiveness
 * Updated for Perfect Mobile & Desktop Experience
 */

/* Root Variables */
:root {
    --primary-color: #ff9b00; /* RAL1004 - Altın Sarısı */
    --secondary-color: #000000; /* Siyah */
    --text-color: #333333;
    --light-color: #FFFFFF; /* Beyaz */
    --light-gray: #f8f9fa;
    --medium-gray: #e0e0e0;
    --dark-gray: #444444;
    --accent-color: #ff9b00; /* Vurgu rengi - RAL1004 */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Fix Profile Icon Position - Move slightly left */
.header-actions {
    margin-right: 20px;
}

/* Product Lightbox - Complete Implementation */
.product-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    overflow: hidden;
}

.product-lightbox-overlay.active {
    opacity: 1;
}

.product-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Lightbox Navigation */
.product-lightbox-nav {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.product-lightbox-button {
    position: absolute;
    background: rgba(255, 155, 0, 0.9);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
    transition: all 0.3s ease;
    z-index: 100000;
    font-size: 0;
    padding: 0;
    outline: none;
}

.product-lightbox-button:hover {
    background: rgba(255, 155, 0, 1);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.product-lightbox-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
}

.product-lightbox-close {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
}

.product-lightbox-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.product-lightbox-prev,
.product-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
}

.product-lightbox-prev {
    left: 30px;
}

.product-lightbox-next {
    right: 30px;
}

.product-lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1) translateX(-5px);
}

.product-lightbox-next:hover {
    transform: translateY(-50%) scale(1.1) translateX(5px);
}

.product-lightbox-button i {
    font-size: 24px;
    transition: all 0.3s ease;
    color: white;
}

.product-lightbox-prev i,
.product-lightbox-next i {
    font-size: 30px;
}

/* Lightbox Counter */
.product-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 100000;
    font-weight: 600;
}

/* Mobile Responsive Lightbox */
@media (max-width: 768px) {
    .product-lightbox-button {
        width: 45px;
        height: 45px;
    }
    
    .product-lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .product-lightbox-prev {
        left: 15px;
    }
    
    .product-lightbox-next {
        right: 15px;
    }
    
    .product-lightbox-button i {
        font-size: 20px;
    }
    
    .product-lightbox-prev i,
    .product-lightbox-next i {
        font-size: 24px;
    }
    
    .product-lightbox-counter {
        font-size: 14px;
        padding: 6px 12px;
        bottom: 15px;
    }
}

@media (max-width: 576px) {
    .product-lightbox-button {
        width: 40px;
        height: 40px;
    }
    
    .product-lightbox-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .product-lightbox-prev {
        left: 10px;
    }
    
    .product-lightbox-next {
        right: 10px;
    }
    
    .product-lightbox-button i {
        font-size: 16px;
    }
    
    .product-lightbox-prev i,
    .product-lightbox-next i {
        font-size: 20px;
    }
    
    .product-lightbox-counter {
        font-size: 12px;
        padding: 4px 10px;
        bottom: 10px;
    }
}

/* Base Reset and Typography */
* {
    box-sizing: border-box;
}

/* Main Container */
.product-detail {
    padding: 2rem 0;
    background: #ffffff;
    min-height: calc(100vh - 200px);
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    overflow-x: hidden;
}

/* Product Detail Container - Square Information Boxes Layout */
.product-detail-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Breadcrumb Styling */
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 155, 0, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 500;
}

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

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

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    padding: 0 0.5rem;
    color: var(--medium-gray);
}

.breadcrumb-item.active {
    color: var(--dark-gray);
    font-weight: 600;
}

/* Product Gallery - Professional 1900*1080 Format */
.product-gallery {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 155, 0, 0.1);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Main Image Container - Perfect 1900*1080 Aspect Ratio */
.product-main-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    background: linear-gradient(135deg, var(--light-color) 0%, var(--light-gray) 100%);
    transition: var(--transition);
    
    /* Professional 1900*1080 Aspect Ratio (16:9) */
    aspect-ratio: 1900 / 1080;
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 600px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.product-main-image:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 155, 0, 0.2);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: var(--transition);
    padding: 1rem;
    border-radius: calc(var(--border-radius) - 2px);
    max-width: 100%;
    max-height: 100%;
}

.product-main-image:hover img {
    transform: scale(1.02);
}

/* Image Magnifier */
.img-magnifier-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.img-magnifier-glass {
    position: absolute;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    cursor: none;
    width: 150px;
    height: 150px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(255, 155, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
}

.product-main-image:hover .img-magnifier-glass {
    opacity: 1;
}

/* Image Navigation */
.image-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.9) 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 15;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(255, 155, 0, 0.3);
    opacity: 0.9;
}

.nav-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 155, 0, 0.4);
}

.nav-btn i {
    color: var(--light-color);
    font-size: 1rem;
    font-weight: bold;
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

/* Zoom Icon */
.image-zoom-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--medium-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 20;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.image-zoom-icon:hover {
    background: var(--light-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-zoom-icon i {
    color: var(--dark-gray);
    font-size: 1rem;
}

.image-zoom-icon:hover i {
    color: var(--primary-color);
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #FF0000 !important; /* Kıpkırmızı */
    color: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
    z-index: 20;
    animation: pulse 2s infinite;
    border: 2px solid #CC0000; /* Daha koyu kırmızı kenarlık */
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Product Thumbnails */
.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-gray);
}

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

.product-thumbnails::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.product-thumbnails::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 155, 0, 0.8);
}

.thumbnail-item {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid var(--medium-gray);
    position: relative;
    background: var(--light-color);
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 155, 0, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0.25rem;
    transition: var(--transition);
}

.thumbnail-item:hover img {
    transform: scale(1.1);
}

/* Product Info Detail - Square Information Box */
.product-info-detail {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-color) 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 155, 0, 0.1);
    
    /* Square Box Design - No Scroll - Completely Remove All Scrollbars */
    width: 100%;
    height: auto;
    min-height: auto;
    max-height: none;
    overflow: hidden; /* Changed from visible to hidden */
    position: static;
    top: auto;
    
    /* Remove aspect ratio to prevent overflow */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    max-width: 100%;
    box-sizing: border-box;
    
    /* Ensure no internal scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide any potential scrollbars in product info detail */
.product-info-detail::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Ensure all child elements don't create overflow */
.product-info-detail > * {
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.product-info-detail h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-brand {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
    color: var(--light-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(255, 155, 0, 0.3);
}

.product-meta-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.product-code-line, .stock-status-line {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-code-line strong, .stock-status-line strong {
    font-size: 0.8rem;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-code-value, .stock-status-value {
    font-weight: 600;
    color: var(--text-color);
}

/* Price Section */
.product-price-wrapper {
    margin-bottom: 2rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.price-section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 155, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.price-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.price-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.old-price {
    font-size: 1.1rem;
    color: var(--dark-gray);
    text-decoration: line-through;
    opacity: 0.7;
    font-weight: 500;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(255, 155, 0, 0.1);
    letter-spacing: -1px;
}

.discount-badge-inline {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: var(--light-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    animation: pulse 2s infinite;
}

/* Quantity Control - Professional Design */
.product-quantity-container {
    margin-bottom: 1.5rem;
}

.quantity-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.quantity-control {
    display: flex;
    align-items: center;
    width: fit-content;
    background: var(--light-color);
    border: 2px solid var(--medium-gray);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.quantity-control:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 155, 0, 0.2);
}

.quantity-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    color: var(--text-color);
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.quantity-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.quantity-btn:hover::before {
    left: 100%;
}

.quantity-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.9) 100%);
    color: var(--light-color);
    transform: scale(1.05);
}

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

.quantity-input {
    width: 80px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--light-color);
    color: var(--text-color);
    border-left: 1px solid var(--medium-gray);
    border-right: 1px solid var(--medium-gray);
}

.quantity-input:focus {
    outline: none;
    background: rgba(255, 155, 0, 0.05);
}

/* Product Buttons - Side by Side Layout */
.product-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

.btn-add-to-cart,
.btn-buy-now {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.9) 100%);
    color: var(--light-color);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 155, 0, 0.3);
    text-align: center;
    white-space: nowrap;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-buy-now {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #333333 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-add-to-cart:hover::before {
    left: 100%;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 155, 0, 0.4);
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Product Ratings */
.product-ratings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars i {
    color: #ffa500;
    font-size: 1.1rem;
    transition: var(--transition);
}

.review-count {
    color: var(--dark-gray);
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
    transition: var(--transition);
}

.review-count:hover {
    color: var(--primary-color);
}

/* Stock Status */
.stock-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.in-stock {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.out-of-stock {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.stock-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #e6b800;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* Delivery Info - Improved Layout */
.delivery-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 155, 0, 0.05) 0%, rgba(255, 155, 0, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 155, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.delivery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    min-height: 60px;
    border: 1px solid rgba(255, 155, 0, 0.1);
}

.delivery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 155, 0, 0.2);
}

.delivery-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.delivery-item span {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

/* Hide third delivery item (return policy) */
.delivery-item:nth-child(2) {
    display: none;
}

/* Share Buttons */
.product-share {
    border-top: 1px solid var(--medium-gray);
    padding-top: 1.5rem;
}

.share-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.share-button.facebook {
    background: #3b5998;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.pinterest {
    background: #bd081c;
}

.share-button.whatsapp {
    background: #25d366;
}

.share-button:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Professional Customer Reviews Section - Enhanced Design */

/* Product Tabs Section */
.product-tabs-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-color) 100%);
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 155, 0, 0.1);
}

.product-tabs {
    background: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    border: 1px solid rgba(255, 155, 0, 0.1);
}

/* Tabs Navigation */
.tabs-navigation {
    display: flex;
    border-bottom: 2px solid var(--medium-gray);
    margin-bottom: 2rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-button:hover {
    background: rgba(255, 155, 0, 0.1);
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(255, 155, 0, 0.05);
    box-shadow: 0 -2px 8px rgba(255, 155, 0, 0.2);
}

.tab-button i {
    font-size: 1.1rem;
}

.review-counter {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.5rem;
    min-width: 25px;
    text-align: center;
}

/* Tab Contents */
.tab-content {
    display: none;
    animation: fadeInUp 0.3s ease;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
}
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-header {
    margin-bottom: 2rem;
    text-align: center;
}

.tab-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Review Statistics */
.review-stats {
    background: linear-gradient(135deg, rgba(255, 155, 0, 0.05) 0%, rgba(255, 155, 0, 0.02) 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 155, 0, 0.1);
    box-shadow: var(--shadow-soft);
}

.stats-summary {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

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

.rating-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 8px 25px rgba(255, 155, 0, 0.3);
    border: 4px solid var(--light-color);
}

.rating-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-color);
    line-height: 1;
}

.rating-max {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

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

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-stars i {
    color: #ffa500;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.rating-count {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 200px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-row-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 20px;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
    transition: width 0.8s ease;
}

.rating-row-count {
    font-weight: 600;
    color: var(--text-color);
    min-width: 30px;
    text-align: right;
}

/* Reviews List */
.reviews-list {
    margin-bottom: 3rem;
}

.review-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 155, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
}

.review-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 155, 0, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.review-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 155, 0, 0.3);
    border: 3px solid var(--light-color);
    flex-shrink: 0;
}

.review-avatar .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.review-user-info {
    text-align: left;
}

.review-user-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-rating i {
    color: #ffa500;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.review-content {
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1rem;
    text-align: justify;
}

.review-content p {
    margin: 0;
}

/* No Reviews State */
.no-reviews {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-color) 100%);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(255, 155, 0, 0.3);
}

.no-reviews i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-reviews p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.no-reviews p:last-child {
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 500;
}

/* Write Review Section */
.write-review {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 155, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 20px 80px rgba(255, 155, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.write-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b35, var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.review-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.review-form-header h3 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.review-form-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #ff6b35);
    border-radius: 2px;
}

.review-form-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
    margin: 0;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    position: relative;
}

.form-label {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b35);
    border-radius: 2px;
}

.rating-group {
    text-align: center;
    background: rgba(255, 155, 0, 0.03);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 155, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rating-group::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 155, 0, 0.05), transparent);
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rating-group:hover::before {
    opacity: 1;
}

.rating-select {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.rating-option {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 3px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.rating-option::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--primary-color), #ff6b35);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.rating-option:hover::before {
    width: 100%;
    height: 100%;
}

.rating-option:hover {
    border-color: var(--primary-color);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(255, 155, 0, 0.3);
}

.rating-option.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b35 100%);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(255, 155, 0, 0.4);
    transform: scale(1.1);
}

.rating-option.active::before {
    width: 100%;
    height: 100%;
}

.rating-option i {
    font-size: 1.8rem;
    color: #64748b;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.rating-option:hover i,
.rating-option.active i {
    color: #ffffff;
    transform: scale(1.1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

.form-textarea {
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 140px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 4px rgba(255, 155, 0, 0.1),
        inset 0 2px 8px rgba(0, 0, 0, 0.04),
        0 4px 20px rgba(255, 155, 0, 0.15);
    transform: translateY(-2px);
}

.form-textarea::placeholder {
    color: #94a3b8;
    opacity: 0.8;
    font-style: italic;
}

/* Character Counter */
.character-counter {
    text-align: right;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.character-counter.warning {
    color: #f59e0b;
}

.character-counter.error {
    color: #ef4444;
}

/* Submit Button */
.submit-review-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b35 100%);
    color: #ffffff;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(255, 155, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: fit-content;
    margin: 2rem auto 0;
    min-width: 200px;
}

.submit-review-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-review-btn:hover::before {
    left: 100%;
}

.submit-review-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(255, 155, 0, 0.4),
        0 20px 60px rgba(255, 155, 0, 0.2);
}

.submit-review-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.submit-review-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #94a3b8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.submit-review-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.submit-review-btn:hover i {
    transform: scale(1.1);
}

/* Login Required Message */
.login-required-message {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 197, 253, 0.08) 100%);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.login-required-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.login-required-message i {
    font-size: 4rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    animation: pulse 2s infinite;
}

.login-required-message p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

.login-required-message a {
    color: #3b82f6;
    font-weight: 700;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid transparent;
}

.login-required-message a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Review Response Messages */
.review-response {
    margin-top: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.review-response::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0.8;
}

.review-response.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(134, 239, 172, 0.1) 100%);
    border-color: rgba(34, 197, 94, 0.3);
    color: #166534;
}

.review-response.success::before {
    background: linear-gradient(90deg, #22c55e, #84cc16, #22c55e);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

.review-response.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(252, 165, 165, 0.1) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    color: #991b1b;
}

.review-response.error::before {
    background: linear-gradient(90deg, #ef4444, #f87171, #ef4444);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

/* RESPONSIVE DESIGN FOR REVIEWS */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .rating-circle {
        width: 140px;
        height: 140px;
    }
    
    .rating-value {
        font-size: 3rem;
    }
    
    .review-item {
        padding: 2.5rem;
    }
    
    .review-avatar {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
.product-tabs-section {
        padding: 2rem 0;
}

.product-tabs {
        padding: 1.5rem;
}

.tabs-navigation {
        flex-direction: column;
        gap: 0.25rem;
}

.tab-button {
        padding: 0.75rem 1.5rem;
    justify-content: center;
        border-radius: var(--border-radius);
        border-bottom: none;
        border: 2px solid transparent;
}

.tab-button.active {
        border-color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
}

    .stats-summary {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
}

    .rating-circle {
        width: 100px;
        height: 100px;
    }
    
    .rating-value {
        font-size: 2rem;
}

    .rating-breakdown {
        min-width: auto;
    }
    
    .review-item {
        padding: 1.5rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
}

    .review-user {
        justify-content: center;
}

    .review-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
}

    .write-review {
        padding: 2rem;
}

    .rating-select {
        gap: 0.25rem;
}

    .rating-option {
        width: 45px;
        height: 45px;
    }
    
    .rating-option i {
        font-size: 1.3rem;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
.product-tabs-section {
        padding: 1.5rem 0;
}

.product-tabs {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .tab-header h3 {
        font-size: 1.5rem;
    }

    .review-stats {
        padding: 1.5rem;
    }

    .rating-circle {
        width: 80px;
        height: 80px;
    }

    .rating-value {
        font-size: 1.5rem;
    }

    .rating-max {
    font-size: 1rem;
    }

    .rating-stars i {
        font-size: 1.2rem;
    }

    .review-item {
        padding: 1.25rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
        font-size: 1.2rem;
}

.review-user-name {
        font-size: 1rem;
    }

    .write-review {
        padding: 1.5rem;
    }

    .review-form-header h3 {
        font-size: 1.4rem;
    }

    .rating-select {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .rating-option {
        width: 40px;
        height: 40px;
    }
    
    .rating-option i {
        font-size: 1.1rem;
    }

    .submit-review-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    /* MOBILE RESPONSIVE PRODUCT LAYOUT */
    .product-detail-container {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 3rem;
        align-items: start;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* MOBILE PRODUCT GALLERY - MAINTAIN 1900*1080 ASPECT RATIO */
    .product-gallery {
        position: relative;
    display: flex;
    flex-direction: column;
        gap: 1rem;
        background: var(--light-color);
        border-radius: var(--border-radius);
        padding: 1.5rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 1.5rem;
    }

    /* MOBILE MAIN IMAGE - CRITICAL: MAINTAIN 1900*1080 ASPECT RATIO */
    .product-main-image {
        position: relative !important;
        overflow: hidden !important;
        border-radius: var(--border-radius) !important;
        box-shadow: var(--shadow-soft) !important;
        background: linear-gradient(135deg, var(--light-color) 0%, var(--light-gray) 100%) !important;
        transition: var(--transition) !important;
        
        /* CRITICAL: Force 1900*1080 aspect ratio on mobile */
        aspect-ratio: 1900 / 1080 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 280px !important;
        max-height: 400px !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid transparent !important;
        margin-bottom: 1rem !important;
    }

    /* MOBILE IMAGE STYLING - MAINTAIN ASPECT RATIO */
    .product-main-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        transition: var(--transition) !important;
        padding: 0.75rem !important;
        border-radius: calc(var(--border-radius) - 2px) !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    /* MOBILE THUMBNAILS */
    .product-thumbnails {
    display: flex;
        gap: 0.75rem;
        overflow-x: auto;
        padding: 0.5rem 0;
        margin-top: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .product-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .thumbnail-item {
        flex: 0 0 65px;
        width: 65px;
        height: 65px;
    border-radius: 8px;
    overflow: hidden;
        cursor: pointer;
        transition: var(--transition);
        border: 2px solid var(--medium-gray);
        position: relative;
        background: var(--light-color);
    }

    .thumbnail-item.active {
    border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(255, 155, 0, 0.3);
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        padding: 0.125rem;
        transition: var(--transition);
    }

    /* MOBILE PRODUCT INFO */
    .product-info-detail {
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-color) 100%);
        border-radius: var(--border-radius);
        padding: 1.5rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        width: 100%;
        height: auto;
        overflow: hidden;
    display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-info-detail h1 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0.75rem;
        line-height: 1.3;
        text-align: left;
    }

    .product-meta-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding: 0.75rem;
        background: var(--light-gray);
    border-radius: 8px;
}

    /* MOBILE PRICE SECTION */
    .product-price-wrapper {
        margin-bottom: 1.5rem;
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: none;
    }

    .price-section-title {
        font-size: 1.1rem;
        font-weight: 800;
    color: var(--secondary-color);
        margin-bottom: 1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 3px solid var(--primary-color);
        padding-bottom: 0.5rem;
        display: inline-block;
    }

    .price-container {
    display: flex;
    flex-direction: column;
        gap: 0.75rem;
        padding: 1.5rem;
        background: var(--light-color);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
    position: relative;
        overflow: hidden;
}

    .price-container::before {
        content: '';
    position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
    }

    .price-row {
    display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .price-info {
    display: flex;
    align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 1.8rem;
        font-weight: 900;
        color: var(--primary-color);
        text-shadow: 1px 1px 2px rgba(255, 155, 0, 0.1);
        letter-spacing: -1px;
    }

    .old-price {
        font-size: 1rem;
        color: var(--dark-gray);
        text-decoration: line-through;
        opacity: 0.7;
        font-weight: 500;
    }

    .discount-badge-inline {
        background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: var(--light-color);
        padding: 0.3rem 0.7rem;
        border-radius: 15px;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    }

    /* MOBILE QUANTITY CONTROL */
    .product-quantity-container {
        margin-bottom: 1rem;
    }

    .quantity-label {
        font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 0.5rem;
        display: inline-block;
    }

    .quantity-control {
    display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        background: var(--light-color);
        border: 2px solid var(--medium-gray);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
        margin: 0 auto;
    }

    .quantity-control:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 25px rgba(255, 155, 0, 0.2);
    }

    .quantity-btn {
        width: 40px;
        height: 40px;
        border: none;
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
        color: var(--text-color);
        font-size: 1.2rem;
        font-weight: 800;
    cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    position: relative;
        overflow: hidden;
}

    .quantity-btn::before {
    content: '';
    position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .quantity-btn:hover::before {
        left: 100%;
    }

    .quantity-btn:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.9) 100%);
        color: var(--light-color);
        transform: scale(1.05);
    }

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

    .quantity-input {
        width: 60px;
        height: 40px;
        border: none;
        text-align: center;
        font-size: 1rem;
        font-weight: 700;
        background: var(--light-color);
        color: var(--text-color);
        border-left: 1px solid var(--medium-gray);
        border-right: 1px solid var(--medium-gray);
    }

    .quantity-input:focus {
        outline: none;
        background: rgba(255, 155, 0, 0.05);
    }

    /* MOBILE BUTTONS */
    .product-buttons {
    display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .btn-add-to-cart,
    .btn-buy-now {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        border-radius: var(--border-radius);
    font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: var(--transition);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
        gap: 0.5rem;
}

    /* MOBILE QUANTITY CONTROL */
    .product-quantity-container {
        margin-bottom: 1rem;
}

    .quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
        gap: 0.5rem;
        background: var(--light-gray);
        border-radius: var(--border-radius);
        padding: 0.5rem;
        width: fit-content;
        margin: 0 auto;
    }

    .quantity-btn {
        width: 35px;
        height: 35px;
        border: none;
        background: var(--primary-color);
        color: var(--light-color);
    border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        font-weight: bold;
    }

    .quantity-input {
        width: 60px;
        height: 35px;
    text-align: center;
        border: 1px solid var(--medium-gray);
        border-radius: var(--border-radius);
        font-size: 1rem;
        font-weight: 600;
    }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
    .product-tabs {
        padding: 0.75rem;
        margin: 0 0.25rem;
    }
    
    .tab-button {
        padding: 0.625rem 1rem;
    font-size: 0.875rem;
    }

    .review-counter {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .tab-header h3 {
        font-size: 1.3rem;
    }

    .review-stats {
        padding: 1rem;
    }

    .rating-circle {
        width: 70px;
        height: 70px;
    }
    
    .rating-value {
        font-size: 1.3rem;
    }
    
    .rating-breakdown {
    font-size: 0.875rem;
}

    .review-item {
        padding: 1rem;
    }

    .review-avatar {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .review-user-name {
        font-size: 0.9rem;
    }

    .review-date {
        font-size: 0.8rem;
    }

    .review-rating i {
    font-size: 1rem;
    }
    
    .write-review {
        padding: 1.25rem;
    }

    .review-form-header {
        margin-bottom: 1rem;
    }

    .review-form-header h3 {
        font-size: 1.2rem;
    }

    .review-form-header p {
        font-size: 0.85rem;
    }

    .rating-select {
        gap: 0.375rem;
    }

    .rating-option {
        width: 35px;
        height: 35px;
    }
    
    .rating-option i {
        font-size: 1rem;
    }

    .submit-review-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .login-required-message {
        padding: 1rem;
    }

    .login-required-message i {
        font-size: 2rem;
    }

    .login-required-message p {
        font-size: 0.85rem;
    }

    .no-reviews {
        padding: 2rem 1rem;
    }

    .no-reviews i {
        font-size: 2.5rem;
    }

    .no-reviews p {
        font-size: 0.9rem;
    }

    /* SMALL MOBILE RESPONSIVE PRODUCT LAYOUT */
    .product-detail-container {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem;
        align-items: start;
    width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* SMALL MOBILE PRODUCT GALLERY - MAINTAIN 1900*1080 ASPECT RATIO */
    .product-gallery {
        position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
        background: var(--light-color);
        border-radius: var(--border-radius);
        padding: 1rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        width: 100%;
        max-width: 100%;
    overflow: hidden;
        margin-bottom: 1rem;
    }

    /* SMALL MOBILE MAIN IMAGE - CRITICAL: MAINTAIN 1900*1080 ASPECT RATIO */
    .product-main-image {
        position: relative !important;
        overflow: hidden !important;
        border-radius: var(--border-radius) !important;
        box-shadow: var(--shadow-soft) !important;
        background: linear-gradient(135deg, var(--light-color) 0%, var(--light-gray) 100%) !important;
        transition: var(--transition) !important;
        
        /* CRITICAL: Force 1900*1080 aspect ratio on small mobile */
        aspect-ratio: 1900 / 1080 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
        max-height: 350px !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid transparent !important;
        margin-bottom: 0.75rem !important;
    }

    /* SMALL MOBILE IMAGE STYLING - MAINTAIN ASPECT RATIO */
    .product-main-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        transition: var(--transition) !important;
        padding: 0.5rem !important;
        border-radius: calc(var(--border-radius) - 2px) !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    /* SMALL MOBILE THUMBNAILS */
    .product-thumbnails {
    display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding: 0.375rem 0;
        margin-top: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .product-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .thumbnail-item {
        flex: 0 0 55px;
        width: 55px;
        height: 55px;
        border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
        transition: var(--transition);
        border: 2px solid var(--medium-gray);
    position: relative;
        background: var(--light-color);
    }

    .thumbnail-item.active {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(255, 155, 0, 0.3);
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        padding: 0.125rem;
        transition: var(--transition);
    }

    /* SMALL MOBILE PRODUCT INFO */
    .product-info-detail {
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-color) 100%);
        border-radius: var(--border-radius);
        padding: 1rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        width: 100%;
        height: auto;
        overflow: hidden;
    display: flex;
        flex-direction: column;
        gap: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-info-detail h1 {
        font-size: 1.25rem;
    font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0.5rem;
        line-height: 1.3;
        text-align: left;
    }

    .product-meta-info {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
        padding: 0.5rem;
        background: var(--light-gray);
        border-radius: 6px;
    }

    /* SMALL MOBILE PRICE SECTION */
    .product-price-wrapper {
        margin-bottom: 1rem;
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: none;
    }

    .price-section-title {
        font-size: 1rem;
        font-weight: 800;
        color: var(--secondary-color);
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 3px solid var(--primary-color);
        padding-bottom: 0.5rem;
        display: inline-block;
    }

    .price-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
        padding: 1.25rem;
        background: var(--light-color);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        position: relative;
        overflow: hidden;
    }

    .price-container::before {
    content: '';
    position: absolute;
        top: 0;
    left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
    }

    .price-row {
    display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.375rem;
    }

    .price-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 1.5rem;
        font-weight: 900;
        color: var(--primary-color);
        text-shadow: 1px 1px 2px rgba(255, 155, 0, 0.1);
        letter-spacing: -1px;
    }

    .old-price {
        font-size: 0.9rem;
        color: var(--dark-gray);
        text-decoration: line-through;
        opacity: 0.7;
        font-weight: 500;
    }

    .discount-badge-inline {
        background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
        color: var(--light-color);
        padding: 0.25rem 0.6rem;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    }

    /* SMALL MOBILE QUANTITY CONTROL */
    .product-quantity-container {
        margin-bottom: 0.75rem;
    }

    .quantity-label {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0.625rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 0.375rem;
        display: inline-block;
    }

    .quantity-control {
    display: flex;
    align-items: center;
        justify-content: center;
        width: fit-content;
        background: var(--light-color);
        border: 2px solid var(--medium-gray);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
        margin: 0 auto;
    }

    .quantity-control:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 25px rgba(255, 155, 0, 0.2);
    }

    .quantity-btn {
        width: 36px;
        height: 36px;
        border: none;
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
        color: var(--text-color);
        font-size: 1.1rem;
        font-weight: 800;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    overflow: hidden;
}

    .quantity-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
    width: 100%;
    height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .quantity-btn:hover::before {
        left: 100%;
    }

    .quantity-btn:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.9) 100%);
        color: var(--light-color);
        transform: scale(1.05);
    }

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

    .quantity-input {
        width: 55px;
        height: 36px;
        border: none;
        text-align: center;
        font-size: 0.95rem;
        font-weight: 700;
        background: var(--light-color);
        color: var(--text-color);
        border-left: 1px solid var(--medium-gray);
        border-right: 1px solid var(--medium-gray);
    }

    .quantity-input:focus {
        outline: none;
        background: rgba(255, 155, 0, 0.05);
    }

    /* MOBILE BUTTONS */
    .product-buttons {
    display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .btn-add-to-cart,
    .btn-buy-now {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        border-radius: var(--border-radius);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: var(--transition);
        border: none;
        cursor: pointer;
    display: flex;
    align-items: center;
        justify-content: center;
        gap: 0.5rem;
}

    /* MOBILE QUANTITY CONTROL */
    .product-quantity-container {
        margin-bottom: 1rem;
}

    .quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
        gap: 0.5rem;
        background: var(--light-gray);
        border-radius: var(--border-radius);
        padding: 0.5rem;
        width: fit-content;
        margin: 0 auto;
    }

    .quantity-btn {
        width: 35px;
        height: 35px;
        border: none;
        background: var(--primary-color);
        color: var(--light-color);
    border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        font-weight: bold;
    }

    .quantity-input {
        width: 60px;
        height: 35px;
        text-align: center;
        border: 1px solid var(--medium-gray);
        border-radius: var(--border-radius);
        font-size: 1rem;
    font-weight: 600;
    }
}

/* Extra Small Mobile (320px - 575px) */
@media (max-width: 575px) {
    .product-tabs {
        padding: 0.75rem;
        margin: 0 0.25rem;
    }

    .tab-button {
        padding: 0.625rem 1rem;
    font-size: 0.875rem;
    }

    .review-counter {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .tab-header h3 {
        font-size: 1.3rem;
    }

    .review-stats {
        padding: 1rem;
    }

    .rating-circle {
        width: 70px;
        height: 70px;
}

.rating-value {
        font-size: 1.3rem;
}

    .rating-breakdown {
    font-size: 0.875rem;
}

    .review-item {
        padding: 1rem;
    }

    .review-avatar {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .review-user-name {
        font-size: 0.9rem;
    }

    .review-date {
        font-size: 0.8rem;
    }

    .review-rating i {
        font-size: 1rem;
    }
    
.write-review {
        padding: 1.25rem;
}

.review-form-header {
        margin-bottom: 1rem;
}

.review-form-header h3 {
        font-size: 1.2rem;
}

.review-form-header p {
        font-size: 0.85rem;
    }

    .rating-select {
        gap: 0.375rem;
    }

    .rating-option {
        width: 35px;
        height: 35px;
    }
    
    .rating-option i {
        font-size: 1rem;
    }

    .form-textarea {
        min-height: 100px;
    }

    .submit-review-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .login-required-message {
        padding: 1rem;
    }

    .login-required-message i {
        font-size: 2rem;
    }

    .login-required-message p {
        font-size: 0.85rem;
    }

    .no-reviews {
        padding: 2rem 1rem;
    }

    .no-reviews i {
        font-size: 2.5rem;
    }

    .no-reviews p {
        font-size: 0.9rem;
    }

    /* SMALL MOBILE RESPONSIVE PRODUCT LAYOUT */
    .product-detail-container {
    display: grid;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem;
        align-items: start;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* SMALL MOBILE PRODUCT GALLERY - MAINTAIN 1900*1080 ASPECT RATIO */
    .product-gallery {
        position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
        background: var(--light-color);
        border-radius: var(--border-radius);
        padding: 1rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    /* SMALL MOBILE MAIN IMAGE - CRITICAL: MAINTAIN 1900*1080 ASPECT RATIO */
    .product-main-image {
        position: relative !important;
        overflow: hidden !important;
        border-radius: var(--border-radius) !important;
        box-shadow: var(--shadow-soft) !important;
        background: linear-gradient(135deg, var(--light-color) 0%, var(--light-gray) 100%) !important;
        transition: var(--transition) !important;
        
        /* CRITICAL: Force 1900*1080 aspect ratio on small mobile */
        aspect-ratio: 1900 / 1080 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
        max-height: 350px !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid transparent !important;
        margin-bottom: 0.75rem !important;
    }

    /* SMALL MOBILE IMAGE STYLING - MAINTAIN ASPECT RATIO */
    .product-main-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        transition: var(--transition) !important;
        padding: 0.5rem !important;
        border-radius: calc(var(--border-radius) - 2px) !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    /* SMALL MOBILE THUMBNAILS */
    .product-thumbnails {
    display: flex;
    gap: 0.5rem;
        overflow-x: auto;
        padding: 0.375rem 0;
        margin-top: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .product-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .thumbnail-item {
        flex: 0 0 55px;
        width: 55px;
        height: 55px;
        border-radius: 6px;
    overflow: hidden;
        cursor: pointer;
        transition: var(--transition);
        border: 2px solid var(--medium-gray);
        position: relative;
        background: var(--light-color);
    }

    .thumbnail-item.active {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(255, 155, 0, 0.3);
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        padding: 0.125rem;
        transition: var(--transition);
    }

    /* SMALL MOBILE PRODUCT INFO */
    .product-info-detail {
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-color) 100%);
        border-radius: var(--border-radius);
        padding: 1rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        width: 100%;
        height: auto;
        overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-info-detail h1 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0.5rem;
        line-height: 1.3;
        text-align: left;
    }

    .product-meta-info {
        display: grid;
        grid-template-columns: 1fr;
    gap: 0.5rem;
        margin-bottom: 0.75rem;
        padding: 0.5rem;
        background: var(--light-gray);
        border-radius: 6px;
    }

    /* SMALL MOBILE PRICE SECTION */
    .product-price-wrapper {
        margin-bottom: 1rem;
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: none;
    }

    .price-section-title {
        font-size: 1rem;
        font-weight: 800;
        color: var(--secondary-color);
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 3px solid var(--primary-color);
        padding-bottom: 0.5rem;
        display: inline-block;
    }

    .price-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.25rem;
        background: var(--light-color);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        position: relative;
        overflow: hidden;
    }

    .price-container::before {
        content: '';
    position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
    }

    .price-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.375rem;
    }

    .price-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 1.5rem;
        font-weight: 900;
        color: var(--primary-color);
        text-shadow: 1px 1px 2px rgba(255, 155, 0, 0.1);
        letter-spacing: -1px;
    }

    .old-price {
        font-size: 0.9rem;
        color: var(--dark-gray);
        text-decoration: line-through;
        opacity: 0.7;
        font-weight: 500;
    }

    .discount-badge-inline {
        background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
        color: var(--light-color);
        padding: 0.25rem 0.6rem;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    }

    /* SMALL MOBILE QUANTITY CONTROL */
    .product-quantity-container {
        margin-bottom: 0.75rem;
    }

    .quantity-label {
        font-size: 0.9rem;
    font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0.625rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 0.375rem;
        display: inline-block;
    }

    .quantity-control {
    display: flex;
    align-items: center;
        justify-content: center;
        width: fit-content;
        background: var(--light-color);
        border: 2px solid var(--medium-gray);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
        margin: 0 auto;
    }

    .quantity-control:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 25px rgba(255, 155, 0, 0.2);
    }

    .quantity-btn {
        width: 36px;
        height: 36px;
        border: none;
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
        color: var(--text-color);
        font-size: 1.1rem;
        font-weight: 800;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    position: relative;
    overflow: hidden;
}

    .quantity-btn::before {
    content: '';
    position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
    height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .quantity-btn:hover::before {
        left: 100%;
    }

    .quantity-btn:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.9) 100%);
        color: var(--light-color);
        transform: scale(1.05);
    }

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

    .quantity-input {
        width: 55px;
        height: 36px;
        border: none;
    text-align: center;
        font-size: 0.95rem;
        font-weight: 700;
        background: var(--light-color);
        color: var(--text-color);
        border-left: 1px solid var(--medium-gray);
        border-right: 1px solid var(--medium-gray);
    }

    .quantity-input:focus {
        outline: none;
        background: rgba(255, 155, 0, 0.05);
    }

    /* MOBILE BUTTONS */
    .product-buttons {
    display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .btn-add-to-cart,
    .btn-buy-now {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        border-radius: var(--border-radius);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: var(--transition);
        border: none;
        cursor: pointer;
    display: flex;
    align-items: center;
        justify-content: center;
        gap: 0.5rem;
}

    /* MOBILE QUANTITY CONTROL */
    .product-quantity-container {
        margin-bottom: 1rem;
}

    .quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
        gap: 0.5rem;
        background: var(--light-gray);
        border-radius: var(--border-radius);
        padding: 0.5rem;
        width: fit-content;
        margin: 0 auto;
    }

    .quantity-btn {
        width: 35px;
        height: 35px;
        border: none;
        background: var(--primary-color);
        color: var(--light-color);
    border-radius: 50%;
    display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        font-weight: bold;
    }

    .quantity-input {
        width: 60px;
        height: 35px;
        text-align: center;
        border: 1px solid var(--medium-gray);
        border-radius: var(--border-radius);
        font-size: 1rem;
    font-weight: 600;
    }
}

/* Extra Small Mobile (320px and below) */
@media (max-width: 575px) {
    .product-tabs {
        padding: 0.75rem;
        margin: 0 0.25rem;
    }

    .tab-button {
        padding: 0.625rem 1rem;
    font-size: 0.875rem;
    }

    .tab-header h3 {
        font-size: 1.3rem;
    }

    .review-stats {
        padding: 1rem;
    }

    .rating-circle {
        width: 70px;
        height: 70px;
    }
    
    .rating-value {
        font-size: 1.3rem;
    }
    
    .rating-breakdown {
    font-size: 0.875rem;
}

    .review-item {
        padding: 1rem;
    }

    .review-avatar {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .review-user-name {
        font-size: 0.9rem;
    }

    .review-date {
        font-size: 0.8rem;
    }

    .review-rating i {
        font-size: 1rem;
    }
    
.write-review {
        padding: 1.25rem;
}

.review-form-header {
        margin-bottom: 1rem;
}

.review-form-header h3 {
        font-size: 1.2rem;
}

.review-form-header p {
        font-size: 0.85rem;
    }

    .rating-select {
        gap: 0.375rem;
    }

    .rating-option {
        width: 35px;
        height: 35px;
    }
    
    .rating-option i {
        font-size: 1rem;
    }

    .form-textarea {
        min-height: 100px;
    }

    .submit-review-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .login-required-message {
        padding: 1rem;
    }

    .login-required-message i {
        font-size: 2rem;
    }

    .login-required-message p {
        font-size: 0.85rem;
    }

    .no-reviews {
        padding: 2rem 1rem;
    }

    .no-reviews i {
        font-size: 2.5rem;
    }

    .no-reviews p {
        font-size: 0.9rem;
    }

    /* SMALL MOBILE RESPONSIVE PRODUCT LAYOUT */
    .product-detail-container {
    display: grid;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem;
        align-items: start;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* SMALL MOBILE PRODUCT GALLERY - MAINTAIN 1900*1080 ASPECT RATIO */
    .product-gallery {
        position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
        background: var(--light-color);
        border-radius: var(--border-radius);
        padding: 1rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin-bottom: 1rem;
    }

    /* SMALL MOBILE MAIN IMAGE - CRITICAL: MAINTAIN 1900*1080 ASPECT RATIO */
    .product-main-image {
        position: relative !important;
        overflow: hidden !important;
        border-radius: var(--border-radius) !important;
        box-shadow: var(--shadow-soft) !important;
        background: linear-gradient(135deg, var(--light-color) 0%, var(--light-gray) 100%) !important;
        transition: var(--transition) !important;
        
        /* CRITICAL: Force 1900*1080 aspect ratio on small mobile */
        aspect-ratio: 1900 / 1080 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
        max-height: 350px !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid transparent !important;
        margin-bottom: 0.75rem !important;
    }

    /* SMALL MOBILE IMAGE STYLING - MAINTAIN ASPECT RATIO */
    .product-main-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        transition: var(--transition) !important;
        padding: 0.5rem !important;
        border-radius: calc(var(--border-radius) - 2px) !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    /* SMALL MOBILE THUMBNAILS */
    .product-thumbnails {
    display: flex;
    gap: 0.5rem;
        overflow-x: auto;
        padding: 0.375rem 0;
        margin-top: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .product-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .thumbnail-item {
        flex: 0 0 55px;
        width: 55px;
        height: 55px;
        border-radius: 6px;
    overflow: hidden;
        cursor: pointer;
        transition: var(--transition);
        border: 2px solid var(--medium-gray);
        position: relative;
        background: var(--light-color);
    }

    .thumbnail-item.active {
    border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(255, 155, 0, 0.3);
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
        padding: 0.125rem;
        transition: var(--transition);
    }

    /* SMALL MOBILE PRODUCT INFO */
    .product-info-detail {
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--light-color) 100%);
        border-radius: var(--border-radius);
        padding: 1rem;
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        width: 100%;
        height: auto;
        overflow: hidden;
    display: flex;
        flex-direction: column;
        gap: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .product-info-detail h1 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0.5rem;
        line-height: 1.3;
        text-align: left;
    }

    .product-meta-info {
        display: grid;
        grid-template-columns: 1fr;
    gap: 0.5rem;
        margin-bottom: 0.75rem;
        padding: 0.5rem;
        background: var(--light-gray);
        border-radius: 6px;
    }

    /* SMALL MOBILE PRICE SECTION */
    .product-price-wrapper {
        margin-bottom: 1rem;
        padding: 0;
        background: transparent;
        border-radius: 0;
        border: none;
    }

    .price-section-title {
        font-size: 1rem;
        font-weight: 800;
        color: var(--secondary-color);
        margin-bottom: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 3px solid var(--primary-color);
        padding-bottom: 0.5rem;
        display: inline-block;
    }

    .price-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.25rem;
        background: var(--light-color);
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-soft);
        border: 1px solid rgba(255, 155, 0, 0.1);
        position: relative;
        overflow: hidden;
    }

    .price-container::before {
        content: '';
    position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.8) 100%);
    }

    .price-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.375rem;
    }

    .price-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
        flex-wrap: wrap;
    }

    .current-price {
        font-size: 1.5rem;
        font-weight: 900;
        color: var(--primary-color);
        text-shadow: 1px 1px 2px rgba(255, 155, 0, 0.1);
        letter-spacing: -1px;
    }

    .old-price {
        font-size: 0.9rem;
        color: var(--dark-gray);
        text-decoration: line-through;
    opacity: 0.7;
        font-weight: 500;
    }

    .discount-badge-inline {
        background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
        color: var(--light-color);
        padding: 0.25rem 0.6rem;
        border-radius: 12px;
        font-weight: 700;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    }

    /* SMALL MOBILE QUANTITY CONTROL */
    .product-quantity-container {
        margin-bottom: 0.75rem;
    }

    .quantity-label {
        font-size: 0.9rem;
    font-weight: 700;
        color: var(--secondary-color);
        margin-bottom: 0.625rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 2px solid var(--primary-color);
        padding-bottom: 0.375rem;
        display: inline-block;
    }

    .quantity-control {
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        background: var(--light-color);
        border: 2px solid var(--medium-gray);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
        margin: 0 auto;
    }

    .quantity-control:hover {
        border-color: var(--primary-color);
        box-shadow: 0 8px 25px rgba(255, 155, 0, 0.2);
    }

    .quantity-btn {
        width: 36px;
        height: 36px;
        border: none;
        background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
        color: var(--text-color);
        font-size: 1.1rem;
        font-weight: 800;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    position: relative;
        overflow: hidden;
}

    .quantity-btn::before {
    content: '';
    position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s;
    }

    .quantity-btn:hover::before {
        left: 100%;
    }

    .quantity-btn:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 155, 0, 0.9) 100%);
        color: var(--light-color);
        transform: scale(1.05);
    }

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

    .quantity-input {
        width: 55px;
        height: 36px;
        border: none;
    text-align: center;
        font-size: 0.95rem;
        font-weight: 700;
        background: var(--light-color);
        color: var(--text-color);
        border-left: 1px solid var(--medium-gray);
        border-right: 1px solid var(--medium-gray);
    }

    .quantity-input:focus {
        outline: none;
        background: rgba(255, 155, 0, 0.05);
    }

    /* MOBILE BUTTONS */
    .product-buttons {
    display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .btn-add-to-cart,
    .btn-buy-now {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        border-radius: var(--border-radius);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: var(--transition);
        border: none;
        cursor: pointer;
    display: flex;
    align-items: center;
        justify-content: center;
        gap: 0.5rem;
}

    /* MOBILE QUANTITY CONTROL */
    .product-quantity-container {
        margin-bottom: 1rem;
}

    .quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
        gap: 0.5rem;
        background: var(--light-gray);
        border-radius: var(--border-radius);
        padding: 0.5rem;
        width: fit-content;
        margin: 0 auto;
    }

    .quantity-btn {
        width: 35px;
        height: 35px;
        border: none;
        background: var(--primary-color);
        color: var(--light-color);
    border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
        font-weight: bold;
    }

    .quantity-input {
        width: 60px;
        height: 35px;
        text-align: center;
        border: 1px solid var(--medium-gray);
        border-radius: var(--border-radius);
        font-size: 1rem;
    font-weight: 600;
    }
}

/* Prevent horizontal scroll on specific elements, not globally */
body {
    overflow-x: hidden;
    max-width: 100vw;
}

.product-detail,
    .product-detail-container {
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix image rendering support for all browsers */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-main-image img {
        -webkit-image-rendering: -webkit-optimize-contrast;
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Accessibility and Performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Loading Animations */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.loading-indicator {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-main-image.loading .loading-indicator {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Dark Mode Support - DISABLED to keep white background */
/*
@media (prefers-color-scheme: dark) {
    .product-detail {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

    .product-gallery,
    .product-info-detail {
        background: #2d2d2d;
        border-color: rgba(255, 155, 0, 0.2);
}

    .product-info-detail h1 {
        color: #ffffff;
    }
    
    .product-meta-info,
    .delivery-info {
        background: #3a3a3a;
    }
}
*/

/* Header scroll bar düzeltmesi - Ürün detay sayfası için - GÜÇLÜ OVERRIDE */
html,
body,
.container,
header,
.header-content,
.logo,
.logo a,
.logo img,
.header-actions,
.action-item,
.profile-icon {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* Logo hover durumunda scroll bar sorunu düzeltmesi - GÜÇLÜ OVERRIDE */
.logo img:hover {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    transform: scale(1.05);
}

/* Container ve body için de overflow düzeltmesi */
html {
    overflow-x: visible !important;
}

body {
    overflow-x: visible !important;
    max-width: none !important;
}

.container {
    overflow: visible !important;
    overflow-x: visible !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
} 

/* CRITICAL: JavaScript Variant Image Change Support - Maintain 1900*1080 Aspect Ratio */
.product-main-image[data-variant-image],
.product-main-image.variant-changing,
.product-main-image.variant-changed {
    /* Force aspect ratio even during dynamic image changes */
    aspect-ratio: 1900 / 1080 !important;
    width: 100% !important;
    height: auto !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
}

.product-main-image[data-variant-image] img,
.product-main-image.variant-changing img,
.product-main-image.variant-changed img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Mobile Variant Image Change Support */
@media (max-width: 767px) {
    .product-main-image[data-variant-image],
    .product-main-image.variant-changing,
    .product-main-image.variant-changed {
        aspect-ratio: 1900 / 1080 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 280px !important;
        max-height: 400px !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        position: relative !important;
        margin-bottom: 1rem !important;
    }
    
    .product-main-image[data-variant-image] img,
    .product-main-image.variant-changing img,
    .product-main-image.variant-changed img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        padding: 0.75rem !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

/* Small Mobile Variant Image Change Support */
@media (max-width: 575px) {
    .product-main-image[data-variant-image],
    .product-main-image.variant-changing,
    .product-main-image.variant-changed {
        aspect-ratio: 1900 / 1080 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 250px !important;
        max-height: 350px !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        position: relative !important;
        margin-bottom: 0.75rem !important;
    }
    
    .product-main-image[data-variant-image] img,
    .product-main-image.variant-changing img,
    .product-main-image.variant-changed img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        padding: 0.5rem !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

/* Extra Small Mobile Variant Image Change Support */
@media (max-width: 320px) {
    .product-main-image[data-variant-image],
    .product-main-image.variant-changing,
    .product-main-image.variant-changed {
        aspect-ratio: 1900 / 1080 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        max-height: 280px !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        position: relative !important;
        margin-bottom: 0.5rem !important;
    }
    
    .product-main-image[data-variant-image] img,
    .product-main-image.variant-changing img,
    .product-main-image.variant-changed img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        display: block !important;
        padding: 0.375rem !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
} 