:root {
  --brand-primary: #2F5A2E;
  --brand-accent: #E7EBB9;
  --neutral-dark: #4D5138;
  --neutral-medium: #608B56;
  --neutral-light: #9DC08B;
  --bg-surface: #EDF1D6;
  --white: #FFFFFF;
  --page-cover-overlay-opacity: 0.56;
  --header-height: 82px;
}

html,
body {
  background: var(--bg-surface);
  color: var(--neutral-dark);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.top-header {
  background: transparent;
  border-bottom: 1px solid rgba(157, 192, 139, 0.45);
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
  margin: 0 !important;
  transition: background-color .25s ease, box-shadow .25s ease;
}

.top-header.is-scrolled {
  background: var(--brand-primary);
  box-shadow: 0 6px 18px rgba(17, 34, 16, 0.18);
}

.page-top-cover {
  position: relative;
  height: 300px;
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(157, 192, 139, 0.45);
}

.page-top-cover-bg,
.page-top-cover-overlay {
  position: absolute;
  inset: 0;
}

.page-top-cover-bg {
  background-image: url('https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.03) brightness(0.78);
  transform: scale(1.04);
}

.page-top-cover-overlay {
  background: rgba(47, 90, 46, 0.55);
}

.page-top-cover-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  padding: 112px 1rem 1.4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.page-top-cover-kicker {
  margin: 0 0 .35rem;
  color: #cde390;
  font-size: 0.82rem;
  letter-spacing: .08em;
  font-weight: 800;
}

.page-top-cover-title {
  margin: 0;
  color: #f3f8dd;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.1;
  font-weight: 700;
}

.page-top-cover-breadcrumb {
  margin: 0;
  color: #e7efcb;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: right;
  letter-spacing: .01em;
}

.page-top-cover-breadcrumb a {
  color: #f2f8dc;
  text-decoration: none;
}

.page-top-cover-breadcrumb a:hover {
  text-decoration: underline;
}

.top-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 56px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-sizing: border-box;
}

body.has-hero .hero,
body.no-hero .page-top-cover {
  margin-top: 0 !important;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--brand-accent);
  font-weight: 800;
  font-size: 16px;
}

.brand-wrap img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 6px 14px rgba(37, 58, 34, 0.14);
}

.top-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-menu a {
  color: #eef6d2;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 0.25rem 0.4rem;
  border-radius: 8px;
  transition: all .2s ease;
  line-height: 1.2;
  display: inline-block;
}

.top-menu a:hover {
  background: rgba(227, 240, 90, 0.16);
  color: var(--brand-accent);
}

.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(157, 192, 139, 0.4);
}

.hero-slides-wrap {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-video-wrap,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-wrap {
  overflow: hidden;
  background-image: url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(47, 90, 46, 0.78) 0%,
    rgba(47, 90, 46, 0.62) 50%,
    rgba(47, 90, 46, 0.46) 100%
  );
}

.hero-content {
  position: absolute;
  z-index: 2;
  max-width: 940px;
  width: calc(100% - 2.5rem);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--white);
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 42px));
  box-sizing: border-box;
}

.hero-kicker {
  display: inline-flex;
  background: rgba(227, 240, 90, 0.18);
  border: 1px solid rgba(227, 240, 90, 0.45);
  color: #f4f9cc;
  font-size: .78rem;
  border-radius: 999px;
  padding: .35rem .75rem;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-title {
  margin: 0;
  color: var(--brand-accent);
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.1;
  font-weight: 700;
}

.hero-subtitle {
  margin: 1rem auto 0;
  color: #f2f7df;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  max-width: 760px;
}

.hero-actions {
  margin-top: 1.65rem;
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: all .2s ease;
}

.hero-dot.active {
  width: 22px;
  background: var(--brand-accent);
  border-color: var(--brand-accent);
}

.btn-primary-site {
  background: var(--brand-accent);
  color: var(--brand-primary);
}

.btn-primary-site:hover {
  background: #eef87d;
}

.btn-ghost-site {
  background: rgba(255, 255, 255, .12);
  color: #f3f8d7;
  border: 1px solid rgba(255,255,255,.45);
}

.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}

.section-title {
  color: var(--brand-primary);
  font-size: 1.9rem;
  font-weight: 800;
}

.catalog-head-card {
  background: #fff;
  border: 1px solid rgba(157, 192, 139, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(37, 58, 34, 0.08);
  padding: 1.2rem 1.2rem 1rem;
}

.catalog-filters {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1.3fr 1fr 1fr auto;
}

.catalog-filters input,
.catalog-filters select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c8d8b0;
  border-radius: 10px;
  background: #fff;
  color: #2f3a2a;
  padding: 0.65rem 0.75rem;
  outline: none;
}

.catalog-filters input:focus,
.catalog-filters select:focus {
  border-color: #8db26e;
  box-shadow: 0 0 0 2px rgba(141, 178, 110, 0.15);
}

.product-catalog-meta {
  margin-top: auto;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.product-card {
  background: #fff;
  border: 1px solid rgba(157, 192, 139, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(37, 58, 34, 0.08);
  overflow: visible;
  padding: 0.65rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  background: #f4f7ea;
  display: block;
  border-radius: 8px;
  transition: transform .3s ease;
}

.product-card .p-4 {
  padding: 0.8rem 0.35rem 0.25rem 0.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .p-4 h3 {
  min-height: 3.8rem;
}

.product-card .p-4 p:last-child {
  margin-top: auto;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(37, 58, 34, 0.14);
  border-color: rgba(96, 139, 86, 0.6);
}

.product-card:hover img {
  transform: scale(1.03);
}

.product-details-wrap {
  padding-top: 2rem;
}

.product-back-link {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: none;
}

.product-back-link:hover {
  text-decoration: underline;
}

.product-details-card {
  background: #fff;
  border: 1px solid rgba(157, 192, 139, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(37, 58, 34, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1rem;
}

.product-gallery-col {
  min-width: 0;
}

.product-main-image-wrap {
  background: #f5f8e8;
  border: 1px solid #d7e4b6;
  border-radius: 12px;
  padding: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-main-image-button {
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
}

.product-main-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  background: #f4f7ea;
  border-radius: 9px;
  display: block;
  margin: 0 auto;
}

.product-main-video {
  width: 100%;
  max-height: 76vh;
}

.product-thumbs-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.product-thumb-btn {
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
}

.product-thumb-btn img,
.product-thumb-btn video {
  width: 100%;
  height: 76px;
  object-fit: cover;
  display: block;
}

.product-thumb-btn {
  position: relative;
}

.product-thumb-video-badge {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.08rem 0.38rem;
  background: rgba(47, 90, 46, 0.86);
  color: #f3f8dd;
  font-size: 0.68rem;
  font-weight: 800;
}

.product-thumb-btn.active {
  border-color: var(--neutral-medium);
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 12, 0.86);
  padding: 2.4rem 1.2rem;
}

.product-lightbox.open {
  display: flex;
}

.product-lightbox img,
.product-lightbox-video {
  max-width: min(92vw, 1200px);
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.42);
  background: #f7f9ef;
}

.product-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.product-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.product-lightbox-nav.prev { left: 14px; }
.product-lightbox-nav.next { right: 14px; }

.product-lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background: rgba(0,0,0,.35);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.product-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.3rem 0.4rem;
}

.product-tabs-section {
  margin-top: 1.35rem;
  background: #fff;
  border: 1px solid rgba(157, 192, 139, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(37, 58, 34, 0.08);
  overflow: hidden;
}

.product-tabs-nav {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #e1ebcc;
  background: #f6faea;
}

.product-tab-btn {
  border: 1px solid #d4e5b4;
  background: #fff;
  color: #3f5538;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: .79rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
}

.product-tab-btn.active {
  border-color: #6f9553;
  color: #224520;
  background: #eaf5d2;
}

.product-tab-panel {
  display: none;
  padding: 1rem 1.1rem 1.2rem;
  color: #334531;
  white-space: normal;
  line-height: 1.7;
}

.product-tab-panel.active {
  display: block;
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.product-spec-table th,
.product-spec-table td {
  padding: 0.65rem 0.35rem;
  border-bottom: 1px solid #e3ead4;
  text-align: left;
}

.product-spec-table th {
  width: 32%;
  font-weight: 700;
  color: #354a31;
}

.product-spec-table td {
  color: #4a5b46;
}

.product-spec-extra {
  margin-top: 0.9rem;
  color: #42553d;
}

.product-care-title {
  margin: 0 0 0.6rem;
  color: #2f432a;
  font-size: 1.2rem;
  font-weight: 700;
}

.product-care-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
}

.product-title-site {
  margin: 0;
  color: var(--brand-primary);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 800;
}

.product-meta-site {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #234522;
  background: #e9f4cf;
  border: 1px solid #d3e7ad;
}

.product-desc-site {
  margin-top: 1rem;
  color: #344531;
  font-size: 1.03rem;
  line-height: 1.45;
  min-height: calc(1.45em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-similar-wrap {
  margin-top: 1.05rem;
  padding: 0.6rem;
  border: 1px solid rgba(77, 81, 56, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.34);
}

.product-similar-title {
  margin: 0 0 0.45rem;
  color: #2f432a;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.product-similar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
}

.product-similar-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(47, 90, 46, 0.28);
  background: #f3f7e7;
  padding: 0.32rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-similar-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 58, 34, 0.14);
  border-color: var(--brand-primary);
}

.product-similar-item img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(47, 90, 46, 0.2);
}

.product-price-site {
  margin: 1rem 0 0.35rem;
  color: #1f5a2b;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 900;
}

.site-footer {
  margin-top: 2rem;
  background: var(--brand-primary);
  color: var(--bg-surface);
  border-top: 3px solid #244723;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 2rem;
}

.footer-brand {
  display: inline-block;
  color: var(--brand-accent);
  font-weight: 800;
  letter-spacing: 1.2px;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--brand-accent);
}

.footer-col p {
  margin: 0;
  color: #eaf2c9;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
  color: #eef6d2;
  font-weight: 600;
}

.footer-copy {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem 1.2rem;
  font-size: 0.86rem;
  color: #c8d7a4;
}

@media (max-width: 900px) {
  .top-menu {
    gap: .4rem;
  }
  .top-menu a {
    font-size: 13px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .top-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: .45rem 1rem .7rem;
  }
  .top-menu {
    flex-wrap: wrap;
  }
  .hero {
    min-height: 62vh;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .product-details-card {
    grid-template-columns: 1fr;
  }

  .product-main-image {
    height: 300px;
  }

  .product-thumbs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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