/* =========================================================
   BABYFAYRE - DIAPER BAG BUYING GUIDE
   ========================================================= */

.diaper-guide {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.diaper-header {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
}

.diaper-category {
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 18px;
    border-radius: 30px;
    background: rgb(252, 201, 209);
}

.diaper-header h1 {
    font-size: clamp(35px, 6vw, 60px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.diaper-intro {
    font-size: 20px;
    line-height: 1.7;
    color: #616b75;
}

.diaper-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 25px;
    color: #616b75;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.diaper-section {
    margin-bottom: 70px;
}

.diaper-section h2,
.packing-section h2,
.tips-section h2,
.related-section h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 15px;
}

.diaper-section > p,
.packing-section > p,
.tips-section > p {
    font-size: 18px;
    line-height: 1.7;
    color: #616b75;
}


/* =========================================================
   BAG TYPES
   ========================================================= */

.diaper-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.diaper-type {
    padding: 25px;
    border-radius: 18px;
    background: #f7f7f7;
    text-align: center;
}

.type-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.diaper-type h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.diaper-type p {
    color: #616b75;
    line-height: 1.6;
}


/* =========================================================
   FEATURES
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 20px;
    background: #f7f7f7;
}

.feature-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #616b75;
    line-height: 1.7;
}


/* =========================================================
   COMPARISON
   ========================================================= */

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.comparison-card {
    padding: 30px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comparison-card h3 {
    font-size: 25px;
    margin-bottom: 12px;
}

.comparison-card > strong {
    display: block;
    font-size: 22px;
    margin-bottom: 15px;
}

.best-for {
    color: #616b75;
    line-height: 1.6;
    margin-bottom: 20px;
}

.comparison-card h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.comparison-card ul {
    padding-left: 20px;
}

.comparison-card li {
    margin-bottom: 9px;
    line-height: 1.5;
}

.advantages li::marker {
    color: #3c9b70;
}

.considerations li::marker {
    color: #999999;
}


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

.diaper-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.diaper-product {
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.10);
}

.diaper-product-image {
    width: 100%;
    height: 250px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diaper-product-image img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
}

.diaper-product-content {
    padding: 25px;
}

.diaper-product-content > span {
    display: block;
    color: #616b75;
    font-size: 15px;
    margin-bottom: 6px;
}

.diaper-product-content small {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    background: rgb(194, 240, 238);
    margin-bottom: 10px;
}

.diaper-product-content h3 {
    font-size: 23px;
    margin: 10px 0;
}

.product-price {
    font-size: 25px;
    font-weight: bold;
    margin: 10px 0;
}

.rating {
    margin: 10px 0 20px;
}

.diaper-product-content h4 {
    margin-bottom: 10px;
}

.diaper-product-content ul {
    padding-left: 20px;
}

.diaper-product-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.diaper-button {
    display: inline-block;
    margin-top: 15px;
    padding: 11px 20px;
    border-radius: 25px;
    background: rgb(252, 201, 209);
    color: #000000;
    text-decoration: none;
    transition: 0.2s ease;
}

.diaper-button:hover {
    background: rgb(194, 240, 238);
    color: #000000;
}


/* =========================================================
   FEATURE PRIORITY
   ========================================================= */

.priority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.priority-card {
    padding: 25px;
    border-radius: 20px;
    background: #f7f7f7;
}

.priority-card h3 {
    font-size: 22px;
    margin: 15px 0 10px;
}

.priority-card p {
    color: #616b75;
    line-height: 1.6;
}

.priority {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.essential {
    background: rgb(252, 201, 209);
}

.recommended {
    background: rgb(194, 240, 238);
}

.optional {
    background: #e8e8e8;
}


/* =========================================================
   PACKING SECTION
   ========================================================= */

.packing-section {
    margin-bottom: 70px;
    padding: 35px;
    border-radius: 20px;
    background: rgb(194, 240, 238);
}

.packing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.packing-grid article {
    padding: 25px;
    border-radius: 18px;
    background: #ffffff;
}

.packing-grid h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.packing-grid ul {
    padding-left: 20px;
}

.packing-grid li {
    margin-bottom: 9px;
    line-height: 1.5;
}


/* =========================================================
   SMART SHOPPING TIPS
   ========================================================= */

.tips-section {
    margin-bottom: 70px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.tips-grid article {
    padding: 25px;
    border-radius: 18px;
    background: #f7f7f7;
}

.tips-grid h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.tips-grid p {
    color: #616b75;
    line-height: 1.6;
}


/* =========================================================
   RELATED GUIDES
   ========================================================= */

.related-section {
    margin-bottom: 70px;
}

.related-guides {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.related-guides article {
    padding: 25px;
    border-radius: 20px;
    background: #f7f7f7;
}

.related-guides h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.related-guides p {
    color: #616b75;
    line-height: 1.6;
}

.related-guides a {
    display: inline-block;
    margin-top: 15px;
    padding: 11px 20px;
    border-radius: 25px;
    background: rgb(252, 201, 209);
    color: #000000;
    text-decoration: none;
}

.related-guides a:hover {
    background: rgb(194, 240, 238);
}


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

@media (max-width: 950px) {

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

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

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

    .related-guides {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .diaper-guide {
        padding: 25px 15px;
    }

    .diaper-header {
        margin-bottom: 50px;
    }

    .diaper-header h1 {
        font-size: 38px;
    }

    .diaper-intro {
        font-size: 18px;
    }

    .diaper-meta {
        flex-direction: column;
        gap: 8px;
    }

    .diaper-types,
    .feature-grid,
    .comparison-grid,
    .diaper-products,
    .priority-grid,
    .packing-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

    .packing-section {
        padding: 25px;
    }

    .diaper-product-image,
    .diaper-product-image img {
        height: 220px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 400px) {

    .diaper-guide {
        padding: 20px 12px;
    }

    .diaper-header h1 {
        font-size: 32px;
    }

    .diaper-section h2,
    .packing-section h2,
    .tips-section h2,
    .related-section h2 {
        font-size: 28px;
    }

    .diaper-type,
    .feature-card,
    .comparison-card,
    .diaper-product-content,
    .priority-card,
    .tips-grid article,
    .related-guides article {
        padding: 20px;
    }

}