/* =========================================================
ANJANEY AGRO ENTERPRISE
NATURAL WHITE SESAME SEEDS PRODUCT PAGE
========================================================= */

/* =========================================================
EASY ADJUSTMENT SETTINGS
========================================================= */

:root {

    /* GLOBAL TEXT SIZE */
    --product-base-font-size: 15
    8px;


    /* SECTION LABEL */
    --product-section-label-size: 18px;
    --product-section-label-spacing: 1px;


    /* SPACE BETWEEN MAJOR SECTIONS */
    --product-section-gap: 55px;


    /* SPACE BETWEEN SPECIFICATION ROWS */
    --product-spec-gap: 5px;


    /* PRODUCT PHOTO SIZE */
    --product-photo-width: 60%;


    /* PRODUCT TAG HOVER */
    --product-hover-bg: #e4eee4;
    --product-hover-border: #245c3a;
    --product-hover-text: #245c3a;
    --product-hover-shadow:
        0 8px 20px rgba(20, 50, 30, 0.10);


    /* HOME PAGE COLOURS */

    --primary: #245c3a;
    --primary-dark: #173f28;
    --primary-light: #3f7953;

    --accent: #c89b3c;
    --accent-dark: #a97d25;

    --dark: #17231b;
    --text: #4a514b;
    --light-text: #737a74;

    --cream: #f7f5ef;
    --light-green: #eef3ed;

    --white: #ffffff;

    --border: #e1e5df;

    --container: 1200px;

    --transition: all 0.3s ease;
}


/* =========================================================
RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: var(--product-base-font-size);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(calc(100% - 80px), var(--container));
    margin: 0 auto;
}


/* =========================================================
BUTTONS
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 25px;

    border-radius: 3px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.3px;

    transition: var(--transition);

    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 0.5px solid var(--accent);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}


/* =========================================================
PRODUCT HERO
========================================================= */

.product-hero {
    background: var(--primary-dark);

    padding: 120px 0 75px;

    border-bottom:
        1px solid var(--border);
}

.product-hero-content {
    max-width: 850px;
}

.product-section-label {
    color: var(--accent);

    font-size: var(--product-section-label-size);

    font-weight: 550;

    letter-spacing: var(--product-section-label-spacing);

    text-transform: uppercase;

    margin-bottom: 12px;
    margin-left: 2px;
}

.product-hero h1 {
    color: var(--white);

    font-size: clamp(42px, 5vw, 62px);

    line-height: 1.1;

    font-weight: 600;

    margin-bottom: 18px;
}

.product-hero-subtitle {
    max-width: 760px;

    color: var(--white);

    font-size: 19px;

    line-height: 1.5;

    margin-bottom: 28px;
}


/* =========================================================
PRODUCT OVERVIEW
========================================================= */

.product-overview-section {
    padding: 70px 0;
}

.product-overview-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 70px;

    align-items: center;
}

.product-overview-content {
    max-width: 650px;
}

.product-overview-content h2 {
    color: var(--dark);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.2;

    margin-bottom: 22px;
}

.product-overview-content p {
    color: var(--text);

    font-size: var(--product-base-font-size);

    line-height: 1.8;

    margin-bottom: 20px;
}


/* =========================================================
PRODUCT IMAGE
========================================================= */

.product-image-column {
    width: 100%;
    align-self: center;
    height: fit-content;
}

.product-main-image-wrapper {
    width: var(--product-photo-width);
    margin: 0 auto;
    overflow: hidden;
}

.product-main-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.product-main-image-wrapper:hover img {
    transform: scale(1.03);
}

:root {
    --product-photo-width: 80%;
}

.product-main-image-wrapper {
    width: var(--product-photo-width);
    margin: 0 auto;
    overflow: hidden;
    border: 3px solid rgba(187, 128, 0, 0.733);
}


/* =========================================================
GENERAL PRODUCT SECTIONS
========================================================= */

.product-content-section {
    margin-bottom: var(--product-section-gap);
}

.product-section-heading {
    margin-bottom: 25px;
}

.product-section-heading h2 {
    color: var(--accent);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.section-label {
    display: inline-block;
    color: #ffffff;
    background: var(--primary);

    padding: 6px 12px;
    border-radius: 4px;

    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.product-section-heading.small-heading h2 {
    font-size: 30px;
}

.product-section-heading.small-heading {
    margin-bottom: 20px;
}


/* =========================================================
ORIGIN
========================================================= */

.origin-list {
    display: flex;

    flex-direction: column;

    gap: 7px;

    max-width: 850px;
}

.origin-item {
    padding: 5px 10px;

    color: var(--text);

    font-size: var(--product-base-font-size);

    line-height: 1.5;
}

.origin-item strong {
    color: var(--dark);
}


/* =========================================================
SPECIFICATIONS
========================================================= */

.specification-table {
    width: 100%;

    border: 1px solid var(--border);

    background: var(--white);
}

.spec-row {
    display: grid;

    grid-template-columns:
        30% 70%;

    border-bottom:
        1px solid var(--border);

    padding: var(--product-spec-gap) 0;

    min-height: 42px;

    align-items: center;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-name {
    padding: 7px 20px;

    color: var(--dark);

    font-weight: 700;

    font-size: var(--product-base-font-size);
}

.spec-value {
    padding: 7px 20px;

    color: var(--text);

    font-size: var(--product-base-font-size);

    border-left:
        1px solid var(--border);
}


/* =========================================================
PRODUCT SPECIFICATION NOTE
========================================================= */

.product-note {
    margin-top: 6px;
    margin-bottom: 0;
    text-align: center;
    color: var(--light-text);
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
INTERACTIVE TAGS
USED FOR:
GRADES
PACKAGING
APPLICATIONS
EXPORT MARKETS
========================================================= */

.interactive-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    align-items: center;
    
}

.interactive-tag {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 6px 11px;

    background: var(--light-green);

    border:
        1px solid var(--border);

    border-radius: 20px;

    color: var(--primary);

    font-size: 15px;

    font-weight: 550;

    line-height: 1.3;

    cursor: default;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.interactive-tag:hover {
    background: var(--product-hover-bg);

    color: var(--product-hover-text);

    border-color: var(--product-hover-border);

    transform: translateY(-3px);

    box-shadow: var(--product-hover-shadow);
}


/* =========================================================
PACKAGING
========================================================= */

.packaging-content {
    border:
        1px solid var(--border);

    background: var(--white);
}

.packaging-block {
    padding: 20px;
}

.packaging-block h3 {
    color: var(--dark);

    font-size: 15px;

    margin-bottom: 12px;
}

.packaging-divider {
    height: 1px;

    background: var(--border);

    width: 100%;
}


.quality-commitment-section .section-heading h2 {
    font-size: 22px;
    margin-top: -10px;
    margin-left: 5px;
}
 

.quality-commitment-content p {
    font-size: 20px;
    line-height: 1.3;
    margin-top: 5px;
    margin-left: 5px;
}


@media (max-width: 768px) {
    .quality-commitment-section .section-heading h2 {
        font-size: 18px;
        line-height: 1.4;
    }

    .quality-commitment-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 5px;
    }
}

/* =========================================================
   PROCESSING WORKFLOW
   FLOATING 4 × 3 CARD LAYOUT
========================================================= */

.processing-flowchart {
    width: calc(100% - 70px);
    max-width: 1120px;
    margin: 50px auto 30px;
}


/* =========================================================
   PROCESSING WORKFLOW TITLE
========================================================= */

.processing-flowchart h3 {
    width: fit-content;
    margin: 0 auto 30px;
    padding: 12px 28px;

    color: var(--white);

    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;

    text-align: center;

    background: var(--primary-dark);

    border: 1px solid rgba(36, 92, 58, 0.16);

    border-radius: 7px;

    box-sizing: border-box;
}


/* =========================================================
   4 COLUMN GRID
========================================================= */

.processing-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}


/* =========================================================
   PROCESSING CARD
========================================================= */

.processing-card {
    position: relative;

    width: 100%;
    min-height: 130px;

    padding: 24px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 4px;

    box-sizing: border-box;

    box-shadow:
        0 7px 20px rgba(20, 50, 30, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


/* =========================================================
   HOVER
========================================================= */

.processing-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 30px rgba(20, 50, 30, 0.10);

    border-color:
        rgba(36, 92, 58, 0.30);
}


/* =========================================================
   STEP NUMBER
   NO BACKGROUND
========================================================= */

.processing-card-number {
    width: 0px;
    height: 0px;

    margin-bottom: 20px;
    margin-left: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;

    color: var(--primary);

    border: 1px solid rgba(36, 92, 58, 0.30);

    border-radius: 50%;

    font-size: 20px;
    font-weight: 500;

    line-height: 1;

    flex-shrink: 0;

    box-sizing: border-box;
}


/* =========================================================
   CARD TITLE
========================================================= */

.processing-card h4 {
    margin: 0;

    color: var(--dark);

    font-size: 20px;
    font-weight: 500;

    line-height: 1.5;

    text-align: left;
}





/* =========================================================
   LAST ROW
   CENTER THE 3 REMAINING CARDS
========================================================= */

.processing-card:nth-child(9) {
    grid-column: 1;
}

.processing-card:nth-child(10) {
    grid-column: 2;
}

.processing-card:nth-child(11) {
    grid-column: 3;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .processing-flowchart {
        width: calc(100% - 50px);
    }

    .processing-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .processing-card:nth-child(9),
    .processing-card:nth-child(10),
    .processing-card:nth-child(11) {
        grid-column: auto;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .processing-flowchart {
        width: calc(100% - 30px);
        margin-top: 30px;
    }

    .processing-flowchart h3 {
        margin-bottom: 28px;
        padding: 10px 22px;
        font-size: 20px;
    }

    .processing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .processing-card {
        min-height: 135px;
        padding: 18px 16px;
           display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    

    .processing-card:nth-child(9),
    .processing-card:nth-child(10),
    .processing-card:nth-child(11) {
        grid-column: auto;
    }

    .processing-card-number {
        width: 34px;
        height: 34px;
        margin-bottom: 11px;
        font-size: 15px;
    }

    .processing-card h4 {
        margin: 0;
        margin-left: 15px;
        font-size: 18px;
        line-height: 1.45;
        letter-spacing: 0;
        text-align: left;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .processing-flowchart {
        width: calc(100% - 20px);
    }

    .processing-flowchart h3 {
        font-size: 19px;
    }

    .processing-card {
        min-height: 120px;

        padding: 20px 18px;
    }

    .processing-card-number {
        width: 36px;
        height: 36px;

        margin-bottom: 16px;
    }

    .processing-card h4 {
        font-size: 14px;
    }

}

/* =========================================================
PRODUCT ENQUIRY
========================================================= */

.product-enquiry {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background:
        linear-gradient(
            rgba(23, 63, 40, 0.96),
            rgba(23, 63, 40, 0.96)
        );
    color: var(--white);
}

.product-enquiry-content {
    max-width: 900px;
    margin: 0 auto;
}

.product-enquiry-content h2 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-enquiry-content p:not(.product-section-label) {
    max-width: 750px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.product-enquiry-content .section-label {
    color: #e4c16a;
}

.product-enquiry-content .hero-buttons {
    justify-content: center;
}


/* =========================================================
RELATED PRODUCTS
========================================================= */

.related-products {
    background: var(--cream);
    padding-top: 20px;
    padding-bottom: 40px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.related-product-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.related-product-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 15px 35px rgba(20, 50, 30, 0.12);
}

.related-products .section-intro {
    margin-bottom: 10px;
}


/* IMAGE */

.related-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--light-green);
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}


/* CONTENT */

.related-product-content {
    padding: 20px;
}

.related-product-content h3 {
    color: var(--dark);
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.related-product-content p {
    color: var(--light-text);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
}

.related-product-content span {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.related-product-card:hover .related-product-content span {
    color: var(--accent-dark);
}


/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 768px) {

    .related-products-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
TABLET
========================================================= */

@media (max-width: 1100px) {

    .container {
        width:
            min(calc(100% - 50px), var(--container));
    }

    .product-overview-grid {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

}


/* =========================================================
MOBILE
========================================================= */

@media (max-width: 768px) {

    .container {
        width: calc(100% - 36px);
    }


    /* PRODUCT HERO */

    .product-hero {
        padding: 110px 0 55px;
    }


    .product-hero h1 {
        font-size: 40px;
    }


    .product-hero-subtitle {
        font-size: 16px;
    }


    /* OVERVIEW */

    .product-overview-section {
        padding: 55px 0;
    }


    .product-overview-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .product-overview-content {
        max-width: 100%;
    }


    /* SECTION */

    .product-content-section {
        margin-bottom: 45px;
    }


    .product-section-heading h2 {
        font-size: 32px;
    }


    .product-section-heading.small-heading h2 {
        font-size: 27px;
    }


    /* SPECIFICATIONS */

    .spec-row {
        grid-template-columns:
            1fr;

        padding: 0;
    }


    .spec-name {
        padding: 10px 14px;

        background:
            var(--light-green);
    }


    .spec-value {
        padding: 10px 14px;

        border-left: none;
    }


    /* TAGS */

    .interactive-tags {
        gap: 7px;
    }


    .interactive-tag {
        font-size: 15px;

        padding:
            6px 9px;
    }

}


/* =========================================================
SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    :root {

        --product-base-font-size: 14px;

        --product-section-label-size: 14px;

        --product-section-gap: 38px;

    }


    .product-hero h1 {
        font-size: 35px;
    }


    .product-hero-subtitle {
        font-size: 15px;
    }


    .product-section-heading h2 {
        font-size: 29px;
    }


    .product-section-heading.small-heading h2 {
        font-size: 25px;
    }


    .product-enquiry {
        padding: 60px 0;
    }


    .product-enquiry-content h2 {
        font-size: 34px;
    }


    .btn {
        width: auto;
    }

}