:root{
    --agro-green:#143d2b;
    --agro-green-2:#287a4b;
    --agro-gold:#c69a45;
    --agro-cream:#f7f3e8;
    --agro-white:#ffffff;
    --agro-text:#243129;
    --agro-muted:#69766e;
    --agro-border:#dfe5df;
    --agro-max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:var(--agro-white);
    color:var(--agro-text);
    line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.agro-container{width:min(calc(100% - 40px),var(--agro-max));margin:auto}

.agro-topbar{
    background:var(--agro-green);
    color:#fff;
    font-size:13px;
}
.agro-topbar-inner{
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.agro-header{
    background:#fff;
    border-bottom:1px solid var(--agro-border);
}
.agro-header-inner{
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}
.agro-brand strong{
    display:block;
    color:var(--agro-green);
    font-family:Georgia,"Times New Roman",serif;
    font-size:27px;
    letter-spacing:.06em;
}
.agro-brand small{
    display:block;
    color:var(--agro-gold);
    font-size:11px;
    letter-spacing:.13em;
    text-transform:uppercase;
}
.agro-nav{
    display:flex;
    align-items:center;
    gap:24px;
    font-size:14px;
    font-weight:700;
}
.agro-nav a:hover{color:var(--agro-green-2)}
.agro-lang{
    display:flex;
    align-items:center;
    gap:7px;
    font-size:12px;
}
.agro-lang a{
    padding:4px 6px;
    border-radius:4px;
}
.agro-lang a.is-active{
    background:var(--agro-green);
    color:#fff;
}

main{min-height:60vh}

.agro-footer{
    margin-top:80px;
    background:var(--agro-green);
    color:#fff;
}
.agro-footer-main{
    padding:46px 0 34px;
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:60px;
}
.agro-footer h3{
    margin:0 0 8px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:25px;
}
.agro-footer p{
    margin:5px 0;
    color:rgba(255,255,255,.78);
}
.agro-footer a{color:#fff}
.agro-footer-legal{
    padding:15px 0;
    border-top:1px solid rgba(255,255,255,.15);
    font-size:12px;
    color:rgba(255,255,255,.68);
}
.agro-gold{color:var(--agro-gold)}

html[dir="rtl"] body{text-align:right}

@media(max-width:760px){
    .agro-topbar-inner,
    .agro-header-inner{
        align-items:flex-start;
        flex-direction:column;
        padding-top:12px;
        padding-bottom:12px;
    }
    .agro-nav{flex-wrap:wrap;gap:14px}
    .agro-footer-main{grid-template-columns:1fr;gap:25px}
}

/* === PRODUCT PREVIEW v0.1.15 === */

.product-hero{
    padding:78px 0 70px;
    background:
        radial-gradient(circle at 80% 20%,rgba(198,154,69,.16),transparent 32%),
        linear-gradient(135deg,#102f22,#174a34);
    color:#fff;
}
.product-hero p:first-child{
    margin:0 0 14px;
    color:var(--agro-gold);
    font-size:12px;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.product-hero h1{
    max-width:780px;
    margin:0 0 16px;
    font:700 clamp(42px,6vw,72px)/1.02 Georgia,"Times New Roman",serif;
}
.product-hero>div>p:not(:first-child){
    max-width:720px;
    font-size:19px;
    color:rgba(255,255,255,.82);
}
.product-status{
    max-width:850px;
    margin-top:32px;
    padding:15px 18px;
    border:1px solid rgba(198,154,69,.45);
    background:rgba(255,255,255,.06);
    font-size:13px;
    color:#f3e2bd;
}

.product-summary{
    background:var(--agro-cream);
    padding:30px 0;
}
.product-spec-grid,
.packing-grid,
.season-grid{
    display:grid;
    gap:16px;
}
.product-spec-grid{grid-template-columns:repeat(3,1fr)}
.product-spec-grid article,
.packing-grid article,
.season-grid article{
    background:#fff;
    border:1px solid var(--agro-border);
    border-radius:10px;
    padding:20px;
}
.product-spec-grid small,
.packing-grid small{
    display:block;
    margin-bottom:6px;
    color:var(--agro-muted);
    font-size:11px;
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
}
.product-spec-grid strong,
.packing-grid strong{
    color:var(--agro-green);
    font-size:17px;
}

.product-details{padding:62px 0 10px}
.product-detail-block{
    padding:34px 0;
    border-bottom:1px solid var(--agro-border);
}
.product-detail-block h2,
.product-legal h2{
    margin:0 0 20px;
    color:var(--agro-green);
    font:700 30px/1.15 Georgia,"Times New Roman",serif;
}
.season-grid{grid-template-columns:repeat(3,1fr)}
.season-grid article strong{
    display:block;
    color:var(--agro-green);
    font-size:18px;
}
.season-grid article span{
    display:block;
    margin-top:5px;
    color:var(--agro-muted);
}
.packing-grid{grid-template-columns:repeat(4,1fr)}

.product-legal{
    margin-top:42px;
    padding:28px;
    background:var(--agro-cream);
    border-left:4px solid var(--agro-gold);
}
html[dir="rtl"] .product-legal{
    border-left:0;
    border-right:4px solid var(--agro-gold);
}

@media(max-width:800px){
    .product-hero{padding:54px 0}
    .product-spec-grid,
    .season-grid,
    .packing-grid{grid-template-columns:1fr}
}

/* === RFQ FORM v0.1.22 === */

.agro-rfq-form{
    max-width:980px;
    margin:0 auto 42px;
    padding:34px;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px 24px;
    background:#fff;
    border:1px solid var(--agro-border);
    border-radius:14px;
    box-shadow:0 18px 55px rgba(20,61,43,.08);
}

.agro-rfq-form p{
    margin:0;
}

.agro-rfq-form p:has(textarea),
.agro-rfq-form p:has(button){
    grid-column:1/-1;
}

.agro-rfq-form label{
    display:block;
    color:var(--agro-green);
    font-size:13px;
    font-weight:700;
}

.agro-rfq-form input,
.agro-rfq-form select,
.agro-rfq-form textarea{
    width:100%;
    margin-top:7px;
    padding:13px 14px;
    border:1px solid #cfd9d1;
    border-radius:8px;
    background:#fff;
    color:var(--agro-text);
    font:inherit;
    outline:none;
    transition:border-color .18s,box-shadow .18s;
}

.agro-rfq-form textarea{
    min-height:130px;
    resize:vertical;
}

.agro-rfq-form input:focus,
.agro-rfq-form select:focus,
.agro-rfq-form textarea:focus{
    border-color:var(--agro-green-2);
    box-shadow:0 0 0 3px rgba(40,122,75,.12);
}

.agro-rfq-form button[type="submit"]{
    grid-column:1/-1;
    min-height:52px;
    padding:13px 24px;
    border:0;
    border-radius:8px;
    background:var(--agro-green);
    color:#fff;
    font-weight:800;
    font-size:15px;
    cursor:pointer;
    transition:background .18s,transform .18s;
}

.agro-rfq-form button[type="submit"]:hover{
    background:var(--agro-green-2);
    transform:translateY(-1px);
}

html[dir="rtl"] .agro-rfq-form input,
html[dir="rtl"] .agro-rfq-form select,
html[dir="rtl"] .agro-rfq-form textarea{
    text-align:right;
}

@media(max-width:760px){
    .agro-rfq-form{
        grid-template-columns:1fr;
        padding:22px;
    }

    .agro-rfq-form p,
    .agro-rfq-form button[type="submit"]{
        grid-column:1;
    }
}

/* PRODUCT CTA v0.1.23 */
.agro-product-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:13px 24px;
    border-radius:8px;
    background:var(--agro-green);
    color:#fff;
    font-weight:800;
}
.agro-product-cta:hover{
    background:var(--agro-green-2);
}

/* === SEASON CALENDAR v0.1.24 === */

.season-calendar{
    display:grid;
    gap:18px;
}

.season-row{
    padding:22px;
    background:#fff;
    border:1px solid var(--agro-border);
    border-radius:12px;
}

.season-row>strong{
    display:block;
    margin-bottom:13px;
    color:var(--agro-green);
    font-size:18px;
}

.season-months{
    display:grid;
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:6px;
}

.season-months span{
    display:flex;
    min-height:38px;
    align-items:center;
    justify-content:center;
    padding:5px 3px;
    border:1px solid var(--agro-border);
    border-radius:6px;
    background:#f5f6f3;
    color:#99a29b;
    font-size:11px;
    font-weight:700;
    text-align:center;
}

.season-months span.is-active{
    border-color:var(--agro-green-2);
    background:var(--agro-green);
    color:#fff;
}

html[dir="rtl"] .season-months{
    direction:rtl;
}

@media(max-width:800px){
    .season-months{
        grid-template-columns:repeat(4,1fr);
    }
}

/* === EXPORT SPEC HIERARCHY v0.1.25 === */

.packing-grid article,
.cold-chain-grid article{
    position:relative;
    overflow:hidden;
}

.packing-grid article::before,
.cold-chain-grid article::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:3px;
    background:var(--agro-gold);
}

.cold-chain-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.cold-chain-grid article{
    padding:22px;
    border:1px solid var(--agro-border);
    border-radius:10px;
    background:var(--agro-cream);
}

.cold-chain-grid small{
    display:block;
    margin-bottom:7px;
    color:var(--agro-muted);
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.cold-chain-grid strong{
    color:var(--agro-green);
    font-size:20px;
}

.technical-note{
    max-width:800px;
    margin:18px 0 0;
    padding:13px 16px;
    border-left:3px solid var(--agro-gold);
    color:var(--agro-muted);
    background:#faf9f5;
    font-size:13px;
}

html[dir="rtl"] .packing-grid article::before,
html[dir="rtl"] .cold-chain-grid article::before{
    left:auto;
    right:0;
}

html[dir="rtl"] .technical-note{
    border-left:0;
    border-right:3px solid var(--agro-gold);
}

@media(max-width:800px){
    .cold-chain-grid{
        grid-template-columns:1fr;
    }
}
