/**
 * Theme Name:        lN
 * Template:		  astra
 * Theme URI:         https://laudablenadi.com
 * Description:       laudable nadi
 * Version:           1.0.0
 * Author:            laudable nadi
 * Author URI:        https://laudablenadi.com
 * Tags:              ln, block-patterns, full-site-editing
 * Text Domain:       ln
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           ln
 * License URI:       https://laudablenadi.com
 */
 
 
/* === PRODUCT LAYOUT === */

.custom-product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
    align-items: flex-start;
}

.custom-product-gallery {
    flex: 1 1 45%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

/* Fix image not filling full gallery width */
.woocommerce-product-gallery,
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image {
    width: 100% !important;
    display: block;
}

.woocommerce-product-gallery img {
    max-height: 600px;
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.custom-product-info {
    flex: 1 1 45%;
    max-width: 600px;
}

/* === PRODUCT DETAILS === */

.custom-description {
    margin-bottom: 2rem;
}

.custom-price {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--ast-global-color-1);
    font-weight: 600;
}

/* === CART FORM FIXES === */

form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
	margin-bottom: 1rem;
}

form.cart .quantity {
    margin-right: 1rem;
}


form.cart .single_add_to_cart_button {
    width: auto !important;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 12px 24px;
}

/* === META UNDER CART === */

.custom-cart-meta .product_meta {
    font-size: 0.9rem;
    color: var(--ast-global-color-3);
    margin-top: 1rem;
}

.custom-cart-meta .product_meta .posted_in,
.custom-cart-meta .product_meta .tagged_as {
    display: block;
    margin-bottom: 0.25rem;
}

/* === REVIEWS SECTION === */

.custom-reviews {
    margin-top: 3rem;
    padding-top: 2rem;
}

/* === RESPONSIVE STACK === */

@media (max-width: 768px) {
    .custom-product-layout {
        flex-direction: column;
    }

    .custom-product-gallery,
    .custom-product-info {
        max-width: 100%;
    }
}


.product-artwork {
    text-align: center;
    max-width: 600px;
    margin: 29px auto 33px auto;
}





.custom-product-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: center;
}

.gallery-item {
    max-width: 300px;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.gallery-caption {
    font-size: 0.875rem;
    color: #555;
    margin-top: 0.75rem;
    font-style: italic;
}


.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}