/* Product Page Specific Styles */
.product-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0 1rem 0;
    margin-bottom: 1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.product-image-container {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: none;
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 480px;
    height: 500px;
}

.image-container {
    margin-bottom: 1rem;
}

.main-image {
    position: relative;
    width: 400px;
    height: 400px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: visible;
}

.main-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.product-image {
    max-width: 420px;
    max-height: 360px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.magnifier {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 0;
    border: 3px solid #27ae60;
    cursor: none;
    display: none;
    z-index: 5;
    pointer-events: none;
    background-repeat: no-repeat;
}

/* Ensure product-info has position relative for overlay */
.product-info {
    position: relative;
}

/* Desktop only */
@media (min-width: 769px) {
    .main-image {
        cursor: none;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .main-image {
        width: 100%;
        height: 300px;
    }
    
    .magnifier {
        display: none;
    }
}

.carousel-btn {
    display: none;
}

.thumbnail-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
}

.thumbnail-item {
    flex: 0 0 auto;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: #27ae60;
    transform: scale(1.05);
}

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

.product-info {
    padding: 0 1rem;
}

.product-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #27ae60;
    margin-bottom: 2rem;
    font-weight: 500;
}

.feature-list {
    list-style-type: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-item {
    margin-bottom: 0.3rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.feature-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.show-more-container {
    text-align: center;
    margin-top: 1rem;
}

.show-more-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: #219a52;
    transform: scale(1.05);
}

.customization-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin: 0.5rem 0 0.5rem 0;
}

.option-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.option-list {
    list-style: none;
    padding: 0;
}

.option-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.option-list li:last-child {
    border-bottom: none;
}

.cta-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border-radius: 12px;
    margin: 0.5rem 0;
}

.cta-section h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-image-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem !important;
        height: auto !important;
    }
    
    .product-image {
        max-width: 100% !important;
        max-height: 300px !important;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .main-image {
        min-height: 300px;
        padding: 1rem;
    }
    
    .main-image img {
        max-height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .thumbnail-gallery {
        flex-wrap: wrap;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        margin-bottom: 0.8rem;
        padding: 0.3rem 0;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 2rem 0;
    }
    
    .product-image-container {
        padding: 0.8rem !important;
    }
    
    .product-image {
        max-height: 250px !important;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .feature-item {
        margin-bottom: 0.6rem;
        padding: 0.2rem 0;
    }
    
    .thumbnail-gallery {
        justify-content: flex-start;
        gap: 0.3rem;
        padding: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .thumbnail-item {
        min-width: 80px;
    }
    
    .thumbnail-item img {
        height: 60px;
        object-fit: cover;
    }
    
    .main-image {
        min-height: 250px;
        padding: 0.5rem;
    }
    
    .main-image img {
        max-height: 200px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}
