﻿/* =========================================================
   WHEAT TECHNICAL CHART
   Premium Responsive Design
   ========================================================= */

.wheat-technical-section {
    width: 100%;
    padding: 70px 20px;
    background: #f5f8f3;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.wheat-technical-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.wheat-technical-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.wheat-title-area {
    max-width: 900px;
}

.wheat-section-label {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 12px;
    border-radius: 30px;
    background: #e3f1dc;
    color: #39742f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.wheat-title-area h2 {
    margin: 0;
    color: #173b20;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.15;
    font-weight: 800;
}

    .wheat-title-area h2 span {
        color: #4d8b37;
    }

.wheat-title-area p {
    max-width: 800px;
    margin: 14px 0 0;
    color: #69746c;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   HEADER BADGE
   ========================================================= */

.wheat-header-badge {
    min-width: 155px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    background: #ffffff;
    border: 1px solid #e0e9dd;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(35,72,39,.08);
}

.wheat-header-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf7e9;
    font-size: 25px;
}

.wheat-header-badge strong,
.wheat-header-badge small {
    display: block;
}

.wheat-header-badge strong {
    color: #285f2d;
    font-size: 14px;
}

.wheat-header-badge small {
    margin-top: 3px;
    color: #788178;
    font-size: 11px;
}


/* =========================================================
   TABLE WRAPPER
   ========================================================= */

.wheat-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e1e9df;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(30,68,36,.08);
    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   TABLE
   ========================================================= */

.wheat-technical-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 0;
}


    /* HEADER */

    .wheat-technical-table thead th {
        padding: 18px 12px;
        background: #205b2c;
        color: #ffffff;
        text-align: center;
        vertical-align: middle;
        border-right: 1px solid rgba(255,255,255,.12);
    }

        .wheat-technical-table thead th:first-child {
            border-top-left-radius: 18px;
        }

        .wheat-technical-table thead th:last-child {
            border-top-right-radius: 18px;
            border-right: none;
        }

    .wheat-technical-table thead strong {
        display: block;
        font-size: 12px;
        font-weight: 800;
    }

    .wheat-technical-table thead span {
        display: block;
        margin-top: 5px;
        color: rgba(255,255,255,.76);
        font-size: 10px;
        font-weight: 500;
    }


    /* BODY */

    .wheat-technical-table tbody td {
        padding: 17px 12px;
        text-align: center;
        vertical-align: middle;
        color: #344139;
        font-size: 13px;
        border-bottom: 1px solid #e8eee6;
    }

    .wheat-technical-table tbody tr:last-child td {
        border-bottom: none;
    }

    .wheat-technical-table tbody tr {
        transition: background .25s ease;
    }

        .wheat-technical-table tbody tr:hover {
            background: #f5faf2;
        }


/* =========================================================
   COLUMN WIDTHS
   ========================================================= */

.wheat-serial-column {
    width: 85px;
}

.wheat-crop-column {
    width: 150px;
}

.wheat-variety-column {
    width: 210px;
}

.wheat-duration-column {
    width: 165px;
}

.wheat-yield-column {
    width: 210px;
}


/* =========================================================
   NUMBER
   ========================================================= */

.wheat-number span {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4ee;
    color: #627067;
    font-size: 11px;
    font-weight: 800;
}


/* =========================================================
   CROP
   ========================================================= */

.wheat-crop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.wheat-crop-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf7e9;
    font-size: 18px;
}

.wheat-crop strong,
.wheat-crop small {
    display: block;
}

.wheat-crop strong {
    color: #245a2d;
    font-size: 13px;
    font-weight: 900;
}

.wheat-crop small {
    margin-top: 3px;
    color: #7b847c;
    font-size: 11px;
}


/* =========================================================
   VARIETY
   ========================================================= */

.wheat-variety-cell {
    background: #fcfefb;
}

.wheat-variety-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: #e6f3df;
    border: 1px solid #cce3c2;
    border-radius: 30px;
    color: #285f2d;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .3px;
}

.wheat-variety-hindi {
    display: block;
    margin-top: 5px;
    color: #7b857c;
    font-size: 9px;
    font-weight: 600;
}


/* =========================================================
   VALUES
   ========================================================= */

.wheat-value {
    color: #3f4d43;
    font-size: 13px;
    font-weight: 800;
}

.wheat-irrigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .wheat-irrigation span {
        font-size: 15px;
    }

    .wheat-irrigation strong {
        color: #36739b;
        font-size: 13px;
    }

.wheat-duration {
    color: #465249;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}


/* =========================================================
   YIELD
   ========================================================= */

.wheat-yield-cell {
    background: #fbfdf9;
}

.wheat-yield {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

    .wheat-yield span {
        font-size: 17px;
    }

    .wheat-yield strong {
        color: #28642e;
        font-size: 13px;
        font-weight: 900;
    }

    .wheat-yield.high-yield strong {
        font-weight: 950;
    }


/* =========================================================
   MOBILE
   ========================================================= */

.wheat-mobile-container {
    display: none;
}


/* MOBILE CARD */

.wheat-mobile-card {
    margin-bottom: 15px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e0e9de;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(30,68,36,.07);
    box-sizing: border-box;
}


/* MOBILE TOP */

.wheat-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 13px;
    border-bottom: 1px solid #edf1eb;
}

.wheat-mobile-number {
    color: #899188;
    font-size: 11px;
    font-weight: 800;
}

.wheat-mobile-variety {
    padding: 7px 12px;
    background: #e6f3df;
    border: 1px solid #cce3c2;
    border-radius: 30px;
    color: #285f2d;
    font-size: 12px;
    font-weight: 900;
}


/* VARIETY SUBNAME */

.wheat-mobile-name {
    margin-top: 8px;
    color: #7a847b;
    font-size: 10px;
    font-weight: 700;
    text-align: right;
}


/* MOBILE CROP */

.wheat-mobile-crop {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 0;
}

    .wheat-mobile-crop > div {
        width: 43px;
        height: 43px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: #edf7e9;
        font-size: 21px;
    }

    .wheat-mobile-crop strong,
    .wheat-mobile-crop span {
        display: block;
    }

    .wheat-mobile-crop strong {
        color: #245a2d;
        font-size: 16px;
        font-weight: 900;
    }

    .wheat-mobile-crop span {
        margin-top: 3px;
        color: #7a837c;
        font-size: 12px;
    }


/* =========================================================
   MOBILE SPECIFICATION GRID
   ========================================================= */

.wheat-mobile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

    .wheat-mobile-grid > div {
        min-height: 66px;
        padding: 11px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #f8faf7;
        border: 1px solid #e9eee7;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .wheat-mobile-grid small {
        display: block;
        margin-bottom: 5px;
        color: #7d867e;
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .3px;
    }

    .wheat-mobile-grid strong {
        color: #344139;
        font-size: 12px;
        line-height: 1.35;
    }

    .wheat-mobile-grid .mobile-yield {
        grid-column: 1 / -1;
        background: #f0f8ec;
        border-color: #dcebd6;
    }

        .wheat-mobile-grid .mobile-yield strong {
            color: #28642e;
            font-size: 13px;
        }


/* =========================================================
   NOTE
   ========================================================= */

.wheat-technical-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 17px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #e4ebe1;
    border-radius: 12px;
}

.note-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f3e4;
    color: #39742f;
    font-size: 12px;
    font-weight: 900;
}

.wheat-technical-note p {
    margin: 0;
    color: #737d75;
    font-size: 10px;
    line-height: 1.6;
}

.wheat-technical-note strong {
    color: #4c584f;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .wheat-technical-section {
        padding: 50px 15px;
    }

    .wheat-technical-header {
        align-items: flex-start;
    }

    .wheat-header-badge {
        min-width: 130px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .wheat-technical-section {
        padding: 38px 12px;
    }

    .wheat-technical-header {
        display: block;
        margin-bottom: 23px;
    }

    .wheat-title-area h2 {
        font-size: 29px;
    }

    .wheat-title-area p {
        font-size: 12px;
    }

    .wheat-header-badge {
        display: none;
    }

    /* Desktop table hidden */

    .wheat-table-wrapper {
        display: none;
    }

    /* Mobile cards shown */

    .wheat-mobile-container {
        display: block;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .wheat-technical-section {
        padding: 30px 9px;
    }

    .wheat-section-label {
        padding: 6px 11px;
        font-size: 9px;
    }

    .wheat-title-area h2 {
        font-size: 25px;
    }

    .wheat-title-area p {
        font-size: 11px;
        line-height: 1.55;
    }

    .wheat-mobile-card {
        padding: 14px;
    }

    .wheat-mobile-variety {
        padding: 6px 10px;
        font-size: 11px;
    }

    .wheat-mobile-grid {
        gap: 7px;
    }

        .wheat-mobile-grid > div {
            min-height: 62px;
            padding: 9px;
        }

        .wheat-mobile-grid small {
            font-size: 8px;
        }

        .wheat-mobile-grid strong {
            font-size: 11px;
        }
}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 340px) {

    .wheat-technical-section {
        padding-left: 7px;
        padding-right: 7px;
    }

    .wheat-title-area h2 {
        font-size: 22px;
    }

    .wheat-mobile-card {
        padding: 12px;
    }

    .wheat-mobile-grid {
        gap: 5px;
    }

        .wheat-mobile-grid > div {
            padding: 8px;
        }

        .wheat-mobile-grid small {
            font-size: 7px;
        }

        .wheat-mobile-grid strong {
            font-size: 10px;
        }
}
