:root {
  color-scheme: dark;
  --navy-950: #01050d;
  --navy-900: #020914;
  --navy-850: #04111f;
  --navy-800: #061827;
  --surface: rgba(5, 19, 32, 0.9);
  --surface-soft: rgba(8, 28, 44, 0.78);
  --line: rgba(94, 190, 224, 0.16);
  --line-bright: rgba(0, 221, 255, 0.44);
  --white: #f8fcff;
  --text: #e9f5fa;
  --muted: #8ba4b3;
  --blue: #008dff;
  --cyan: #00ddff;
  --green: #35ed70;
  --green-deep: #11c858;
  --amber: #ffd16e;
  --brand-gradient: linear-gradient(105deg, #078cff 0%, #00d7ef 49%, #35ed70 100%);
  --brand-shadow: 0 0 34px rgba(0, 221, 255, 0.18), 0 0 46px rgba(53, 237, 112, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --max-width: 1220px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 0% 8%, rgba(0, 141, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 100% 28%, rgba(53, 237, 112, 0.09), transparent 30rem),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 50%, #01060c);
  color: var(--text);
  font-family: Inter, "Arial Nova", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  pointer-events: none;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

:focus-visible { outline: 3px solid rgba(0, 221, 255, 0.75); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: #020812;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.section-shell {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.announcement {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 7px 50px;
  border-bottom: 1px solid rgba(53, 237, 112, 0.15);
  background: linear-gradient(90deg, rgba(0, 86, 173, 0.2), rgba(3, 22, 31, 0.85), rgba(18, 152, 66, 0.16));
  color: #b8ced7;
  font-size: 0.75rem;
}

.announcement p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.announcement strong { color: #dfffea; }
.announcement__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: glow-pulse 2.2s ease-in-out infinite;
}
.announcement__close {
  position: absolute;
  top: 4px;
  right: 13px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #91a6b0;
  font-size: 1.25rem;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
  backdrop-filter: blur(22px) saturate(135%);
}
.site-header::before {
  position: absolute;
  inset: 0 -100vw;
  z-index: -1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(1, 7, 14, 0.8);
  content: "";
}

.brand { width: 176px; flex: 0 0 auto; }
.brand img, .footer__brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 13px rgba(0, 190, 255, 0.26));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: #a8bdc8;
  font-size: 0.875rem;
  font-weight: 750;
}
.desktop-nav a { transition: color 180ms ease; }
.desktop-nav a:hover { color: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button,
.cart-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(6, 23, 37, 0.8);
  color: #dcebf1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.icon-button { width: 44px; }
.icon-button svg, .cart-button svg { width: 19px; height: 19px; }
.cart-button { gap: 9px; padding: 0 15px; font-size: 0.8125rem; font-weight: 850; }
.cart-button { border-color: rgba(53, 237, 112, 0.28); background: linear-gradient(115deg, rgba(0, 113, 174, 0.2), rgba(20, 130, 61, 0.19)); }
.icon-button:hover, .cart-button:hover { border-color: var(--line-bright); box-shadow: var(--brand-shadow); transform: translateY(-2px); }

.brand-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid rgba(0, 214, 255, 0.22);
  border-radius: var(--radius-xl);
  background: #01050b;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42), var(--brand-shadow);
  isolation: isolate;
}

.brand-hero::before,
.brand-hero::after {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.brand-hero::before {
  right: -110px;
  bottom: -120px;
  width: 410px;
  height: 410px;
  border: 1px solid rgba(53, 237, 112, 0.18);
  box-shadow: 0 0 0 38px rgba(0, 221, 255, 0.025), 0 0 0 77px rgba(53, 237, 112, 0.018);
}
.brand-hero::after {
  left: -80px;
  bottom: 70px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(0, 141, 255, 0.16);
}

.brand-hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.brand-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 46%, rgba(1, 7, 13, 0.22) 63%, rgba(1, 7, 13, 0.92) 83%);
}
.brand-hero__mobile-copy { display: none; }

.brand-hero__badges {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 22px;
  display: flex;
  gap: 8px;
}
.brand-hero__badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid rgba(0, 221, 255, 0.22);
  border-radius: 999px;
  background: rgba(1, 10, 18, 0.72);
  color: #bad0da;
  font-size: 0.75rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}
.brand-hero__badges b { color: var(--green); }

.hero-finder {
  position: absolute;
  z-index: 6;
  right: 22px;
  bottom: 22px;
  left: 22px;
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(0, 221, 255, 0.22);
  border-radius: 20px;
  background: rgba(3, 15, 26, 0.9);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.36), inset 0 0 30px rgba(0, 221, 255, 0.025);
  backdrop-filter: blur(18px) saturate(140%);
}
.hero-finder__intro { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.hero-finder__intro strong, .hero-finder__intro small { display: block; }
.hero-finder__intro strong { margin-bottom: 3px; color: white; font-size: 0.9375rem; }
.hero-finder__intro small { color: var(--muted); font-size: 0.75rem; }
.farmi-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 221, 255, 0.26);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 141, 255, 0.13), rgba(53, 237, 112, 0.1));
}
.farmi-mark img { width: 31px; height: 31px; filter: drop-shadow(0 0 10px rgba(0, 221, 255, 0.4)); }

.search-box {
  min-height: 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 0 7px 0 15px;
  border: 1px solid rgba(97, 187, 220, 0.2);
  border-radius: 14px;
  background: rgba(0, 6, 12, 0.68);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.search-box:focus-within { border-color: rgba(0, 221, 255, 0.52); box-shadow: 0 0 0 3px rgba(0, 221, 255, 0.07); }
.search-box svg { width: 21px; height: 21px; color: var(--cyan); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 0.9375rem; }
.search-box input::placeholder { color: #65818f; }
.search-box button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: white;
  font-size: 0.8125rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(0, 153, 225, 0.18);
}
.official-search { display: inline-flex; align-items: center; gap: 7px; padding: 9px; color: #bee3ec; font-size: 0.8125rem; font-weight: 800; white-space: nowrap; }
.official-search span { color: var(--green); }

.category-section,
.catalog,
.buy-flow { padding-top: 90px; }

.section-heading,
.catalog__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-kicker::before { width: 22px; height: 2px; background: var(--brand-gradient); box-shadow: 0 0 9px var(--cyan); content: ""; }
.section-heading h2,
.catalog__heading h2,
.farmi-help h2 {
  margin: 9px 0 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.section-heading > a { margin-bottom: 4px; color: #9fc0ce; font-size: 0.875rem; font-weight: 800; transition: color 180ms ease; }
.section-heading > a:hover { color: var(--green); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.category-card {
  --category-rgb: 0, 221, 255;
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(var(--category-rgb), 0.23);
  border-radius: 19px;
  background:
    radial-gradient(circle at 84% 16%, rgba(var(--category-rgb), 0.18), transparent 38%),
    linear-gradient(145deg, rgba(7, 28, 44, 0.94), rgba(3, 13, 23, 0.96));
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 0 24px rgba(var(--category-rgb), 0.025);
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}
.category-card::before {
  position: absolute;
  right: -28px;
  bottom: -52px;
  width: 122px;
  height: 122px;
  border: 1px solid rgba(var(--category-rgb), 0.19);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(var(--category-rgb), 0.025), 0 0 0 38px rgba(var(--category-rgb), 0.015);
  content: "";
}
.category-card:hover { border-color: rgba(var(--category-rgb), 0.55); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3), 0 0 26px rgba(var(--category-rgb), 0.08); transform: translateY(-4px); }
.category-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.category-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(var(--category-rgb), 0.36);
  border-radius: 13px;
  background: rgba(var(--category-rgb), 0.1);
  color: rgb(var(--category-rgb));
  box-shadow: 0 0 20px rgba(var(--category-rgb), 0.08);
}
.category-card__icon svg { width: 21px; height: 21px; }
.category-card__count { color: rgba(var(--category-rgb), 0.9); font-size: 0.75rem; font-weight: 850; }
.category-card strong, .category-card small { position: relative; z-index: 1; display: block; }
.category-card strong { margin-bottom: 4px; color: white; font-size: 0.9375rem; }
.category-card small { color: #7d9aaa; font-size: 0.75rem; }
.category-card__arrow { position: absolute; right: 17px; bottom: 16px; z-index: 1; color: rgb(var(--category-rgb)); font-size: 1rem; }

.brand-ribbon {
  min-height: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid rgba(0, 221, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 141, 255, 0.12), rgba(3, 18, 30, 0.92), rgba(53, 237, 112, 0.1));
}
.brand-ribbon > span { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 17px; border-left: 1px solid var(--line); color: #c8dce4; }
.brand-ribbon > span:first-child { border-left: 0; }
.brand-ribbon svg { width: 24px; height: 24px; color: var(--cyan); }
.brand-ribbon span:nth-child(3) svg { color: var(--green); }
.brand-ribbon b { font-size: 0.875rem; }

.catalog-total {
  min-width: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 15px;
  border: 1px solid rgba(53, 237, 112, 0.26);
  border-radius: 14px;
  background: linear-gradient(115deg, rgba(0, 104, 163, 0.15), rgba(17, 113, 52, 0.14));
}
.catalog-total strong { color: var(--green); font-size: 1.75rem; line-height: 1; text-shadow: 0 0 16px rgba(53, 237, 112, 0.28); }
.catalog-total span { color: #91abb7; font-size: 0.75rem; font-weight: 800; line-height: 1.3; text-transform: uppercase; }

.filter-shell { margin-bottom: 22px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 9px; scrollbar-width: thin; scrollbar-color: rgba(0, 221, 255, 0.25) transparent; }
.filter-chip {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid rgba(104, 183, 211, 0.16);
  border-radius: 999px;
  background: rgba(6, 24, 38, 0.82);
  color: #90a9b5;
  font-size: 0.75rem;
  font-weight: 820;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.filter-chip:hover, .filter-chip.is-active { border-color: rgba(0, 221, 255, 0.5); background: linear-gradient(105deg, rgba(0, 141, 255, 0.2), rgba(53, 237, 112, 0.12)); color: white; }
.results-status { margin-top: 7px; color: #718d9a; font-size: 0.75rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 202, 238, 0.18);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(8, 27, 42, 0.97), rgba(3, 14, 24, 0.98));
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.22);
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.product-card::after {
  position: absolute;
  right: -42px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(53, 237, 112, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.product-card:hover { z-index: 2; border-color: rgba(53, 237, 112, 0.42); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), var(--brand-shadow); transform: translateY(-5px); }
.product-card__visual {
  position: relative;
  aspect-ratio: 1 / 0.9;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 13px;
  border-bottom: 1px solid rgba(0, 221, 255, 0.1);
  background:
    radial-gradient(circle at 50% 92%, rgba(53, 237, 112, 0.12), transparent 45%),
    radial-gradient(circle at 50% 42%, rgba(0, 141, 255, 0.12), transparent 55%),
    #03101c;
}
.product-card__visual::before {
  position: absolute;
  right: 10%;
  bottom: -40%;
  left: 10%;
  aspect-ratio: 1;
  border: 2px solid rgba(0, 221, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 11px rgba(53, 237, 112, 0.035), 0 0 25px rgba(0, 221, 255, 0.07);
  content: "";
}
.product-card__visual img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; transition: transform 220ms ease; }
.product-card:hover .product-card__visual img { transform: scale(1.035); }
.product-card__status, .product-card__id {
  position: absolute;
  z-index: 3;
  top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(2, 12, 20, 0.76);
  font-size: 0.6875rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}
.product-card__status { left: 10px; border: 1px solid rgba(53, 237, 112, 0.25); color: var(--green); }
.product-card__status.is-unavailable { border-color: rgba(255, 209, 110, 0.28); color: var(--amber); }
.product-card__id { right: 10px; border: 1px solid rgba(0, 221, 255, 0.16); color: #7899a8; }

.product-card__body { min-height: 225px; display: flex; flex-direction: column; padding: 17px; }
.product-card__category { margin: 0 0 8px; color: var(--cyan); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; }
.product-card h3 { display: -webkit-box; margin: 0; overflow: hidden; color: white; font-size: 0.9375rem; line-height: 1.42; letter-spacing: -0.012em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-card__sku { margin: 8px 0 0; overflow: hidden; color: #66808d; font-size: 0.6875rem; text-overflow: ellipsis; white-space: nowrap; }
.product-card__footer { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 17px; }
.product-card__price small, .product-card__price strong { display: block; }
.product-card__price small { margin-bottom: 4px; color: #718b98; font-size: 0.6875rem; font-weight: 750; }
.product-card__price strong { color: white; font-size: 1.25rem; letter-spacing: -0.035em; }
.product-card__open {
  min-width: 48px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid rgba(0, 221, 255, 0.32);
  border-radius: 12px;
  background: linear-gradient(120deg, rgba(0, 141, 255, 0.18), rgba(53, 237, 112, 0.15));
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 850;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}
.product-card__open:hover { border-color: rgba(53, 237, 112, 0.58); transform: translate(2px, -2px); }
.product-card__open svg { width: 16px; height: 16px; }

.loading-panel {
  grid-column: 1 / -1;
  min-height: 150px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(0, 221, 255, 0.22);
  border-radius: 18px;
  color: #75919e;
  font-size: 0.8125rem;
}
.loading-panel--products { min-height: 320px; }

.empty-state {
  padding: 58px 24px;
  border: 1px dashed rgba(0, 221, 255, 0.24);
  border-radius: 20px;
  background: rgba(6, 23, 37, 0.72);
  text-align: center;
}
.empty-state__icon { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 13px; border: 1px solid rgba(0, 221, 255, 0.3); border-radius: 16px; color: var(--cyan); font-size: 1.6rem; }
.empty-state h3 { margin: 0 0 9px; font-size: 1.5rem; }
.empty-state p { max-width: 510px; margin: 0 auto 20px; color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.empty-state__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: white;
  font-size: 0.8125rem;
  font-weight: 880;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { border-color: rgba(53, 237, 112, 0.35); background: var(--brand-gradient); box-shadow: 0 13px 34px rgba(0, 141, 255, 0.18); }
.button--primary:hover { box-shadow: var(--brand-shadow); }
.button--ghost { border-color: var(--line); background: rgba(5, 22, 35, 0.8); color: #dcecf2; }

.load-more {
  width: min(360px, 100%);
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 26px auto 0;
  border: 1px solid rgba(0, 221, 255, 0.3);
  border-radius: 14px;
  background: linear-gradient(110deg, rgba(0, 102, 164, 0.16), rgba(21, 125, 59, 0.14));
  color: white;
  font-size: 0.875rem;
  font-weight: 850;
  cursor: pointer;
}
.load-more small { color: #77919d; font-size: 0.75rem; }

.catalog-source {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  padding: 15px;
  border: 1px solid rgba(0, 221, 255, 0.13);
  border-radius: 15px;
  background: rgba(5, 19, 31, 0.68);
}
.catalog-source__mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(53, 237, 112, 0.3); border-radius: 10px; background: linear-gradient(135deg, rgba(0, 141, 255, 0.15), rgba(53, 237, 112, 0.13)); color: white; font-weight: 950; }
.catalog-source strong, .catalog-source p { display: block; margin: 0; }
.catalog-source strong { margin-bottom: 3px; color: #cde2e9; font-size: 0.8125rem; }
.catalog-source p { color: #728b97; font-size: 0.75rem; line-height: 1.45; }
.catalog-source > span:last-child { color: #67838f; font-size: 0.75rem; text-align: right; }

.farmi-help {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  overflow: hidden;
  margin-top: 92px;
  border: 1px solid rgba(0, 221, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 17% 54%, rgba(0, 141, 255, 0.18), transparent 28%),
    linear-gradient(120deg, rgba(5, 31, 48, 0.96), rgba(3, 14, 24, 0.97) 63%, rgba(17, 89, 42, 0.35));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}
.farmi-help__art { position: relative; align-self: stretch; overflow: hidden; border-right: 1px solid rgba(0, 221, 255, 0.12); }
.farmi-help__art::before { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0, 221, 255, 0.12) 1px, transparent 1.5px); background-size: 22px 22px; content: ""; mask-image: radial-gradient(circle at 50% 60%, #000, transparent 70%); }
.farmi-help__art img { position: absolute; z-index: 2; left: 50%; bottom: -95px; width: min(92%, 365px); transform: translateX(-50%); filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.55)); }
.farmi-help__orbit { position: absolute; z-index: 1; top: 51%; left: 50%; width: 260px; height: 260px; border: 1px solid rgba(0, 221, 255, 0.23); border-radius: 50%; box-shadow: 0 0 0 28px rgba(0, 141, 255, 0.03), 0 0 0 58px rgba(53, 237, 112, 0.02); transform: translate(-50%, -50%); }
.farmi-help__copy { padding: clamp(36px, 6vw, 72px); }
.farmi-help__copy > p { max-width: 570px; margin: 20px 0 24px; color: #9ab0bb; line-height: 1.7; }
.farmi-help__copy > small { display: block; margin-top: 17px; color: #738d99; font-size: 0.75rem; }

.buy-flow__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.buy-flow article { min-height: 130px; display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(7, 27, 42, 0.86), rgba(3, 14, 24, 0.9)); }
.buy-flow article > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(0, 221, 255, 0.3); border-radius: 50%; color: var(--cyan); font-weight: 900; box-shadow: 0 0 18px rgba(0, 221, 255, 0.08); }
.buy-flow article:nth-child(3) > span { border-color: rgba(53, 237, 112, 0.35); color: var(--green); }
.buy-flow strong { display: block; margin-bottom: 5px; color: white; font-size: 0.9375rem; }
.buy-flow p { margin: 0; color: #77919d; font-size: 0.8125rem; line-height: 1.5; }

.install-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-top: 22px; padding: 17px; border: 1px solid rgba(53, 237, 112, 0.22); border-radius: 17px; background: linear-gradient(110deg, rgba(0, 91, 151, 0.15), rgba(19, 105, 49, 0.16)); }
.install-card__mark { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(0, 221, 255, 0.27); border-radius: 14px; background: rgba(3, 18, 29, 0.72); }
.install-card__mark img { width: 32px; }
.install-card strong, .install-card p { display: block; margin: 0; }
.install-card strong { margin-bottom: 3px; color: white; }
.install-card p { color: var(--muted); font-size: 0.8125rem; }

.footer { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 45px; margin-top: 92px; padding-block: 42px 25px; border-top: 1px solid var(--line); }
.footer__brand img { width: 178px; }
.footer__brand p { margin: 13px 0 0; color: #77919d; font-size: 0.8125rem; }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px; color: #8299a5; font-size: 0.8125rem; }
.footer__links a:hover { color: var(--cyan); }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid rgba(90, 174, 205, 0.09); color: #5d7783; font-size: 0.75rem; }

.mobile-dock { display: none; }

.product-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: min(88vh, 820px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(0, 221, 255, 0.28);
  border-radius: 24px;
  background: #05131f;
  color: var(--text);
  box-shadow: 0 35px 110px rgba(0, 0, 0, 0.72), var(--brand-shadow);
}
.product-dialog::backdrop { background: rgba(0, 4, 9, 0.8); backdrop-filter: blur(9px); }
.dialog-close { position: sticky; z-index: 15; top: 14px; float: right; width: 40px; height: 40px; display: grid; place-items: center; margin: 14px 14px -54px 0; border: 1px solid rgba(104, 183, 211, 0.22); border-radius: 12px; background: rgba(2, 13, 22, 0.88); color: white; font-size: 1.35rem; cursor: pointer; backdrop-filter: blur(10px); }
.dialog-product { display: grid; grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr); min-height: 555px; }
.dialog-product__visual { position: relative; min-height: 430px; display: grid; place-items: center; overflow: hidden; padding: 45px; border-right: 1px solid rgba(0, 221, 255, 0.12); background: radial-gradient(circle at 50% 50%, rgba(0, 141, 255, 0.14), transparent 54%), linear-gradient(155deg, rgba(7, 34, 51, 0.95), rgba(2, 13, 23, 0.98)); }
.dialog-product__visual::before { position: absolute; right: 8%; bottom: 7%; left: 8%; aspect-ratio: 1; border: 2px solid rgba(0, 221, 255, 0.14); border-radius: 50%; box-shadow: 0 0 0 20px rgba(53, 237, 112, 0.025); content: ""; }
.dialog-product__visual img { position: relative; z-index: 2; width: 100%; max-height: 380px; object-fit: contain; }
.dialog-product__visual span { position: absolute; z-index: 3; left: 30px; bottom: 25px; color: #6f8e9c; font-size: 0.75rem; }
.dialog-product__body { padding: 54px clamp(28px, 5vw, 50px) 40px; }
.dialog-product__body h2 { margin: 0; color: white; font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.045em; }
.dialog-product__availability { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; color: #9eb4bf; font-size: 0.8125rem; }
.signal-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.dialog-product__price { margin: 26px 0 22px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dialog-product__price small, .dialog-product__price strong, .dialog-product__price span { display: block; }
.dialog-product__price small { margin-bottom: 5px; color: #718d99; font-size: 0.75rem; }
.dialog-product__price strong { color: white; font-size: 2rem; letter-spacing: -0.04em; }
.dialog-product__price span { margin-top: 5px; color: #6f8995; font-size: 0.75rem; }
.dialog-product__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 22px; }
.dialog-product__fact { padding: 11px; border: 1px solid rgba(0, 221, 255, 0.11); border-radius: 10px; background: rgba(3, 15, 24, 0.55); }
.dialog-product__fact small, .dialog-product__fact strong { display: block; }
.dialog-product__fact small { margin-bottom: 5px; color: #678490; font-size: 0.6875rem; }
.dialog-product__fact strong { overflow: hidden; color: #c9dce4; font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.dialog-product__actions { display: flex; flex-direction: column; gap: 10px; }
.dialog-product__actions .button { width: 100%; }
.dialog-product__notice { margin: 16px 0 0; color: #68838f; font-size: 0.75rem; line-height: 1.55; }

.toast { position: fixed; z-index: 300; right: 20px; bottom: 20px; max-width: min(360px, calc(100% - 40px)); padding: 13px 16px; border: 1px solid rgba(0, 221, 255, 0.28); border-radius: 12px; background: rgba(4, 23, 35, 0.94); color: white; font-size: 0.8125rem; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transform: translateY(14px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.noscript { position: fixed; z-index: 1200; right: 20px; bottom: 20px; left: 20px; padding: 15px; border: 1px solid rgba(255, 209, 110, 0.35); border-radius: 12px; background: #211a0b; color: #ffe8b3; text-align: center; }
.noscript a { text-decoration: underline; }

@keyframes glow-pulse { 0%, 100% { opacity: 0.62; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.12); } }

@media (max-width: 1080px) {
  .hero-finder { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hero-finder__intro { display: none; }
  .official-search { justify-content: flex-end; padding: 0 3px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .brand-hero { min-height: 570px; }
  .brand-hero__art { object-position: 57% center; }
  .brand-hero__badges { top: 15px; right: 15px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .farmi-help { grid-template-columns: 0.85fr 1.15fr; }
}

@media (max-width: 720px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .section-shell, .site-header { width: min(calc(100% - 28px), var(--max-width)); }

  .announcement { min-height: 34px; justify-content: flex-start; padding: 7px 44px 7px 14px; overflow: hidden; }
  .announcement p:not(:first-child) { display: none; }
  .announcement p:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .announcement__close { right: 8px; }

  .site-header { min-height: 70px; }
  .brand { width: 144px; }
  .cart-button { width: 44px; padding: 0; }
  .cart-button span { display: none; }

  .brand-hero { min-height: 585px; margin-top: 14px; border-radius: 24px; }
  .brand-hero__art { object-position: 72% center; filter: saturate(1.05); }
  .brand-hero__shade { background: linear-gradient(90deg, rgba(1, 7, 14, 0.92) 0%, rgba(1, 7, 14, 0.54) 54%, rgba(1, 7, 14, 0.12) 100%), linear-gradient(180deg, rgba(1, 7, 14, 0.05) 40%, rgba(1, 7, 14, 0.96) 78%); }
  .brand-hero__mobile-copy { position: absolute; z-index: 4; top: 32px; left: 23px; width: 58%; display: block; }
  .brand-hero__mobile-copy img { width: 150px; margin-bottom: 12px; }
  .brand-hero__mobile-copy span { color: #9bc0cd; font-size: 0.75rem; font-weight: 750; }
  .brand-hero__mobile-copy h1 { margin: 12px 0 0; color: white; font-size: clamp(2.1rem, 10vw, 3rem); line-height: 1.02; letter-spacing: -0.055em; }
  .brand-hero__badges { top: 265px; right: auto; left: 20px; flex-wrap: wrap; max-width: 245px; }
  .brand-hero__badges span { min-height: 31px; padding: 6px 9px; font-size: 0.6875rem; }
  .hero-finder { right: 13px; bottom: 13px; left: 13px; gap: 9px; padding: 13px; border-radius: 17px; }
  .hero-finder__intro { display: flex; min-width: 0; }
  .farmi-mark { width: 43px; height: 43px; }
  .hero-finder__intro strong { font-size: 0.875rem; }
  .search-box { min-height: 53px; }
  .search-box button { display: none; }
  .official-search { justify-content: center; min-height: 34px; }

  .category-section, .catalog, .buy-flow { padding-top: 72px; }
  .section-heading, .catalog__heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .section-heading > a { margin-bottom: 0; }
  .section-heading h2, .catalog__heading h2, .farmi-help h2 { font-size: clamp(1.85rem, 9vw, 2.55rem); }
  .category-grid { gap: 10px; }
  .category-card { min-height: 142px; padding: 15px; }
  .category-card__icon { width: 40px; height: 40px; }

  .brand-ribbon { grid-template-columns: 1fr; }
  .brand-ribbon > span { justify-content: flex-start; border-top: 1px solid var(--line); border-left: 0; }
  .brand-ribbon > span:first-child { border-top: 0; }

  .catalog-total { min-width: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 16px; }
  .product-card__visual { padding: 9px; }
  .product-card__status { display: none; }
  .product-card__id { top: 7px; right: 7px; padding: 4px 6px; font-size: 0.625rem; }
  .product-card__body { min-height: 210px; padding: 13px; }
  .product-card__category { font-size: 0.6875rem; }
  .product-card h3 { font-size: 0.8125rem; }
  .product-card__sku { font-size: 0.625rem; }
  .product-card__price small { font-size: 0.625rem; }
  .product-card__price strong { font-size: 1.05rem; }
  .product-card__open { min-width: 40px; width: 40px; height: 39px; padding: 0; }
  .product-card__open span { display: none; }

  .catalog-source { grid-template-columns: auto 1fr; }
  .catalog-source > span:last-child { grid-column: 2; text-align: left; }

  .farmi-help { grid-template-columns: 1fr; margin-top: 72px; }
  .farmi-help__art { min-height: 310px; border-right: 0; border-bottom: 1px solid rgba(0, 221, 255, 0.12); }
  .farmi-help__art img { bottom: -90px; width: min(84%, 330px); }
  .farmi-help__copy { padding: 32px 23px; }
  .buy-flow__grid { grid-template-columns: 1fr; }
  .buy-flow article { min-height: 106px; }

  .install-card { grid-template-columns: auto 1fr; }
  .install-card .button { grid-column: 1 / -1; }

  .footer { grid-template-columns: 1fr; gap: 28px; margin-top: 75px; }
  .footer__links { justify-content: flex-start; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }

  .mobile-dock {
    position: fixed;
    z-index: 160;
    right: 10px;
    bottom: calc(9px + env(safe-area-inset-bottom));
    left: 10px;
    min-height: 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px;
    border: 1px solid rgba(0, 221, 255, 0.2);
    border-radius: 18px;
    background: rgba(2, 14, 23, 0.92);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.58), 0 0 24px rgba(0, 221, 255, 0.04);
    backdrop-filter: blur(20px) saturate(140%);
  }
  .mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 11px; color: #7d99a6; font-size: 0.6875rem; font-weight: 750; }
  .mobile-dock a:first-child { color: var(--green); }
  .mobile-dock img, .mobile-dock svg { width: 20px; height: 20px; }

  .toast { right: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); left: 14px; max-width: none; }
  .product-dialog { width: 100%; max-width: none; max-height: 92vh; margin: auto 0 0; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 24px 24px 0 0; }
  .dialog-product { grid-template-columns: 1fr; }
  .dialog-product__visual { min-height: 310px; padding: 34px; border-right: 0; border-bottom: 1px solid rgba(0, 221, 255, 0.12); }
  .dialog-product__visual img { max-height: 240px; }
  .dialog-product__body { padding: 30px 21px calc(32px + env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
  .brand-hero__mobile-copy { width: 64%; }
  .brand-hero__mobile-copy h1 { font-size: 2.2rem; }
  .brand-hero__art { object-position: 68% center; }
  .brand-hero__badges span:nth-child(3) { display: none; }
  .category-card strong { font-size: 0.8125rem; }
  .category-card small { font-size: 0.6875rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
