/* ==========================================================================
   Shimi Sabz PetroPaliz — public design system
   Palette: forest green, lime, warm amber, paper
   ========================================================================== */

:root {
  --ink: #14251c;
  --ink-soft: #43564b;
  --muted: #6d8175;
  --line: #e2e9df;
  --paper: #fbfaf5;
  --surface: #ffffff;

  --green-950: #082417;
  --green-900: #0d3b26;
  --green-800: #14532d;
  --green-700: #1b6b3a;
  --green-600: #23824a;
  --green-100: #e7f2e4;
  --green-50: #f2f8ef;

  --lime: #c4ec7f;
  --lime-strong: #a9dd5a;
  --lime-soft: #eaf7d5;

  --amber: #f0a422;
  --amber-soft: #fff3dc;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 13px;

  --shadow-xs: 0 2px 8px rgba(13, 59, 38, 0.05);
  --shadow-sm: 0 8px 24px rgba(13, 59, 38, 0.07);
  --shadow-md: 0 20px 48px rgba(13, 59, 38, 0.11);

  --font: Vazirmatn, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
}

* {
  scrollbar-color: #b9cdb6 transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink);
}

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover {
  color: var(--green-600);
}

img {
  max-width: 100%;
}

::selection {
  background: var(--lime);
  color: var(--green-950);
}

.visually-hidden-focusable:focus {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 3000;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green-800);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: 999px;
  font-family: var(--font);
  padding-block: .68rem;
  padding-inline: 1.4rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.btn:focus-visible {
  box-shadow: 0 0 0 .25rem rgba(35, 130, 74, .22);
}

.btn-brand {
  background: var(--green-800);
  border: 1px solid var(--green-800);
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  box-shadow: 0 12px 24px rgba(20, 83, 45, .22);
  transform: translateY(-1px);
}

.btn-lime {
  background: var(--lime);
  border: 1px solid var(--lime);
  color: var(--green-950);
}

.btn-lime:hover,
.btn-lime:focus {
  background: var(--lime-strong);
  border-color: var(--lime-strong);
  color: var(--green-950);
  box-shadow: 0 12px 26px rgba(169, 221, 90, .3);
  transform: translateY(-1px);
}

.btn-outline-brand {
  background: transparent;
  border: 1px solid #b9cbb5;
  color: var(--green-800);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  background: var(--green-50);
  border-color: var(--green-700);
  color: var(--green-800);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
}

.btn-ghost-light:hover,
.btn-ghost-light:focus {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}

.btn-soft {
  background: var(--green-50);
  border: 1px solid #dbe8d5;
  color: var(--green-800);
}

.btn-soft:hover,
.btn-soft:focus {
  background: var(--green-100);
  color: var(--green-800);
}

.btn-sm {
  padding-block: .45rem;
  padding-inline: 1rem;
  font-size: .85rem;
}

.btn-lg {
  padding-block: .9rem;
  padding-inline: 1.9rem;
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */

.site-topbar {
  background: linear-gradient(90deg, var(--green-950), var(--green-700) 55%, var(--green-600));
  color: rgba(255, 255, 255, .88);
  font-size: .82rem;
}

.site-topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding-block: 4px;
}

.site-topbar a {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-topbar a:hover {
  color: var(--lime);
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(196, 236, 127, .18);
  display: inline-block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 6px 12px rgba(13, 59, 38, .18));
}

.brand-name {
  display: block;
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--green-900);
  line-height: 1.35;
}

.brand-tagline {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
}

.header-search {
  flex: 1 1 auto;
  max-width: 560px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f4ec;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 8px 7px 8px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.search-field:focus-within {
  background: #fff;
  border-color: #bcd4b6;
  box-shadow: 0 0 0 4px rgba(35, 130, 74, .08);
}

.search-field svg {
  flex-shrink: 0;
  margin-inline-start: 8px;
  color: var(--muted);
}

.search-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font);
  font-size: .92rem;
  color: var(--ink);
  outline: none;
  padding-block: 4px;
}

.search-field input::placeholder {
  color: #8fa094;
}

.search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  flex-shrink: 0;
  transition: background .18s ease, transform .18s ease;
}

.search-submit:hover {
  background: var(--green-600);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--green-700);
}

.header-phone .phone-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-phone small {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.2;
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(35, 130, 74, .15);
}

.main-nav {
  border-top: 1px solid var(--line);
  background: #fff;
}

.nav-scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 7px;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.main-nav .nav-link {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.main-nav .nav-link:hover {
  color: var(--green-800);
  background: var(--green-50);
}

.main-nav .nav-link[aria-current="page"] {
  color: var(--green-900);
  background: var(--green-100);
}

.nav-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
  margin-inline: 6px;
  flex-shrink: 0;
}

.nav-cta {
  margin-inline-start: auto;
  padding-inline: 8px;
}

/* Mobile offcanvas nav */
.offcanvas-nav .offcanvas-body {
  padding: 20px;
}

.offcanvas-nav .nav-link {
  border-radius: 14px;
  padding: .8rem 1rem;
  color: var(--ink);
  font-weight: 700;
}

.offcanvas-nav .nav-link:hover,
.offcanvas-nav .nav-link[aria-current="page"] {
  background: var(--green-50);
  color: var(--green-800);
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */

.breadcrumb-bar {
  background: linear-gradient(180deg, #f4f7ee, var(--paper));
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  --bs-breadcrumb-divider-color: #9aac9f;
  --bs-breadcrumb-item-active-color: var(--ink-soft);
  margin-bottom: 0;
  padding-block: 14px;
  font-size: .82rem;
  font-weight: 600;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--green-700);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "‹";
  font-size: 1rem;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.section {
  padding-block: 84px;
}

.section--tight {
  padding-block: 56px;
}

.section--paper {
  background: var(--paper);
}

.section--white {
  background: var(--surface);
}

.section--green {
  background: linear-gradient(180deg, var(--green-50), var(--paper));
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--green-700);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime-strong);
}

.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 6px;
}

.section-sub {
  color: var(--muted);
  font-size: .94rem;
  margin-bottom: 0;
  max-width: 620px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: .88rem;
  color: var(--green-800);
  white-space: nowrap;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: var(--green-50);
  border: 1px solid #e0ebda;
}

.link-more:hover {
  background: var(--green-100);
  color: var(--green-900);
}

.link-more svg {
  transition: transform .18s ease;
}

.link-more:hover svg {
  transform: translateX(-3px);
}

.empty-state {
  background: var(--surface);
  border: 1px dashed #cfdccb;
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */

.hero {
  padding-top: 28px;
  padding-bottom: 0;
  background:
    radial-gradient(900px 420px at 88% 0%, #edf5e3 0%, transparent 60%),
    var(--paper);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 0;
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 12% 8%, rgba(196, 236, 127, .16) 0%, transparent 62%),
    linear-gradient(135deg, #0b2f1e 0%, #14532d 58%, #1b6b3a 100%);
  box-shadow: var(--shadow-md);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-copy .eyebrow {
  color: var(--lime);
}

.hero-title {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3.05rem);
  font-weight: 900;
  line-height: 1.32;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--lime);
}

.hero-text {
  color: rgba(255, 255, 255, .76);
  font-size: 1.02rem;
  max-width: 34rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: .85rem;
  font-weight: 600;
}

.hero-point svg {
  color: var(--lime);
  flex-shrink: 0;
}

.hero-art {
  position: relative;
  min-height: 100%;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to left, rgba(8, 36, 23, .1) 0%, rgba(8, 36, 23, .55) 55%, #0b2f1e 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(4, 24, 14, .28);
}

.hero-float--a {
  inset-inline-start: 22px;
  inset-block-end: 76px;
}

.hero-float--b {
  inset-inline-end: 22px;
  inset-block-start: 26px;
}

.hero-float .float-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--green-50);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float strong {
  display: block;
  font-size: .88rem;
  color: var(--ink);
  line-height: 1.4;
}

.hero-float span {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Stat band */
.stat-band {
  position: relative;
  z-index: 3;
  margin-top: -54px;
  margin-bottom: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px;
}

.stat-band--inline {
  margin-top: 30px;
  box-shadow: var(--shadow-sm);
}

.stat-item {
  padding: 18px 20px;
  text-align: center;
  border-inline-start: 1px dashed #dfe8db;
}

.stat-item:first-child {
  border-inline-start: 0;
}

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--green-800);
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Category tiles
   -------------------------------------------------------------------------- */

.cat-scroller {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 22px;
}

.cat-tile {
  text-align: center;
  color: var(--ink);
}

.cat-media {
  position: relative;
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, #fff 0%, transparent 55%),
    linear-gradient(145deg, var(--green-100), #dcebd2);
  border: 5px solid #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}

.cat-tile:hover .cat-media {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-initial {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--green-700);
  opacity: .85;
}

.cat-name {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
}

.cat-count {
  display: block;
  font-size: .74rem;
  color: var(--muted);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Product card
   -------------------------------------------------------------------------- */

.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.p-card:hover {
  transform: translateY(-5px);
  border-color: #c9dcc2;
  box-shadow: var(--shadow-md);
}

.p-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 70% 20%, #ffffff 0%, transparent 55%),
    linear-gradient(150deg, #f4f8ee, #e7f1df);
  overflow: hidden;
}

.p-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform .3s ease;
}

.p-card:hover .p-media img {
  transform: scale(1.045);
}

.p-brand {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  color: var(--green-800);
  font-size: .7rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 11px;
  box-shadow: var(--shadow-xs);
}

.p-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 16px;
}

.p-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.55;
}

.p-title a {
  color: var(--ink);
}

.p-title a:hover {
  color: var(--green-700);
}

.p-en {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 8px;
  direction: ltr;
  text-align: right;
}

.p-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e3ebdf;
}

.p-code {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
}

.p-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--green-700);
}

.p-link svg {
  transition: transform .18s ease;
}

.p-card:hover .p-link svg {
  transform: translateX(-3px);
}

/* --------------------------------------------------------------------------
   Brand cards / strip
   -------------------------------------------------------------------------- */

.b-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.b-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.b-logo {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 10px;
  background: #f7faf4;
  border-radius: var(--radius-md);
}

.b-logo img {
  max-height: 72px;
  max-width: 100%;
  object-fit: contain;
}

.b-logo .b-initial {
  font-size: 2rem;
  font-weight: 900;
  color: var(--green-700);
}

.b-name {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.b-name a {
  color: var(--ink);
}

.b-en {
  font-size: .74rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.b-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.b-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #e3ebdf;
  font-size: .76rem;
  color: var(--muted);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Article / news cards
   -------------------------------------------------------------------------- */

.a-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.a-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.a-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(150deg, #edf5e5, #dcecd4);
  overflow: hidden;
}

.a-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.a-card:hover .a-media img {
  transform: scale(1.04);
}

.a-media .a-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7aa26b;
}

.a-chip {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(255, 255, 255, .94);
  color: var(--green-800);
  font-size: .7rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 11px;
  backdrop-filter: blur(6px);
}

.a-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.a-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .73rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.a-title {
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 8px;
}

.a-title a {
  color: var(--ink);
}

.a-title a:hover {
  color: var(--green-700);
}

.a-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.a-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--green-700);
}

.a-more svg {
  transition: transform .18s ease;
}

.a-card:hover .a-more svg {
  transform: translateX(-3px);
}

/* News rows */
.news-row {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.news-date {
  flex-shrink: 0;
  width: 62px;
  height: 66px;
  border-radius: 16px;
  background: var(--green-50);
  border: 1px solid #dfeada;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-800);
}

.news-date strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.news-date span {
  font-size: .66rem;
  font-weight: 700;
  color: var(--muted);
}

.news-row .news-title {
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 4px;
}

.news-row .news-title a {
  color: var(--ink);
}

.news-row p {
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Feature cards
   -------------------------------------------------------------------------- */

.feature-card {
  height: 100%;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 16px;
}

.feature-card:nth-child(even) .feature-icon {
  background: var(--amber-soft);
  color: #b97310;
}

.feature-card h3 {
  font-size: .98rem;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  padding: clamp(32px, 5vw, 64px);
  isolation: isolate;
}

.cta-band .cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 36, 23, .94) 10%, rgba(8, 36, 23, .72) 50%, rgba(8, 36, 23, .35) 100%);
}

.cta-band .eyebrow {
  color: var(--lime);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, .78);
  max-width: 44rem;
  margin-bottom: 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.page-hero {
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(196, 236, 127, .22), transparent 60%),
    linear-gradient(180deg, #eef6e6, var(--paper));
  border-bottom: 1px solid var(--line);
  padding-block: 44px 40px;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--muted);
  margin-bottom: 0;
  max-width: 640px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Catalog layout
   -------------------------------------------------------------------------- */

.catalog-layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-grid-empty {
  grid-column: 1 / -1;
}

.filter-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 118px;
}

.filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 700;
}

.filter-link:hover {
  background: var(--green-50);
  color: var(--green-800);
}

.filter-link.is-active {
  background: var(--green-100);
  color: var(--green-900);
}

.filter-count {
  font-size: .7rem;
  color: var(--muted);
  background: #f2f5ee;
  border-radius: 999px;
  padding: 1px 8px;
  font-weight: 700;
}

.filter-link.is-active .filter-count {
  background: #fff;
  color: var(--green-700);
}

.chip-row .filter-link {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: .8rem;
  background: var(--surface);
}

.chip-row .filter-link.is-active {
  border-color: var(--green-700);
  background: var(--green-700);
  color: #fff;
}

.help-card {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  padding: 22px;
  background:
    radial-gradient(220px 160px at 90% 0%, rgba(196, 236, 127, .28), transparent 70%),
    var(--green-900);
  color: #fff;
}

.help-card h2 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}

.help-card p {
  color: rgba(255, 255, 255, .74);
  font-size: .8rem;
  margin-bottom: 14px;
}

.help-card .help-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lime);
  font-weight: 800;
  direction: ltr;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: 24px;
}

.toolbar h2 {
  font-size: .95rem;
  margin: 0;
}

.toolbar .toolbar-count {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
}

.toolbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f7f0;
  border: 1px solid #e5ece0;
  border-radius: 999px;
  padding: 4px 6px 4px 4px;
  min-width: 260px;
}

.toolbar-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--font);
  font-size: .82rem;
  padding-inline: 10px;
  color: var(--ink);
}

.toolbar-search button {
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: var(--green-800);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */

.product-layout {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 38px;
  align-items: start;
}

.gallery-main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: var(--surface);
  padding: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb.is-active,
.gallery-thumb:hover {
  border-color: var(--green-600);
}

.product-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 36px);
}

.product-info h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 4px;
}

.product-en {
  color: var(--muted);
  font-size: .84rem;
  direction: ltr;
  text-align: right;
  margin-bottom: 14px;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-50);
  border: 1px solid #dfeada;
  color: var(--green-800);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .76rem;
  font-weight: 800;
}

.chip-link:hover {
  background: var(--green-100);
  color: var(--green-900);
}

.product-lead {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.95;
  margin-block: 16px;
}

.spec-list {
  border-top: 1px dashed #e1e9dc;
  margin-block: 18px;
}

.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
  border-bottom: 1px dashed #e1e9dc;
  font-size: .84rem;
}

.spec-row dt {
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.spec-row dd {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
  text-align: left;
}

.buy-card {
  margin-top: 20px;
  border-radius: var(--radius-lg);
  padding: 20px;
  background:
    radial-gradient(260px 160px at 95% 0%, rgba(196, 236, 127, .24), transparent 70%),
    linear-gradient(145deg, #f2f8ec, #e9f3e1);
  border: 1px solid #dbe9d3;
}

.buy-card h2 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.buy-card p {
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: 14px;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tabs {
  border: 0;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.detail-tabs .nav-link {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 999px;
  font-weight: 800;
  font-size: .84rem;
  padding: .5rem 1.1rem;
}

.detail-tabs .nav-link.active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}

.analysis-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .84rem;
}

.analysis-table th {
  background: var(--green-50);
  color: var(--green-900);
  font-weight: 800;
  padding: 10px 14px;
  text-align: right;
  border-bottom: 1px solid #dbe8d4;
}

.analysis-table th:first-child {
  border-start-start-radius: 12px;
}

.analysis-table th:last-child {
  border-start-end-radius: 12px;
}

.analysis-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #edf1ea;
  color: var(--ink-soft);
}

.analysis-table tr:last-child td {
  border-bottom: 0;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.package-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  background: #fbfcf9;
}

.package-item strong {
  display: block;
  font-size: 1rem;
  color: var(--green-800);
}

.package-item span {
  font-size: .76rem;
  color: var(--muted);
}

.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doc-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-weight: 700;
  font-size: .86rem;
  background: #fbfcf9;
}

.doc-item a:hover {
  border-color: #c9dcc2;
  background: var(--green-50);
  color: var(--green-900);
}

.doc-item svg {
  color: var(--green-700);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Dealer cards and filters
   -------------------------------------------------------------------------- */

.dealer-filter-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-xs);
}

.dealer-filter-card .form-label {
  font-size: .78rem;
  color: var(--muted);
}

.d-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.d-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.d-media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, #eef5e7, #dcecd4);
  overflow: hidden;
}

.d-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d-media .d-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7aa26b;
}

.d-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.d-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.d-city {
  font-size: .74rem;
  font-weight: 800;
  color: var(--green-700);
  background: var(--green-50);
  border-radius: 999px;
  padding: 3px 10px;
}

.d-verified {
  font-size: .68rem;
  font-weight: 800;
  color: #38713c;
  background: #e8f6e0;
  border: 1px solid #cfe9c3;
  border-radius: 999px;
  padding: 3px 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.d-name {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.d-name a {
  color: var(--ink);
}

.d-address {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.d-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.d-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed #e3ebdf;
}

.d-actions .btn {
  flex: 1;
}

.dealer-profile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 36px);
}

.dealer-contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-block: 9px;
  border-bottom: 1px dashed #e6ede2;
  font-size: .86rem;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row svg {
  color: var(--green-700);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-row a {
  color: var(--ink-soft);
  font-weight: 700;
}

.contact-row a:hover {
  color: var(--green-700);
}

/* --------------------------------------------------------------------------
   Reading pages (article / news)
   -------------------------------------------------------------------------- */

.reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.article-hero {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(150deg, #edf5e5, #dcecd4);
  margin-bottom: 26px;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.reading-header {
  margin-bottom: 26px;
}

.reading-header h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  margin-bottom: 12px;
}

.reading-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: .8rem;
  color: var(--muted);
  font-weight: 600;
}

.reading-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.reading-lead {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--ink-soft);
  background: var(--green-50);
  border-inline-start: 4px solid var(--lime-strong);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin-bottom: 26px;
}

.reading {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 44px);
  font-size: 1rem;
  line-height: 2.1;
  color: var(--ink-soft);
}

.reading > :first-child {
  margin-top: 0;
}

.reading h2 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-top: 34px;
  margin-bottom: 12px;
  padding-inline-start: 14px;
  border-inline-start: 4px solid var(--lime-strong);
  border-radius: 2px;
}

.reading h3 {
  font-size: 1.1rem;
  margin-top: 26px;
  margin-bottom: 10px;
}

.reading p {
  margin-bottom: 16px;
}

.reading img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-block: 12px;
}

.reading a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reading table {
  width: 100%;
  margin-block: 18px;
  border-collapse: collapse;
  font-size: .9rem;
}

.reading table th,
.reading table td {
  border: 1px solid var(--line);
  padding: 8px 12px;
}

.reading table th {
  background: var(--green-50);
}

.reading blockquote {
  margin: 22px 0;
  padding: 16px 22px;
  border-inline-start: 4px solid var(--amber);
  background: var(--amber-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: #74510f;
}

.reading ul,
.reading ol {
  padding-inline-start: 22px;
  margin-bottom: 16px;
}

.reading li {
  margin-bottom: 6px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px dashed #e1e9dc;
}

.tag-chip {
  background: var(--green-50);
  border: 1px solid #dfeada;
  color: var(--green-800);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .76rem;
  font-weight: 700;
}

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
}

.sidebar-card h2 {
  font-size: .95rem;
  margin-bottom: 16px;
}

.related-item {
  display: flex;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px dashed #e6ede2;
}

.related-item:first-of-type {
  padding-top: 0;
}

.related-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.related-thumb {
  width: 66px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, #edf5e5, #dcecd4);
}

.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item h3 {
  font-size: .82rem;
  line-height: 1.7;
  margin: 0 0 2px;
}

.related-item h3 a {
  color: var(--ink);
}

.related-item .related-date {
  font-size: .7rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Contact / forms
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.info-card h2 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.info-card p {
  font-size: .84rem;
  color: var(--muted);
  margin: 0;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px dashed #e6ede2;
}

.info-item:last-child {
  border-bottom: 0;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item span {
  display: block;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
}

.info-item strong,
.info-item a {
  display: block;
  font-size: .88rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.7;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.form-card .form-intro {
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border: 1px solid #dde6d8;
  padding: .7rem .95rem;
  font-family: var(--font);
  font-size: .88rem;
  color: var(--ink);
  background-color: #fcfdfa;
}

.form-control:focus,
.form-select:focus {
  border-color: #a9c7a1;
  box-shadow: 0 0 0 4px rgba(35, 130, 74, .09);
  background-color: #fff;
}

.form-control::placeholder {
  color: #9bab9f;
}

textarea.form-control {
  min-height: 120px;
}

.form-text {
  font-size: .74rem;
  color: var(--muted);
}

.form-check-input:checked {
  background-color: var(--green-700);
  border-color: var(--green-700);
}

.form-errors {
  color: #b42318;
  font-size: .76rem;
  font-weight: 600;
  margin-top: 4px;
}

.alert {
  border: 0;
  border-radius: var(--radius-md);
  font-size: .86rem;
  font-weight: 600;
}

.alert-success {
  background: #e9f7e3;
  color: #24622c;
}

.alert-danger {
  background: #fdeceb;
  color: #a3231b;
}

.alert-info {
  background: #eaf3fb;
  color: #1b5a87;
}

/* Benefits list (dealer application) */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.benefit-list .benefit-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-list strong {
  display: block;
  font-size: .88rem;
}

.benefit-list span {
  display: block;
  font-size: .78rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 340px;
  background: var(--green-900);
}

.about-visual--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background:
    radial-gradient(320px 220px at 80% 15%, rgba(196, 236, 127, .24), transparent 65%),
    linear-gradient(145deg, #f2f8ec, #dcebd2);
}

.about-visual--logo img {
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 130px;
  object-fit: contain;
  opacity: 1;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: .92;
}

.about-badge {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  font-size: .8rem;
  font-weight: 800;
  color: var(--green-900);
}

.value-card {
  height: 100%;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.value-card .value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lime-soft);
  color: var(--green-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.value-card h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.pagination {
  gap: 6px;
  margin-top: 34px;
}

.page-link {
  border: 1px solid var(--line);
  border-radius: 12px !important;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: .84rem;
  min-width: 40px;
  text-align: center;
  background: var(--surface);
}

.page-link:hover {
  background: var(--green-50);
  border-color: #c9dcc2;
  color: var(--green-800);
}

.page-item.active .page-link {
  background: var(--green-800);
  border-color: var(--green-800);
  color: #fff;
}

.page-item.disabled .page-link {
  background: #f5f7f2;
  color: #b5c1b7;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 84px;
  background:
    radial-gradient(700px 320px at 15% 0%, rgba(196, 236, 127, .08), transparent 60%),
    var(--green-950);
  color: rgba(255, 255, 255, .68);
}

.footer-main {
  padding-block: 64px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .95fr 1fr;
  gap: 40px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand .brand-tagline {
  color: rgba(255, 255, 255, .5);
}

.footer-about {
  font-size: .84rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, .62);
  margin-block: 16px 18px;
  max-width: 24rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  padding-block: 5px;
  color: rgba(255, 255, 255, .7);
}

.footer-contact-item svg {
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .82);
}

.footer-contact-item a:hover {
  color: var(--lime);
}

.footer-title {
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, .64);
  font-size: .84rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(196, 236, 127, .5);
  flex-shrink: 0;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-cta p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .62);
  line-height: 1.9;
  margin-bottom: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 18px;
  font-size: .76rem;
  color: rgba(255, 255, 255, .45);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .62);
}

.footer-bottom a:hover {
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-wrap {
  text-align: center;
  padding-block: 40px;
}

.error-code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--green-800), var(--lime-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}

.error-title {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  margin-block: 10px 8px;
}

.error-text {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 26px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.back-top {
  position: fixed;
  inset-inline-start: 22px;
  bottom: 22px;
  z-index: 1020;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--green-800);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--green-600);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .header-phone small {
    display: none;
  }

  .catalog-layout {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  .reading-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }
}

@media (max-width: 991.98px) {
  .header-main {
    flex-wrap: wrap;
    gap: 14px;
    padding-block: 12px;
  }

  .header-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .header-actions .header-phone {
    display: none;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 36px 28px 30px;
  }

  .hero-art {
    min-height: 330px;
    order: 2;
  }

  .hero-art::before {
    background: linear-gradient(to top, #0b2f1e 0%, rgba(8, 36, 23, .25) 45%, transparent 100%);
  }

  .hero-float--b {
    display: none;
  }

  .stat-band {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -36px;
  }

  .stat-item:nth-child(3) {
    border-inline-start: 0;
  }

  .stat-item:nth-child(n + 3) {
    border-top: 1px dashed #dfe8db;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-card {
    position: static;
  }

  .filter-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filter-link {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: .78rem;
  }

  .help-card {
    display: none;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .reading-layout {
    grid-template-columns: 1fr;
  }

  .reading-sidebar {
    order: 2;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding-block: 56px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 26px;
  }

  .topbar-group .topbar-hide-sm {
    display: none;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-text {
    font-size: .92rem;
  }

  .hero-copy {
    padding: 28px 22px 24px;
  }

  .hero-art {
    min-height: 250px;
  }

  .hero-float {
    padding: 10px 14px;
  }

  .hero-float--a {
    inset-inline-start: 14px;
    inset-block-end: 58px;
  }

  .cat-scroller {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
  }

  .cat-media {
    width: 100px;
    height: 100px;
  }

  .cat-initial {
    font-size: 1.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    padding-block: 48px 28px;
  }

  .toolbar-search {
    min-width: 0;
    width: 100%;
  }

  .back-top {
    inset-inline-start: 14px;
    bottom: 14px;
  }
}

@media (max-width: 575.98px) {
  .topbar-inner .topbar-group:first-child {
    display: none;
  }

  .topbar-inner {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
