* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f5f7f4;
  color: #1f2937;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 125, 50, 0.25), transparent 40%),
    radial-gradient(circle at 20% 50%, rgba(120, 180, 90, 0.18), transparent 45%),
    linear-gradient(180deg, #f9fbf8 0%, #eef5ee 100%);
  border-bottom: 1px solid #dfe5df;
  box-shadow: 0 2px 8px rgba(47, 125, 50, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
  position: relative;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  height: 78px;
  width: auto;
  object-fit: contain;
}

/* NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  padding: 10px 14px;
  font-weight: 700;
  border-radius: 10px;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-link.active,
.nav-link:hover {
  color: #2f7d32;
  background: rgba(47, 125, 50, 0.08);
}

.nav-link:focus-visible,
.menu-toggle:focus-visible,
.btn:focus-visible,
.scroll-top-button:focus-visible,
.catalog-search-input:focus-visible,
.filters button:focus-visible,
.modal-close:focus-visible,
.card:focus-visible {
  outline: 3px solid rgba(47, 125, 50, 0.35);
  outline-offset: 3px;
}

/* BURGER */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #d1d5db;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #111827;
  display: block;
  border-radius: 2px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #2f7d32;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(47, 125, 50, 0.18);
}

.btn-primary:hover {
  background: #256428;
}

.btn-secondary {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.08);
}

.btn-secondary:hover {
  background: #f9fafb;
}

.btn-danger {
  background: #8a1f1f;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(138, 31, 31, 0.16);
}

.btn-danger:hover {
  background: #711818;
}

.btn-large {
  min-height: 54px;
  padding: 14px 28px;
  font-size: 16px;
}

/* HERO */
.hero {
  background:
    radial-gradient(circle at top left, rgba(47, 125, 50, 0.10), transparent 35%),
    radial-gradient(circle at top right, rgba(120, 180, 90, 0.08), transparent 30%),
    linear-gradient(180deg, #f8faf8 0%, #eef5ee 100%);
  border-bottom: 1px solid #e5e7eb;
}

.hero-box {
  text-align: center;
  padding: 18px 20px 16px;
}

.hero h1 {
  font-size: 30px;
  margin-bottom: 6px;
}

.hero p {
  color: #6b7280;
  font-size: 15px;
}

/* HOME HERO */
.home-hero {
  padding: 42px 0 32px;
  background:
    radial-gradient(circle at 10% 20%, rgba(47, 125, 50, 0.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(120, 180, 90, 0.10), transparent 24%),
    linear-gradient(180deg, #f8faf8 0%, #eef5ee 100%);
  border-bottom: 1px solid #e5e7eb;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.home-hero-content h1 {
  font-size: 44px;
  line-height: 1.12;
  margin-bottom: 16px;
}

.home-hero-content p {
  font-size: 17px;
  color: #4b5563;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.home-hero-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #e7ece6;
  box-shadow: 0 14px 32px rgba(31, 41, 55, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.gallery-card-large img {
  height: 454px;
}

.gallery-card-large {
  grid-row: span 2;
}

/* HOME SECTIONS */
.home-section {
  padding: 52px 0;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.section-head p {
  color: #6b7280;
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 24px;
}

.catalog-cta-section {
  padding: 10px 0 52px;
}

.catalog-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  border: 1px solid #e7ece6;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.catalog-cta h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.catalog-cta p {
  color: #4b5563;
  font-size: 16px;
  max-width: 700px;
}

.catalog-cta-action {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-contact-section {
  padding-top: 0;
}

/* CATALOG SEARCH */
.catalog-tools {
  padding-top: 24px;
}

.catalog-tools-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.catalog-search-panel {
  display: none;
  width: 100%;
}

.catalog-search-panel.open {
  display: block;
}

.catalog-search-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  border: 1px solid #e7ece6;
  border-radius: 22px;
  padding: 20px 22px;
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.16);
  max-width: 760px;
  margin-left: auto;
}

.catalog-search-label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.catalog-search-box {
  position: relative;
}

.catalog-search-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 56px 14px 18px;
  border-radius: 16px;
  border: 1px solid #d6ddd4;
  background: #f9fbf8;
  color: #1f2937;
  font: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  -webkit-appearance: none;
  appearance: none;
}

.catalog-search-input:focus {
  border-color: rgba(47, 125, 50, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 125, 50, 0.10);
  background: #ffffff;
  outline: none;
}

.catalog-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.catalog-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #6b7280;
  font-size: 24px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.catalog-search-clear.visible {
  opacity: 1;
  pointer-events: auto;
}

.catalog-search-clear:hover {
  background: rgba(47, 125, 50, 0.10);
  color: #1c5f26;
}

.search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  max-width: 680px;
  z-index: 20;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid #e7ece6;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 40px rgba(31, 41, 55, 0.16);
  backdrop-filter: blur(10px);
  transform-origin: top center;
}

.search-suggestions.open {
  display: grid;
  gap: 6px;
}

.search-suggestion {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  color: #1f2937;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.search-suggestion:hover,
.search-suggestion.active {
  background: rgba(47, 125, 50, 0.10);
  color: #1c5f26;
  transform: translateX(2px);
}

.catalog-search-fab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: #2f7d32;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(47, 125, 50, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.catalog-search-fab:hover {
  transform: translateY(-2px);
  background: #256428;
}

.catalog-search-fab.active {
  background: #1f2937;
  box-shadow: 0 16px 30px rgba(31, 41, 55, 0.24);
}

.catalog-search-fab-icon {
  font-size: 20px;
  line-height: 1;
}

.catalog-search-fab-text {
  font-weight: 700;
}

.scroll-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1090;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.92);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(31, 41, 55, 0.20);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.scroll-top-button.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-button:hover {
  background: #2f7d32;
}

.scroll-top-button span {
  font-size: 22px;
  line-height: 1;
}

/* FILTERS */
.filters {
  display: flex;
  gap: 10px;
  padding: 18px 20px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.filters button {
  padding: 8px 14px;
  border-radius: 20px;
  background: #e5e7eb;
  color: #1f2937;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.filters button:hover {
  background: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.filters button.active {
  background: #2f7d32;
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(47, 125, 50, 0.18);
}

/* CATALOG */
.catalog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 24px 20px 40px;
}

/* CARD */
.card {
  background: #ffffff;
  width: 100%;
  max-width: 320px;
  justify-self: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(47, 125, 50, 0.14);
}

.card:focus-visible {
  border-color: rgba(47, 125, 50, 0.32);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover img {
  transform: scale(1.06);
}

.card-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card h3 {
  font-size: 18px;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.card:hover h3 {
  color: #1c5f26;
}

.meta {
  font-size: 13px;
  color: #6b7280;
}

.price {
  font-size: 18px;
  font-weight: 700;
}

.stock-status {
  align-self: flex-start;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}

.stock-status-off {
  background: #f3f4f6;
  color: #4b5563;
}

.empty {
  text-align: center;
  color: #6b7280;
  padding: 40px 20px;
  grid-column: 1 / -1;
}

.empty-search {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  border: 1px solid #e7ece6;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.empty-search h3 {
  color: #1f2937;
  font-size: 24px;
  margin-bottom: 10px;
}

.empty-search p {
  max-width: 620px;
  margin: 0 auto 10px;
  line-height: 1.7;
}

.empty-search p:last-child {
  margin-bottom: 0;
}

.empty-search a {
  color: #2f7d32;
  font-weight: 700;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.55);
  padding: 20px;
}

.modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 50, 0.10), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  width: 100%;
  max-width: 760px;
  border-radius: 24px;
  padding: 24px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #e7ece6;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #f3f4f6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.plant-modal-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.modal-image-shell {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(31, 41, 55, 0.08);
}

.modal-image {
  width: 100%;
  height: auto;
  display: block;
}

.modal-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #2f7d32;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.modal-tag-soft {
  background: rgba(47, 125, 50, 0.10);
  color: #2f7d32;
}

.modal-tag-stock {
  background: #eef7ed;
  color: #1c5f26;
}

.modal-tag-muted {
  background: #f3f4f6;
  color: #4b5563;
}

.modal-title {
  font-size: 32px;
  line-height: 1.1;
}

.modal-price {
  font-size: 26px;
  font-weight: 700;
  color: #1c5f26;
}

.modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.modal-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(246, 248, 245, 0.9);
  border: 1px solid #e7ece6;
}

.modal-info-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.modal-info-value {
  font-size: 15px;
  color: #1f2937;
}

.modal-description-block {
  padding-top: 4px;
}

.modal-description-block h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.modal-description {
  font-size: 15px;
  line-height: 1.7;
  color: #4b5563;
}

/* INNER PAGES */
.page {
  padding: 36px 0 48px;
}

.page-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.page-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  padding: 22px;
  border-radius: 22px;
  border: 1px solid #e7ece6;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.06);
}

.page-intro {
  margin-bottom: 14px;
}

.page-kicker {
  display: inline-block;
  margin-bottom: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(47, 125, 50, 0.10);
  color: #2f7d32;
  font-size: 12px;
  font-weight: 700;
}

.page-title {
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.page-lead {
  font-size: 15px;
  color: #4b5563;
  max-width: 760px;
}

.content-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #edf1ec;
}

.content-block h2 {
  font-size: 19px;
  margin-bottom: 8px;
}

.content-block p {
  color: #4b5563;
  line-height: 1.7;
}

.admin-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 8px;
}

.admin-toolbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-toolbar-actions-left {
  order: 0;
}

.admin-toolbar-actions-right {
  width: 100%;
}

.admin-small-btn {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 12px;
}

.admin-search {
  width: 100%;
  max-width: 260px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 16px;
  align-items: start;
}

.admin-form-fields {
  display: grid;
  gap: 10px;
}

.admin-form-fields label {
  display: block;
  color: #1f2937;
  font-weight: 600;
}

.admin-switch-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  cursor: pointer;
  user-select: none;
}

.admin-switch-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-switch {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #d1d5db;
  transition: background 0.2s ease;
}

.admin-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(31, 41, 55, 0.22);
  transition: transform 0.2s ease;
}

.admin-switch-row input:checked + .admin-switch {
  background: #2f7d32;
}

.admin-switch-row input:checked + .admin-switch::after {
  transform: translateX(20px);
}

.admin-switch-row input:focus-visible + .admin-switch {
  outline: 3px solid rgba(47, 125, 50, 0.22);
  outline-offset: 3px;
}

.admin-form-fields input[type="file"] {
  display: none;
}

.admin-dropzone input[type="file"] {
  display: none;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e7ece6;
}

.admin-export-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

.admin-dropzone {
  border: 2px dashed #b8c7b5;
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(180deg, #fbfcfb 0%, #f2f7f1 100%);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.admin-dropzone:hover,
.admin-dropzone.is-dragover {
  border-color: #2f7d32;
  background: linear-gradient(180deg, #f6fbf6 0%, #edf6ec 100%);
  transform: translateY(-1px);
}

.admin-dropzone-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.admin-dropzone-text {
  color: #4b5563;
  margin-bottom: 8px;
  font-size: 13px;
}

.admin-preview {
  background: #ffffff;
  border: 1px solid #e7ece6;
  border-radius: 16px;
  padding: 8px;
}

.admin-preview img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 8px;
}

.admin-preview p {
  margin: 0;
  color: #4b5563;
  word-break: break-word;
}

.admin-list {
  display: grid;
  gap: 6px;
  max-height: 42vh;
  overflow-y: auto;
  padding-right: 4px;
  align-content: start;
}

.admin-list-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 5px 7px;
}

.admin-item-main {
  min-width: 0;
}

.admin-item-main h2 {
  font-size: 13px;
  margin-bottom: 1px;
  line-height: 1.15;
}

.admin-item-main p {
  margin: 0;
  line-height: 1.15;
  font-size: 11px;
  color: #4b5563;
}

.admin-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-item-actions form {
  margin: 0;
}

.admin-item-actions .btn {
  min-height: 28px;
  padding: 5px 8px;
  font-size: 11px;
}

.admin-inline-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border: 1px solid #d7e3d4;
  border-radius: 999px;
  padding: 4px 8px 4px 5px;
  background: #ffffff;
  color: #4b5563;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.admin-inline-switch.active {
  border-color: rgba(47, 125, 50, 0.35);
  color: #2f7d32;
}

.admin-inline-switch:hover {
  border-color: #2f7d32;
}

.admin-inline-switch-track {
  position: relative;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: #d1d5db;
  transition: background 0.2s ease;
}

.admin-inline-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(31, 41, 55, 0.22);
  transition: transform 0.2s ease;
}

.admin-inline-switch.active .admin-inline-switch-track {
  background: #2f7d32;
}

.admin-inline-switch.active .admin-inline-switch-track::after {
  transform: translateX(12px);
}

.admin-item-thumb {
  width: 100%;
  max-width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e7ece6;
  margin-bottom: 0;
}

.admin-modal-content {
  max-width: 980px;
}

.admin-modal-block {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.admin-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.admin-list-item.is-hidden,
.admin-list-item[hidden] {
  display: none !important;
}

.admin-categories-list {
  display: grid;
  gap: 6px;
}

.admin-category-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
}

.admin-category-name {
  font-weight: 700;
  color: #1f2937;
  font-size: 13px;
}

.admin-category-form {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-category-modal-content {
  max-width: 560px;
}

.admin-summary-grid {
  gap: 6px;
}

.admin-summary-grid .info-item {
  padding: 7px 9px;
  border-radius: 12px;
}

.admin-summary-grid .info-item h2 {
  font-size: 12px;
  margin-bottom: 3px;
}

.admin-summary-grid .info-item p {
  font-size: 12px;
  line-height: 1.15;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-item {
  background: #f6f8f5;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid #e7ece6;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.info-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
  border-color: rgba(47, 125, 50, 0.18);
}

.info-item h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1f2937;
}

.info-item p {
  margin-bottom: 6px;
  color: #4b5563;
  line-height: 1.6;
}

.info-item a:hover {
  color: #2f7d32;
}

/* ABOUT PAGE */
.about-page {
  overflow: hidden;
}

.about-text {
  max-width: 820px;
  margin-bottom: 28px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 34px;
}

.feature-card {
  background: linear-gradient(180deg, #f7faf6 0%, #f2f6f1 100%);
  border: 1px solid #e6ece4;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(31, 41, 55, 0.07);
  border-color: rgba(47, 125, 50, 0.18);
}

.feature-card h2,
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1f2937;
}

.feature-card p {
  color: #4b5563;
  line-height: 1.6;
}

.works-section {
  margin-top: 10px;
}

.works-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scrollbar-width: thin;
  align-items: flex-start;
}

.work-thumb {
  flex: 0 0 auto;
  width: 183px;
  min-width: 183px;
  background: #f6f8f5;
  border: 1px solid #e7ece6;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  margin: 0;
}

.work-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(31, 41, 55, 0.08);
}

.work-thumb img {
  width: 183px;
  height: 121px;
  object-fit: cover;
  display: block;
}

/* FOOTER */
.site-footer {
  background: linear-gradient(180deg, #f1f5ef 0%, #e8efe6 100%);
  border-top: 1px solid #dbe5d8;
  margin-top: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 28px 20px 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.footer-text {
  color: #4b5563;
  max-width: 280px;
}

.footer-col h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #1f2937;
}

.footer-col p,
.footer-col a {
  color: #4b5563;
  line-height: 1.6;
}

.footer-col a:hover {
  color: #2f7d32;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px 20px;
  border-top: 1px solid #dbe5d8;
  color: #6b7280;
  font-size: 14px;
}

/* MOBILE */
@media (max-width: 900px) {
  .home-hero-grid,
  .catalog-cta,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .catalog-cta {
    grid-template-columns: 1fr;
  }

  .catalog-cta-action {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    background: #ffffff;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    border-radius: 0;
    padding: 14px 20px;
  }

  .info-grid,
  .about-features {
    grid-template-columns: 1fr;
  }

  .home-hero-content h1 {
    font-size: 36px;
  }

  .home-hero-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-card-large img {
    height: 320px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 12px;
  }

  .header-inner {
    min-height: 74px;
  }

  .logo-image {
    height: 58px;
  }

  .hero-box {
    padding: 16px 10px 14px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 14px;
  }

  .home-hero {
    padding: 26px 0 20px;
  }

  .home-hero-content h1 {
    font-size: 30px;
  }

  .home-hero-content p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card img {
    height: 220px;
  }

  .gallery-card-large img {
    height: 220px;
  }

  .home-section {
    padding: 34px 0;
  }

  .catalog-cta-section {
    padding: 0 0 34px;
  }

  .catalog-cta {
    padding: 18px;
    border-radius: 18px;
  }

  .catalog-cta h2 {
    font-size: 24px;
  }

  .filters {
    padding: 14px 12px 0;
    justify-content: stretch;
    flex-wrap: wrap;
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-search-card {
    padding: 16px;
    border-radius: 18px;
    margin-left: 0;
  }

  .catalog-search-input {
    min-height: 56px;
    padding-right: 60px;
  }

  .catalog-search-clear {
    right: 6px;
    width: 44px;
    height: 44px;
  }

  .catalog-tools {
    padding-top: 18px;
  }

  .catalog-tools-bar {
    justify-content: stretch;
    margin-bottom: 10px;
  }

  .catalog-search-fab {
    min-height: 52px;
    padding: 0 16px;
    width: 100%;
    justify-content: center;
  }

  .scroll-top-button {
    right: 12px;
    bottom: 12px;
    width: 48px;
    height: 48px;
  }

  .catalog-search-box,
  .search-suggestions {
    max-width: none;
  }

  .filters button {
    white-space: normal;
    width: 100%;
    min-height: 44px;
    text-align: center;
  }

  .catalog {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 12px 28px;
  }

  .card img {
    height: 240px;
  }

  .card {
    max-width: none;
  }

  .modal {
    padding: 12px;
  }

  .modal-content {
    padding: 16px;
    border-radius: 18px;
  }

  .plant-modal-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .modal-image-shell {
    border-radius: 18px;
  }

  .modal-title {
    font-size: 24px;
  }

  .modal-price {
    font-size: 22px;
  }

  .modal-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    justify-items: center;
  }

  .modal-info-item {
    width: 100%;
    max-width: 180px;
    padding: 12px;
    border-radius: 14px;
    align-items: center;
    text-align: center;
  }

  .modal-info-value {
    line-height: 1.4;
  }

  .page {
    padding: 22px 0 32px;
  }

  .page-card {
    padding: 18px;
    border-radius: 18px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-lead {
    font-size: 15px;
  }

  .content-block h2 {
    font-size: 20px;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-search {
    max-width: none;
  }

  .admin-toolbar-actions {
    width: 100%;
  }

  .admin-toolbar-actions-right {
    width: 100%;
  }

  .admin-list-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .admin-item-thumb {
    max-width: 52px;
    height: 52px;
  }

  .admin-item-actions {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .admin-category-item {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-modal-head {
    align-items: stretch;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 12px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 12px 12px 18px;
  }

  .footer-logo {
    width: 150px;
  }
}
