/* Product Section Styles */
.product-section {
    max-width: 1140px;
    margin: 80px auto;
    background-color: white;
    box-shadow: 0 0 15px rgba(120, 130, 135, 0.6);
    border-radius: 25px;
    overflow: hidden;
}

.product-header {
    background-color: #1a1a1a;
    padding: 5px 30px;
    text-align: center;
    margin: 10px 10px 0 10px;
    border-radius: 25px 25px 0 0;
}

.product-header h2 {
    color: #FFFFFF;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

.product-content {
    display: flex;
    padding: 30px;
    gap: 30px;
    align-items: flex-start;
}

.product-image-section {
    flex: 0 0 250px;
    text-align: center;
}

.product-image {
    width: 216px;
    height: auto;
    margin-bottom: 15px;
    max-width: 216px;
    max-height: 300px;
    object-fit: contain;
}

.product-name {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    line-height: 1;
}

.product-name a,
.product-name a:hover,
.product-name a:visited,
.product-name a:active,
.product-name a:focus {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    border-bottom: none !important;
    outline: none !important;
}

/* Target only the product name link specifically */
.product-image-section a[href*="soluwellness.com"]:has(.product-name),
.product-image-section a[href*="soluwellness.com"]:has(.product-name):hover,
.product-image-section a[href*="soluwellness.com"]:has(.product-name):visited,
.product-image-section a[href*="soluwellness.com"]:has(.product-name):active,
.product-image-section a[href*="soluwellness.com"]:has(.product-name):focus {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    border-bottom: none !important;
    outline: none !important;
    background: none !important;
}

.product-rating {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rating-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #000;
}

.stars {
    color: #E6B800;
    font-size: 17px;
}

.product-rating a {
    text-decoration: none !important;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: row;
}

.reviews-button {
    background-color: #F9CE5A;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    font-weight: 400;
    cursor: pointer;
    margin-top: 10px;
    text-decoration: none;
    display: inline-block;
}

.product-description {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
}

.product-description p {
    margin-bottom: 15px;
    text-align: justify;
}

.product-description .highlight {
    color: #0066cc;
    text-decoration: none;
}

.pros-cons-section {
    margin: 20px 10px 30px 10px;
}

.pros, .cons {
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 15px;
}

.pros {
    background-color: #e8f5e8;
}

.cons {
    background-color: #ffe8e8;
}

.pros h4 {
    background-color: #23A455;
    color: #FFFFFF;
    margin: 0px 0px 15px 0px;
    padding: 8px 0px 3px 0px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 600;
    border-radius: 25px 25px 0 0;
    line-height: 1.2;
}

.cons h4 {
    background-color: #F83333;
    color: #FFFFFF;
    margin: 0px 0px 15px 0px;
    padding: 8px 0px 3px 0px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 600;
    border-radius: 25px 25px 0 0;
    line-height: 1.2;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros li, .cons li {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #000;
    margin-bottom: 0;
    padding-left: 28px;
    position: relative;
}

.pros li::before {
    content: "";
    background-image: url('/images/green-tick.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 17px;
    height: 16px;
    position: absolute;
    left: 2px;
    top: 2px;
}

.cons li::before {
    content: "";
    background-image: url('/images/red-tick.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 17px;
    height: 17px;
    position: absolute;
    left: 2px;
    top: 2px;
}

.product-footer {
    text-align: center;
    padding: 0 30px 30px 30px;
}

.visit-website-button {
    background-color: #72F4BF;
    color: #000000;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
}

/* Hide footer for standard products */
.standard-product .product-footer {
    display: none;
}

/* Tablet layout at 1150px and below - adjust margins to match container */
@media (max-width: 1150px) {
    .product-section {
        margin: 100px 15px;
    }
}

/* Image scaling between 1150px and 1024px - maintains two-column layout */
@media (max-width: 1150px) and (min-width: 1025px) {
    .product-image {
        width: 10vw;
        min-width: 96px;
        max-width: 144px;
    }
}

/* Mobile layout at 1024px and below - switches to single column */
@media (max-width: 1024px) {
    .product-section {
        margin: 80px 15px;
    }
    
    .product-content {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    
    .product-image-section {
        flex: none;
        margin-bottom: 20px;
        order: -1;
        text-align: center;
        align-self: center;
    }
    
    .product-image {
        width: 50vw;
        max-width: 360px;
        min-width: 180px;
        height: auto;
        margin-bottom: 20px;
    }
    
    .product-description {
        order: 1;
        text-align: center;
    }
    
    .pros-cons-section {
        margin: 0 20px 20px 20px;
        order: 2;
    }
    
    .product-footer {
        order: 3;
        text-align: center;
    }
} 