/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; border-radius: 7px; transition: all 0.18s ease; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-dark); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--accent); border: none; padding-left: 0; font-size: 13.5px; display: inline-flex; align-items: center; gap: 5px; transition: gap 0.15s; }
.btn-ghost:hover { gap: 9px; }
.btn-ghost::after { content: '→'; }

/* ══════════════════════════════
   BREADCRUMB
══════════════════════════════ */
.breadcrumb-bar { padding: calc(var(--nav-h) + 0px) 0 0; background: var(--white); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-3); padding: 14px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.breadcrumb a { color: var(--text-3); text-decoration: none; transition: color 0.15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { font-size: 11px; color: var(--border-dark); }
.breadcrumb-current { color: var(--text-2); font-weight: 500; }

/* ══════════════════════════════
   CATEGORY HERO
══════════════════════════════ */
.cat-hero { background: var(--white); padding: 48px 0 60px; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.hero-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--border) 1px, transparent 1px); background-size: 28px 28px; opacity: 0.55; }
.hero-dots-fade { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 80% at 30% 60%, rgba(255,255,255,0) 20%, #ffffff 72%); }

.cat-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; }
@media (max-width: 960px) { .cat-hero-inner { grid-template-columns: 1fr; } .cat-hero-visual { display: none; } }

.cat-hero-tag { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-bg); border: 1px solid var(--accent-border); padding: 5px 13px; border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.cat-hero-tag svg { width: 13px; height: 13px; fill: var(--accent); }
.cat-hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--text); margin-bottom: 16px; }
.cat-hero-desc { font-size: 1rem; color: var(--text-2); line-height: 1.78; max-width: 520px; margin-bottom: 32px; }
.cat-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.crop-pill { padding: 5px 13px; border-radius: 100px; background: var(--bg); border: 1px solid var(--border); font-size: 12px; font-weight: 500; color: var(--text-2); }

/* Hero visual — processing line diagram */
.cat-hero-visual { display: flex; flex-direction: column; gap: 10px; }
.process-flow { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.process-flow-title { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.flow-steps { display: flex; flex-direction: column; gap: 8px; }
.flow-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--white); border: 1px solid var(--border); border-radius: 9px; transition: border-color 0.2s; }
.flow-step:hover { border-color: var(--accent-border); }
.flow-step-icon { width: 32px; height: 32px; background: var(--accent-bg); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flow-step-icon svg { width: 14px; height: 14px; fill: var(--accent); }
.flow-step-text h5 { font-size: 13px; font-weight: 600; color: var(--text); }
.flow-step-text p { font-size: 11px; color: var(--text-3); }
.flow-arrow { text-align: center; font-size: 13px; color: var(--border-dark); }

.hero-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.hero-stat { background: var(--white); padding: 16px 18px; text-align: center; }
.hero-stat-n { font-family: 'DM Serif Display', serif; font-size: 1.7rem; color: var(--text); display: block; line-height: 1; margin-bottom: 3px; }
.hero-stat-l { font-size: 10.5px; color: var(--text-3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.07em; }

/* ══════════════════════════════
   CATEGORY NAV BAR
══════════════════════════════ */
.cat-nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: var(--nav-h); z-index: 100; }
.cat-nav-inner { display: flex; gap: 0; max-width: 1160px; margin: 0 auto; padding: 0 28px; overflow-x: auto; scrollbar-width: none; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-link { display: flex; align-items: center; gap: 7px; padding: 14px 18px; font-size: 13px; font-weight: 500; color: var(--text-3); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; }
.cat-nav-link:hover { color: var(--text); }
.cat-nav-link.active { color: var(--accent); border-bottom-color: var(--accent); }
.cat-nav-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border-dark); flex-shrink: 0; transition: background 0.15s; }
.cat-nav-link.active .cat-nav-dot, .cat-nav-link:hover .cat-nav-dot { background: var(--accent); }

/* ══════════════════════════════
   MAIN LAYOUT
══════════════════════════════ */
.page-body { padding: 56px 0 100px; }
.page-grid { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .page-grid { grid-template-columns: 1fr; } .sidebar { position: static !important; } }

/* ══════════════════════════════
   SIDEBAR
══════════════════════════════ */
.sidebar { position: sticky; top: calc(var(--nav-h) + 56px); display: flex; flex-direction: column; gap: 16px; }
.s-block { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.s-block-head { padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.s-list { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.s-link { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 8px; font-size: 13.5px; color: var(--text-2); text-decoration: none; font-weight: 400; transition: background 0.15s, color 0.15s; }
.s-link:hover { background: var(--bg); color: var(--text); }
.s-link.active { background: var(--accent-bg); color: var(--accent); font-weight: 500; }
.s-link-count { font-size: 11px; background: var(--bg); color: var(--text-3); padding: 2px 7px; border-radius: 100px; }
.s-link.active .s-link-count { background: var(--accent-border); color: var(--accent); }

.spec-filter-list { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.spec-filter-item label { font-size: 12px; font-weight: 600; color: var(--text-2); display: block; margin-bottom: 6px; }
.spec-select { width: 100%; padding: 8px 12px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 7px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text); outline: none; cursor: pointer; transition: border-color 0.15s; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239a9890'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; background-size: 16px; padding-right: 28px; }
.spec-select:focus { border-color: var(--accent); }

.cta-block { background: var(--accent); border-radius: 12px; padding: 22px 20px; text-align: center; }
.cta-block h4 { font-size: 14px; color: #fff; margin-bottom: 8px; }
.cta-block p { font-size: 12.5px; color: rgba(255,255,255,0.72); line-height: 1.55; margin-bottom: 16px; }
.btn-white { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 10px 18px; background: #fff; color: var(--accent); border: none; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.15s; }
.btn-white:hover { background: rgba(255,255,255,0.9); }

.related-cats { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.related-cat-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--bg); border-radius: 8px; text-decoration: none; transition: background 0.15s; }
.related-cat-link:hover { background: var(--bg2); }
.related-cat-icon { width: 30px; height: 30px; background: var(--white); border: 1px solid var(--border); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.related-cat-icon svg { width: 14px; height: 14px; fill: var(--accent); }
.related-cat-name { font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.related-cat-arrow { margin-left: auto; font-size: 14px; color: var(--text-3); }

/* ══════════════════════════════
   PRODUCT LIST
══════════════════════════════ */
.list-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.list-count { font-size: 14px; color: var(--text-2); }
.list-count strong { color: var(--text); }
.view-toggle { display: flex; gap: 4px; }
.view-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: 7px; background: transparent; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.view-btn.active, .view-btn:hover { border-color: var(--accent-border); background: var(--accent-bg); }
.view-btn svg { width: 15px; height: 15px; fill: var(--text-3); }
.view-btn.active svg { fill: var(--accent); }

/* Grid view */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .products-grid { grid-template-columns: 1fr; } }

/* List view */
.products-grid.list-view { grid-template-columns: 1fr; }
.products-grid.list-view .p-card { display: grid; grid-template-columns: 220px 1fr; }
.products-grid.list-view .p-thumb { aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--border); min-height: 180px; }
.products-grid.list-view .p-body { display: flex; flex-direction: column; }
.products-grid.list-view .p-specs { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .products-grid.list-view .p-card { grid-template-columns: 1fr; } .products-grid.list-view .p-thumb { border-right: none; border-bottom: 1px solid var(--border); min-height: 0; } .products-grid.list-view .p-specs { grid-template-columns: 1fr 1fr; } }

/* Product card */
.p-card { background: var(--white); border: 1px solid var(--border); border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.p-card:hover { border-color: var(--accent-border); box-shadow: 0 6px 28px rgba(44,110,79,0.09); transform: translateY(-2px); }

.p-thumb { aspect-ratio: 16/10; background: var(--bg2); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.p-thumb-pat { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--border) 1px, transparent 1px); background-size: 18px 18px; opacity: 0.7; }
.p-thumb-icon { position: relative; z-index: 1; width: 60px; height: 60px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.p-thumb-icon svg { width: 28px; height: 28px; fill: var(--accent); }
.p-badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.p-badge-popular { background: var(--accent); color: #fff; }
.p-badge-new { background: var(--white); color: var(--accent); border: 1px solid var(--accent-border); }

.p-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.p-name { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.p-desc { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 16px; flex: 1; }
.p-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 16px; }
.p-spec { background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 8px 10px; }
.p-spec-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); display: block; margin-bottom: 2px; }
.p-spec-val { font-size: 12.5px; font-weight: 500; color: var(--text); }
.p-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 18px; }
.p-tag { font-size: 11px; font-weight: 500; padding: 3px 9px; border-radius: 100px; background: var(--bg); border: 1px solid var(--border); color: var(--text-3); }
.p-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.p-detail-link { font-size: 13px; font-weight: 500; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; transition: gap 0.15s; }
.p-detail-link:hover { gap: 9px; }
.p-detail-link::after { content: '→'; }
.p-enquire { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 6px; background: var(--accent-bg); color: var(--accent); border: 1px solid var(--accent-border); font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.15s; }
.p-enquire:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ══════════════════════════════
   HOW A SEED PROCESSING LINE WORKS
══════════════════════════════ */
.line-section { background: var(--white); padding: 80px 0; border-top: 1px solid var(--border); }
.line-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .line-grid { grid-template-columns: 1fr; } }

.line-text h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: 16px; }
.line-text p { font-size: 0.97rem; color: var(--text-2); line-height: 1.82; margin-bottom: 16px; }

.line-steps { display: flex; flex-direction: column; gap: 0; }
.line-step { display: flex; gap: 18px; position: relative; }
.line-step-left { display: flex; flex-direction: column; align-items: center; }
.line-step-num { width: 36px; height: 36px; background: var(--accent-bg); border: 1.5px solid var(--accent-border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--accent); flex-shrink: 0; }
.line-step-connector { width: 1.5px; flex: 1; background: var(--border); margin: 6px 0; min-height: 20px; }
.line-step:last-child .line-step-connector { display: none; }
.line-step-content { padding: 2px 0 24px; }
.line-step-content h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 5px; }
.line-step-content p { font-size: 13px; color: var(--text-2); line-height: 1.65; }
.line-step-content .machine-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-bg); border: 1px solid var(--accent-border); padding: 3px 10px; border-radius: 100px; margin-top: 6px; text-decoration: none; }

/* ══════════════════════════════
   CROPS COMPATIBILITY
══════════════════════════════ */
.crops-section { background: var(--bg); padding: 80px 0; }
.crops-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
@media (max-width: 860px) { .crops-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .crops-grid { grid-template-columns: repeat(2, 1fr); } }

.crop-card { background: var(--white); border: 1px solid var(--border); border-radius: 11px; padding: 18px 14px; text-align: center; transition: border-color 0.2s, transform 0.2s; }
.crop-card:hover { border-color: var(--accent-border); transform: translateY(-2px); }
.crop-icon { width: 40px; height: 40px; background: var(--accent-bg); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.crop-icon svg { width: 18px; height: 18px; fill: var(--accent); }
.crop-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.crop-note { font-size: 11px; color: var(--text-3); }

/* ══════════════════════════════
   FEATURES STRIP
══════════════════════════════ */
.features-strip { background: var(--accent); padding: 56px 0; }
.features-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
@media (max-width: 860px) { .features-strip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features-strip-grid { grid-template-columns: 1fr; } }
.f-item { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,0.12); }
.f-item:last-child { border-right: none; }
@media (max-width: 860px) { .f-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); } }
.f-icon { width: 38px; height: 38px; background: rgba(255,255,255,0.15); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.f-icon svg { width: 17px; height: 17px; fill: #fff; }
.f-item h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.f-item p { font-size: 12.5px; color: rgba(255,255,255,0.72); line-height: 1.6; }

/* ══════════════════════════════
   CTA SECTION
══════════════════════════════ */
.cta-section { background: var(--bg); padding: 80px 0; }
.cta-box { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
@media (max-width: 680px) { .cta-box { grid-template-columns: 1fr; gap: 28px; } }
.cta-box h2 { font-size: clamp(1.6rem, 2.8vw, 2rem); margin-bottom: 10px; }
.cta-box p { font-size: 0.97rem; color: var(--text-2); line-height: 1.75; max-width: 440px; }
.cta-box-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }