.pcosDietPlanner_heroSection {

        background: linear-gradient(120deg, #f6f8ff, #fff5fb);
        padding: 60px 20px;
        border-radius: 10px;
        margin-bottom: 40px;

    }

    .pcosDietPlanner_heroContent {

        max-width: 900px;
        margin: auto;
        text-align: center;

    }

    .pcosDietPlanner_heroTitle {

        font-size: 34px;
        font-weight: 700;
        margin-bottom: 20px;

    }

    .pcosDietPlanner_heroText {

        font-size: 18px;
        line-height: 1.7;
        color: #444;

    }

    .pcosDietPlanner_heroButtons {

        margin-top: 25px;

    }

    .pcosDietPlanner_btnHero {

        display: inline-block;
        margin: 8px;
        padding: 12px 20px;
        background: #e94e77;
        color: white;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;

    }

    .pcos-tool-wrapper {
        max-width: 1180px;
        margin: 0 auto;
        padding: 20px 16px 50px;
    }

    .pcos-tool-hero {
        background: linear-gradient(135deg, #fff7fb, #f7fbff);
        border: 1px solid #ead8e6;
        border-radius: 24px;
        padding: 28px 22px;
        margin: 20px 0 30px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    }

    .pcos-tool-hero h1 {
        margin-bottom: 12px;
    }

    .pcos-tool-hero p {
        font-size: 1.04rem;
        line-height: 1.7;
    }

    .pcos-tool-hero-buttons {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        margin-top: 18px;
    }

    .pcos-tool-btn {
        display: inline-block;
        padding: 12px 18px;
        border-radius: 999px;
        text-decoration: none;
        font-weight: 600;
        transition: 0.25s ease;
    }

    .pcos-tool-btn.primary {
        background: #7a2d5c;
        color: #fff;
    }

    .pcos-tool-btn.secondary {
        background: #fff;
        color: #7a2d5c;
        border: 1px solid #7a2d5c;
    }

    .pcos-tool-btn:hover {
        transform: translateY(-1px);
    }

    .pcos-tool-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 24px;
        margin-bottom: 30px;
    }

    .pcos-tool-card {
        background: #fff;
        border: 1px solid #ece3ea;
        border-radius: 22px;
        padding: 22px 18px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    }

    .pcos-tool-card h2,
    .pcos-tool-card h3 {
        margin-top: 0;
    }

    .pcos-tool-fields {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .pcos-tool-field {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .pcos-tool-field label {
        font-weight: 600;
        font-size: 0.96rem;
    }

    .pcos-tool-field input,
    .pcos-tool-field select {
        padding: 12px 12px;
        border: 1px solid #d9cbd5;
        border-radius: 12px;
        font-size: 0.97rem;
    }

    .pcos-tool-field.full {
        grid-column: 1 / -1;
    }

    .pcos-tool-actions {
        margin-top: 18px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .pcos-tool-result {
        margin-top: 20px;
        background: #faf5f8;
        border: 1px solid #ead8e6;
        border-radius: 18px;
        padding: 16px;
        display: none;
    }

    .result-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 16px;
    }

    .metric-box {
        background: #fff;
        border-radius: 16px;
        padding: 14px 12px;
        text-align: center;
        border: 1px solid #eee3ea;
    }

    .metric-box strong {
        display: block;
        font-size: 1.2rem;
        color: #7a2d5c;
    }

    .strategy-box {
        background: #fff;
        border-radius: 16px;
        padding: 15px;
        border: 1px solid #eee3ea;
        margin-bottom: 14px;
    }

    .food-pill-wrap {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }

    .food-pill {
        background: #fff;
        border: 1px solid #e6d8e1;
        border-radius: 999px;
        padding: 7px 12px;
        font-size: 0.92rem;
    }

    .generator-output {
        display: none;
        margin-top: 18px;
        background: #faf5f8;
        border: 1px solid #ead8e6;
        border-radius: 18px;
        padding: 16px;
    }

    .meal-table,
    .week-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 12px;
    }

    .meal-table th,
    .meal-table td,
    .week-table th,
    .week-table td {
        border: 1px solid #ead8e6;
        padding: 10px 12px;
        text-align: left;
        vertical-align: top;
    }

    .meal-table th,
    .week-table th {
        background: #fff;
    }

    .food-checker-box {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .food-checker-box input {
        flex: 1;
        min-width: 220px;
        padding: 12px;
        border: 1px solid #d9cbd5;
        border-radius: 12px;
    }

    .food-check-result {
        display: none;
        margin-top: 14px;
        background: #faf5f8;
        border: 1px solid #ead8e6;
        border-radius: 18px;
        padding: 16px;
    }

    .grocery-box {
        display: none;
        margin-top: 18px;
        background: #fff;
        border: 1px solid #eee3ea;
        border-radius: 18px;
        padding: 16px;
    }

    .grocery-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .grocery-grid ul {
        margin: 8px 0 0 18px;
    }

    .info-highlight {
        background: #fff7fb;
        border-left: 4px solid #7a2d5c;
        padding: 14px 16px;
        border-radius: 12px;
        margin: 16px 0;
    }

    .pcos-balanced-plate {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-top: 14px;
    }

    .plate-box {
        padding: 14px;
        border-radius: 18px;
        text-align: center;
        font-weight: 600;
        border: 1px solid #ead8e6;
        background: #fff;
    }

    .section-spacer {
        margin-top: 30px;
    }

    .quick-links-box {
        background: #fff;
        border: 1px solid #ece3ea;
        border-radius: 22px;
        padding: 18px;
    }

    .quick-links-box ul {
        margin: 10px 0 0 18px;
    }

    /* ===== PCOS DIET GUIDE MAIN CONTAINER ===== */

    .pcosDietGuide_container {

        max-width: 1000px;
        margin: 60px auto;
        padding: 30px;

        font-family: 'Segoe UI', Arial, sans-serif;
        line-height: 1.7;
        color: #333;

    }


    /* ===== MAIN TITLE ===== */

    .pcosDietGuide_title {

        font-size: 32px;
        font-weight: 700;
        margin-bottom: 25px;
        color: #1d2b4f;

        border-left: 5px solid #e91e63;
        padding-left: 15px;

    }


    /* ===== SUB HEADINGS ===== */

    .pcosDietGuide_heading {

        font-size: 22px;
        font-weight: 600;
        margin-top: 35px;
        margin-bottom: 15px;

        color: #2a3a5a;

    }


    /* ===== PARAGRAPHS ===== */

    .pcosDietGuide_para {

        font-size: 17px;
        margin-bottom: 20px;

        color: #444;

    }


    /* ===== LISTS ===== */

    .pcosDietGuide_list {

        margin-left: 20px;
        margin-bottom: 25px;

    }

    .pcosDietGuide_list li {

        margin-bottom: 10px;
        font-size: 17px;

    }


    /* ===== INTERNAL LINKS ===== */

    .pcosDietGuide_container a {

        color: #d81b60;
        text-decoration: none;
        font-weight: 500;

    }

    .pcosDietGuide_container a:hover {

        text-decoration: underline;

    }


    /* ===== FAQ SECTION ===== */

    .pcosDietGuide_container h3 {

        margin-top: 30px;

    }


    /* ===== FAQ QUESTIONS ===== */

    .pcosDietGuide_container h3.pcosDietGuide_heading {

        background: #f8f9fb;
        padding: 12px 15px;
        border-left: 4px solid #e91e63;
        border-radius: 4px;

    }

/* PCOS RELATED LINKS SECTION */

.pcosRelated_container{

max-width:1100px;
margin:70px auto;
padding:35px;

border-top:1px solid #eee;

font-family: 'Segoe UI', Arial, sans-serif;

}

.pcosRelated_title{

font-size:28px;
font-weight:700;

margin-bottom:30px;
color:#1e2a44;

text-align:center;

}


/* GRID */

.pcosRelated_grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

gap:30px;

}


/* COLUMN */

.pcosRelated_column{

background:#fafbff;

padding:20px;

border-radius:8px;

border:1px solid #eef1f6;

}


/* HEADINGS */

.pcosRelated_heading{

font-size:18px;
font-weight:600;

margin-bottom:15px;

color:#27355c;

}


/* LIST */

.pcosRelated_list{

list-style:none;
padding:0;

}

.pcosRelated_list li{

margin-bottom:10px;

}

.pcosRelated_list a{

text-decoration:none;

color:#d81b60;

font-weight:500;

}

.pcosRelated_list a:hover{

text-decoration:underline;

}


/* MOBILE */

@media (max-width:768px){

.pcosRelated_title{

font-size:24px;

}

}
    /* ===== MOBILE OPTIMIZATION ===== */

    @media (max-width:768px) {

        .pcosDietGuide_container {

            padding: 20px;

        }

        .pcosDietGuide_title {

            font-size: 26px;

        }

        .pcosDietGuide_heading {

            font-size: 20px;

        }

        .pcosDietGuide_para {

            font-size: 16px;

        }

    }

    @media (max-width: 900px) {
        .pcos-tool-grid {
            grid-template-columns: 1fr;
        }

        .pcos-tool-fields {
            grid-template-columns: 1fr;
        }

        .result-metrics {
            grid-template-columns: 1fr;
        }

        .grocery-grid {
            grid-template-columns: 1fr;
        }

        .pcos-balanced-plate {
            grid-template-columns: 1fr 1fr;
        }
    }