/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #3b3f44;
  background: #f4f5f0;
}
a { color: #5a8a5e; text-decoration: none; transition: color .2s; }
a:hover { color: #3d6b40; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === HEADER === */
.header {
  background: #3d5a3e;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav a {
  color: rgba(255,255,255,.8);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
}
.nav a:hover, .nav a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.burger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, #4a6e4d 0%, #6b8f6e 50%, #8a9a6d 100%);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; text-shadow: 0 1px 3px rgba(0,0,0,.15); }
.hero p { font-size: 1.15rem; max-width: 700px; margin: 0 auto 30px; opacity: .9; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2.5rem; font-weight: 800; display: block; }
.hero-stat .label { font-size: .9rem; opacity: .8; }

/* === SECTION === */
.section { padding: 50px 0; }
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3d5a3e;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #8aab8d;
  display: inline-block;
}

/* === CARDS GRID === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
}
.card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: #e9ece5;
  overflow: hidden;
  color: #6b8f6e;
}
.card-img:has(i) {
  background: linear-gradient(135deg, #4a6e4d 0%, #6b8f6e 50%, #8a9a6d 100%);
  color: rgba(255,255,255,.85);
}
.card-img i {
  transition: transform .3s;
}
.card:hover .card-img i {
  transform: scale(1.15);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.card:hover .card-img img {
  transform: scale(1.05);
}
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: #3d5a3e; }
.card-body p { font-size: .9rem; color: #6b7280; flex: 1; margin-bottom: 12px; }
.card-tag {
  display: inline-block;
  background: #e9ece5;
  color: #5a8a5e;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 4px;
}
.card-link {
  display: inline-block;
  background: #5a8a5e;
  color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
  transition: background .2s;
  margin-top: auto;
}
.card-link:hover { background: #4a7350; color: #fff; }

/* === PRODUCT CARD === */
.product-page { padding: 40px 0; }
.product-header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 30px;
}
.product-img-wrap {
  width: 350px;
  min-width: 350px;
  height: 350px;
  background: #e9ece5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-info { flex: 1; }
.product-info h1 { font-size: 1.8rem; font-weight: 800; color: #3d5a3e; margin-bottom: 16px; }
.product-info .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #b55a4a;
  margin-bottom: 20px;
}
.product-info .btn-buy {
  display: inline-block;
  background: #b55a4a;
  color: #fff;
  padding: 12px 40px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.product-info .btn-buy:hover { background: #9a4839; color: #fff; }

/* === CHARS TABLE === */
.chars-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.chars-table tr:nth-child(even) { background: #f7f8f5; }
.chars-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #e4e6e0;
  font-size: .95rem;
}
.chars-table td:first-child { font-weight: 600; color: #3d5a3e; width: 220px; }

/* === DESCRIPTION === */
.description { margin: 30px 0; }
.description h2 { font-size: 1.3rem; color: #3d5a3e; margin-bottom: 12px; }
.description p { margin-bottom: 14px; color: #4a4f55; }
.description ul { margin: 10px 0 14px 20px; list-style: disc; }
.description li { margin-bottom: 6px; color: #555a60; }

/* === SEO TEXT === */
.seo-text {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.seo-text h2 { font-size: 1.3rem; color: #3d5a3e; margin-bottom: 16px; }
.seo-text p { margin-bottom: 12px; color: #555a60; }
.seo-text ul { margin: 10px 0 14px 20px; list-style: disc; }
.seo-text li { margin-bottom: 6px; }

/* === BREADCRUMBS === */
.breadcrumbs {
  padding: 16px 0;
  font-size: .85rem;
  color: #999;
}
.breadcrumbs a { color: #5a8a5e; }
.breadcrumbs span { margin: 0 6px; color: #ccc; }

/* === FOOTER === */
.footer {
  background: #2c2f33;
  color: rgba(255,255,255,.6);
  padding: 40px 0 20px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer h4 { color: rgba(255,255,255,.85); margin-bottom: 14px; font-size: 1rem; }
.footer a { color: rgba(255,255,255,.5); font-size: .9rem; display: block; padding: 3px 0; }
.footer a:hover { color: #8aab8d; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
  text-align: center;
  font-size: .85rem;
}

/* === PRODUCERS LIST === */
.producers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.producer-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.producer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.producer-card h3 { font-size: 1.05rem; color: #3d5a3e; margin-bottom: 8px; }
.producer-card p { font-size: .85rem; color: #7a7f85; margin-bottom: 12px; }

/* === PAGE CONTENT === */
.page-content {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  margin: 30px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.page-content h1 { color: #3d5a3e; margin-bottom: 20px; }
.page-content h2 { color: #5a8a5e; margin: 24px 0 12px; font-size: 1.2rem; }
.page-content p { margin-bottom: 12px; }
.page-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.page-content li { margin-bottom: 6px; }
.page-content strong { color: #3d5a3e; }

/* === SEARCH === */
.search-box {
  display: flex;
  max-width: 500px;
  margin: 0 auto 30px;
}
.search-box input {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid #dde0d8;
  border-radius: 10px 0 0 10px;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}
.search-box input:focus { border-color: #8aab8d; }
.search-box button {
  background: #5a8a5e;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.search-box button:hover { background: #4a7350; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #3d5a3e; padding: 20px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 16px; }
  .burger { display: block; }
  .hero h1 { font-size: 1.6rem; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.8rem; }
  .product-header { flex-direction: column; }
  .product-img-wrap { width: 100%; min-width: auto; height: 250px; }
  .cards-grid { grid-template-columns: 1fr; }
  .page-content { padding: 20px; }
}
