.single-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}

.breadcrumb {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 10px;
    color: #6c757d;
}

.current {
    color: #495057;
    font-weight: 600;
}

.product-hero {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    margin-bottom: 50px;
}

.product-gallery {
    position: sticky;
    top: 30px;
    height: fit-content;
}

.main-image-container {
    position: relative;
    margin-bottom: 20px;
}

.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

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

.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.no-image-large {
    width: 100%;
    height: 500px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 48px;
    border: 2px dashed #dee2e6;
}

.no-image-large span {
    font-size: 16px;
    margin-top: 15px;
    font-weight: 600;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.thumbnail-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail-item.active {
    border-color: #007bff;
}

.thumbnail-item:hover {
    transform: scale(1.05);
    border-color: #007bff;
}

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

.product-info {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.price-section {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.price-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.current-price {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.sku-section {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sku-label {
    font-weight: 600;
    color: #495057;
    font-size: 16px;
}

.sku-value {
    color: #2c3e50;
    font-weight: 500;
    font-size: 16px;
    font-family: monospace;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.quick-specs {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
}

.quick-specs h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 600;
}

.spec-item {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.spec-item:last-child {
    margin-bottom: 0;
}

.product-description-section,
.specifications-section,
.gallery-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.product-description-section h2,
.specifications-section h2,
.gallery-section h2 {
    margin: 0 0 30px 0;
    font-size: 28px;
    color: #2c3e50;
    font-weight: 700;
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
}

.description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.specs-grid {
    display: grid;
    gap: 15px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.spec-row:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.spec-label {
    font-weight: 600;
    color: #495057;
    min-width: 200px;
}

.spec-value {
    color: #2c3e50;
    font-weight: 500;
    text-align: right;
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .single-product-container {
        padding: 20px 15px;
    }
    
    .product-hero {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .no-image-large {
        height: 300px;
        font-size: 36px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .current-price {
        font-size: 28px;
    }
    
    .price-section {
        padding: 15px 20px;
    }
    
    .sku-section {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .quick-specs {
        padding: 15px;
    }
    
    .quick-specs h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .spec-item {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .product-description-section,
    .specifications-section,
    .gallery-section {
        padding: 25px 20px;
    }
    
    .product-description-section h2,
    .specifications-section h2,
    .gallery-section h2 {
        font-size: 24px;
    }
    
    .spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px 20px;
    }
    
    .spec-label {
        min-width: auto;
    }
    
    .spec-value {
        text-align: left;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .single-product-container {
        padding: 15px 10px;
    }
    
    .breadcrumb {
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .main-product-image {
        height: 250px;
    }
    
    .no-image-large {
        height: 250px;
        font-size: 28px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .current-price {
        font-size: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Touch-friendly enhancements */
@media (max-width: 768px) {
    .main-product-image,
    .gallery-item,
    .thumbnail-item {
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
        touch-action: manipulation;
    }
    
    .main-product-image:active,
    .gallery-item:active,
    .thumbnail-item:active {
        transform: scale(0.98);
    }
    
    /* Prevent zoom on double tap */
    * {
        touch-action: manipulation;
    }
}