/* 
 * Product Single Page (Layout & Structure)
 * Clean Architecture (Mobile-First)
 */

.cp-product-page {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* =========================================================
   Mobile First Layout
   ========================================================= */
.cp-gallery-column {
    width: 100%;
    z-index: 1;
}

.cp-summary-column {
    width: 100%;
    position: relative;
    z-index: 2;
    padding: 15px; /* Small margin on right and left as requested */
}

/* Flat Info Design (No Card Background) */
.cp-product-info-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-bottom: 24px;
}

.cp-product-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cp-price-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.cp-price-block .price-sale {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.cp-price-block .price-regular {
    font-size: 16px;
    text-decoration: line-through;
    color: #999;
}

/* =========================================================
   Desktop Layout (Sticky Split)
   ========================================================= */
@media (max-width: 991px) {
    .cp-product-title {
        text-align: center;
        font-size: 16px !important; /* Minimalist, very small title as requested */
    }
    .cp-price-block {
        justify-content: center;
    }
}

@media (min-width: 992px) {
    .cp-product-page {
        max-width: 1200px;
        margin: 40px auto;
        gap: 5%;
        padding: 0 20px;
        align-items: flex-start;
    }

    .cp-gallery-column {
        width: 50%;
        margin-bottom: 0;
        position: sticky;
        top: 100px; /* Under the header */
    }

    .cp-summary-column {
        width: 45%;
        padding: 0; /* Remove mobile padding */
    }
}
