/* Professional Single Product Page Overrides */

/* Wrapper Layout */
.product-pro-wrapper-6ec1ba26 {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.product-pro-wrapper-6ec1ba26 > .woocommerce-product-gallery {
    width: 100%;
    flex: 1 1 55%;
}

.product-pro-details-sticky-6ec1ba26 {
    width: 100%;
    flex: 1 1 40%;
    position: sticky;
    top: 40px; /* Base offset */
    align-self: flex-start;
}

body.admin-bar .product-pro-details-sticky-6ec1ba26 {
    top: calc(var(--wp-admin--admin-bar--height, 32px) + 40px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .product-pro-details-sticky-6ec1ba26 {
        top: calc(46px + 40px);
    }
    
    .product-pro-wrapper-6ec1ba26 {
        flex-direction: column;
    }
    
    .product-pro-wrapper-6ec1ba26 > .woocommerce-product-gallery,
    .product-pro-details-sticky-6ec1ba26 {
        flex: 1 1 100%;
        position: static;
    }
}

/* Typography and Whitespace */
.product-pro-details-sticky-6ec1ba26 .product_title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #222;
    text-transform: capitalize;
}

.product-pro-details-sticky-6ec1ba26 .price {
    font-size: 24px;
    font-weight: 500;
    color: #111;
    margin-bottom: 25px;
}

.price-custom-text-6ec1ba26 {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    margin-left: 5px;
}

.product-pro-details-sticky-6ec1ba26 .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

/* Button Styling (Clean & Minimal) */
.product-pro-details-sticky-6ec1ba26 form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.product-pro-details-sticky-6ec1ba26 .quantity {
    margin-right: 0 !important;
}

.product-pro-details-sticky-6ec1ba26 .quantity input.qty {
    width: 60px;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    text-align: center;
    font-size: 16px;
    background: #f9f9f9;
}

.product-pro-details-sticky-6ec1ba26 button.single_add_to_cart_button {
    flex: 1;
    height: 50px;
    background-color: #111 !important;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    padding: 0 25px;
}

.product-pro-details-sticky-6ec1ba26 button.single_add_to_cart_button:hover {
    background-color: #444 !important;
}

/* Meta info */
.product-pro-details-sticky-6ec1ba26 .product_meta {
    font-size: 13px;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-pro-details-sticky-6ec1ba26 .product_meta a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.product-pro-details-sticky-6ec1ba26 .product_meta a:hover {
    text-decoration: underline;
}

/* Gallery tweaks */
.woocommerce-product-gallery figure {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.woocommerce-product-gallery .flex-control-nav {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.woocommerce-product-gallery .flex-control-nav li img {
    border-radius: 4px;
    border: 1px solid transparent;
    transition: border-color 0.2s;
}

.woocommerce-product-gallery .flex-control-nav li img.flex-active {
    border-color: #111;
}
