:root {
  --color-brand: #2f7d32;
  --color-text: #222;
  --color-bg: #fff;
  --color-muted: #666;
  --max-width: 1180px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--color-text);
  background: var(--color-bg) url('/images/body-bg.png') repeat;
  line-height: 1.5;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 0;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

a {
  color: inherit;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

/* Top notice banner */
.top-notice {
  background: linear-gradient(90deg, #b45309, #d97706);
  color: #fff;
}
.top-notice__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.55rem 2.5rem 0.55rem 1rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}
.top-notice__inner svg {
  flex-shrink: 0;
}
.top-notice__inner p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}
#top-notice-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.85;
}
#top-notice-close:hover {
  opacity: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(
    0deg,
    hsl(0deg 0% 72%) 0%,
    hsl(344deg 0% 75%) 21%,
    hsl(344deg 0% 78%) 30%,
    hsl(344deg 0% 81%) 39%,
    hsl(344deg 0% 84%) 46%,
    hsl(344deg 0% 87%) 54%,
    hsl(344deg 0% 91%) 61%,
    hsl(344deg 0% 94%) 69%,
    hsl(344deg 0% 97%) 79%,
    hsl(0deg 0% 100%) 100%
  );
  box-shadow: 0px 5px 14px 0px rgba(0, 0, 0, 0.75);
}
.site-header__inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  display: block;
  height: 44px;
  width: auto;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
  transition: color 0.15s ease;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--color-brand);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--color-brand);
  background: #f2f7f2;
  text-decoration: none;
  transition: background 0.15s ease;
  position: relative;
}
.icon-btn:hover {
  background: #e3efe3;
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f5a623;
  color: #fff;
  font-size: 0.7rem;
  line-height: 18px;
  text-align: center;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-active span:nth-child(2) {
  opacity: 0;
}
.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.is-open {
    max-height: 480px;
    overflow-y: auto;
  }
  .site-nav ul {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
  }
  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
  }
  .burger {
    display: flex;
  }
}


/* Footer */
.site-footer {
  flex-shrink: 0;
  background: #004c1f;
  color: #fff;
  font-size: 0.9rem;
}
.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.site-footer__legal a {
  text-decoration: underline;
  color: #fff;
}
.site-footer__payments {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.payment-badge--dark {
  background: #1a1f71;
}
.site-footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.site-footer__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
}
.site-footer__contacts a:hover {
  text-decoration: underline;
}
.site-footer__bottom {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer__contacts {
    align-items: center;
  }
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}
.product-card__image {
  display: block;
  position: relative;
  background: #f7f9f7;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.product-card__image img {
  width: 100%;
  height: auto;
  display: block;
}
.product-card__badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #f5a623;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.product-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.product-card__title a {
  text-decoration: none;
}
.product-card__price {
  font-weight: bold;
  color: var(--color-brand);
  font-size: 1.1rem;
}
.product-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
  padding: 0.6rem 1.25rem;
  background: var(--color-brand);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.product-card__buy:hover {
  background: #26652a;
}
.product-card__buy:disabled {
  opacity: 0.7;
  cursor: default;
}

/* Generic content sections */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 0;
}
.hero__content h1 {
  font-size: 45px;
  line-height: 1.25;
  margin: 0 0 1rem;
}
.hero__accent {
  color: var(--color-brand);
}
.hero__content p {
  color: var(--color-muted);
  font-size: 25px;
}

.hero__slider {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero__slide.is-active {
  opacity: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
.hero__arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}
.hero__arrow--prev {
  left: 0.75rem;
}
.hero__arrow--next {
  right: 0.75rem;
}
.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 0;
}
.hero__dot.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .hero__content h1 {
    font-size: 28px;
  }
  .hero__content p {
    font-size: 18px;
  }
  .hero__slider {
    aspect-ratio: 1 / 1;
  }
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 1rem 0;
}

/* FAQ accordion */
.accordion-item {
  border-bottom: 1px solid #eee;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
}
.accordion-icon {
  flex-shrink: 0;
  color: var(--color-brand);
  transition: transform 0.25s ease;
}
.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel p {
  margin: 0 0 1.1rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* Reviews */
.reviews-slider {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 3rem;
}
.reviews-slider__track {
  min-height: 140px;
}
.review-slide {
  display: none;
  text-align: center;
}
.review-slide.is-active {
  display: block;
}
.review-slide__quote {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.review-slide__author {
  font-weight: 700;
  color: var(--color-brand);
  margin: 0;
}
.review-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.review-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}
.review-arrow--prev {
  left: 0;
}
.review-arrow--next {
  right: 0;
}
.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.25);
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.review-dot.is-active {
  background: var(--color-brand);
  border-color: var(--color-brand);
}
.reviews-section__cta {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .reviews-slider {
    padding: 0 2.5rem;
  }
  .review-arrow {
    width: 34px;
    height: 34px;
  }
}

/* Feedback modal */
.feedback-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 200;
}
.feedback-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.feedback-modal {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}
.feedback-modal h2 {
  margin: 0 0 1.25rem;
}
.feedback-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
}
.feedback-modal__close:hover {
  color: var(--color-text);
}
#feedback-form {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
#feedback-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}
#feedback-form input,
#feedback-form textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font: inherit;
  resize: vertical;
}
#feedback-form button {
  margin-top: 1.25rem;
  align-self: center;
}

/* Sections */
.section {
  padding: 3rem 0;
}
.section + .section,
.features-section + .section {
  border-top: 1px solid #eee;
}
.section-title {
  text-align: center;
  font-size: 1.75rem;
  margin: 0 0 2rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.6rem auto 0;
  background: var(--color-brand);
  border-radius: 2px;
}

/* Static content pages */
.page-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #004c1f, #157a3e);
  color: #fff;
  text-align: center;
}
.page-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-hero h1 {
  margin: 0;
  font-size: 2rem;
}
.page-hero p {
  margin: 0.6rem 0 0;
  opacity: 0.9;
}

.page-content {
  max-width: 760px;
  margin: 0 auto 2rem;
}
.page-content p {
  line-height: 1.75;
  margin: 0 0 1.1rem;
}
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 1.5rem auto;
}

.about-grid {
  max-width: none;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about-grid img {
  margin: 0;
}
@media (max-width: 760px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}
.checklist li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.7rem 1.25rem;
  background: #f2f7f2;
  border-radius: 8px;
  color: var(--color-brand);
  font-weight: 600;
  text-decoration: none;
}
.doc-link:hover {
  background: #e3efe3;
}

.features-section {
  padding: 3rem 0;
  margin: 0 0 1rem;
  background: #fafafa;
  border-radius: 16px;
}

.delivery-banner {
  position: relative;
  margin: 2.5rem 0;
  padding: 3.5rem 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  background: #0d1f14 url('/images/earth-map.jpg') center / cover no-repeat;
  text-align: center;
  isolation: isolate;
}
.delivery-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 12, 0.78);
  z-index: -1;
}
.delivery-banner p {
  max-width: 640px;
  margin: 0 auto;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
}

.feature {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.feature__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #f2f7f2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.feature p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
}

/* Product detail page */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.product-detail__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
}
.product-detail__gallery img:first-child {
  width: 100%;
  border-radius: 8px;
}
.volume-discounts {
  list-style: none;
  padding: 0;
  color: var(--color-muted);
}
.product-detail__buy-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.product-detail__buy-row .js-qty {
  width: 4.5rem;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.product-detail__description {
  margin-top: 2rem;
}

/* Cart page */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.cart-table th,
.cart-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.cart-table__product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cart-table__product img {
  border-radius: 4px;
}
.js-cart-qty {
  width: 4rem;
  padding: 0.4rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.js-cart-remove {
  border: none;
  background: transparent;
  color: var(--color-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}
.js-cart-remove:hover {
  color: #c0392b;
}
.cart-summary {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cart-summary__total {
  font-size: 1.2rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

