:root {
  --primary-color: #5A9F77;
  --secondary-color: #3D7A5A;
  --accent-color: #2A5C40;
  --light-color: #EAF4EE;
  --dark-color: #1D2A24;
  --gradient-primary: linear-gradient(135deg, #5A9F77 0%, #3D7A5A 100%);
  --hover-color: #357A58;
  --background-color: #F4FAF6;
  --text-color: #2E3E35;
  --border-color: rgba(90, 159, 119, 0.18);
  --divider-color: rgba(90, 159, 119, 0.09);
  --shadow-color: rgba(29, 42, 36, 0.09);
  --highlight-color: #F2D57F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  background-color: var(--background-color);
}

.pattern-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background-image: repeating-linear-gradient(
    120deg,
    rgba(90,159,119,0.05) 0px,
    rgba(90,159,119,0.05) 1px,
    transparent 1px,
    transparent 38px
  ),
  repeating-linear-gradient(
    60deg,
    rgba(90,159,119,0.03) 0px,
    rgba(90,159,119,0.03) 1px,
    transparent 1px,
    transparent 38px
  );
}

header {
  background: var(--dark-color);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.header-deco {
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 100%;
  display: none;
  pointer-events: none;
}

.header-deco::before {
  content: '';
  position: absolute;
  top: -20px; right: 40px;
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 1px solid rgba(90,159,119,0.2);
}

.header-deco::after {
  content: '';
  position: absolute;
  bottom: -15px; right: 100px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(242,213,127,0.08);
  border: 1px solid rgba(242,213,127,0.12);
}

@media (min-width: 768px) { .header-deco { display: block; } }

.container {
  max-width: 1150px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) { .container { padding: 0 1.5rem; } }

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 2px;
  width: fit-content;
}

.logo-icon {
  width: 32px; height: 32px;
  background: var(--highlight-color);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

main {
  flex: 1;
  padding: 1.8rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section { grid-template-columns: 42% 58%; }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-image-container {
  display: flex;
  justify-content: center;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 12px var(--shadow-color);
  overflow: hidden;
}

.product-image-container picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.product-image {
  width: 60%;
  padding: 18px;
  height: auto;
  transition: transform 0.3s ease;
}

.product-image:hover { transform: scale(1.02); }

.guarantee-block {
  background: white;
  border-left: 3px solid var(--secondary-color);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  box-shadow: 0 2px 7px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.guarantee-block p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-color);
}

.features-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  padding: 0.6rem 0.2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px var(--shadow-color);
  border-top: 2px solid var(--primary-color);
  transition: transform 0.3s ease;
}

.feature-item:hover { transform: translateY(-2px); }

.feature-icon {
  width: 34px; height: 34px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.feature-item span {
  font-size: 0.62rem;
  font-weight: 600;
  font-family: var(--main-font);
  color: var(--text-color);
  letter-spacing: 0.2px;
}

.cart-button {
  background: var(--gradient-primary);
  color: white;
  padding: 0.8rem 1.4rem;
  border: none;
  border-radius: 8px;
  font-size: 0.87rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 3px 8px var(--shadow-color);
  font-family: var(--main-font);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cart-button:hover { opacity: 0.87; transform: translateY(-1px); }

.product-right h1 {
  font-family: var(--main-font);
  font-size: 1.6rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.84rem;
  margin-bottom: 0.9rem;
  line-height: 1.7;
  color: var(--text-color);
}

.product-description p + p { margin-top: 0.55rem; }

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  margin: 0.9rem 0;
  text-align: center;
  font-size: 0.85rem;
  font-family: var(--main-font);
  box-shadow: 0 2px 6px var(--shadow-color);
  letter-spacing: 0.4px;
}

.features-list {
  list-style: none;
  margin: 0.8rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  padding: 0.6rem 0.8rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px var(--shadow-color);
  border-left: 2px solid var(--primary-color);
  font-size: 0.81rem;
  transition: all 0.3s ease;
}

.features-list li:hover {
  border-left-color: var(--secondary-color);
  transform: translateX(2px);
}

.feature-check {
  width: 16px; height: 16px;
  background: var(--primary-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.58rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.benefits-band {
  background: var(--accent-color);
  color: white;
  padding: 2rem 1.5rem;
}

.benefits-band-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.benefits-band h2 {
  font-family: var(--main-font);
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.3rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 600px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.benefit-icon { font-size: 1.6rem; margin-bottom: 0.45rem; }

.benefit-item h3 {
  font-family: var(--main-font);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--highlight-color);
  letter-spacing: 0.4px;
}

.benefit-item p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.testimonials {
  background: var(--dark-color);
  color: white;
  padding: 2rem 1.5rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 1.4rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 1150px;
  margin: 0 auto;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }

.testimonial {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.09);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.testimonial-icon {
  width: 36px; height: 36px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--main-font);
}

.testimonial p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

footer {
  background: var(--dark-color);
  color: white;
  padding: 1.3rem 1.5rem 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-content {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 0.85rem;
}

@media (min-width: 768px) {
  .footer-content { flex-direction: row; justify-content: space-between; align-items: center; }
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

@media (min-width: 768px) { .footer-nav { justify-content: flex-end; } }

.footer-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.3s;
}

.footer-nav a:hover { color: white; }

.footer-credit {
  text-align: center;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  font-size: 0.71rem;
  max-width: 1150px;
  margin: 0 auto;
}

.footer-credit a { color: rgba(255,255,255,0.6); text-decoration: none; }