/* Product Detail Modal Styles */

.product-detail-modal {
    max-width: 1200px !important;
    width: 95% !important;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Image Gallery */
.product-detail-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    background: #0f0f0f;
    border-radius: 12px;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: crosshair;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
}

/* Image Magnifier Glass */
.img-magnifier-glass {
    position: absolute;
    border: 3px solid #E63946;
    border-radius: 50%;
    cursor: none;
    width: 150px;
    height: 150px;
    pointer-events: none;
    z-index: 99;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5),
                0 0 40px rgba(230, 57, 70, 0.3);
}

/* Hover instruction text */
.main-image::before {
    content: 'Hover to zoom';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #E63946;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Special Elite', cursive;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 10;
}

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

.image-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: contain;
    background: #0f0f0f;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #E63946;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
    cursor: pointer;
}

/* Product Info */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-price-large {
    font-family: 'Creepster', cursive;
    font-size: 3rem;
    color: #E63946;
    text-shadow: 0 0 15px rgba(230, 57, 70, 0.6);
}

.product-badge-detail {
    display: inline-block;
    background: #E63946;
    color: #000;
    padding: 0.5rem 1rem;
    font-family: 'Special Elite', cursive;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.8);
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
}

.selection-label {
    display: block;
    font-family: 'Special Elite', cursive;
    color: #E63946;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.selection-label span {
    color: #fff;
    margin-left: 0.5rem;
}

/* Color Selection */
.color-selection {
    padding: 1.5rem;
    background: rgba(15, 15, 15, 0.5);
    border-radius: 8px;
    border: 1px solid #333;
}

.color-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #333;
    transition: all 0.3s;
    position: relative;
}

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

.color-option.active {
    border-color: #E63946;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.8);
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px #000, 0 0 20px #000;
}

/* Size Selection */
.size-selection {
    padding: 1.5rem;
    background: rgba(15, 15, 15, 0.5);
    border-radius: 8px;
    border: 1px solid #333;
}

.size-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.size-option {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 2px solid #333;
    padding: 0.75rem 1.5rem;
    font-family: 'Special Elite', cursive;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s;
}

.size-option:hover {
    border-color: #E63946;
    transform: translateY(-2px);
}

.size-option.active {
    background: #E63946;
    border-color: #E63946;
    color: #000;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.6);
}

/* Product Details */
.product-details-text {
    padding: 1.5rem;
    background: rgba(15, 15, 15, 0.5);
    border-radius: 8px;
    border: 1px solid #333;
}

.product-details-text p {
    color: #999;
    line-height: 1.7;
}

/* Recommendations */
.recommendations-section {
    padding-top: 3rem;
    border-top: 2px solid #E63946;
    margin-top: 2rem;
}

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

.recommendation-card {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.recommendation-card:hover {
    border-color: #E63946;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
    transform: translateY(-5px);
}

.recommendation-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background: #0f0f0f;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.recommendation-card h4 {
    font-family: 'Special Elite', cursive;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: center;
}

.rec-price {
    font-family: 'Creepster', cursive;
    font-size: 1.3rem;
    color: #E63946;
    text-align: center;
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .product-detail-modal {
        padding: 1rem;
    }
    
    .main-image {
        height: 300px;
        cursor: default; /* Remove crosshair on mobile */
    }
    
    /* Hide magnifier on mobile */
    .img-magnifier-glass {
        display: none !important;
    }
    
    /* Hide zoom instruction on mobile */
    .main-image::before {
        display: none;
    }
    
    .product-price-large {
        font-size: 2.5rem;
    }
    
    .recommendations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .color-option {
        width: 40px;
        height: 40px;
    }
    
    .size-option {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-detail-modal {
        padding: 0.75rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .product-price-large {
        font-size: 2rem;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .image-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .thumbnail {
        height: 60px;
    }
}
