﻿/* ============================================================
   MALWA AGRITECH
   PREMIUM PRODUCTS PARTIAL
   ============================================================ */

:root {
    --malwa-green: #116b3a;
    --malwa-dark-green: #073b22;
    --malwa-deep-green: #052c1a;
    --malwa-light-green: #eef8f2;
    --malwa-soft-green: #f7fbf8;
    --malwa-gold: #d6a72c;
    --malwa-gold-light: #f3d878;
    --malwa-blue: #247da5;
    --malwa-text: #18221c;
    --malwa-muted: #68746d;
    --malwa-border: #e5ebe7;
    --malwa-container: 1380px;
}


/* ============================================================
   RESET
   ============================================================ */

.malwa-products-section,
.malwa-products-section * {
    box-sizing: border-box;
}

    .malwa-products-section a {
        text-decoration: none;
    }

    .malwa-products-section img {
        max-width: 100%;
    }


/* ============================================================
   MAIN SECTION
   ============================================================ */

.malwa-products-section {
    position: relative;
    padding: 90px 0 100px;
    background: linear-gradient( 180deg, #ffffff 0%, #f7fbf8 55%, #ffffff 100% );
    overflow: hidden;
}

.malwa-products-container {
    width: min( calc(100% - 50px), var(--malwa-container) );
    margin: 0 auto;
}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.malwa-products-heading {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.malwa-section-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--malwa-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow-line {
    width: 35px;
    height: 1px;
    background: var(--malwa-gold);
}

.malwa-products-title {
    margin: 14px 0 15px;
    color: var(--malwa-dark-green);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.7px;
}

    .malwa-products-title span {
        color: var(--malwa-green);
    }

.malwa-products-intro {
    max-width: 690px;
    margin: 0 auto;
    color: var(--malwa-muted);
    font-size: 15px;
    line-height: 1.8;
}


/* ============================================================
   PRODUCT GRID
   ============================================================ */

.malwa-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}


/* ============================================================
   PRODUCT CARD
   ============================================================ */

.malwa-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--malwa-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(12, 52, 30, .07);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

    .malwa-product-card:hover {
        transform: translateY(-7px);
        border-color: rgba(17, 107, 58, .22);
        box-shadow: 0 20px 50px rgba(12, 52, 30, .12);
    }


/* ============================================================
   PRODUCT IMAGE
   ============================================================ */

.malwa-product-image {
    position: relative;
    height: 275px;
    overflow: hidden;
    background: #eef4ef;
}

    .malwa-product-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .55s ease;
    }

.malwa-product-card:hover
.malwa-product-image img {
    transform: scale(1.045);
}


/* ============================================================
   IMAGE CATEGORY
   ============================================================ */

.malwa-product-category {
    position: absolute;
    top: 17px;
    left: 17px;
    padding: 7px 12px;
    background: rgba(255,255,255,.94);
    border-radius: 6px;
    color: var(--malwa-dark-green);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}


/* ============================================================
   IMAGE BOTTOM LABEL
   ============================================================ */

.malwa-product-image-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 22px 18px 15px;
    background: linear-gradient( to top, rgba(0,0,0,.45), rgba(0,0,0,0) );
}

    .malwa-product-image-bottom span {
        color: #ffffff;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.2px;
    }

    .malwa-product-image-bottom i {
        margin-right: 6px;
        color: var(--malwa-gold-light);
    }


/* ============================================================
   PRODUCT CONTENT
   ============================================================ */

.malwa-product-content {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 27px 25px 25px;
}


/* ============================================================
   PRODUCT NUMBER
   ============================================================ */

.malwa-product-number {
    position: absolute;
    top: 21px;
    right: 23px;
    color: #dfe9e3;
    font-size: 27px;
    font-weight: 900;
}


/* ============================================================
   PRODUCT TITLE
   ============================================================ */

.malwa-product-content h3 {
    position: relative;
    margin: 0 45px 9px 0;
    color: var(--malwa-dark-green);
    font-size: 23px;
    line-height: 1.25;
    font-weight: 800;
}

.malwa-product-description {
    margin: 0 0 20px;
    color: var(--malwa-muted);
    font-size: 12px;
    line-height: 1.75;
}


/* ============================================================
   VARIETY BOX
   ============================================================ */

.malwa-variety-box {
    padding: 14px;
    background: var(--malwa-soft-green);
    border: 1px solid #e5eee8;
    border-radius: 11px;
}

.malwa-variety-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
    color: var(--malwa-dark-green);
    font-size: 11px;
    font-weight: 800;
}

    .malwa-variety-heading i {
        color: var(--malwa-green);
    }


/* ============================================================
   VARIETY LIST
   ============================================================ */

.malwa-variety-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .malwa-variety-list span {
        display: inline-flex;
        align-items: center;
        min-height: 27px;
        padding: 5px 8px;
        background: #ffffff;
        border: 1px solid #e3ebe6;
        border-radius: 5px;
        color: #3c4942;
        font-size: 9px;
        font-weight: 700;
    }


/* ============================================================
   PRODUCT META
   ============================================================ */

.malwa-product-meta {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #edf1ee;
}

    .malwa-product-meta > div {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .malwa-product-meta i {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--malwa-light-green);
        border-radius: 8px;
        color: var(--malwa-green);
        font-size: 12px;
    }

    .malwa-product-meta span {
        color: var(--malwa-muted);
        font-size: 10px;
    }

    .malwa-product-meta strong {
        display: block;
        margin-top: 2px;
        color: var(--malwa-dark-green);
        font-size: 11px;
    }


/* ============================================================
   PRODUCT BUTTON
   ============================================================ */

.malwa-product-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 21px;
    padding: 13px 15px;
    background: var(--malwa-green);
    border-radius: 8px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    transition: background .25s ease, transform .25s ease;
}

    .malwa-product-button:hover {
        background: var(--malwa-dark-green);
        color: #ffffff;
        transform: translateY(-1px);
    }

    .malwa-product-button i {
        font-size: 10px;
        transition: transform .25s ease;
    }

    .malwa-product-button:hover i {
        transform: translateX(4px);
    }


/* ============================================================
   PRODUCTS BOTTOM CTA
   ============================================================ */

.malwa-products-bottom {
    margin-top: 38px;
    padding: 20px 25px;
    background: #ffffff;
    border: 1px solid var(--malwa-border);
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.04);
}

.malwa-products-bottom-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.malwa-products-bottom-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--malwa-light-green);
    color: var(--malwa-green);
}

.malwa-products-bottom strong {
    display: block;
    color: var(--malwa-dark-green);
    font-size: 13px;
}

.malwa-products-bottom p {
    margin: 3px 0 0;
    color: var(--malwa-muted);
    font-size: 10px;
}


/* ============================================================
   STORAGE SECTION
   ============================================================ */

.malwa-storage-section {
    margin-top: 100px;
    padding: 65px 45px;
    background: linear-gradient( 135deg, #f3f9f5 0%, #ffffff 100% );
    border: 1px solid var(--malwa-border);
    border-radius: 24px;
}


/* ============================================================
   STORAGE HEADER
   ============================================================ */

.malwa-storage-header {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

    .malwa-storage-header h2 {
        margin: 13px 0 12px;
        color: var(--malwa-dark-green);
        font-size: clamp(27px, 3vw, 38px);
        font-weight: 800;
    }

        .malwa-storage-header h2 span {
            color: var(--malwa-green);
        }

    .malwa-storage-header p {
        margin: 0;
        color: var(--malwa-muted);
        font-size: 13px;
        line-height: 1.75;
    }


/* ============================================================
   STORAGE GRID
   ============================================================ */

.malwa-storage-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}


/* ============================================================
   STORAGE CARD
   ============================================================ */

.malwa-storage-card {
    display: flex;
    gap: 16px;
    padding: 21px;
    background: #ffffff;
    border: 1px solid #e6ede8;
    border-radius: 14px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .malwa-storage-card:hover {
        transform: translateY(-4px);
        border-color: rgba(17,107,58,.18);
        box-shadow: 0 12px 30px rgba(0,0,0,.07);
    }


/* ============================================================
   STORAGE ICON
   ============================================================ */

.malwa-storage-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 18px;
}

    .malwa-storage-icon.cold {
        background: #eaf5fa;
        color: #247da5;
    }

    .malwa-storage-icon.warehouse {
        background: var(--malwa-light-green);
        color: var(--malwa-green);
    }

    .malwa-storage-icon.ripening {
        background: #fff7df;
        color: #b68410;
    }

    .malwa-storage-icon.deep-freeze {
        background: #edf3fa;
        color: #3f6f9c;
    }


/* ============================================================
   STORAGE CONTENT
   ============================================================ */

.storage-label {
    color: var(--malwa-green);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.malwa-storage-card h3 {
    margin: 5px 0 5px;
    color: var(--malwa-dark-green);
    font-size: 15px;
    font-weight: 800;
}

.malwa-storage-card p {
    margin: 0;
    color: var(--malwa-muted);
    font-size: 10px;
    line-height: 1.65;
}


/* ============================================================
   STORAGE TAGS
   ============================================================ */

.storage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

    .storage-tags span {
        padding: 4px 7px;
        background: #f5f8f6;
        border-radius: 4px;
        color: #68746d;
        font-size: 8px;
        font-weight: 700;
    }


/* ============================================================
   STORAGE ACTION
   ============================================================ */

.malwa-storage-action {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.malwa-storage-button {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 12px 19px;
    border: 1px solid var(--malwa-green);
    border-radius: 7px;
    color: var(--malwa-green);
    background: #ffffff;
    font-size: 10px;
    font-weight: 800;
    transition: .25s ease;
}

    .malwa-storage-button:hover {
        background: var(--malwa-green);
        color: #ffffff;
        transform: translateY(-2px);
    }

    .malwa-storage-button i {
        font-size: 9px;
    }


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1100px) {

    .malwa-products-section {
        padding: 75px 0;
    }

    .malwa-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .malwa-storage-section {
        padding: 50px 30px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .malwa-products-section {
        padding: 60px 0 70px;
    }

    .malwa-products-container {
        width: calc(100% - 28px);
    }

    .malwa-products-heading {
        margin-bottom: 35px;
    }

    .malwa-section-eyebrow {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .eyebrow-line {
        width: 25px;
    }

    .malwa-products-title {
        font-size: 30px;
    }

    .malwa-products-intro {
        font-size: 12px;
        line-height: 1.7;
    }

    .malwa-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .malwa-product-image {
        height: 245px;
    }

    .malwa-product-content {
        padding: 23px 20px 21px;
    }

        .malwa-product-content h3 {
            font-size: 20px;
        }

    .malwa-product-description {
        font-size: 11px;
    }

    .malwa-products-bottom {
        padding: 17px;
    }

    .malwa-storage-section {
        margin-top: 65px;
        padding: 40px 18px;
        border-radius: 18px;
    }

    .malwa-storage-grid {
        grid-template-columns: 1fr;
    }

    .malwa-storage-header {
        margin-bottom: 28px;
    }

        .malwa-storage-header h2 {
            font-size: 27px;
        }

        .malwa-storage-header p {
            font-size: 11px;
        }
}


/* ============================================================
   SMALL DEVICES
   ============================================================ */

@media (max-width: 420px) {

    .malwa-products-container {
        width: calc(100% - 20px);
    }

    .malwa-products-title {
        font-size: 27px;
    }

    .malwa-product-image {
        height: 215px;
    }

    .malwa-product-content {
        padding: 20px 16px 18px;
    }

        .malwa-product-content h3 {
            font-size: 19px;
        }

    .malwa-product-number {
        right: 17px;
    }

    .malwa-variety-box {
        padding: 11px;
    }

    .malwa-variety-list span {
        font-size: 8px;
    }

    .malwa-storage-card {
        padding: 16px;
        gap: 12px;
    }

    .malwa-storage-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        font-size: 15px;
    }

    .malwa-storage-card h3 {
        font-size: 13px;
    }
}


/* ============================================================
   VERY SMALL DEVICES
   ============================================================ */

@media (max-width: 340px) {

    .malwa-product-image {
        height: 190px;
    }

    .malwa-products-title {
        font-size: 24px;
    }

    .malwa-storage-card {
        flex-direction: column;
    }

    .malwa-products-bottom-content {
        align-items: flex-start;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .malwa-products-section *,
    .malwa-products-section *::before,
    .malwa-products-section *::after {
        transition: none !important;
        animation: none !important;
    }
}
