/* =========================================================
   АгроПлюс56 v2 layer — loaded AFTER css/app.css (= public/css/app.css from the Symfony app,
   only url('/mockup/…') paths rewritten to ../assets/). Same palette / typography as the render.
   Port to Twig: append this file to public/css/app.css (or link it after app.css).
   ========================================================= */
:root {
  --logo-green: #50AF00; /* sampled from the client logo */
  --logo-green-dark: #3F8A00;
  --logo-red: #E3261C;
  --green-soft: #EEF7E6; /* tint of --logo-green */
  --radius-card: 8px;
}
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- Logo: client's original (assets/logo/*.svg|png, built by _build/logo.py) ---------- */
.logo-brand { min-width: 0 !important; flex-shrink: 0; line-height: 0; }
.logo-brand picture { display: block; line-height: 0; }
.logo-brand img.logo-img { display: block; width: auto !important; height: 54px !important; max-width: none; }
.footer-brand .logo-brand img.logo-img { height: 50px !important; }

/* ---------- Topbar ---------- */
.topbar-inner { gap: 20px; }
.search { max-width: 400px; }
.topbar-contacts { gap: 18px; }
.contact-item a { font-size: 15px; }
.contact-extra { display: flex; flex-direction: column; gap: 4px; line-height: 1.2; }
.topbar-contacts .contact-extra .contact-email { display: flex; font-size: 13px; font-weight: 600; color: var(--text); }
.contact-email:hover { color: var(--green-action); }
.contact-max {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #4b4bd8;
}
.contact-max img { width: 16px; height: 16px; border-radius: 4px; }
.contact-max:hover { color: #2f2fb0; text-decoration: underline; }
.topbar .btn-callback-home { background: var(--green-action); color: #fff; border-color: var(--green-action); }
.topbar .btn-callback-home:hover { background: var(--green-action-hover); border-color: var(--green-action-hover); color: #fff; }
@media (max-width: 1360px) and (min-width: 1025px) {
  .search { max-width: 300px; }
  .contact-item small { font-size: 10.5px; }
}
@media (max-width: 1280px) and (min-width: 1025px) {
  .topbar-inner { gap: 14px; }
  .topbar-contacts { gap: 12px; }
  .search { max-width: 240px; min-width: 150px; }
  .contact-item a { font-size: 13.5px; }
  .contact-item small { font-size: 10px; }
  .topbar .btn-callback-home { padding: 9px 12px; font-size: 11px; }
}
@media (max-width: 1100px) and (min-width: 1025px) { .contact-extra { display: none; } }

/* ---------- Main nav ---------- */
.main-nav > .container > ul { align-items: center; }
.main-nav > .container > ul > li > a { padding: 15px 18px; }
@media (max-width: 1360px) and (min-width: 1025px) {
  .main-nav > .container > ul > li > a { padding: 15px 13px; font-size: 12.5px; letter-spacing: .04em; }
}
@media (max-width: 1150px) and (min-width: 1025px) {
  .main-nav > .container > ul > li > a { padding: 14px 9px; font-size: 12px; letter-spacing: .02em; }
  .nav-bu-btn { padding: 8px 10px !important; }
}
.nav-bu-btn { white-space: nowrap; }
@media (min-width: 1025px) {
  .nav-catalog { position: static !important; }
  .main-nav > .container { position: relative; }
  .nav-catalog > .mega-menu { left: 24px; }
  .nav-catalog:hover > .mega-menu, .nav-catalog:focus-within > .mega-menu { display: block; }
  .nav-drop:hover > .nav-dropdown, .nav-drop:focus-within > .nav-dropdown { display: block; }
}
.mega-menu { padding: 26px 30px 0; }
.mega-cta { margin: 18px -30px 0; padding: 16px 30px 18px; background: #f7faf8; border-radius: 0 0 6px 6px; }
.mega-cta .btn-article-request { padding: 13px 26px; font-size: 13px; }
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px; z-index: 210;
  background: #fff; border-radius: 0 0 6px 6px; box-shadow: 0 12px 40px rgba(0,0,0,.15); padding: 10px 0;
}
.nav-dropdown a { display: block; padding: 9px 20px; font-size: 13.5px; color: #333; }
.nav-dropdown a:hover { background: var(--green-soft); color: var(--green-action); }

/* ---------- Hero ---------- */
.hero-v2 {
  background: #f4efe7 url('../assets/img/hero-tractor-2560.jpg') right center / cover no-repeat;
  background-image: image-set(url('../assets/img/hero-tractor-2560.webp') type('image/webp'), url('../assets/img/hero-tractor-2560.jpg') type('image/jpeg'));
  min-height: 500px; align-items: flex-start;
}
.hero-v2::before { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 38%, rgba(255,255,255,.55) 56%, rgba(255,255,255,0) 72%); }
.hero-v2 .hero-content { max-width: 600px; padding: 56px 0 120px; }
.hero-v2 .hero-content h1 { font-size: 34px; line-height: 1.18; max-width: 600px; color: var(--green-action); margin-bottom: 16px; }
.hero-v2 .h1-brand { color: var(--green-nav); white-space: nowrap; }
.hero-v2 .hero-lead { font-size: 16.5px; color: #333; max-width: 540px; margin-bottom: 14px; line-height: 1.55; }
.hero-v2 .hero-tagline {
  display: inline-block; margin: 2px 0 26px !important; padding: 8px 16px 8px 14px;
  font-size: 20px; font-weight: 800; color: var(--green-nav); letter-spacing: .01em;
  border-left: 4px solid var(--cta-orange); background: rgba(226,152,0,.09); border-radius: 0 6px 6px 0; max-width: none;
}
.hero-v2 .hero-actions { gap: 12px; }
.hero-v2 .hero-content .btn-outline-green { border-color: var(--green-nav); color: var(--green-nav); background: rgba(255,255,255,.6); }
.hero-v2 .hero-content .btn-outline-green:hover { background: var(--green-nav); color: #fff; }

/* ---------- Advantages (overlapping card as on the render) ---------- */
.features-v2 { background: transparent; border: 0; padding: 0; position: relative; z-index: 3; margin-top: -86px; }
.features-v2 .features-grid {
  background: #fff; border-radius: 10px; box-shadow: 0 10px 34px rgba(0,0,0,.10);
  padding: 22px 24px; gap: 0;
}
.features-v2 .feature-item { align-items: center; gap: 12px; padding: 6px 16px; border-left: 1px solid var(--border); }
.features-v2 .feature-item:first-child { border-left: 0; }
.features-v2 .fi-ico { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: var(--green-soft); border-radius: 50%; }
.features-v2 .fi-ico svg { width: 30px; height: 30px; }
.features-v2 .feature-item p { font-size: 13.5px; color: #333; line-height: 1.4; margin: 0; }
.features-v2 .feature-item p b { color: var(--green-action); font-weight: 800; }
.page-company .features-v2 { margin: 0 0 8px; }

/* ---------- Sections ---------- */
.section-news { padding-top: 48px; }
.section-head .btn-sm { padding: 8px 16px; font-size: 11.5px; }
.section-head h2 { position: relative; }
.news-card .thumb { display: block; }
.news-card h3 a:hover { color: var(--green-action); }

/* Parts block */
.parts-split-v2 { align-items: stretch; }
@media (min-width: 1200px) { .parts-split-v2 { grid-template-columns: 330px 1fr; gap: 32px; } .parts-split-v2 .parts-cats { grid-template-columns: repeat(6, 1fr); } }
.parts-split-v2 > div:first-child { display: flex; flex-direction: column; justify-content: center; }
.parts-split-v2 h2 { font-size: 24px; }
.parts-split-v2 .parts-cats { align-content: center; }
.parts-split-v2 .part-cat { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 14px 10px 16px; box-shadow: var(--shadow-card); }
.parts-split-v2 .part-cat img { width: 100%; height: 110px; object-fit: contain; border-radius: 6px; border: 0; margin: 0 0 12px; background: #fff; }
.parts-split-v2 .part-cat span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.3; }

/* Machinery halves */
.section-machinery { padding-top: 48px; }
.machinery-split { gap: 28px; }
.machinery-half {
  min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px 26px 24px;
}
.machinery-half .section-head { margin-bottom: 16px; }
.machinery-half .section-head h2 { font-size: 20px; }
.machinery-half-used .section-head h2::after { content: 'Б/У'; margin-left: 10px; vertical-align: 3px; font-size: 11px; padding: 3px 7px; border-radius: 4px; background: var(--cta-orange); color: #fff; letter-spacing: .04em; }
.carousel-track {
  display: grid !important; grid-auto-flow: column; grid-template-columns: none !important;
  grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto !important; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 2px 2px 6px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; min-width: 0; }
.carousel-wrap .carousel-nav { width: 34px; height: 34px; font-size: 20px; line-height: 1; }
.carousel-wrap .carousel-nav:disabled { opacity: .35; cursor: default; }
.carousel-wrap.is-static .carousel-nav { display: none; }
.machinery-half .carousel-nav.prev { left: -18px; }
.machinery-half .carousel-nav.next { right: -18px; }
.mach-card { padding: 14px; }
.mach-card .img-wrap.img-contain, .product-card .img-wrap.img-contain { background: #fff; }
.img-contain img { object-fit: contain !important; }
.mach-card h3 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .02em; }
.mach-card .btn { align-self: flex-start; }
.badge-new { position: absolute; top: 10px; left: 10px; background: var(--green-action); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; }
.product-card .img-wrap { position: relative; }

/* Director */
.director-banner { grid-template-columns: minmax(260px, 400px) 1fr !important; }
.director-banner .photo img { min-height: 100%; height: 100%; object-position: 30% center; }
.director-banner .text { padding: 36px 44px; }
.director-banner .text::after { opacity: .06; width: 240px; height: 150px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green-action); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.director-quote { position: relative; margin: 0; padding-left: 22px; border-left: 3px solid var(--logo-green); }
.director-quote p { max-width: 820px !important; font-size: 15px; color: #333; line-height: 1.65; margin-bottom: 10px; }
.director-quote p:first-child { font-size: 17px; font-weight: 700; color: var(--green-nav); }
.director-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-top: 18px; position: relative; z-index: 1; }
.director-sign { margin: 0 !important; font-size: 15px; }
.director-name { display: block; font-weight: 600; color: var(--text-muted); font-size: 14px; margin-top: 2px; }

/* Reviews carousel */
.reviews-track { grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; }
.section-reviews .carousel-wrap { padding: 0 8px; }
.section-reviews .carousel-nav.prev { left: -22px; }
.section-reviews .carousel-nav.next { right: -22px; }
.review-head span { display: block; color: var(--green-action); font-weight: 600; }
.avatar-initials { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green-action); font-weight: 800; font-size: 18px; flex-shrink: 0; }

/* CTA bar (render: rounded green banner) */
.cta-bar-v2 { background: transparent; padding: 8px 0 48px; }
.cta-bar-v2 .cta-bar-inner { background: linear-gradient(90deg, var(--green-nav), #23603f); border-radius: 12px; padding: 22px 28px; }

/* Footer */
.site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.6fr; }
.footer-brand .logo { margin-bottom: 4px; }
.socials .social-max-v2 { background: linear-gradient(135deg, #3D8BFF, #9B3DFF); }
.socials .social-max-v2 img { width: 18px; height: 18px; }
.footer-contacts li { align-items: flex-start; }
.footer-contacts .ico { width: 18px; height: 18px; color: #7bc58f; }
.footer-contacts .ico svg { width: 16px; height: 16px; }
.footer-contacts a { color: rgba(255,255,255,.85); }
.footer-contacts a:hover { color: #fff; }
.footer-contacts small { color: rgba(255,255,255,.5); font-size: 11.5px; }

/* ---------- Lead chooser modal ---------- */
.lead-modal { z-index: 400; }
.lead-modal .modal-card { width: min(480px, calc(100% - 24px)); padding: 30px 28px 24px; max-height: calc(100vh - 24px); overflow-y: auto; }
.lead-modal h2 { font-size: 21px; font-weight: 800; color: var(--green-nav); margin-bottom: 6px; padding-right: 24px; }
.lead-topic { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.lead-topic:empty { display: none; }
.lead-choices { display: grid; gap: 12px; }
.lead-choice {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px; border: 2px solid var(--border); border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lead-choice:hover, .lead-choice:focus-visible { border-color: var(--green-action); box-shadow: var(--shadow); transform: translateY(-1px); outline: none; }
.lead-choice strong { display: block; font-size: 15.5px; color: var(--text); }
.lead-choice small { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.lead-choice img { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; }
.lead-ico { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--green-action); color: #fff; }
.lead-ico svg { width: 24px; height: 24px; }
.lead-hours { margin-top: 16px; font-size: 12.5px; color: var(--text-muted); text-align: center; }
.lead-hours a { color: var(--green-action); font-weight: 600; }
.lead-back { border: 0; background: none; color: var(--green-action); font-weight: 600; cursor: pointer; margin-bottom: 8px; font-size: 13px; padding: 0; }
.lead-consent { display: flex !important; flex-direction: row; align-items: center; gap: 8px !important; font-weight: 500 !important; color: var(--text-muted); }
.lead-consent input { accent-color: var(--green-action); }
.lead-note { font-size: 12px; color: var(--text-light); }
.lead-error { color: #b42318; font-size: 13px; }
.lead-done { text-align: center; }
.lead-done-ico { width: 56px; height: 56px; border-radius: 50%; margin: 4px auto 12px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-action); font-size: 28px; font-weight: 800; }
.lead-done p { color: var(--text-muted); margin: 6px 0 18px; }
.callback-form input:focus, .callback-form textarea:focus { outline: none; border-color: var(--green-action); }

/* ---------- Catalog pages ---------- */
.catalog-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.catalog-switch a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-muted); background: #fff; }
.catalog-switch a.active, .catalog-switch a:hover { background: var(--green-action); border-color: var(--green-action); color: #fff; }
.catalog-switch + .page-title { margin-top: 18px; }
.condition-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.condition-switch button { border: 0; background: #fff; padding: 9px 18px; font-weight: 700; font-size: 13px; cursor: pointer; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.condition-switch button + button { border-left: 1px solid var(--border); }
.condition-switch button.active { background: var(--green-action); color: #fff; }
.catalog-toolbar { flex-wrap: wrap; }
.found .muted { color: var(--text-light); font-weight: 400; }
.article-request-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--green-soft); border: 1px solid #cfe5d6; border-radius: 8px; padding: 14px 18px; margin-bottom: 24px; font-size: 14.5px;
}
.article-request-banner strong { color: var(--green-nav); }
.price-note { font-size: 12.5px; color: var(--text-light); margin: -6px 0 16px; }
.product-card .stock-order { color: var(--cta-orange); }
.product-card .img-wrap img { object-fit: contain; background: #fff; }
.page-parts .product-card .img-wrap { background: #fff; }
.page-parts .product-card .img-wrap img { padding: 6px; }
.product-card h3 { font-size: 14.5px; }
.catalog-bu-teaser { margin-top: 28px; padding: 14px 18px; border: 1px dashed #cfe0d4; border-radius: 8px; font-size: 14px; }
.catalog-bu-teaser a { color: var(--green-action); font-weight: 700; }
.select-block { width: 100%; }

/* Б/У площадка */
.bu-hero { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: center; margin-bottom: 24px; }
.bu-hero .page-lead { margin-bottom: 0; }
.bu-hero-cta { background: var(--green-nav); color: #fff; border-radius: 10px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.bu-hero-cta strong { font-size: 18px; text-transform: uppercase; letter-spacing: .02em; }
.bu-hero-cta span { font-size: 13.5px; opacity: .85; margin-bottom: 6px; }
.used-marketplace-grid .mach-card h3 { min-height: 2.6em; }
.used-price { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.used-specs { margin: 0 0 14px; font-size: 13px; }
.used-specs li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed #eee; }
.used-specs li span { color: var(--text-light); }
.used-specs li b { font-weight: 600; text-align: right; }

/* Agroblog / news */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 24px; }
.chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; color: #444; }
.chip.active, .chip:hover { border-color: var(--green-action); color: var(--green-action); background: var(--green-soft); }
.news-list-item .tag { color: var(--green-action); font-weight: 600; }
.news-list-item .thumb { display: block; }
.sidebar-cta .phones a { color: #fff; }
.page-lead { max-width: 820px; }

/* Contacts */
.contact-sub { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-light); margin-bottom: 6px; }
.contact-info-item .ico svg { width: 22px; height: 22px; }
.ico-max { background: transparent !important; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.map-wrap { position: relative; }
.map-pin-card { position: absolute; left: 50%; top: 38%; transform: translate(-10%, -100%); background: #fff; border-radius: 8px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; max-width: 260px; }
.map-pin-card strong { display: block; color: var(--green-action); }
.form-actions { align-items: center; gap: 16px; }
.form-alt { font-size: 13.5px; color: var(--text-muted); }
.form-alt a { color: var(--green-action); font-weight: 600; }
.form-success { margin-top: 12px; color: #14532d; background: #e8f6ec; padding: 10px 14px; border-radius: 6px; }

/* Services / company / search */
.service-grid-v2 { grid-template-columns: repeat(3, 1fr); }
.service-grid-v2 article { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.service-grid-v2 article p { flex: 1; margin-bottom: 12px; }
.block-title { font-size: 22px; font-weight: 800; text-transform: uppercase; margin: 36px 0 18px; letter-spacing: .02em; }
.search-page-form { max-width: 640px; margin: 0 0 24px; }
.search-results { display: grid; gap: 10px; max-width: 820px; padding-bottom: 40px; }
.search-results a { display: block; padding: 14px 16px; border: 1px solid var(--border); border-radius: 8px; }
.search-results a:hover { border-color: var(--green-action); box-shadow: var(--shadow); }
.search-results .sr-type { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--green-action); background: var(--green-soft); padding: 2px 8px; border-radius: 4px; margin-right: 8px; }
.search-results small { display: block; color: var(--text-muted); margin-top: 4px; }

/* ---------- Chatbot «Агроныч» ---------- */
.agro-bot { position: fixed; right: 22px; bottom: 22px; z-index: 300; font-size: 14px; }
.agro-bot-fab {
  position: relative; display: flex; align-items: center; gap: 0; border: 0; cursor: pointer; padding: 0;
  background: none; filter: drop-shadow(0 6px 16px rgba(0,0,0,.22));
}
.agro-bot-fab img { width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 3px solid #fff; position: relative; z-index: 1; }
.agro-bot-fab-label {
  position: absolute; right: 48px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--green-action); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 22px 8px 14px; border-radius: 999px 0 0 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.agro-bot-fab:hover .agro-bot-fab-label { opacity: 1; }
.agro-bot.is-open .agro-bot-fab-label { display: none; }
.agro-bot-dot { position: absolute; z-index: 2; right: 3px; bottom: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--logo-green); border: 2px solid #fff; }
.agro-bot-teaser {
  position: absolute; right: 0; bottom: 78px; width: 310px; background: #fff; border-radius: 14px; padding: 16px 16px 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,.18); border: 1px solid #e3ece6; animation: agroUp .35s ease;
}
.agro-bot-teaser::after { content: ''; position: absolute; right: 26px; bottom: -8px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-right: 1px solid #e3ece6; border-bottom: 1px solid #e3ece6; }
.agro-bot-teaser-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.agro-bot-teaser-head strong, .agro-bot-head strong { display: block; font-size: 15px; color: var(--green-nav); }
.agro-bot-teaser-head span { font-size: 12px; color: var(--text-light); }
.agro-bot-teaser p { font-size: 13.5px; color: #333; line-height: 1.5; margin-bottom: 12px; }
.agro-bot-teaser-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.agro-bot-teaser-actions .btn { padding: 8px 12px; font-size: 11.5px; }
.agro-bot-x { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 20px; color: #999; cursor: pointer; }
.agro-bot-panel {
  position: absolute; right: 0; bottom: 78px; width: 380px; height: min(600px, calc(100vh - 120px));
  background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.22); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid #e3ece6; animation: agroUp .25s ease;
}
.agro-bot-panel[hidden] { display: none !important; }
@keyframes agroUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.agro-bot-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--green-nav); color: #fff; }
.agro-bot-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.agro-bot-head strong { color: #fff; }
.agro-bot-status { font-size: 12px; opacity: .8; }
.agro-bot-status::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--logo-green); margin-right: 6px; vertical-align: 1px; }
.agro-bot-icon { margin-left: auto; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-weight: 800; }
.agro-bot-log { flex: 1; overflow-y: auto; padding: 14px 12px 6px; background: #f6f8f6; }
.agro-msg { display: flex; gap: 8px; margin-bottom: 10px; align-items: flex-end; }
.agro-msg-av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; }
.agro-bubble { max-width: 84%; padding: 9px 12px; border-radius: 14px; line-height: 1.45; font-size: 13.5px; background: #fff; border: 1px solid #e6ece8; color: #222; overflow-wrap: anywhere; }
.agro-msg-bot .agro-bubble { border-bottom-left-radius: 4px; }
.agro-msg-user { justify-content: flex-end; }
.agro-msg-user .agro-bubble { background: var(--green-action); color: #fff; border-color: var(--green-action); border-bottom-right-radius: 4px; }
.agro-links { margin: 8px 0 2px; display: grid; gap: 6px; }
.agro-links li { padding: 7px 9px; background: #f3f8f4; border-radius: 8px; border: 1px solid #e0ece4; }
.agro-links a { color: var(--green-action); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.agro-links small { display: block; color: var(--text-muted); font-size: 11.5px; margin-top: 2px; }
.agro-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.agro-action { border: 1px solid var(--green-action); color: var(--green-action); background: #fff; border-radius: 999px; padding: 6px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.agro-action:hover { background: var(--green-action); color: #fff; }
.agro-action.is-max { border-color: #5B5BFF; color: #4b4bd8; }
.agro-action.is-max:hover { background: #5B5BFF; color: #fff; }
.agro-typing .agro-bubble { display: flex; gap: 4px; padding: 12px 14px; }
.agro-typing i { width: 6px; height: 6px; border-radius: 50%; background: #9db8a5; animation: agroDot 1s infinite; }
.agro-typing i:nth-child(2) { animation-delay: .15s; } .agro-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes agroDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.agro-bot-quick { display: flex; gap: 6px; padding: 8px 10px; overflow-x: auto; scrollbar-width: thin; border-top: 1px solid #eef2ef; background: #fff; }
.agro-chip { flex-shrink: 0; border: 1px solid #d7e6dc; background: #f3f8f4; color: var(--green-nav); border-radius: 999px; padding: 6px 11px; font-size: 12.5px; cursor: pointer; }
.agro-chip:hover { border-color: var(--green-action); }
.agro-bot-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eef2ef; background: #fff; }
.agro-bot-form input { flex: 1; border: 1px solid var(--border); border-radius: 999px; padding: 10px 14px; outline: none; font-size: 14px; min-width: 0; }
.agro-bot-form input:focus { border-color: var(--green-action); }
.agro-bot-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--green-action); color: #fff; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.agro-bot-form button svg { width: 18px; height: 18px; }
.agro-bot-foot { font-size: 11.5px; color: var(--text-light); text-align: center; padding: 0 10px 8px; background: #fff; }
.agro-bot-foot button { border: 0; background: none; color: var(--green-action); text-decoration: underline; cursor: pointer; font-size: inherit; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .container { padding: 0 20px; }
  .hero-v2 .hero-content { max-width: 540px; }
  .hero-v2 .hero-content h1 { font-size: 30px; }
  .features-v2 .feature-item { padding: 6px 10px; }
  .features-v2 .feature-item p { font-size: 12.5px; }
  .features-v2 .fi-ico { width: 40px; height: 40px; }
  .machinery-half { padding: 18px 20px 20px; }
  .carousel-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .site-footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
  .footer-col-contacts { grid-column: 1 / -1; }
  .footer-col-contacts .footer-contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; }
  .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1199px) {
  .features-v2 .features-grid { grid-template-columns: repeat(3, 1fr) !important; row-gap: 14px; }
  .features-v2 .feature-item:nth-child(4) { border-left: 0; }
}
@media (max-width: 1024px) {
  .topbar-inner { flex-wrap: wrap; }
  .topbar-contacts .contact-extra { display: none !important; }
  .main-nav > .container > ul > li > a { padding: 14px 12px; font-size: 13px; }
  .nav-catalog > .mega-menu { display: none; }
  .nav-catalog.open > .mega-menu { display: block; }
  .mega-menu { padding: 12px 8px 0; }
  .mega-cta { margin: 12px -8px 0; }
  .nav-dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.06); border-radius: 0; padding: 4px 0 8px; }
  .nav-drop.open > .nav-dropdown { display: block; }
  .nav-dropdown a { color: rgba(255,255,255,.88); padding: 10px 24px; }
  .nav-dropdown a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav-mobile-contacts small { opacity: .65; font-weight: 500; margin-left: 6px; font-size: 12px; }
  .hero-v2 { min-height: 0; background-position: 70% center; }
  .hero-v2::before { background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.6) 100%); }
  .hero-v2 .hero-content { padding: 36px 0 110px; }
  .features-v2 { margin-top: -80px; }
  .features-v2 .features-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .features-v2 .feature-item { border-left: 0; }
  .parts-split-v2 .parts-cats { grid-template-columns: repeat(3, 1fr) !important; }
  .director-banner { grid-template-columns: 1fr !important; }
  .director-banner .photo img { max-height: 320px !important; object-position: center 25%; }
  .director-banner .text { padding: 26px 22px; }
  .reviews-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col-contacts .footer-contacts { grid-template-columns: 1fr; }
  .bu-hero { grid-template-columns: 1fr; }
  .service-grid-v2 { grid-template-columns: 1fr 1fr; }
  .news-layout, .article-layout { grid-template-columns: 1fr; }
  .contacts-top { grid-template-columns: 1fr; }
  .filters { position: static; }
}
@media (max-width: 720px) {
  .container { padding: 0 14px; }
  .topbar { padding: 10px 0; }
  .topbar-contacts { margin-left: auto !important; }
  .nav-burger { margin-left: 4px !important; }
  .hero-v2 { background-image: url('../assets/img/hero-tractor-1200.jpg'); background-position: 50% center; }
  .hero-v2 { background-image: image-set(url('../assets/img/hero-tractor-1200.webp') type('image/webp'), url('../assets/img/hero-tractor-1200.jpg') type('image/jpeg')); }
  .hero-v2 .hero-content { padding: 26px 0 96px; }
  .hero-v2 .hero-content h1 { font-size: 23px !important; line-height: 1.22; }
  .hero-v2 .h1-brand { white-space: normal; }
  .hero-v2 .hero-lead { font-size: 15px; }
  .hero-v2 .hero-tagline { font-size: 17px; padding: 7px 12px; }
  .features-v2 .features-grid { grid-template-columns: 1fr !important; padding: 12px 14px; row-gap: 4px; }
  .features-v2 .feature-item { padding: 8px 4px; border-top: 1px solid var(--border); }
  .features-v2 .feature-item:first-child { border-top: 0; }
  .section-head { flex-direction: row !important; align-items: center !important; justify-content: space-between; }
  .section-head h2 { font-size: 19px !important; }
  .parts-split-v2 .parts-cats { grid-template-columns: repeat(2, 1fr) !important; }
  .parts-split-v2 .part-cat img { height: 90px; }
  .machinery-half { padding: 16px 14px 18px; }
  .machinery-half .section-head h2 { font-size: 17px !important; }
  .carousel-track, .reviews-track { grid-auto-columns: 78%; }
  .carousel-nav { display: none !important; }
  .director-quote { padding-left: 14px; }
  .director-quote p { font-size: 14.5px; }
  .director-foot .btn { width: 100%; white-space: normal; }
  .cta-bar-v2 .cta-bar-inner { flex-direction: column; align-items: stretch; padding: 20px; }
  .cta-bar-v2 .btn { width: 100%; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-col-contacts { grid-column: 1 / -1; }
  .product-grid, .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .product-card { padding: 12px; }
  .product-card .img-wrap { height: 120px; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-right { justify-content: space-between; }
  .condition-switch { display: flex; }
  .condition-switch button { flex: 1; padding: 9px 8px; }
  .used-marketplace-grid { grid-template-columns: 1fr !important; }
  .service-grid-v2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-section { padding: 22px 16px; }
  .form-actions { flex-direction: column-reverse; align-items: stretch; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-item .thumb { height: 170px; }
  .map-pin-card { left: 12px; top: 12px; transform: none; }
  .article-hero img { height: 220px; }
  .agro-bot { right: 12px; bottom: 12px; }
  .agro-bot-panel { position: fixed; right: 8px; left: 8px; bottom: 84px; width: auto; height: calc(100vh - 100px); height: calc(100dvh - 100px); }
  .agro-bot-teaser { width: min(310px, calc(100vw - 24px)); }
  .agro-bot-fab img { width: 54px; height: 54px; }
}
@media (max-width: 360px) {
  .product-grid, .product-grid.cols-4 { grid-template-columns: 1fr !important; }
}

/* ---------- fixes after visual QA ---------- */
.search button svg { width: 18px !important; height: 18px !important; }
.socials a svg { width: 16px !important; height: 16px !important; }
.container.parts-split, .container.cta-bar-inner { max-width: var(--container); }
.cta-bar-v2 .container.cta-bar-inner { max-width: calc(var(--container) - 48px); width: calc(100% - 48px); }
.machinery-half .mach-card h3 { min-height: 2.7em; }
.machinery-half .mach-card p { min-height: 3.2em; }
@media (max-width: 1280px) { .cta-bar-v2 .container.cta-bar-inner { width: calc(100% - 40px); } }
@media (max-width: 720px) { .cta-bar-v2 .container.cta-bar-inner { width: calc(100% - 28px); } .machinery-half .mach-card h3, .machinery-half .mach-card p { min-height: 0; } }
.topbar-phone-mobile { display: none; }
@media (max-width: 1024px) {
  .topbar-phone-mobile { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--border); color: var(--green-action); margin-left: auto; }
  .topbar-phone-mobile svg { width: 20px !important; height: 20px !important; }
  .topbar-phone-mobile + .nav-burger { margin-left: 8px !important; }
}
@media (max-width: 720px) { .topbar-phone-mobile { order: 2; } .topbar-contacts { display: none !important; } }
@media (max-width: 1024px) {
  .main-nav > .container > ul { align-items: stretch !important; }
  .main-nav > .container > ul > li > a { justify-content: space-between; }
  body.nav-open .agro-bot { display: none; }
}

.filters-toggle { display: none; }
@media (max-width: 1024px) {
  .filters-toggle { display: inline-flex; margin: 0 0 14px; }
  .filters-toggle::after { content: '▾'; margin-left: 6px; }
  .catalog-layout .filters { display: none; }
  body.filters-open .catalog-layout .filters { display: block; }
}
@media (max-width: 720px) {
  .product-card h3 { font-size: 13px; }
  .product-card .price { font-size: 17px; }
  .product-card .btn { width: 100%; }
}

/* ---------- Brand accents tuned to the logo green (structural dark greens stay as in the render) ---------- */
.checklist .check { background: var(--logo-green); }
.main-nav > .container > ul > li > a { position: relative; }
@media (min-width: 1025px) {
  .main-nav > .container > ul > li:not(.nav-bu) > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--logo-green); transform: scaleX(0); transition: transform .2s; }
  .main-nav > .container > ul > li.active > a::after, .main-nav > .container > ul > li:not(.nav-bu):hover > a::after { transform: scaleX(1); }
}
.site-footer { border-top: 4px solid var(--logo-green); }
.features-v2 .fi-ico svg { color: var(--logo-green-dark); }
@media (max-width: 1280px) and (min-width: 1025px) { .logo-brand img.logo-img { height: 46px !important; } }
@media (max-width: 1024px) { .logo-brand img.logo-img { height: 42px !important; } }
@media (max-width: 400px) { .logo-brand img.logo-img { height: 40px !important; } }

/* ===== Symfony integration (v2 live port, 2026-10-06) ===== */
.cart-link-v2 { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--green-action); }
.cart-link-v2 svg, .topbar-cart-mobile svg { width: 20px; height: 20px; }
.cart-link-v2 b, .topbar-cart-mobile b { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--cta-orange, #F28C28); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.topbar-cart-mobile { display: none; }
@media (max-width: 1024px) {
  .topbar-cart-mobile { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--green-action); margin-left: auto; margin-right: 8px; }
}
.condition-switch a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; font-weight: 700; font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; background: #fff; }
.condition-switch a + a { border-left: 1px solid var(--border); }
.condition-switch a small { font-weight: 600; font-size: 11px; opacity: .75; }
.condition-switch a.active { background: var(--green-action); color: #fff; }
.toolbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.product-card .card-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.product-card .card-actions form { margin: 0; }
.product-card .card-actions .btn { white-space: nowrap; }
.product-card .img-wrap { position: relative; }
.product-page-v2 { padding-top: 24px; padding-bottom: 32px; }
.product-page-v2 .product-gallery { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; min-height: 320px; padding: 16px; }
.product-page-v2 .product-gallery img { max-height: 420px; width: auto; max-width: 100%; object-fit: contain; }
.product-page-v2 .price { font-size: 28px; font-weight: 800; color: var(--text); margin: 12px 0 4px; }
.product-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.product-actions .btn-max, .contact-actions .btn-max { display: inline-flex; align-items: center; gap: 8px; }
.product-specs { list-style: none; padding: 0; margin: 16px 0; max-width: 420px; }
.product-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.product-specs li span { color: var(--text-muted); }
.product-desc { padding: 8px 0 32px; max-width: 860px; }
.demo-note { margin-top: 16px; font-size: 13px; color: var(--text-muted); background: #fff8e6; border: 1px solid #f3e1b0; border-radius: 6px; padding: 10px 12px; }
.used-card .used-specs { list-style: none; padding: 0; margin: 8px 0 12px; font-size: 13px; }
.used-card .used-specs li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.used-card .used-specs li span { color: var(--text-muted); }
.search-empty { max-width: 820px; margin-bottom: 24px; }
.page-search .block-title { margin-top: 28px; }
.error-page { padding: 56px 0 72px; }
.error-box, .thanks-box { max-width: 720px; margin: 0 auto; text-align: center; }
.error-code { font-size: 96px; font-weight: 900; line-height: 1; color: var(--green-action); letter-spacing: -.02em; margin-bottom: 8px; }
.error-box .search-page-form { margin: 20px auto; max-width: 520px; }
.error-box .contact-actions, .thanks-box .contact-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.thanks-page { padding: 48px 0 72px; }
.checkout-box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.checkout-box .btn { width: 100%; margin-top: 8px; }
.qty-form input { width: 72px; }
.btn-text { background: none; border: 0; color: var(--text-muted); cursor: pointer; text-decoration: underline; padding: 0; }
.btn-text:hover { color: #c0392b; }
.lead-form .hp-field, .hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.flash { cursor: pointer; margin-top: 16px; padding: 12px 16px; border-radius: 6px; }
.flash-success { background: var(--green-soft); border: 1px solid #cfe5d6; }
.flash-error { background: #fdecea; border: 1px solid #f5c6c0; }
@media (max-width: 720px) {
  .product-page-v2 .product-gallery { min-height: 220px; }
  .error-code { font-size: 72px; }
  .cart-table { display: block; overflow-x: auto; }
  .toolbar-right { width: 100%; justify-content: space-between; }
  .condition-switch a { padding: 9px 10px; font-size: 12px; flex: 1; justify-content: center; }
}
.mega-col h4 a { color: inherit; } .mega-col h4 a:hover { text-decoration: underline; }

/* ===== Shop UX: корзина без перезагрузки (toast) + «Показать (N)» в фильтре запчастей ===== */
.shop-toast {
 position: fixed; z-index: 500; top: 96px; right: 18px; width: min(380px, calc(100vw - 24px));
 display: flex; align-items: flex-start; gap: 12px; padding: 14px 40px 14px 14px; background: #fff;
 border-radius: 10px; border-left: 4px solid var(--green-action); box-shadow: 0 14px 40px rgba(0,0,0,.2);
 opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.shop-toast.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.shop-toast.is-error { border-left-color: #c0392b; }
.shop-toast-ico { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green-action); font-weight: 800; }
.shop-toast.is-error .shop-toast-ico { background: #fdecea; color: #c0392b; }
.shop-toast-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; line-height: 1.35; }
.shop-toast-body strong { color: var(--text); font-size: 15px; }
.shop-toast-body small { color: var(--text-muted); font-size: 12.5px; }
.shop-toast-link { margin-top: 4px; color: var(--green-action); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.shop-toast-x { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 22px; line-height: 1; color: #999; cursor: pointer; padding: 4px; }
@media (max-width: 720px) {
 .shop-toast { top: auto; bottom: 80px; left: 12px; right: 12px; width: auto; }
}
button.is-loading { opacity: .7; cursor: progress; }
button.is-added, .btn.is-added { background: var(--green-nav) !important; border-color: var(--green-nav) !important; color: #fff !important; }
[data-cart-link].is-bump { animation: cartBump .45s ease; }
@keyframes cartBump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* «Показать (N)»: всплывает справа от изменённого фильтра; на мобильных — липкая панель внизу фильтра */
.catalog-layout > .filters { z-index: 30; } /* sticky = свой контекст наложения: попап должен быть над карточками */
.filter-show { position: absolute; z-index: 60; display: flex; align-items: center; gap: 2px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.18)); }
.filter-show[hidden] { display: none !important; }
.filter-show::before { content: ''; position: absolute; left: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 0; border-right-color: var(--green-action); }
.filter-show-btn { white-space: nowrap; padding: 11px 16px !important; font-size: 13px !important; border-radius: 8px !important; }
.filter-show-btn:disabled { background: #8b9690 !important; border-color: #8b9690 !important; cursor: default; opacity: 1; }
.filter-show.is-loading .filter-show-btn { opacity: .85; }
.filter-show-x { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; color: #666; font-size: 17px; line-height: 1; cursor: pointer; margin-left: 4px; }
@media (max-width: 1024px) {
 .filter-show, .filter-show.is-sticky { position: sticky; bottom: 0; left: auto !important; top: auto !important; margin: 12px -20px -20px; padding: 10px 12px; background: #fff; border-top: 1px solid var(--border); filter: none; box-shadow: 0 -6px 16px rgba(0,0,0,.08); border-radius: 0 0 6px 6px; }
 .filter-show::before { display: none; }
 .filter-show-btn { flex: 1; }
}
/* Мобильная шапка: с иконкой корзины (появляется без перезагрузки) логотип, корзина, телефон и меню — в одну строку */
@media (max-width: 440px) {
 .topbar .topbar-inner { column-gap: 8px; }
 .topbar-cart-mobile, .topbar-phone-mobile, .topbar .nav-burger { width: 40px !important; height: 40px !important; }
 .topbar-cart-mobile { margin-right: 0 !important; }
 .topbar-phone-mobile + .nav-burger { margin-left: 0 !important; }
 .topbar-inner:has(.topbar-cart-mobile:not([hidden])) .logo-brand img.logo-img { height: 34px !important; }
}
@media (max-width: 340px) { .topbar-inner:has(.topbar-cart-mobile:not([hidden])) .logo-brand img.logo-img { height: 25px !important; } }

/* ===== 2026-10-13 edits ===== */
/* Price notice bar above header */
.price-notice { background: var(--green-nav); color: #fff; font-size: 12.5px; line-height: 1.35; text-align: center; padding: 6px 0; }
.price-notice .container { max-width: 1400px; }
@media (max-width: 720px) { .price-notice { font-size: 11px; padding: 5px 0; text-align: left; } }

/* Header: callback + «Контакты» under it */
.topbar-cta { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.topbar-contacts-link { display: block; text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--green-nav); padding: 3px 8px; border: 1px solid var(--green-nav); border-radius: 4px; line-height: 1.3; }
.topbar-contacts-link:hover, .topbar-contacts-link.active { background: var(--green-nav); color: #fff; }
@media (min-width: 1025px) { .main-nav li.nav-contacts-mobile { display: none; } }

/* Nav: orange buttons, two-line labels */
.nav-bu + .nav-bu { margin-left: 8px; }
.main-nav > .container > ul > li > a.nav-btn-2l { white-space: normal; line-height: 1.15; font-size: 11px; letter-spacing: .02em; text-align: center; padding: 6px 12px !important; }
@media (max-width: 1150px) and (min-width: 1025px) { .main-nav > .container > ul > li > a.nav-btn-2l { font-size: 10px; padding: 5px 8px !important; } .nav-bu + .nav-bu { margin-left: 5px; } }
@media (max-width: 1024px) {
  .nav-bu + .nav-bu { margin-left: 0; }
  .main-nav > .container > ul > li.nav-bu { margin: 6px 0 0; }
  .main-nav > .container > ul > li > a.nav-btn-2l { text-align: left; font-size: 12.5px; padding: 10px 14px !important; }
}

/* Hero: three points styled like the former tagline */
.hero-v2 .hero-points { list-style: none; margin: 4px 0 26px; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-v2 .hero-points li { padding: 8px 16px 8px 14px; font-size: 17px; font-weight: 700; color: var(--green-nav); line-height: 1.35;
  border-left: 4px solid var(--cta-orange); background: rgba(226,152,0,.11); border-radius: 0 6px 6px 0; max-width: 560px; }
@media (max-width: 720px) { .hero-v2 .hero-points li { font-size: 15px; padding: 7px 12px; } .hero-v2 .hero-points { gap: 8px; } }

/* Director block — compact */
.section-director .director-banner { max-width: 1060px; margin: 0 auto; grid-template-columns: minmax(180px, 260px) 1fr !important; }
.section-director .director-banner .text { padding: 24px 30px; }
.section-director .director-quote p { font-size: 14px; line-height: 1.55; margin-bottom: 8px; }
.section-director .director-quote p:first-child { font-size: 15.5px; }
.section-director .director-foot { margin-top: 12px; }
@media (max-width: 1024px) { .section-director .director-banner { grid-template-columns: 1fr !important; } .section-director .director-banner .photo img { max-height: 220px !important; } .section-director .director-banner .text { padding: 20px 18px; } }

/* Brand carousel */
.brands-strip { padding: 34px 0 6px; }
.brands-title { font-size: 15px; font-weight: 700; color: var(--text-muted, #666); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; text-align: center; }
.brands-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.brands-track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; animation: brands-scroll 70s linear infinite; }
.brands-marquee:hover .brands-track, .brands-marquee:focus-within .brands-track { animation-play-state: paused; }
.brands-track li { flex: 0 0 auto; margin-right: 14px; }
.brands-track a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 76px; min-width: 150px; padding: 0 20px; background: #fff; border: 1px solid var(--border, #e5e5e5); border-radius: 8px; transition: box-shadow .2s, border-color .2s; }
.brands-track a:hover { border-color: var(--logo-green, #4a9b2f); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.brands-track img { height: 40px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.brands-track .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) { .brands-track a { height: 60px; min-width: 116px; padding: 0 14px; } .brands-track img { height: 30px; max-width: 140px; } .brands-track { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) { .brands-track { animation-duration: 200s; } }

/* ===== Cart / checkout v3 (2026-10-13) ===== */
.cart-v3 { padding-top: 18px; padding-bottom: 56px; }
.cart-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 22px; }
.cart-head .page-title { margin: 0; }
.cart-head-count { font-size: 15px; font-weight: 600; color: var(--text-muted, #6b7280); vertical-align: middle; margin-left: 6px; text-transform: none; letter-spacing: 0; }
.checkout-steps { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #8a9590; padding: 6px 14px 6px 6px; background: #f1f4f2; border-radius: 999px; }
.checkout-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #d9e1dc; color: #fff; font-size: 12px; font-weight: 800; }
.checkout-steps li.is-active { color: var(--green-nav); background: #e7f1ea; }
.checkout-steps li.is-active span { background: var(--green-action); }
.checkout-steps li.is-current { color: #8a5a00; background: rgba(226,152,0,.13); }
.checkout-steps li.is-current span { background: var(--cta-orange); }
.cart-layout-v3 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.cart-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.cart-card-title { display: flex; align-items: center; gap: 10px; font-size: 19px; margin: 0 0 14px; color: var(--green-nav); }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--green-action); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto 120px 44px; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--border); }
.cart-item:first-child { border-top: 0; padding-top: 4px; }
.cart-item-img { width: 88px; height: 88px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-name { display: block; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 6px; }
.cart-item-name:hover { color: var(--green-action); }
.cart-item-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: #5f6b66; }
.cart-item-meta b { color: var(--text); font-weight: 600; }
.cart-item-meta .in-stock { color: var(--green-action); font-weight: 600; }
.cart-item-meta .on-order { color: #b07400; font-weight: 600; }
.cart-item-price { font-size: 13px; margin-top: 4px; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid #cfd8d3; border-radius: 8px; overflow: hidden; height: 40px; background: #fff; }
.qty-stepper .qty-btn { width: 36px; height: 100%; border: 0; background: #f4f7f5; font-size: 18px; font-weight: 700; color: var(--green-nav); cursor: pointer; }
.qty-stepper .qty-btn:hover:not(:disabled) { background: #e3eee7; }
.qty-stepper .qty-btn:disabled { color: #b9c3be; cursor: default; }
.qty-stepper input { width: 50px !important; height: 100%; border: 0; border-left: 1px solid #e3e8e5; border-right: 1px solid #e3e8e5; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; padding: 0; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper.is-busy { opacity: .55; pointer-events: none; }
.cart-item-total { font-weight: 800; font-size: 16px; text-align: right; color: var(--green-nav); white-space: nowrap; }
.cart-item-remove button { width: 40px; height: 40px; border: 1px solid transparent; background: none; border-radius: 8px; color: #9aa59f; cursor: pointer; display: grid; place-items: center; }
.cart-item-remove button:hover { color: #c0392b; border-color: #f2d2cd; background: #fdf3f1; }
.cart-item-remove svg { width: 20px; height: 20px; }
.cart-item-remove span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cart-continue { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 14px; }
.checkout-hint { color: #5f6b66; font-size: 14px; margin: -4px 0 16px; }
.checkout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.checkout-form .form-group { margin-bottom: 14px; }
.checkout-form label { display: block; font-size: 13px; font-weight: 700; color: #33403a; margin-bottom: 6px; }
.checkout-form label.required::after { content: ' *'; color: var(--cta-orange); }
.checkout-form input, .checkout-form textarea { width: 100%; border: 1px solid #cfd8d3; border-radius: 8px; padding: 11px 13px; font: inherit; font-size: 15px; background: #fbfcfb; transition: border-color .15s, box-shadow .15s; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: 0; border-color: var(--green-action); box-shadow: 0 0 0 3px rgba(42,116,65,.15); background: #fff; }
.checkout-form .is-invalid input, .checkout-form .is-invalid textarea { border-color: #d64545; }
.checkout-form ul { list-style: none; padding: 0; margin: 4px 0 0; color: #c0392b; font-size: 13px; }
.checkout-submit-inline { display: none; }
.cart-summary { position: sticky; top: 16px; }
.cart-summary-card { background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--green-action); border-radius: 10px; padding: 22px; box-shadow: 0 6px 22px rgba(0,0,0,.06); }
.cart-summary-card h2 { font-size: 19px; margin: 0 0 12px; color: var(--green-nav); }
.cart-summary-card dl { margin: 0 0 12px; }
.cart-summary-card dl > div { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; color: #4b5752; }
.cart-summary-card dd { margin: 0; font-weight: 600; color: var(--text); }
.cart-summary-card .cart-summary-total { border-top: 1px dashed #d6ddd9; margin-top: 6px; padding-top: 12px; font-size: 17px; font-weight: 800; color: var(--text); }
.cart-summary-card .cart-summary-total dd { font-size: 22px; font-weight: 800; color: var(--green-nav); }
.cart-summary-card .price-note { font-size: 12.5px; line-height: 1.45; color: #6b5a2e; background: rgba(226,152,0,.1); border-left: 3px solid var(--cta-orange); padding: 9px 11px; border-radius: 0 6px 6px 0; margin: 0 0 14px; }
.cart-summary-card .btn-block { width: 100%; }
.cart-summary-perks { list-style: none; padding: 0; margin: 14px 0 0; font-size: 13px; color: #4b5752; display: grid; gap: 6px; }
.cart-summary-perks li::before { content: '✓'; color: var(--green-action); font-weight: 800; margin-right: 8px; }
.cart-summary-help { text-align: center; font-size: 13px; color: #6b7280; margin-top: 12px; }
.cart-summary-help a { font-weight: 700; }
.cart-empty { max-width: 620px; margin: 10px auto 30px; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 44px 28px; }
.cart-empty-ico { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-soft, #e7f1ea); color: var(--green-action); display: grid; place-items: center; }
.cart-empty-ico svg { width: 40px; height: 40px; }
.cart-empty h2 { margin: 0 0 8px; color: var(--green-nav); }
.cart-empty p { color: #5f6b66; margin: 0 auto 22px; max-width: 460px; }
.cart-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.thanks-v3 .thanks-box { max-width: 680px; margin: 24px auto 48px; text-align: center; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--green-action); border-radius: 12px; padding: 40px 30px; }
.thanks-v3 .thanks-number { font-size: 18px; margin: 4px 0 18px; }
.thanks-v3 .thanks-number b { color: var(--green-nav); }
.thanks-v3 .checkout-steps { justify-content: center; margin-bottom: 18px; }
.thanks-v3 .thanks-hours { font-size: 14px; color: #5f6b66; }
.thanks-v3 .contact-actions { justify-content: center; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 1024px) {
  .cart-layout-v3 { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .checkout-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .cart-card { padding: 16px; }
  .cart-item { position: relative; grid-template-columns: 72px auto 1fr; grid-template-areas: "img info info" "img qty total"; gap: 10px 12px; }
  .cart-item-img { grid-area: img; width: 72px; height: 72px; align-self: start; }
  .cart-item-info { grid-area: info; padding-right: 36px; }
  .qty-stepper { grid-area: qty; height: 36px; }
  .cart-item-total { grid-area: total; justify-self: end; }
  .cart-item-remove { position: absolute; top: 10px; right: -6px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-steps li { font-size: 12px; padding-right: 10px; }
  .cart-head .checkout-steps { display: none; }
  .thanks-v3 .checkout-steps { display: flex; flex-direction: column; align-items: center; }
}

/* ===== Director photo (2026-10-15) ===== */
.section-director .director-photo { border-radius: 14px; overflow: hidden; align-self: center; margin: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.14); border: 3px solid #fff; aspect-ratio: 2 / 3; max-height: 390px; }
.section-director .director-photo picture { display: block; height: 100%; }
.section-director .director-photo img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center top; display: block; }
@media (max-width: 1024px) { .section-director .director-photo { margin: 16px auto 0; width: 220px; max-height: none; } .section-director .director-banner .photo img { max-height: none !important; } }

/* ===== Cookie banner / privacy ===== */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; padding: 12px; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { pointer-events: auto; max-width: 1100px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--cta-orange); border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,.2); padding: 16px 20px; display: flex; gap: 18px 24px; align-items: center; justify-content: space-between; }
.cookie-banner-text strong { display: block; color: var(--green-nav); font-size: 15px; margin-bottom: 3px; }
.cookie-banner-text p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #3d4742; max-width: 760px; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions .btn { white-space: nowrap; min-width: 120px; }
.has-cookie-banner .agro-bot, .has-cookie-banner #agro-bot, .has-cookie-banner [class*="bot-launcher"] { bottom: 130px !important; }
.footer-legal { display: inline-flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-cookie-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; opacity: .85; }
.footer-cookie-btn:hover { opacity: 1; }
.privacy-page { max-width: 860px; }
.privacy-page h2 { font-size: 19px; margin: 26px 0 8px; color: var(--green-nav); }
.privacy-page li { margin-bottom: 6px; line-height: 1.6; }
.privacy-page p { line-height: 1.65; }
@media (max-width: 720px) {
  .cookie-banner { padding: 8px; }
  .cookie-banner-inner { flex-direction: column; align-items: stretch; padding: 14px; gap: 12px; }
  .cookie-banner-text p { font-size: 12.5px; }
  .cookie-banner-actions .btn { flex: 1; min-width: 0; }
  .has-cookie-banner .agro-bot, .has-cookie-banner #agro-bot, .has-cookie-banner [class*="bot-launcher"] { bottom: 190px !important; }
}
