﻿/* =========================================================
   TECHNICAL CHART
   Premium Responsive Agricultural Design
   ========================================================= */

.technical-chart-section {
    width: 100%;
    padding: 70px 20px;
    background: #f5f8f3;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.technical-chart-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.technical-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.technical-chart-title-area {
    max-width: 900px;
}

.technical-chart-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;
}

.technical-chart-title-area h2 {
    margin: 0;
    color: #173b20;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.15;
}

    .technical-chart-title-area h2 span {
        color: #4d8b37;
    }

.technical-chart-title-area p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #69746c;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   HEADER ICON
   ========================================================= */

.technical-chart-icon-box {
    min-width: 155px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e0e9dd;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(35, 72, 39, .08);
}

    .technical-chart-icon-box > span {
        font-size: 32px;
    }

    .technical-chart-icon-box strong,
    .technical-chart-icon-box small {
        display: block;
    }

    .technical-chart-icon-box strong {
        color: #285f2d;
        font-size: 13px;
    }

    .technical-chart-icon-box small {
        margin-top: 3px;
        color: #788178;
        font-size: 11px;
    }


/* =========================================================
   TABLE
   ========================================================= */

.technical-table-container {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e1e9df;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(30, 68, 36, .08);
}

.technical-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: separate;
    border-spacing: 0;
}


    /* TABLE HEADER */

    .technical-table thead th {
        padding: 19px 13px;
        background: #205b2c;
        color: #ffffff;
        text-align: center;
        vertical-align: middle;
        border-right: 1px solid rgba(255,255,255,.12);
    }

        .technical-table thead th:first-child {
            border-top-left-radius: 18px;
        }

        .technical-table thead th:last-child {
            border-top-right-radius: 18px;
            border-right: 0;
        }

    .technical-table thead strong {
        display: block;
        font-size: 12px;
        font-weight: 800;
    }

    .technical-table thead span {
        display: block;
        margin-top: 5px;
        color: rgba(255,255,255,.75);
        font-size: 10px;
        font-weight: 500;
    }


    /* TABLE BODY */

    .technical-table tbody td {
        padding: 20px 14px;
        text-align: center;
        vertical-align: middle;
        border-bottom: 1px solid #e8eee6;
        color: #344139;
        font-size: 13px;
    }

    .technical-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .technical-table tbody tr {
        transition: all .25s ease;
    }

        .technical-table tbody tr:hover {
            background: #f5faf2;
        }


/* =========================================================
   SERIAL
   ========================================================= */

.tc-serial {
    width: 90px;
}

.tc-number span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f4ee;
    color: #627067;
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   CROP
   ========================================================= */

.tc-crop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tc-crop-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #edf7e9;
    font-size: 18px;
}

.tc-crop strong,
.tc-crop small {
    display: block;
}

.tc-crop strong {
    color: #245a2d;
    font-size: 13px;
    font-weight: 800;
}

.tc-crop small {
    margin-top: 3px;
    color: #7b847c;
    font-size: 11px;
}


/* =========================================================
   VARIETY
   ========================================================= */

.tc-variety {
    min-width: 150px;
}

.tc-variety-cell {
    background: #fcfefb;
}

.tc-variety-badge {
    display: inline-flex;
    padding: 9px 15px;
    align-items: center;
    justify-content: center;
    background: #e6f3df;
    border: 1px solid #cce3c2;
    border-radius: 30px;
    color: #285f2d;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .4px;
}


/* =========================================================
   SPECIFICATIONS
   ========================================================= */

.tc-spec {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.tc-spec-icon {
    font-size: 15px;
}

.tc-spec strong {
    font-size: 13px;
    font-weight: 800;
}

.tc-spec.irrigation strong {
    color: #36739b;
}

.tc-duration {
    font-weight: 700;
    color: #465249;
    white-space: nowrap;
}


/* =========================================================
   YIELD
   ========================================================= */

.tc-yield-cell {
    background: #fbfdf9;
}

.tc-yield {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

    .tc-yield span {
        font-size: 17px;
    }

    .tc-yield strong {
        color: #28642e;
        font-size: 13px;
        font-weight: 900;
    }


/* =========================================================
   MOBILE CONTAINER
   ========================================================= */

.technical-mobile-container {
    display: none;
}


/* =========================================================
   MOBILE CARD
   ========================================================= */

.technical-mobile-card {
    margin-bottom: 15px;
    padding: 17px;
    background: #ffffff;
    border: 1px solid #e0e9de;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(30,68,36,.07);
}


/* MOBILE HEADER */

.mobile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1eb;
}

.mobile-number {
    color: #879188;
    font-size: 11px;
    font-weight: 800;
}

.mobile-variety {
    padding: 7px 13px;
    background: #e6f3df;
    border: 1px solid #cce3c2;
    border-radius: 30px;
    color: #285f2d;
    font-size: 13px;
    font-weight: 900;
}


/* MOBILE CROP */

.mobile-crop {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 0;
}

.mobile-crop-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf7e9;
    font-size: 21px;
}

.mobile-crop strong,
.mobile-crop span {
    display: block;
}

.mobile-crop strong {
    color: #245a2d;
    font-size: 16px;
    font-weight: 900;
}

.mobile-crop span {
    margin-top: 3px;
    color: #7a837c;
    font-size: 12px;
}


/* =========================================================
   MOBILE SPEC GRID
   ========================================================= */

.mobile-specifications {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.mobile-spec-box {
    min-height: 66px;
    padding: 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f8faf7;
    border: 1px solid #e9eee7;
    border-radius: 11px;
    box-sizing: border-box;
}

    .mobile-spec-box > span {
        flex: 0 0 auto;
        font-size: 17px;
    }

    .mobile-spec-box small,
    .mobile-spec-box strong {
        display: block;
    }

    .mobile-spec-box small {
        margin-bottom: 5px;
        color: #7d867e;
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .3px;
    }

    .mobile-spec-box strong {
        color: #344139;
        font-size: 12px;
        line-height: 1.3;
    }

.mobile-yield-box {
    grid-column: 1 / -1;
    background: #f0f8ec;
    border-color: #dcebd6;
}

    .mobile-yield-box strong {
        color: #28642e;
    }


/* =========================================================
   NOTE
   ========================================================= */

.technical-chart-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-symbol {
    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;
}

.technical-chart-note p {
    margin: 0;
    color: #737d75;
    font-size: 10px;
    line-height: 1.6;
}

.technical-chart-note strong {
    color: #4c584f;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .technical-chart-section {
        padding: 50px 15px;
    }

    .technical-chart-header {
        align-items: flex-start;
    }

    .technical-chart-icon-box {
        min-width: 125px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .technical-chart-section {
        padding: 38px 12px;
    }

    .technical-chart-header {
        display: block;
        margin-bottom: 23px;
    }

    .technical-chart-title-area h2 {
        font-size: 29px;
    }

    .technical-chart-title-area p {
        font-size: 12px;
        line-height: 1.6;
    }

    .technical-chart-icon-box {
        display: none;
    }

    /* Hide desktop table */
    .technical-table-container {
        display: none;
    }

    /* Show mobile cards */
    .technical-mobile-container {
        display: block;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .technical-chart-section {
        padding: 30px 9px;
    }

    .technical-chart-label {
        padding: 6px 11px;
        font-size: 9px;
    }

    .technical-chart-title-area h2 {
        font-size: 25px;
    }

    .technical-chart-title-area p {
        font-size: 11px;
    }

    .technical-mobile-card {
        padding: 14px;
    }

    .mobile-variety {
        padding: 6px 10px;
        font-size: 11px;
    }

    .mobile-specifications {
        gap: 7px;
    }

    .mobile-spec-box {
        min-height: 62px;
        padding: 9px;
        gap: 7px;
    }

        .mobile-spec-box > span {
            font-size: 15px;
        }

        .mobile-spec-box small {
            font-size: 8px;
        }

        .mobile-spec-box strong {
            font-size: 11px;
        }
}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 340px) {

    .technical-chart-title-area h2 {
        font-size: 22px;
    }

    .mobile-spec-box {
        min-height: 58px;
    }

        .mobile-spec-box small {
            font-size: 7px;
        }

        .mobile-spec-box strong {
            font-size: 10px;
        }
}
