/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
*/

/* ============================================
   RESET & BASE LAYOUT
   ============================================ */
.luminia-product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.product-container {
    width: 100%;
}

.product-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Left Column: Gallery (40%) */
.product-gallery-column {
    flex: 0 0 40%;
    max-width: 40%;
}

/* Right Column: Details (60%) */
.product-details-column {
    flex: 0 0 60%;
    max-width: 60%;
}

/* ============================================
   GALLERY STYLING
   ============================================ */
.woocommerce-product-gallery {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

/* Thumbnails - Vertical Left */
.flex-control-nav.flex-control-thumbs {
    width: 15%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    width: 100%;
}

.flex-control-thumbs li img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid #eee;
    cursor: pointer;
}

.flex-control-thumbs li img:hover,
.flex-control-thumbs li img.flex-active {
    border-color: #000;
}

/* Main Image */
.woocommerce-product-gallery__wrapper {
    width: 85%;
}

.woocommerce-product-gallery__image {
    width: 100%;
    margin-bottom: 15px;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

/* Sale Badge */
.onsale {
    position: absolute;
    top: 15px;
    left: calc(15% + 25px); 
    background: #000;
    color: #fff;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 100;
}

/* ============================================
   PRODUCT HEADER
   ============================================ */
.product-brand .brand-name {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #000;
    line-height: 1.2;
}

/* Reviews */
.product-reviews .star-rating {
    display: inline-block;
    margin-right: 10px;
}

.product-reviews .star-rating::before {
    content: '★★★★★';
    color: #ffd700;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-count {
    font-size: 14px;
    color: #666;
}

/* Price */
.product-price-container .price {
    font-size: 24px;
    margin: 20px 0;
}

.product-price-container del {
    color: #999;
    font-size: 20px;
    margin-right: 10px;
    text-decoration: line-through;
}

.product-price-container ins {
    color: #000;
    font-size: 24px;
    text-decoration: none;
    background: transparent;
    font-weight: 700;
}

.product-price-container .onsale {
    position: static;
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 14px;
    margin-left: 10px;
    vertical-align: middle;
}

/* ============================================
   SHORT DESCRIPTION
   ============================================ */
.product-short-description {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-short-description p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* ============================================
   SIZE SELECTION
   ============================================ */
.product-meta-section {
    margin: 30px 0;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
    color: #000;
}

/* Variations/Attributes */
.variations {
    margin: 0;
}

.variations tr {
    display: block;
    margin-bottom: 10px;
}

.variations label {
    font-weight: 600;
    color: #000;
}

.variations select {
    width: 100%;
    max-width: 200px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
}

/* ============================================
   ADD TO CART
   ============================================ */
.product-add-to-cart {
    margin: 30px 0;
}

.quantity {
    display: inline-block;
    margin-right: 15px;
}

.quantity .input-text.qty {
    width: 80px;
    height: 50px;
    padding: 0 10px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
}

.single_add_to_cart_button {
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    height: 50px;
    vertical-align: top;
}

.single_add_to_cart_button:hover {
    opacity: 0.9;
}

/* ============================================
   SHIPPING INFO
   ============================================ */
.shipping-info {
    background: #f9f9f9;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

/* ============================================
   FEATURES/BENEFITS
   ============================================ */
.product-features {
    margin: 30px 0;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.features-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    position: relative;
    padding-left: 25px;
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* ============================================
   FULL DESCRIPTION
   ============================================ */
.product-full-description {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.product-full-description p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .product-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .product-gallery-column,
    .product-details-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .woocommerce-product-gallery {
        flex-direction: column;
    }
    
    .flex-control-nav.flex-control-thumbs {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 15px;
    }
    
    .flex-control-thumbs li {
        flex: 0 0 calc(25% - 10px);
    }
    
    .woocommerce-product-gallery__wrapper {
        width: 100%;
    }
    
    .onsale {
        left: 15px;
    }
    
    .product-title {
        font-size: 24px;
    }
}

/* ============================================
   HIDE DEFAULT WOOCOMMERCE ELEMENTS
   ============================================ */
.woocommerce-breadcrumb,
.woocommerce-product-rating,
.product_meta,
.woocommerce-tabs,
.related.products,
.upsells.products {
    display: none !important;
}