:root {
  --bg: #f6f4f1;
  --panel: #ffffff;
  --ink: #242424;
  --muted: #6f6f6f;
  --line: #e6e1da;
  --accent: #2f3f2f;
  --accent-soft: #edf1eb;
  --hover-shadow: 0 10px 24px rgba(26, 34, 26, 0.16);
  --hover-shadow-strong: 0 14px 30px rgba(26, 34, 26, 0.2);
  --hover-shadow-press: 0 6px 14px rgba(26, 34, 26, 0.14);
}

h2,
.home-categories h1,
.gallery-tab-title {
  font-family: "Manrope", sans-serif;
  font-size: 20px !important;
  line-height: 1.3;
  text-transform: none !important;
  letter-spacing: normal !important;
}

@media (max-width: 1200px) {
  .blog-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .blog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-card-image-link {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .blog-list {
    grid-template-columns: 1fr;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.seo-h1 {
  margin: 0 0 14px;
  text-align: center;
}

body.menu-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }

:is(
  .home-section h1,
  .home-section h2,
  .title-row h2,
  .delivery-head h2,
  .related-products-block h2,
  .reviews-block h2,
  .product-characteristics h2,
  .blog-card-body h2,
  .blog-article h2,
  .info-page-content h2,
  .product-title-row h2
) {
  font-family: "Manrope", sans-serif;
}

:is(
  .mobile-menu-link,
  .header-contact-link,
  .home-tile,
  .product-card,
  .btn-main,
  button:not(.banner-dot):not(.banner-arrow):not(.product-slider-btn):not(.image-viewer-nav):not(.image-viewer-close),
  .choice-card,
  .choice-btn,
  .product-gallery img,
  .review-images img
) {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    color 220ms ease;
}

@media (hover: hover) {
  :is(
    .mobile-menu-link,
    .header-contact-link,
    .home-tile,
    .btn-main,
    button:not(.banner-dot):not(.banner-arrow):not(.product-slider-btn):not(.image-viewer-nav):not(.image-viewer-close):not(:disabled),
    .choice-card,
    .choice-btn,
    .product-gallery img,
    .review-images img
  ):hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
  }

  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow-strong);
  }
}

:is(
  .mobile-menu-link,
  .home-tile,
  .product-card,
  .btn-main,
  button:not(.banner-dot):not(.banner-arrow):not(.product-slider-btn):not(.image-viewer-nav):not(.image-viewer-close):not(:disabled),
  .choice-card,
  .choice-btn
):active {
  transform: translateY(0);
  box-shadow: var(--hover-shadow-press);
}

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

.header-inner {
  --header-x: 1360px;
  --header-gap-x: 8px;
  max-width: var(--header-x);
  margin: 0 auto;
  padding: 4px 10px 6px;
  display: grid;
  grid-template-columns: repeat(18, minmax(0, 1fr));
  grid-template-areas:
    "logo logo search search search search search search search social social phone phone phone email email email email"
    "main main main main main main main main main main main main main main main cart cart cart";
  align-items: center;
  gap: 4px var(--header-gap-x);
}

.mobile-menu-btn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  grid-area: logo;
  width: 100%;
}

.logo img {
  display: block;
  width: min(96%, 120px);
  max-width: 100%;
  height: auto;
}

.header-main {
  grid-area: main;
  min-width: 0;
  width: 100%;
}

.main-nav {
  width: 100%;
}

.menu-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  align-items: stretch;
}
.menu-item {
  min-width: 0;
  position: relative;
}
.menu-link {
  border: 0;
  border-radius: 8px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
.menu-link-dropdown {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: inherit;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
}
.menu-link-dropdown::after {
  content: "▾";
  margin-left: 6px;
  font-size: 11px;
  line-height: 1;
  color: #5f6b66;
  transition: transform 160ms ease, color 160ms ease;
}
.menu-item-dropdown:hover .menu-link-dropdown::after {
  transform: rotate(180deg);
  color: #2f3f2f;
}
.menu-link:hover,
.menu-link.active {
  color: #2f3f2f;
}
.menu-link:not(.menu-link-dropdown):hover,
.menu-link:not(.menu-link-dropdown).active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.menu-link:hover .menu-link-label,
.menu-link.active .menu-link-label {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}
.menu-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(26, 34, 26, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 120;
}
.menu-item-dropdown:hover .menu-dropdown-list,
.menu-item-dropdown .menu-link-dropdown:focus + .menu-dropdown-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.menu-dropdown-link {
  display: block;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.2;
  color: #2f3f2f;
}
.menu-dropdown-link:hover {
  background: #f6f8f3;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  color: #444;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-contact-icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  color: #5cb85c;
  flex: 0 0 auto;
}
.header-contact-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header-socials-row {
  grid-area: social;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 6px;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #5cb85c;
  border-radius: 999px;
  color: #2f7f31;
  background: #fff;
}

.header-social-link svg {
  width: 14px;
  height: 14px;
  display: block;
}

.header-phone-stack {
  grid-area: phone;
  display: grid;
  gap: 2px;
  justify-items: end;
}

.header-email-stack {
  grid-area: email;
  display: grid;
  gap: 2px;
  justify-items: end;
}

.header-phone-row {
  justify-self: end;
  text-align: right;
}

.header-email-row {
  justify-self: end;
  text-align: right;
}

.header-email-ghost {
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  visibility: hidden;
  user-select: none;
}

.header-orders-hours {
  text-align: right;
  font-size: 10px;
  font-weight: 600;
  color: #5f5f5f;
  line-height: 1.2;
  white-space: nowrap;
  padding-left: 21px;
}

.header-contact-link:hover {
  color: #000;
}

.header-search-row {
  grid-area: search;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search-row input {
  flex: 1 1 auto;
  width: 100%;
  border: 1px solid rgba(92, 184, 92, 0.38);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 14px;
}
.header-catalog-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: center;
}

.btn-main {
  border: 1px solid #5cb85c;
  background: #5cb85c;
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.1;
  cursor: pointer;
}
.btn-outline {
  border: 1px solid #1d1d1d;
  background: #fff;
  color: #1d1d1d;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.1;
  cursor: pointer;
}

.cart-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  line-height: 0;
}

.header-cart-row {
  grid-area: cart;
  width: auto;
  justify-self: end;
}

.page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px;
}

#homeView {
  margin-top: -8px;
}

.home-banner {
  border: 0;
  background: transparent;
  margin-top: 0;
  margin-bottom: 2px;
}

.home-banner + .home-section {
  margin-top: 6px;
}

.banner-slider {
  position: relative;
  aspect-ratio: 16 / 5;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: transparent;
}

#bannerSlides {
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  position: relative;
}

.banner-slide {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 420ms ease, visibility 420ms ease;
  will-change: opacity;
}

.banner-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
}

.banner-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.banner-arrow.prev { left: 12px; }
.banner-arrow.next { right: 12px; }

.banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}

.banner-dot.active {
  background: #2f3f2f;
}

.home-section {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.home-section h2 {
  margin: 0;
  font-size: 28px;
}

.home-tiles {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.home-categories {
  background: transparent;
  border: 0;
  padding: 0;
}

.home-categories .home-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-categories h1,
.home-categories h2 {
  text-align: center;
}

.home-new-section,
.home-hit-section,
.home-reviews-section {
  background: transparent;
  border: 0;
  padding: 0;
}

.home-new-section .title-row,
.home-hit-section .title-row,
.home-reviews-section .title-row {
  justify-content: center;
}

.home-new-section h2,
.home-hit-section h2,
.home-reviews-section h2 {
  text-align: center;
}

.home-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.home-tile img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
  background: #fff;
}

.home-tile-body {
  padding: 10px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.home-benefits .benefits-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-benefits {
  background: transparent;
  border: 0;
  padding: 0;
}

.home-benefits h2 {
  text-align: center;
}

.benefit-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  background: #ffffff;
}

.benefit-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
}

.benefit-icon svg {
  width: 58px;
  height: 58px;
  display: block;
}

.benefit-icon img {
  width: 58px;
  height: 58px;
  display: block;
  object-fit: contain;
}

.benefit-item p {
  margin: 8px 0 0;
  font-size: 13px;
}

.home-about p,
.home-about li {
  color: #444;
  line-height: 1.5;
}

.home-about-text-plain {
  white-space: pre-wrap;
}

.home-about-videos {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-about-videos video {
  width: 100%;
  max-height: 280px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #000;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.breadcrumbs nav {
  display: block;
}

.breadcrumbs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #9aa3ab;
}

.breadcrumbs-list a {
  color: #50626f;
  text-decoration: none;
}

.breadcrumbs-list a:hover {
  color: #2f3f2f;
  text-decoration: underline;
}
.title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}
.title-row h2 { margin: 0; font-size: 32px; }
.title-row-meta-right {
  justify-content: flex-end;
}
.meta { color: var(--muted); font-size: 14px; }
.catalog-meta-bottom {
  margin-top: 8px;
  text-align: center;
}

#catalogView .title-row h2 {
  width: 100%;
  text-align: center;
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(220px, 1.2fr) auto;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  margin-bottom: 12px;
}

.catalog-filter-item {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.catalog-filter-item label {
  font-size: 12px;
  color: #5f6b66;
  font-weight: 700;
}

.catalog-filter-item select,
.catalog-filter-actions button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 6px 8px;
  font-size: 13px;
}

.catalog-filter-price {
  grid-column: span 1;
}

.catalog-price-values {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2f3f2f;
  font-weight: 700;
  font-size: 13px;
}

.catalog-price-ranges {
  position: relative;
  display: grid;
  gap: 6px;
}

.catalog-price-ranges input[type="range"] {
  width: 100%;
}

.catalog-price-ranges.range-dual {
  --range-left: 0%;
  --range-right: 100%;
  --track-size: 4px;
  --thumb-size: 16px;
  position: relative;
  min-height: 28px;
}

.catalog-price-ranges.range-dual::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: var(--track-size);
  background: #d8ded8;
  border-radius: 999px;
  z-index: 1;
  pointer-events: none;
}

.catalog-price-ranges.range-dual::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: var(--range-left);
  right: calc(100% - var(--range-right));
  height: var(--track-size);
  border-radius: 999px;
  background: #2d6f3f;
  z-index: 1;
  pointer-events: none;
}

.catalog-price-ranges.range-dual input[type="range"] {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  z-index: 2;
}

.catalog-price-ranges.range-dual input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--thumb-size);
  height: var(--thumb-size);
  margin-top: calc((var(--track-size) - var(--thumb-size)) / 2);
  border-radius: 50%;
  border: 2px solid #2d6f3f;
  background: #fff;
  box-shadow: 0 0 0 3px #fff, inset 0 0 0 100px #fff;
  cursor: pointer;
  pointer-events: auto;
}

.catalog-price-ranges.range-dual input[type="range"]::-moz-range-thumb {
  width: var(--thumb-size);
  height: var(--thumb-size);
  border-radius: 50%;
  border: 2px solid #2d6f3f;
  background: #fff;
  box-shadow: 0 0 0 3px #fff, inset 0 0 0 100px #fff;
  cursor: pointer;
  pointer-events: auto;
}

.catalog-price-ranges.range-dual input[type="range"]::-webkit-slider-runnable-track {
  height: var(--track-size);
  background: transparent;
}

.catalog-price-ranges.range-dual input[type="range"]::-moz-range-track {
  height: var(--track-size);
  background: transparent;
}

.catalog-filter-actions {
  display: flex;
  align-items: end;
  min-width: 112px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 14px;
  align-items: stretch;
}
.catalog-empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 24px 16px;
}
.catalog-empty-text {
  margin: 0;
  color: #4f5d58;
}
.catalog-empty-reset-btn {
  border: 1px solid #2f8f2f;
  background: #2f8f2f;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
}
.catalog-empty-reset-btn:hover {
  background: #257825;
  border-color: #257825;
}

#homeNewGrid.products-grid,
#homeHitGrid.products-grid {
  display: block;
}

#relatedProductsGrid.products-grid,
.related-products-grid {
  display: block;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card > a {
  display: block;
  background: #fff;
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #fff;
}
.product-card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  width: 100%;
}
.product-name {
  height: 44px;
  font-size: 14px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
  overflow: hidden;
}
.product-badges {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.product-card .product-badges:not(.product-name-badges) {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  min-height: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: nowrap;
  max-width: calc(100% - 20px);
}
.product-name-badges {
  margin-top: 4px;
  min-height: 22px;
}
.product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.product-badge-new {
  background: #e8f8ec;
  color: #2f7f31;
}
.product-badge-hit {
  background: #fff3dc;
  color: #9f6700;
}
.product-badge-discount {
  background: #fff;
  color: #d11f1f;
  border: 1px solid #ffd5d5;
}
.product-price-wrap {
  margin-top: 8px;
  min-height: 34px;
  display: grid;
  justify-content: center;
  gap: 2px;
  font-weight: 800;
}
.product-price-top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
}
.product-price-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.product-price {
  color: #2f8f2f;
  text-align: center;
}
.product-price-old {
  color: #d11f1f;
  text-decoration: line-through;
  text-decoration-color: #d11f1f;
  text-decoration-thickness: 2px;
}
.product-discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d11f1f;
  background: #fff;
  border: 1px solid #ffd5d5;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.product-size {
  margin-top: 6px;
  height: 18px;
  color: #5f6b66;
  font-size: 12px;
  text-align: center;
}
.product-size.empty {
  color: transparent;
}
.product-card button {
  margin-top: auto;
  margin-bottom: 0;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #5cb85c;
  background: #fff;
  color: #2f3f2f;
  font-weight: 700;
  padding: 8px;
  cursor: pointer;
}

.pager {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pager button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
}
.pager-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pager-numbers button {
  min-width: 38px;
  font-weight: 600;
}
.pager-numbers button.active {
  border-color: #5cb85c;
  background: #edf7ed;
  color: #214f21;
}
.pager-dots {
  color: #7b8490;
  font-weight: 700;
  padding: 0 3px;
}

.catalog-description {
  margin-top: 14px;
  color: #4b5563;
  line-height: 1.6;
  font-size: 14px;
}

#galleryDescription {
  white-space: pre-line;
}

.gallery-tabs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-tab-title {
  margin: 0;
}
.gallery-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  cursor: pointer;
}
.gallery-tabs button span {
  display: inline-block;
  margin-left: 6px;
  color: #6b7280;
}
.gallery-tabs button.active {
  border-color: #111;
  background: #111;
  color: #fff;
}
.gallery-tabs button.active span {
  color: #d8d8d8;
}

.gallery-search-row {
  margin-top: 10px;
}

.gallery-search-row input {
  width: min(420px, 100%);
}

.gallery-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.gallery-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery-card-image-wrap {
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 0;
  width: 100%;
  background: #fbfbfb;
  cursor: pointer;
}
.gallery-card-image {
  width: 100%;
  height: 120px;
  object-fit: contain;
  display: block;
}
.gallery-card-image-placeholder {
  height: 120px;
  display: grid;
  place-items: center;
  color: #8b8b8b;
  font-size: 12px;
}
.gallery-card-body {
  padding: 8px;
}
.gallery-card-body h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.not-found-view {
  padding: 24px 0 18px;
}
.not-found-wrap {
  border: 1px solid #0f0f0f;
  border-radius: 14px;
  background: #fff;
  padding: 24px 20px;
  text-align: center;
}
.not-found-code {
  font-size: 52px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
}
.not-found-wrap h1 {
  margin: 8px 0 6px;
  font-size: 30px;
}
.not-found-text {
  margin: 0;
  color: #3d3d3d;
}
.not-found-path {
  margin: 8px 0 0;
  color: #707070;
  font-size: 13px;
}
.not-found-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.not-found-home-btn {
  min-width: 220px;
  padding: 12px 24px;
  font-size: 16px;
}

.not-found-scene {
  width: min(680px, 100%);
  min-height: 260px;
  margin: 18px auto 0;
  position: relative;
  border: 0;
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.not-found-scene-image {
  display: block;
  width: 50%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .not-found-wrap {
    padding: 18px 12px;
  }
  .not-found-code {
    font-size: 40px;
  }
  .not-found-wrap h1 {
    font-size: 24px;
  }
  .not-found-actions {
    flex-direction: column;
    align-items: center;
  }
  .not-found-actions .btn-main,
  .not-found-actions .btn-outline {
    width: min(280px, 100%);
  }
  .not-found-home-btn {
    font-size: 17px;
    padding: 13px 24px;
  }
  .not-found-scene {
    min-height: 180px;
  }
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: start;
}

.product-layout,
#productView .delivery-payment,
#productView .related-products-block {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.product-title-row-full {
  grid-column: 1 / -1;
}

.product-media-col .product-title-row {
  margin-bottom: 10px;
}

.product-media-col .product-description {
  margin-top: 12px;
}

.delivery-payment {
  margin-top: 22px;
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.delivery-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  text-align: center;
}
.delivery-head p {
  margin: 8px 0 0;
  color: #5a6458;
  font-size: 15px;
}
.related-products-block h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
}
.delivery-summary-cards {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.delivery-card,
.pay-card {
  border: 1px solid #dde6db;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  text-align: center;
}
.delivery-card strong,
.pay-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.25;
}
.delivery-card p,
.pay-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4b4f49;
}
.delivery-card p span {
  font-weight: 700;
  color: #2f3f2f;
}
.delivery-pay-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pay-card-accent {
  background: #fff;
  border-color: #dde6db;
}

.related-products-block {
  margin-top: 20px;
}
.related-loading {
  color: var(--muted);
  padding: 8px 0 12px;
}
.product-slider {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 8px;
  align-items: center;
}
.product-slider-window {
  grid-column: 2;
  overflow: hidden;
  min-width: 0;
}
.product-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--slider-visible-items, 5) - 1) * 12px) / var(--slider-visible-items, 5));
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.product-slider-track::-webkit-scrollbar {
  display: none;
}
.product-slide {
  scroll-snap-align: start;
}
.product-slide .product-card {
  height: 100%;
}
.product-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: #222;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.home-new-slider .product-slider-track {
  grid-auto-columns: calc((100% - 48px) / 5);
}

.home-hit-slider .product-slider-track {
  grid-auto-columns: calc((100% - 48px) / 5);
}

.product-card.home-new-card img,
.product-card.home-hit-card img {
  background: #fff;
}

.product-card.home-new-card .product-card-body,
.product-card.home-hit-card .product-card-body {
  text-align: center;
}

.product-card.home-new-card .product-name,
.product-card.home-hit-card .product-name {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-new-cart-btn,
.home-hit-cart-btn {
  border: 1px solid #5cb85c !important;
  background: #fff !important;
  color: #2f3f2f;
  font-weight: 700;
}

.reviews-block {
  margin-top: 20px;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.reviews-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.reviews-meta {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.reviews-list {
  display: grid;
  gap: 8px;
}
.reviews-slider-track {
  grid-auto-columns: calc((100% - 24px) / 3);
}
.review-slide .review-item {
  height: 100%;
}
.review-item {
  border: 1px solid #ece7df;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}
.review-top {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
  text-align: left;
}
.review-top strong {
  text-align: left;
}
.review-rating {
  margin-top: 4px;
  color: #ffc700;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  font-size: 14px;
  text-align: left;
}
.review-item p {
  margin: 8px 0 0;
  line-height: 1.4;
}
.review-text {
  margin: 8px 0 0;
  line-height: 1.4;
  white-space: pre-wrap;
}
.review-text.review-text-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-text-toggle {
  margin-top: 6px;
  margin-bottom: 8px;
  align-self: center;
  border: 0;
  background: transparent;
  color: #2f7f31;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.review-images {
  margin-top: 0;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  max-height: none;
  overflow-x: hidden;
  overflow-y: hidden;
}
.review-images img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}
.review-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-footer {
  margin-top: 0;
  padding-top: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.review-date {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
.review-author {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}
.reviews-empty {
  color: var(--muted);
  padding: 8px 0;
}
.reviews-catalog-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.reviews-catalog-list .review-item {
  height: 100%;
}

.catalog-faq {
  margin-top: 20px;
  border: 1px solid #5cb85c;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  padding: 14px;
}

.catalog-faq-list {
  display: grid;
  gap: 10px;
}

.catalog-faq-item {
  border: 1px solid #5cb85c;
  border-radius: 12px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.catalog-faq-item summary {
  list-style: none;
  position: relative;
  padding: 13px 44px 13px 14px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.35;
}

.catalog-faq-item summary::-webkit-details-marker {
  display: none;
}

.catalog-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: 1px solid #5cb85c;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #766a5d;
  font-size: 14px;
  line-height: 1;
  background: #fff;
}

.catalog-faq-item[open] {
  border-color: #5cb85c;
  box-shadow: 0 8px 20px rgba(24, 24, 24, 0.08);
}

.catalog-faq-item[open] summary::after {
  content: "−";
}

.catalog-faq-answer {
  padding: 0 14px 0;
  color: #374151;
  line-height: 1.55;
  white-space: pre-line;
  border-top: 1px solid #f0ebe4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 280ms ease, opacity 220ms ease, padding 220ms ease;
}

.catalog-faq-item[open] .catalog-faq-answer {
  max-height: 420px;
  opacity: 1;
  padding: 8px 14px 14px;
}

.blog-list {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.blog-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  display: grid;
}
.blog-card-image-link {
  display: block;
  width: 100%;
  height: 220px;
  background: #f7f7f7;
}
.blog-card-image,
.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
}
.blog-card-image {
  display: block;
  object-fit: cover;
}
.blog-card-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}
.blog-card-body {
  padding: 12px;
  display: grid;
  gap: 8px;
}
.blog-card-body h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.3;
}
.blog-card-body h2 a {
  color: inherit;
  text-decoration: none;
}
.blog-card-body h2 a:hover {
  text-decoration: underline;
}
.blog-card-date {
  color: var(--muted);
  font-size: 13px;
}
.blog-card-body p {
  margin: 0;
  color: #2d2d2d;
  line-height: 1.45;
}
.blog-article {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}
.blog-article h2 {
  margin: 0 0 8px;
}
.blog-article-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin: 12px auto 16px;
}
.blog-article-content {
  line-height: 1.65;
  color: #2a2a2a;
}
.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
}
.blog-article-content th,
.blog-article-content td {
  border: 1px solid var(--line);
  padding: 8px;
}
.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-related-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.blog-related-block h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 24px;
}

.blog-related-track {
  grid-auto-columns: calc((100% - 24px) / 3);
}

.blog-related-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
}

.blog-related-image-link {
  display: block;
  width: 100%;
  height: 190px;
  background: #f7f7f7;
}

.blog-related-image,
.blog-related-image-placeholder {
  width: 100%;
  height: 100%;
}

.blog-related-image {
  display: block;
  object-fit: cover;
}

.blog-related-image-placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}

.blog-related-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  height: 100%;
}

.blog-related-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.blog-related-body h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-related-body h3 a:hover {
  text-decoration: underline;
}

.blog-related-read-btn {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.thank-you-view {
  margin-top: 12px;
}

.thank-you-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 24px 18px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.thank-you-badge {
  display: inline-block;
  border: 1px solid #5cb85c;
  background: #edf7ed;
  color: #2f7f31;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 13px;
}

.thank-you-wrap h2 {
  margin: 12px 0 8px;
  font-size: 28px;
}

.thank-you-text {
  margin: 0;
  color: #4b4f49;
  line-height: 1.5;
}

.thank-you-meta {
  margin-top: 14px;
  display: grid;
  gap: 6px;
  font-size: 15px;
}

.thank-you-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.thank-you-actions .btn-main,
.thank-you-actions .btn-outline {
  min-width: 180px;
}

.info-page-section {
  margin-top: 12px;
}
.info-page-content {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
  white-space: pre-line;
  line-height: 1.6;
  color: #2a2a2a;
}
.info-page-content.info-page-content-html {
  white-space: normal;
}
.info-page-content.info-page-content-html h2 {
  margin: 14px 0 8px;
  line-height: 1.25;
}
.info-page-content.info-page-content-html p {
  margin: 8px 0;
}
.info-page-content.info-page-content-html ul {
  margin: 8px 0 10px 20px;
  padding: 0;
}
.info-page-content.info-page-content-html li {
  margin: 4px 0;
}
.info-media-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.info-media-images {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.info-media-image {
  display: block;
  width: 100%;
  padding: 0;
  cursor: pointer;
  border: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #f8f8f8;
}
.info-media-images img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.info-media-videos {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.info-media-videos video {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #000;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.cert-slider {
  margin-top: 12px;
}
.info-page-content.info-page-certificates {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.info-page-content.info-page-certificates .cert-slider {
  background: transparent;
}
.info-page-content.info-page-certificates .product-slider-window {
  min-height: 560px;
}
.cert-slider .product-slider-track {
  grid-auto-columns: calc((100% - 24px) / 3);
  overflow-y: hidden;
  padding-bottom: 0;
  align-items: stretch;
}
.cert-slide {
  height: 100%;
}
.cert-card {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-align: left;
}
.cert-card-media {
  display: block;
  width: 100%;
  aspect-ratio: auto;
  min-height: 520px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}
.cert-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cert-card-title {
  font-size: 13px;
  line-height: 1.35;
  color: #2f2f2f;
}
@media (max-width: 980px) {
  .info-page-content.info-page-certificates .product-slider-window {
    min-height: 460px;
  }
  .cert-slider .product-slider-track {
    grid-auto-columns: calc((100% - 24px) / 3);
  }
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .info-page-content.info-page-certificates .product-slider-window {
    min-height: 380px;
  }
  .cert-slider .product-slider-track {
    grid-auto-columns: calc((100% - 24px) / 3);
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
}
.review-form {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}
.review-form input,
.review-form select,
.review-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font: inherit;
}
.reviews-submit-message {
  margin-top: 10px;
  color: #256029;
  font-weight: 600;
}
.product-main-image {
  width: 100%;
  height: 560px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f7f7;
}
.product-media-main {
  position: relative;
}
.product-media-main .product-photo-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  min-height: 0;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: nowrap;
  max-width: calc(100% - 20px);
}
.product-gallery {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-gallery img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  background: #f5f5f5;
}

.product-info {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.product-info h2 { margin: 0 0 8px; font-size: 28px; }
.product-title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.product-title-row h2 {
  margin: 0;
}
.product-title-badges-only {
  justify-content: flex-start;
}
.product-title-badges {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: auto;
  min-height: 0;
}
.product-description { color: #434343; line-height: 1.5; }
.product-description.collapsed {
  max-height: 220px;
  overflow: hidden;
  position: relative;
}
.product-description.collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
}
.desc-toggle-btn {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
}
.product-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}
.cont-title {
  margin: 14px 0 8px;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 700;
}

.config-group {
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: transparent;
}
.config-group h3 {
  margin: 0 0 6px;
  font-size: 15px;
  text-align: center;
}

.option-grid,
.variant-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.choice-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  min-height: 98px;
}
.choice-card.active {
  border-color: #9bb395;
  background: var(--accent-soft);
}
.choice-card img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  background: #ece9e2;
}

.choice-btn {
  margin-top: 8px;
  border: 1px solid #5cb85c;
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
  width: 100%;
  display: block;
  text-align: center;
  box-shadow: none;
}

.choice-btn strong {
  display: block;
  margin-bottom: 2px;
  text-align: center;
  color: #2f3f2f;
}

.choice-btn span {
  font-size: 14px;
  color: #4f5d58;
  display: block;
  text-align: center;
}

.option-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 140;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.option-modal-panel {
  width: min(1280px, 100%);
  max-height: 96vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f4f4f4;
  border-radius: 2px;
  border: 1px solid var(--line);
  padding: 0;
}

#optionModalBody {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.option-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  border-bottom: 1px solid #ddd;
  padding: 4px 12px;
  background: #f4f4f4;
}

.option-modal-head h3 {
  margin: 0;
  line-height: 1.2;
}

.option-modal-head button {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.option-price-group { padding: 8px 10px; }

.option-price-group h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.modal-tabs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0 0 0 8px;
  border-bottom: 1px solid #ddd;
  background: #ececec;
}

.modal-tabs button {
  border: 0;
  border-top: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  padding: 9px 18px;
  cursor: pointer;
  font-weight: 700;
}

.modal-tabs button.active {
  background: #f4f4f4;
  border-top-color: #e5c18f;
}

.modal-tabs button.is-hard-seat-tab {
  color: #4b5563;
  background: #e5e7eb;
}

.modal-tabs button.is-hard-seat-tab.active {
  color: #111827;
  background: #eef2f7;
  border-top-color: #9ca3af;
}

.option-modal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.option-modal-pager {
  margin-top: 8px;
}

.option-page-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.option-page-list button {
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  background: #f0f0f0;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
}

.option-page-list button.active {
  background: #f3e2c8;
  border-color: #e4c693;
}

.option-modal-grid .choice-card {
  min-height: 0;
  border-radius: 4px;
  padding: 5px;
  background: #fff;
}
.option-modal-grid .choice-card .name {
  margin-top: 4px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  min-height: 30px;
}
.choice-select-btn {
  margin-top: 4px;
  border-radius: 4px;
  background: #f3e2c8;
  border: 1px solid #ecd7b7;
  text-align: center;
  padding: 5px 6px;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.2;
}

.option-modal-grid .choice-card img {
  height: 62px;
}

.product-characteristics {
  margin-top: 16px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.product-characteristics.under-photo {
  margin-top: 0;
}

.product-characteristics h2 {
  margin: 0 0 8px;
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

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

.product-characteristics td {
  border-top: 0;
  padding: 8px 0;
  font-size: 14px;
  vertical-align: top;
}

.text-danger {
  margin-top: 8px;
  color: #bc2626;
  font-size: 13px;
  font-weight: 600;
}
.choice-card .name {
  margin-top: 6px;
  font-size: 12px;
}
.choice-card .price {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 700;
}

.price-box {
  margin-top: 14px;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.price-box .price-old-top {
  margin-bottom: 4px;
  color: #7f878f;
  font-size: 13px;
  font-weight: 600;
}
.price-box .price-old-top span {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: #cf3f3f;
  color: #6c737a;
}
.price-box .price-discount-note {
  margin-top: 4px;
  color: #2f7d32;
  font-size: 12px;
  font-weight: 700;
}
.price-box .total { font-size: 21px; font-weight: 800; }

.buy-row {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.buy-row input {
  width: 90px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

#productQty {
  width: 96px;
  min-width: 96px;
  min-height: 112px;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  text-align: center;
  padding: 0 8px;
  border: 0;
  background: transparent;
}

.qty-price-row {
  margin-top: 8px;
  gap: 12px;
  align-items: stretch;
}

.qty-price-row .price-box {
  margin-top: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-qty-group {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.add-to-cart-large {
  width: 100%;
  display: block;
  box-sizing: border-box;
  min-height: 50px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 14px;
}

.buy-row .add-to-cart-large {
  flex: 1 1 100%;
}

.product-cart-btn,
.home-new-cart-btn,
.home-hit-cart-btn,
.add-to-cart-large {
  border: 1px solid #5cb85c !important;
  background: #5cb85c !important;
  color: #fff !important;
}

@media (hover: hover) {
  .header-cart-row:hover,
  .product-cart-btn:hover,
  .home-new-cart-btn:hover,
  .home-hit-cart-btn:hover,
  .add-to-cart-large:hover {
    background: #2f8f2f;
    border-color: #2f8f2f;
    color: #fff;
  }
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  width: 430px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 30px rgba(0,0,0,.12);
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
}
.hidden { display: none !important; }

.cart-open #jivo-iframe-container,
.cart-open .jivo-iframe-container,
.cart-open #jivo_container,
.cart-open .jivo-container,
.cart-open .jivo-iframe,
.cart-open #jivo_chat_widget,
.cart-open #jivo-chat-widget,
.cart-open #jcont,
.cart-open jdiv#jcont {
  display: none !important;
}

.cart-head {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-head-actions button {
  cursor: pointer;
}
#cartClearBtn {
  border: 1px solid var(--line);
  background: #f7f6f4;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
}
#cartCloseBtn {
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
}
.cart-items { flex: 1; overflow: auto; padding: 12px; }
.cart-item { border-bottom: 1px solid var(--line); padding: 8px 0; font-size: 13px; }
.cart-foot { border-top: 1px solid var(--line); padding: 12px; }
.checkout-form { display: grid; gap: 8px; margin-top: 10px; }
.checkout-form input,
.checkout-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  font: inherit;
}
.checkout-captcha {
  display: grid;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 6px;
}
.checkout-captcha label {
  font-size: 13px;
  color: #4b4f49;
}
.checkout-captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
#checkoutCaptchaReloadBtn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  min-width: 40px;
  padding: 0 10px;
  cursor: pointer;
}
.checkout-captcha.has-error {
  border-color: #bc2626;
  background: #fff5f5;
}
.checkout-captcha.has-error label {
  color: #bc2626;
}
.checkout-form input.has-error {
  border-color: #bc2626;
  box-shadow: 0 0 0 1px rgba(188, 38, 38, 0.15);
}
.checkout-result {
  color: #bc2626;
  font-weight: 600;
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: #faf8f5;
}

.partners-fixed {
  position: fixed;
  left: 12px;
  bottom: 38px;
  top: auto;
  transform: none;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
  z-index: 95;
}

.partners-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease;
}

.partners-fixed.open .partners-list {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.partner-fixed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(47, 63, 47, 0.25);
  background: rgba(255, 255, 255, 0.96);
  color: #2f3f2f;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(26, 34, 26, 0.14);
}

.partner-fixed-btn:hover {
  background: #2f8f2f;
  border-color: #2f8f2f;
  color: #fff;
}

@media (min-width: 1620px) {
  .partners-fixed {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    flex-direction: column;
  }
  .partners-toggle-btn {
    display: none;
  }
  .partners-list {
    max-height: none;
    opacity: 1;
    overflow: visible;
    transform: none;
    pointer-events: auto;
  }
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 38px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(92, 184, 92, 0.7);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #2f3f2f;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 120;
}

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

.footer-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.footer-col h4 {
  margin: 0 0 10px;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 6px 0;
  color: #555;
  font-size: 14px;
}

.footer-icon-row {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.footer-col a.footer-icon-row {
  align-items: center;
}

.footer-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: #5cb85c;
  margin-top: 8px;
}

.footer-col a.footer-icon-row .footer-icon {
  margin-top: 0;
}

.footer-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 12px;
  color: #666;
  font-size: 13px;
}

.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: min(360px, 92vw);
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--line);
  z-index: 170;
  box-shadow: 12px 0 30px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.mobile-menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-logo {
  display: block;
  width: 120px;
  height: auto;
}

.mobile-menu-head button {
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.mobile-menu-root,
.mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 8px;
}

.mobile-menu-root {
  overflow: auto;
  padding-bottom: 14px;
}
.mobile-menu-group-title {
  margin-top: 4px;
  margin-bottom: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5f6b66;
  text-align: center;
}
.mobile-menu-sublist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.mobile-menu-sublink {
  font-size: 14px;
}

.mobile-menu-separator {
  border-top: 1px solid var(--line);
  margin: 6px 10px;
}

.mobile-menu-footer {
  border-top: 1px solid var(--line);
  padding: 10px 12px 14px;
  display: grid;
  gap: 6px;
  background: #fff;
}

.mobile-menu-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.mobile-menu-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #5cb85c;
  border-radius: 999px;
  color: #2f7f31;
  background: #fff;
}

.mobile-menu-social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

.mobile-menu-footer a {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  text-align: center;
}

.mobile-menu-link {
  display: block;
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
}

.mobile-menu-link:hover {
  background: #f4f7f1;
}

.mobile-parent-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.mobile-parent-row .mobile-menu-link {
  flex: 1;
}

.mobile-subtoggle {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.mobile-submenu.hidden {
  display: none;
}

.image-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-viewer img {
  max-width: min(1200px, 90vw);
  max-height: 88vh;
  object-fit: contain;
}

.image-viewer-close {
  position: absolute;
  top: 10px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

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

.image-viewer-nav.prev { left: 14px; }
.image-viewer-nav.next { right: 14px; }

@media (max-width: 1200px) and (min-width: 981px) {
  .header-inner {
    grid-template-areas:
      "search search search search search search search social social phone phone phone phone email email email email email"
      "main main main main main main main main main main main main main main main cart cart cart";
  }
  .header-search-row {
    width: 100%;
    justify-self: start;
  }
  .logo { display: none; }
  .back-to-top {
    bottom: 98px;
  }
}

@media (max-width: 980px) {
  .partners-fixed {
    bottom: 32px;
  }
  .catalog-filters {
    grid-template-columns: 1fr;
  }
  .catalog-filter-price {
    grid-column: span 1;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "email social burger"
      "phone phone cart"
      "search search search";
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
  }
  .mobile-menu-btn { grid-area: burger; }
  .logo { display: none; }
  .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .header-main { display: none; }
  .header-socials-row {
    display: none;
  }
  .header-email-row {
    display: block;
    justify-self: start;
    text-align: left;
  }
  .header-email-stack {
    justify-items: start;
    grid-area: email;
  }
  .header-email-ghost {
    display: none;
  }
  .header-phone-row {
    display: block;
    justify-self: start;
    text-align: left;
  }
  .header-phone-stack {
    justify-items: start;
    grid-area: phone;
  }
  .header-contact-link {
    font-size: 13px;
    overflow: visible;
    text-overflow: clip;
  }
  .header-orders-hours {
    text-align: left;
    font-size: 10px;
    color: transparent;
    position: relative;
    padding-left: 0;
  }
  .header-orders-hours::after {
    content: attr(data-short);
    color: #5f5f5f;
    display: block;
    text-align: left;
  }
  .mobile-menu-btn,
  .header-cart-row { justify-self: end; }
  .header-cart-row { grid-area: cart; width: auto; }
  .product-layout { grid-template-columns: 1fr; }
  .delivery-payment h2,
  .related-products-block h2,
  .reviews-block h2 {
    font-size: 24px;
  }
  .product-title-row {
    align-items: flex-start;
  }
  .product-title-badges {
    width: auto;
  }
  .delivery-summary-cards {
    grid-template-columns: 1fr;
  }
  .product-characteristics {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .delivery-pay-grid {
    grid-template-columns: 1fr;
  }
  .product-slider {
    grid-template-columns: 1fr;
  }
  .product-slider-window {
    grid-column: 1;
  }
  .product-slider-btn {
    display: none;
  }
  .reviews-slider {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
    column-gap: 8px;
  }
  .reviews-slider .product-slider-window {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .reviews-slider .product-slider-btn {
    display: block;
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(92, 184, 92, 0.6);
    background: #fff;
    color: #2f3f2f;
    font-size: 24px;
    line-height: 1;
  }
  .reviews-slider .product-slider-btn.prev {
    grid-column: 1;
    grid-row: 2;
  }
  .reviews-slider .product-slider-btn.next {
    grid-column: 2;
    grid-row: 2;
  }
  .home-new-slider,
  .home-hit-slider {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
    column-gap: 8px;
  }
  .home-new-slider .product-slider-window,
  .home-hit-slider .product-slider-window {
    grid-column: 1 / 3;
    grid-row: 1;
  }
  .home-new-slider .product-slider-btn,
  .home-hit-slider .product-slider-btn {
    display: block;
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(92, 184, 92, 0.6);
    background: #fff;
    color: #2f3f2f;
    font-size: 24px;
    line-height: 1;
  }
  .home-new-slider .product-slider-btn.prev,
  .home-hit-slider .product-slider-btn.prev {
    grid-column: 1;
    grid-row: 2;
  }
  .home-new-slider .product-slider-btn.next,
  .home-hit-slider .product-slider-btn.next {
    grid-column: 2;
    grid-row: 2;
  }
  .product-slider-track {
    grid-auto-columns: calc((100% - 12px) / 2);
  }
  #relatedProductsTrack.product-slider-track,
  #viewedProductsTrack.product-slider-track {
    grid-auto-columns: 100%;
  }
  .home-new-slider .product-slider-track {
    grid-auto-columns: calc((100% - 12px) / 2);
  }
  .home-hit-slider .product-slider-track {
    grid-auto-columns: calc((100% - 12px) / 2);
  }
  .home-new-slider .product-slider-track,
  .home-hit-slider .product-slider-track,
  .reviews-slider .reviews-slider-track {
    grid-auto-columns: 100%;
  }
  .blog-related-track {
    grid-auto-columns: 100%;
  }
  .reviews-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-tile img { height: 150px; }
  .home-categories .home-tiles {
    grid-template-columns: 1fr;
  }
  .home-benefits .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-about-videos {
    grid-template-columns: 1fr;
  }
  .banner-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 8px;
    row-gap: 8px;
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
  }
  #bannerSlides {
    grid-row: 1;
    grid-column: 1 / 3;
    aspect-ratio: 4 / 4;
    min-height: 180px;
    border-radius: 12px;
    overflow: hidden;
  }
  .banner-dots {
    position: static;
    grid-row: 2;
    grid-column: 1 / 3;
  }
  .banner-arrow {
    position: static;
    transform: none;
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(92, 184, 92, 0.6);
    background: #fff;
    color: #2f3f2f;
    font-size: 24px;
    line-height: 1;
  }
  .banner-arrow.prev {
    grid-row: 3;
    grid-column: 1;
    left: auto;
  }
  .banner-arrow.next {
    grid-row: 3;
    grid-column: 2;
    right: auto;
  }
  .home-section h2 { font-size: 24px; }
  .product-main-image { height: 320px; }
  .product-characteristics td {
    display: table-cell;
  }
  .product-characteristics td:first-child {
    white-space: nowrap;
    padding-right: 10px;
  }
  .option-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .back-to-top {
    right: 12px;
    bottom: 92px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    font-size: 20px;
  }
  #mobileMenuCloseBtn,
  #cartCloseBtn,
  #optionModalCloseBtn,
  #imageViewerCloseBtn,
  #imageViewerPrevBtn,
  #imageViewerNextBtn,
  #checkoutCaptchaReloadBtn {
    min-width: 44px;
    min-height: 44px;
  }
  .footer-icon {
    margin-top: 6px;
  }
}
