/**
 * Gordon Nvan - Product Detail Page Styles
 * File: crystal/composition-brilliance.css
 */

/* Product Page Layout */
.product-page-wrapper-n8k3 {
    padding: 40px 0 80px;
}

.product-layout-grid-m9p4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Product Images */
.product-images-section-b5r7 {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.main-image-wrapper-x7n2 {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.main-image-wrapper-x7n2 img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-grid-p8m3 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail-item-k9w4 {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.thumbnail-item-k9w4:hover,
.thumbnail-item-k9w4.active {
    border-color: var(--rose-gold);
}

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

/* Product Info */
.product-info-section-r2t6 {
    padding-top: 20px;
}

.product-breadcrumb-n4j8 {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.product-breadcrumb-n4j8 a {
    color: var(--text-light);
}

.product-breadcrumb-n4j8 a:hover {
    color: var(--rose-gold);
}

.product-title-main-p7k5 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-price-main-m9n3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.product-price-main-m9n3 .current {
    color: var(--rose-gold);
    font-weight: 500;
}

.product-price-main-m9n3 .original {
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 15px;
    font-size: 1.1rem;
}

.product-short-desc-b4n7 {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

/* Variants */
.variant-section-x9m2 {
    margin-bottom: 25px;
}

.variant-label-k7p4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}

.variant-options-n6b8 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variant-option-r3t9 {
    padding: 10px 20px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.variant-option-r3t9:hover {
    border-color: var(--rose-gold);
}

.variant-option-r3t9.selected {
    border-color: var(--rose-gold);
    background: var(--rose-gold);
    color: white;
}

.variant-option-r3t9:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Quantity */
.quantity-section-p5m8 {
    margin-bottom: 25px;
}

.quantity-wrapper-n4k7 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-control-b9r2 {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn-m3p6 {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.quantity-btn-m3p6:hover {
    background: var(--pearl-cream);
}

.quantity-input-x8n4 {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
}

/* Add to Cart */
.add-to-cart-section-k2w7 {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart-btn-n9m4 {
    flex: 1;
    padding: 16px 40px;
    font-size: 1rem;
}

.wishlist-btn-p7b3 {
    width: 56px;
    height: 56px;
    border: 1px solid var(--border-light);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.wishlist-btn-p7b3:hover {
    border-color: var(--rose-gold);
    color: var(--rose-gold);
}

/* Product Meta */
.product-meta-r6t8 {
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
}

.meta-item-b4n7 {
    display: flex;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.meta-label-x9m3 {
    color: var(--text-light);
    width: 100px;
}

.meta-value-k2p8 {
    color: var(--text-dark);
}

/* Accordion Details */
.product-details-accordion-n5j9 {
    margin-top: 40px;
}

.accordion-item-m7k4 {
    border-bottom: 1px solid var(--border-light);
}

.accordion-header-p8n2 {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.accordion-header-p8n2:hover {
    color: var(--rose-gold);
}

.accordion-icon-r3t6 {
    transition: transform 0.3s ease;
}

.accordion-item-m7k4.active .accordion-icon-r3t6 {
    transform: rotate(180deg);
}

.accordion-content-b9w5 {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item-m7k4.active .accordion-content-b9w5 {
    max-height: 500px;
}

.accordion-inner-x7m3 {
    padding-bottom: 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* Related Products Grid */
.related-section-p4k9 {
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.related-title-n8m2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
}

.related-grid-m9p4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.related-card-b7n3 {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.related-card-b7n3:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.related-card-img-p8r2 {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-card-img-p8r2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card-b7n3:hover .related-card-img-p8r2 img {
    transform: scale(1.05);
}

.related-card-info-k5n9 {
    padding: 15px;
}

.related-card-name-x4m7 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--midnight-blue);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-card-price-n3b8 {
    font-size: 1rem;
    color: var(--rose-gold);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .related-grid-m9p4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .related-card-img-p8r2 {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .related-grid-m9p4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-card-img-p8r2 {
        height: 160px;
    }
}

/* Cart Modal */
.cart-modal-overlay-k7n3 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.cart-modal-overlay-k7n3.active {
    display: flex;
}

.cart-modal-content-m9p2 {
    background: white;
    border-radius: 8px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.cart-modal-icon-b5n8 {
    width: 60px;
    height: 60px;
    background: #d4edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #155724;
    font-size: 1.5rem;
}

.cart-modal-title-r2t6 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cart-modal-message-n4j7 {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.cart-modal-actions-p8m3 {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-layout-grid-m9p4 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-images-section-b5r7 {
        position: relative;
        top: 0;
    }
    
    .thumbnail-grid-p8m3 {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .product-title-main-p7k5 {
        font-size: 1.8rem;
    }
    
    .add-to-cart-section-k2w7 {
        flex-direction: column;
    }
    
    .wishlist-btn-p7b3 {
        width: 100%;
        height: 48px;
    }
    
    .thumbnail-grid-p8m3 {
        grid-template-columns: repeat(4, 1fr);
    }
}
