/* ============================================================
   Shobuj Agro Farm — Public Site CSS
   Identity: "Harvest Green & Earth"
   Leaf #2E7D32 · Soil #6B4F2A · Wheat Gold #E0A82E · Cream #FAF7EF · Ink #1B2A1E
   Fonts: Fraunces (display) + Inter (body) + Hind Siliguri (Bengali)
   ============================================================ */

:root {
    --ag-primary: #2E7D32;
    --ag-primary-700: #1B5E20;
    --ag-primary-soft: #E8F5E9;
    --ag-soil: #6B4F2A;
    --ag-soil-soft: #F5EFE6;
    --ag-accent: #E0A82E;
    --ag-accent-600: #C8931A;
    --ag-ink: #1B2A1E;
    --ag-dark: #1B2A1E;
    --ag-bg: #FAF7EF;
    --ag-surface: #FFFFFF;
    --ag-muted: #5A6B5E;
    --ag-line: #DDD8CC;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 4px 16px rgba(27,42,30,.07);
    --shadow: 0 14px 40px rgba(27,42,30,.12);
    --shadow-lift: 0 22px 54px rgba(46,125,50,.2);
    --font-display: 'Fraunces', 'Hind Siliguri', Georgia, serif;
    --font-body: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
    --font-bn: 'Hind Siliguri', 'Inter', system-ui, sans-serif;
}

/* ============================================================
   Backward-compat aliases (ported view inline styles use --tn-*)
   ============================================================ */
:root {
    --tn-primary: var(--ag-primary);
    --tn-accent:  var(--ag-accent);
    --tn-dark:    var(--ag-ink);
    --tn-muted:   var(--ag-muted);
    --tn-line:    var(--ag-line);
    --tn-soft:    var(--ag-primary-soft);
}

/* ============================================================
   Base reset + body
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ag-ink);
    background: var(--ag-bg);
    line-height: 1.68;
    overflow-x: clip;
}
[lang="bn"] body,
html[lang="bn"] { font-family: var(--font-bn); }
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ag-ink);
    line-height: 1.22;
    font-weight: 700;
    overflow-wrap: break-word;
}
h6 { overflow-wrap: break-word; }
a { color: var(--ag-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ag-primary-700); }
img, svg, iframe, video, table { max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1240px; overflow-wrap: break-word; }

/* ============================================================
   Buttons (green & earth tones)
   ============================================================ */

.btn-cta {
    background: var(--ag-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: .68rem 1.6rem;
    font-weight: 600;
    font-family: var(--font-display);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: transform .18s, box-shadow .18s, background .18s;
    box-shadow: 0 8px 20px rgba(46,125,50,.28);
    cursor: pointer;
}
.btn-cta:hover {
    background: var(--ag-primary-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(46,125,50,.38);
}
.btn-accent {
    background: var(--ag-accent);
    color: var(--ag-ink);
    box-shadow: 0 8px 20px rgba(224,168,46,.3);
}
.btn-accent:hover {
    background: var(--ag-accent-600);
    color: var(--ag-ink);
}
.btn-outline-cta {
    background: transparent;
    color: var(--ag-primary);
    border: 2px solid var(--ag-primary);
    border-radius: var(--radius);
    padding: .6rem 1.5rem;
    font-weight: 600;
    font-family: var(--font-display);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: all .18s;
    cursor: pointer;
}
.btn-outline-cta:hover {
    background: var(--ag-primary);
    color: #fff;
}
.btn-soft {
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
    border: none;
    border-radius: var(--radius);
    padding: .55rem 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: background .18s, color .18s;
}
.btn-soft:hover { background: #c8e6c9; color: var(--ag-primary-700); }

/* ============================================================
   Notice bar
   ============================================================ */

.notice-bar {
    background: var(--ag-ink);
    color: #fdf8f0;
    font-size: .9rem;
    padding: .5rem 0;
    text-align: center;
}
.notice-bar a,
.notice-bar span { color: inherit; }

/* ============================================================
   Header (cream with green accents)
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(250,247,239,.96);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--ag-line);
    transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(27,42,30,.12); }
.site-header .navbar { padding-top: .6rem; padding-bottom: .6rem; }

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    font-weight: 800;
}
.brand-logo { max-height: 44px; }
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ag-primary), #43A047);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 1.25rem;
    flex: 0 0 auto;
    box-shadow: 0 6px 16px rgba(46,125,50,.3);
}
.brand-name {
    font-size: 1.25rem;
    color: var(--ag-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100vw - 140px);
}

.navbar-nav .nav-link {
    color: var(--ag-ink) !important;
    font-weight: 500;
    padding: .45rem .85rem !important;
    border-radius: var(--radius-sm);
    transition: background .15s, color .15s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: var(--ag-primary-soft);
    color: var(--ag-primary) !important;
}

.dropdown-menu {
    border: 1px solid var(--ag-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: var(--ag-surface);
}
.dropdown-item {
    color: var(--ag-ink);
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
}
.dropdown-item:hover {
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
}

.header-search input {
    background: var(--ag-primary-soft);
    border: none;
    border-radius: 20px;
    padding: .4rem 1rem;
    font-size: .9rem;
    min-width: 200px;
}
.header-search input:focus {
    box-shadow: 0 0 0 3px rgba(46,125,50,.25);
    outline: none;
    background: #fff;
}

.header-icon {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    color: var(--ag-ink);
    font-size: 1.15rem;
    transition: background .15s, color .15s;
}
.header-icon:hover {
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
}

.count-badge {
    position: absolute;
    top: 1px;
    right: 1px;
    min-width: 17px;
    height: 17px;
    background: var(--ag-accent);
    color: var(--ag-ink);
    border-radius: 50%;
    font-size: .65rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle {
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
    border: none;
    border-radius: 20px;
    padding: .35rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.lang-toggle:hover { background: var(--ag-primary); color: #fff; }

/* ============================================================
   Hero section (Ken-Burns via carousel)
   ============================================================ */

.hero { position: relative; overflow: hidden; }
.hero-slide {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,42,30,.75) 0%, rgba(46,125,50,.3) 60%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 3rem 0;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--ag-accent);
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .75rem;
}
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero-content p {
    color: rgba(255,255,255,.88);
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    max-width: 480px;
}

/* ============================================================
   Section scaffolding
   ============================================================ */

.section { padding: 4.5rem 0; background: var(--ag-bg); }
.section.alt { background: var(--ag-surface); }
.section.soft { background: var(--ag-soil-soft); }

.section-head { text-align: center; margin-bottom: 2.5rem; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--ag-primary);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: .6rem;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--ag-ink);
    margin-bottom: .5rem;
}

/* Wheat-stalk / grain underline motif */
.tn-underline {
    display: block;
    width: 56px;
    height: 3px;
    margin: .4rem auto 1rem;
    background: linear-gradient(90deg, var(--ag-primary), var(--ag-accent), var(--ag-primary));
    border-radius: 2px;
    position: relative;
}
.tn-underline::after {
    content: '🌾';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .9rem;
}

.lede {
    color: var(--ag-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}
.muted { color: var(--ag-muted); }

/* ============================================================
   Cards
   ============================================================ */

.card-tn {
    background: var(--ag-surface);
    border-radius: var(--radius);
    border: 1px solid var(--ag-line);
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
    color: inherit;
}
.card-tn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    color: inherit;
}
.card-tn .card-img { overflow: hidden; }
.card-tn .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.card-tn:hover .card-img img { transform: scale(1.04); }
.card-tn .card-body { padding: 1.1rem; }

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
    display: inline-grid;
    place-items: center;
    font-size: 1.25rem;
    margin-bottom: .6rem;
}

/* ============================================================
   Category tiles
   ============================================================ */

.cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 1rem;
    background: var(--ag-surface);
    border: 1px solid var(--ag-line);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ag-ink);
    transition: all .22s;
}
.cat-tile:hover {
    border-color: var(--ag-primary);
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.cat-tile .ic {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}
.cat-tile:hover .ic { background: var(--ag-primary); color: #fff; }

/* ============================================================
   Division cards
   ============================================================ */

.division-card {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--ag-line);
    transition: transform .22s, box-shadow .22s;
    color: var(--ag-ink);
    background: var(--ag-surface);
    text-decoration: none;
}
.division-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    color: var(--ag-ink);
}
.division-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: .8rem;
}
.division-type-badge {
    background: rgba(27,42,30,.72);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .25rem .65rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.division-card-body { padding: 1.1rem; }
.division-icon {
    font-size: 1.5rem;
    color: var(--ag-primary);
    display: block;
    margin-bottom: .4rem;
}
.division-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ag-ink);
    margin: 0 0 .3rem;
    font-family: var(--font-display);
}
.division-tagline {
    font-size: .88rem;
    color: var(--ag-muted);
    margin: 0;
}

.division-hero {
    min-height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.division-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(27,42,30,.6), rgba(27,42,30,.3));
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
}
.division-hero-overlay .container { color: #fff; }
.division-hero-overlay h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: .5rem;
}

/* ============================================================
   Service cards
   ============================================================ */

.service-card {
    background: var(--ag-surface);
    border-radius: var(--radius);
    border: 1px solid var(--ag-line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .22s, box-shadow .22s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.service-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.service-card-body {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.service-icon { font-size: 2rem; display: block; margin-bottom: .5rem; }
.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--ag-ink);
    margin-bottom: .3rem;
}
.service-summary { font-size: .9rem; }
.service-price {
    font-weight: 700;
    color: var(--ag-primary);
    font-size: 1rem;
    margin: .5rem 0;
}

/* ============================================================
   Expert (team member) cards
   ============================================================ */

.expert-card {
    background: var(--ag-surface);
    border: 1px solid var(--ag-line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.expert-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    display: block;
}
.expert-body { padding: 1rem; }
.expert-name {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--ag-ink);
    margin-bottom: .2rem;
}
.expert-designation { font-size: .88rem; font-weight: 600; }
.expert-expertise { font-size: .82rem; line-height: 1.5; }
.expert-social a { font-size: 1.1rem; }

/* ============================================================
   Info + CTA cards
   ============================================================ */

.info-card {
    background: var(--ag-surface);
    border: 1px solid var(--ag-line);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.info-card h3 { font-family: var(--font-display); color: var(--ag-ink); }

.stats-list { list-style: none; padding: 0; margin: 0; }
.stats-list li {
    padding: .35rem 0;
    font-size: .95rem;
    border-bottom: 1px solid var(--ag-line);
}
.stats-list li:last-child { border-bottom: none; }

.cta-card { border-radius: var(--radius); }

.prose img { border-radius: var(--radius); }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */

.page-hero {
    background: linear-gradient(135deg, var(--ag-primary) 0%, var(--ag-primary-700) 100%);
    color: #fff;
    padding: 3.5rem 0 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    color: #fff;
    margin-bottom: .5rem;
    position: relative;
}
.page-hero p,
.page-hero .lead { color: rgba(255,255,255,.88); position: relative; }
.page-hero i { position: relative; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    background: var(--ag-ink);
    color: #e8f5e9;
    padding: 3.5rem 0 0;
    margin-top: 4rem;
}
.footer-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--ag-primary), var(--ag-accent), var(--ag-primary));
    margin-bottom: 0;
}
.site-footer h5 {
    color: #fff;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    font-size: 1rem;
}
.footer-brand-name {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.footer-logo { max-height: 40px; }
.footer-about {
    color: rgba(232,245,233,.75);
    font-size: .9rem;
    line-height: 1.65;
}
.footer-social {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #e8f5e9;
    display: inline-grid;
    place-items: center;
    font-size: 1rem;
    transition: background .18s, color .18s;
}
.footer-social a:hover { background: var(--ag-primary); color: #fff; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: rgba(232,245,233,.75); font-size: .9rem; }
.footer-links a:hover { color: var(--ag-accent); }

.footer-contact { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .55rem;
    font-size: .9rem;
    color: rgba(232,245,233,.75);
}
.footer-contact i { color: var(--ag-accent); margin-top: .15rem; flex-shrink: 0; }
.footer-contact a { color: rgba(232,245,233,.75); }
.footer-contact a:hover { color: var(--ag-accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 2.5rem;
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .85rem;
    color: rgba(232,245,233,.6);
}
.footer-bottom a { color: var(--ag-accent); }

.newsletter-form { display: flex; gap: .5rem; margin-top: .5rem; }
.newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: .5rem .9rem;
    font-size: .9rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus {
    outline: none;
    border-color: var(--ag-accent);
    background: rgba(255,255,255,.18);
}
.newsletter-form .btn-cta { padding: .5rem .85rem; border-radius: var(--radius-sm); }

/* ============================================================
   Floating actions + back-to-top
   ============================================================ */

.float-actions {
    position: fixed;
    bottom: 5rem;
    right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    z-index: 999;
}
.float-actions a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 1.3rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.22);
    transition: transform .18s;
}
.float-actions a:hover { transform: scale(1.1); }
.fa-whatsapp { background: #25D366; }
.fa-call { background: var(--ag-primary); }

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ag-primary);
    color: #fff;
    border: none;
    display: none;
    place-items: center;
    font-size: 1.1rem;
    z-index: 998;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(46,125,50,.4);
    transition: transform .18s;
}
.back-to-top:hover { transform: scale(1.1); }
.back-to-top.show { display: grid; }

/* ============================================================
   Mobile safety nets (§9.29 / §12.1)
   ============================================================ */

@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .hero-slide { min-height: 340px; }
    .hero-content { padding: 2rem 0; }
    table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 576px) {
    .hero-slide { min-height: 380px; }
    .hero-content h1 { font-size: 1.8rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .service-card-img { height: 140px; }
}

/* ============================================================
   Dark ink section (stats, CTA band)
   ============================================================ */

.section.ink {
    background: var(--ag-ink);
    color: #e8f5e9;
}
.section.ink h1, .section.ink h2, .section.ink h3,
.section.ink h4, .section.ink h5, .section.ink h6 { color: #fff; }
.section.ink .eyebrow { color: var(--ag-accent); }
.section.ink .section-title { color: #fff; }
.section.ink .lede { color: rgba(232,245,233,.8); }

/* ============================================================
   Public stat tiles (home stats section)
   ============================================================ */

.stat-tile {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: background .2s;
}
.section.ink .stat-tile:hover { background: rgba(255,255,255,.12); }
.stat-ic {
    font-size: 2rem;
    color: var(--ag-accent);
    margin-bottom: .5rem;
}
.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1.1;
}
.stat-label {
    font-size: .88rem;
    color: rgba(232,245,233,.75);
    margin-top: .25rem;
}

/* ============================================================
   Badges + soft labels
   ============================================================ */

.badge-soft {
    display: inline-block;
    background: var(--ag-primary-soft);
    color: var(--ag-primary);
    border-radius: 20px;
    padding: .2rem .7rem;
    font-size: .8rem;
    font-weight: 600;
}
.badge-accent {
    background: rgba(224,168,46,.18);
    color: var(--ag-accent-600);
}

/* ============================================================
   Breadcrumbs
   ============================================================ */

.crumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .9rem;
    color: rgba(255,255,255,.75);
    flex-wrap: wrap;
    margin-top: .5rem;
}
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--ag-accent); }
.crumbs span { opacity: .6; }

/* ============================================================
   Brand / category labels & tiles
   ============================================================ */

.brand-line {
    font-size: .78rem;
    font-weight: 600;
    color: var(--ag-primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
    gap: .25rem;
}
.brand-tile {
    background: var(--ag-surface);
    border: 1px solid var(--ag-line);
    border-radius: var(--radius-sm);
    padding: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    transition: box-shadow .18s;
}
.brand-tile:hover { box-shadow: var(--shadow-sm); }
.brand-tile img { max-height: 44px; max-width: 120px; object-fit: contain; filter: grayscale(1); transition: filter .2s; }
.brand-tile:hover img { filter: none; }

/* ============================================================
   Price tag
   ============================================================ */

.price-tag {
    font-weight: 700;
    color: var(--ag-primary);
    font-size: .95rem;
}

/* ============================================================
   Testimonials
   ============================================================ */

.testi-card {
    background: var(--ag-surface);
    border: 1px solid var(--ag-line);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    transition: box-shadow .22s;
}
.testi-card:hover { box-shadow: var(--shadow); }
.testi-card .stars { color: var(--ag-accent); font-size: .9rem; }
.testi-card .quote {
    font-size: .95rem;
    color: var(--ag-muted);
    font-style: italic;
    flex: 1;
    margin: 0;
}
.testi-card .who {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.testi-card .who img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ag-primary-soft);
}
.testi-card .who strong { font-size: .95rem; color: var(--ag-ink); }


/* ============================================================
   Form + filter bar (public)
   ============================================================ */

.form-control:focus, .form-select:focus {
    border-color: var(--ag-primary);
    box-shadow: 0 0 0 3px rgba(46,125,50,.18);
}

/* ============================================================
   Product card / rail
   ============================================================ */

.product-card {
    background: var(--ag-surface);
    border: 1px solid var(--ag-line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .22s, box-shadow .22s;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.product-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-body { padding: .9rem; flex: 1; }
.product-card-footer { padding: .75rem .9rem; border-top: 1px solid var(--ag-line); }
.price-new { font-weight: 700; color: var(--ag-primary); font-size: 1.05rem; }
.price-old { text-decoration: line-through; color: var(--ag-muted); font-size: .85rem; }
.grade-badge {
    position: absolute;
    top: .5rem;
    left: .5rem;
    background: var(--ag-primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 20px;
}
.organic-badge {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: #fff;
    color: var(--ag-primary);
    font-size: .7rem;
    font-weight: 700;
    padding: .15rem .5rem;
    border-radius: 20px;
    border: 1px solid var(--ag-primary);
}
