/* Product Detail Modal Enhanced Styles */

.product-detail-content {
    max-width: 1000px;
    width: 95%;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-primary);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 85vh;
    overflow: hidden;
}

/* Image Grid Section (Left Side) */
.product-gallery {
    background: var(--bg-secondary);
    padding: 2rem;
    overflow-y: auto;
    height: 100%;
}

.product-images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.product-images-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-images-grid img:hover {
    transform: scale(1.02);
}

/* Product Details Section (Right Side) */
.product-details {
    padding: 2.5rem;
    overflow-y: auto;
    height: 100%;
    background: var(--bg-primary);
}

.product-header {
    margin-bottom: 2rem;
}

.product-badge-new {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.detail-product-name {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item i {
    color: var(--accent-color);
}

/* Price Section */
.price-section {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.detail-product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.price-features {
    display: flex;
    gap: 1.5rem;
}

.price-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Specs & Features */
.detail-specs-section,
.detail-features-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.specs-list {
    display: grid;
    gap: 0.75rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 0.9rem;
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    font-weight: 600;
    color: var(--text-primary);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.features-list li i {
    color: var(--success-color);
}

/* Actions */
.detail-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    position: sticky;
    bottom: 0;
    background: var(--bg-primary);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.btn-detail-order {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-detail-order:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .product-gallery {
        height: auto;
        padding: 1rem;
    }

    .product-details {
        height: auto;
        padding: 1.5rem;
    }

    .detail-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem;
        background: var(--bg-primary);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
        margin: 0;
    }

    .product-details {
        padding-bottom: 5rem;
    }
}