/* ==========================================
   Family Detail Page - Estilos Específicos
   ========================================== */

/* ==========================================
   Family Hero
   ========================================== */
.family-hero {
    margin-top: 80px;
    background-color: #FAFAFA;
    padding: 100px 80px;
    display: flex;
    justify-content: center;
}

.family-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 700px;
    text-align: center;
}

.family-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

.family-breadcrumb a {
    font-size: 13px;
    font-weight: 400;
    color: #888888;
    transition: color 0.3s ease;
}

.family-breadcrumb a:hover {
    color: #1A1A1A;
}

.family-breadcrumb span {
    font-size: 13px;
    font-weight: 400;
    color: #CCCCCC;
}

.family-breadcrumb .breadcrumb-current {
    font-weight: 500;
    color: #1A1A1A;
}

.family-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1A1A1A;
    line-height: 1.1;
}

.family-hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
}

/* ==========================================
   Nav Active State
   ========================================== */
.nav-link-active {
    color: #1A1A1A !important;
    font-weight: 600 !important;
}

/* ==========================================
   Products Grid
   ========================================== */
.family-products {
    background-color: #FFFFFF;
    padding: 80px;
}

.family-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ==========================================
   Product Card
   ========================================== */
.family-product-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.family-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.family-product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.family-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Nature Pro centered image style */
.family-product-image-center {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F5F5F5;
    padding: 30px;
}

.family-product-image-center img {
    width: auto;
    max-width: 280px;
    height: auto;
    max-height: 130px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.family-product-card:hover .family-product-image-center img {
    transform: scale(1.08);
}

.family-product-info {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.family-product-name {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
}

.family-product-desc {
    font-size: 15px;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
}

.family-product-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}

.family-product-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.family-product-features svg {
    width: 16px;
    height: 16px;
    color: #0D6E6E;
    flex-shrink: 0;
}

.family-product-features span {
    font-size: 13px;
    color: #666666;
}

.family-product-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: #000;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 8px;
}

.family-product-link:hover {
    background-color: #EEE;
    color: #333;
    transform: translateY(-2px);
}

.family-product-link svg {
    width: 18px;
    height: 18px;
}



/* ==========================================
   Responsive - Tablet (max 1024px)
   ========================================== */
@media (max-width: 1024px) {
    .family-hero {
        padding: 80px 40px;
    }

    .family-hero-title {
        font-size: 40px;
    }

    .family-hero-subtitle {
        font-size: 18px;
    }

    .family-products {
        padding: 60px 40px;
    }

    .family-products-grid {
        gap: 24px;
    }

    .family-product-image {
        height: 240px;
    }

    .family-product-name {
        font-size: 22px;
    }
}

/* ==========================================
   Responsive - Mobile (max 768px)
   ========================================== */
@media (max-width: 768px) {
    .family-hero {
        margin-top: 70px;
        padding: 60px 24px;
    }

    .family-hero-title {
        font-size: 32px;
    }

    .family-hero-subtitle {
        font-size: 16px;
    }

    .family-products {
        padding: 48px 24px;
    }

    .family-products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
    }

    .family-product-image {
        height: 220px;
    }

    .family-product-info {
        padding: 20px;
    }

    .family-product-name {
        font-size: 20px;
    }

    .family-product-desc {
        font-size: 14px;
    }
}

/* ==========================================
   Responsive - Small Mobile (max 480px)
   ========================================== */
@media (max-width: 480px) {
    .family-hero {
        padding: 48px 16px;
    }

    .family-hero-title {
        font-size: 28px;
    }

    .family-hero-subtitle {
        font-size: 15px;
    }

    .family-products {
        padding: 40px 16px;
    }

    .family-product-image {
        height: 200px;
    }

    .family-product-card {
        border-radius: 12px;
    }

    .family-product-name {
        font-size: 18px;
    }

    .family-product-desc {
        font-size: 13px;
    }

    .family-product-features span {
        font-size: 12px;
    }
    .family-card-btn {
        width: 100%;
    }
}
