/* =========================================================
   RECOMMENDATIONS.CSS
   milaphysio.de
   Página de recomendações
   ========================================================= */


/* =========================
   HERO
   ========================= */

.recommendations-hero {
    padding: 90px 20px 70px;
    text-align: center;
    background: linear-gradient(
        135deg,
        #f8f3ed 0%,
        #ffffff 100%
    );
}

.recommendations-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: #222;
}

.recommendations-hero p {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}


/* =========================
   CATEGORIES
   ========================= */

.categories {
    padding: 35px 20px;
    background: #fff;
}

.categories .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* =========================
   PRODUCTS
   ========================= */

.products {
    padding: 70px 20px 90px;
    background: #faf9f7;
}

#products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}


/* =========================
   PRODUCT CARD
   ========================= */

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}


/* =========================
   PRODUCT IMAGE
   ========================= */

.product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    padding: 25px;
    background: #fff;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}


/* =========================
   PRODUCT CONTENT
   ========================= */

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.product-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #b68d40;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-content h3 {
    margin: 0 0 14px;
    color: #222;
    font-size: 1.25rem;
    line-height: 1.4;
}

.product-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* =========================
   PRICE
   ========================= */

.product-price {
    margin-top: 20px;
    color: #222;
    font-size: 1.2rem;
    font-weight: 700;
}


/* =========================
   BUTTONS
   ========================= */

.product-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
}

.product-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.product-buttons .btn-primary {
    background: #b68d40;
    color: #fff;
}

.product-buttons .btn-primary:hover {
    background: #96722f;
    transform: translateY(-2px);
}

.product-buttons .btn-secondary {
    background: #f1ede7;
    color: #333;
}

.product-buttons .btn-secondary:hover {
    background: #e5ddd2;
    transform: translateY(-2px);
}


/* =========================
   AFFILIATE DISCLOSURE
   ========================= */

.affiliate-disclosure {
    padding: 30px 20px;
    background: #f5f2ee;
    border-top: 1px solid #e8e2da;
}

.affiliate-disclosure p {
    max-width: 900px;
    margin: 0 auto;
    color: #777;
    font-size: 0.82rem;
    line-height: 1.7;
    text-align: center;
}


/* =========================
   PRODUCT DETAIL PAGE
   ========================= */

.product-hero {
    padding: 80px 20px;
    background: #faf9f7;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.product-image-large {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
}

.product-image-large img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.product-info h1 {
    margin: 12px 0 20px;
    color: #222;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
}

.product-subtitle {
    margin-bottom: 30px;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
}


/* =========================
   REVIEW
   ========================= */

.product-review,
.product-benefits,
.professional-opinion,
.pros-cons {
    padding: 80px 20px;
}

.product-review {
    background: #fff;
}

.product-review h2,
.product-benefits h2,
.professional-opinion h2,
.pros-cons h2 {
    margin-bottom: 25px;
    color: #222;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.product-review p,
.product-benefits > .container > p,
.professional-opinion > .container > p {
    max-width: 850px;
    color: #666;
    font-size: 1rem;
    line-height: 1.9;
}


/* =========================
   RATING
   ========================= */

.rating-box {
    max-width: 320px;
    margin-top: 35px;
    padding: 25px;
    background: #faf9f7;
    border-radius: 14px;
    text-align: center;
}

.rating-box h3 {
    margin: 0 0 10px;
}

.stars {
    margin-bottom: 8px;
    font-size: 1.4rem;
}


/* =========================
   BENEFIT CARDS
   ========================= */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px;
}

.benefit-card {
    padding: 25px;
    background: #faf9f7;
    border-radius: 14px;
}

.benefit-card i {
    margin-bottom: 12px;
    color: #b68d40;
    font-size: 1.3rem;
}

.benefit-card h3 {
    margin: 0 0 10px;
    color: #222;
    font-size: 1.1rem;
}

.benefit-card p {
    margin: 0;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.7;
}


/* =========================
   RECOMMENDATION / WARNING
   ========================= */

.recommendation-grid,
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.recommend-box,
.warning-box,
.pros-box,
.cons-box {
    padding: 30px;
    border-radius: 16px;
}

.recommend-box,
.pros-box {
    background: #f5f8f3;
}

.warning-box,
.cons-box {
    background: #faf5f2;
}

.recommend-box h3,
.warning-box h3,
.pros-box h3,
.cons-box h3 {
    margin-top: 0;
    color: #222;
}

.recommend-box i {
    color: #668a5b;
}

.warning-box i,
.cons-box i {
    color: #a66a45;
}

.recommend-box ul,
.warning-box ul,
.pros-box ul,
.cons-box ul {
    margin: 20px 0 0;
    padding-left: 20px;
}

.recommend-box li,
.warning-box li,
.pros-box li,
.cons-box li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 1000px) {

    #products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-hero-grid {
        gap: 35px;
    }

}


@media (max-width: 700px) {

    .recommendations-hero {
        padding: 65px 20px 50px;
    }

    .products {
        padding: 50px 15px 65px;
    }

    #products-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .product-image {
        height: 240px;
    }

    .product-content {
        padding: 22px;
    }

    .product-buttons {
        flex-direction: column;
    }

    .product-buttons a {
        width: 100%;
    }

    .product-hero {
        padding: 50px 15px;
    }

    .product-hero-grid {
        grid-template-columns: 1fr;
    }

    .product-image-large {
        min-height: 300px;
    }

    .product-review,
    .product-benefits,
    .professional-opinion,
    .pros-cons {
        padding: 55px 15px;
    }

    .benefits-grid,
    .recommendation-grid,
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================
   CATEGORY BUTTONS
   ========================= */

.category-button {
    border: 1px solid #d8c7aa;
    background: #ffffff;
    color: #555;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-button:hover {
    background: #f5efe7;
    color: #222;
    border-color: #b68d40;
}

.category-button.active {
    background: #b68d40;
    color: #ffffff;
    border-color: #b68d40;
}