:root {
  --primary-color: #2C4A3E;
  --secondary-color: #3D5F4F;
  --accent-color: #6B8F7A;
  --light-color: #E8F0EC;
  --dark-color: #1A2E24;
  --gradient-primary: linear-gradient(135deg, #2C4A3E 0%, #3D5F4F 100%);
  --hover-color: #4F7260;
  --background-color: #F5F8F6;
  --text-color: #4A5A52;
  --border-color: rgba(107, 143, 122, 0.25);
  --shadow-color: rgba(44, 74, 62, 0.1);
  --highlight-color: #D4A574;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.pattern-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.03;
  background-image: 
    repeating-linear-gradient(45deg, var(--primary-color) 0px, var(--primary-color) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(-45deg, var(--accent-color) 0px, var(--accent-color) 1px, transparent 1px, transparent 20px);
  background-size: 100% 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

header {
  background-color: var(--primary-color);
  padding: 1.2rem 0;
  box-shadow: 0 2px 6px var(--shadow-color);
  position: relative;
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--main-font);
  font-size: 1.6rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.85;
}

.logo-icon {
  font-size: 1.8rem;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
}

main .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.product-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.product-image {
  width: 100%;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 4px 16px var(--shadow-color);
  display: flex;
  justify-content: center;
  padding: 1.5rem;
}

.product-image img {
  width: 65%;
  height: auto;
  display: block;
}

.guarantee-block {
  background-color: #ffffff;
  border-top: 3px solid var(--accent-color);
  padding: 1.3rem;
  border-radius: 6px;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.guarantee-block p {
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.6;
}

.features-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  padding: 1.1rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.feature-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
}

.cart-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: #ffffff;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.cart-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px var(--shadow-color);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 2.6rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  font-family: var(--main-font);
}

.product-description {
  margin-bottom: 1.3rem;
  line-height: 1.7;
}

.product-description p {
  margin-bottom: 0.9rem;
  color: var(--text-color);
  font-size: 0.95rem;
}

.highlight-text {
  background-color: var(--highlight-color);
  color: var(--dark-color);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.3rem;
  box-shadow: 0 3px 10px rgba(212, 165, 116, 0.25);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  padding: 0.6rem 0.8rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.features-list li:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.feature-check {
  color: var(--accent-color);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.advantages-section {
  background-color: var(--primary-color);
  padding: 3rem 0;
  margin-top: 2rem;
}

.advantages-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.advantages-section h2 {
  font-family: var(--main-font);
  font-size: 2.2rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.advantage-item {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.advantage-item:hover {
  transform: translateY(-4px);
}

.advantage-icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.advantage-item h3 {
  font-family: var(--main-font);
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.advantage-item p {
  color: var(--text-color);
  font-size: 0.88rem;
  line-height: 1.5;
}

.testimonials {
  background-color: var(--light-color);
  padding: 3rem 0;
  margin-top: 2rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 700;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--shadow-color);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.testimonial-icon {
  font-size: 2.5rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
  font-family: var(--main-font);
}

.testimonial p {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 0.9rem;
  font-style: italic;
}

footer {
  background-color: var(--dark-color);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0 1.2rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

footer .logo {
  color: #ffffff;
}

.footer-nav {
  display: flex;
  list-style: none;
  gap: 1.8rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-credit {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #ffffff;
}

@media (max-width: 968px) {
  .product-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-right h1 {
    font-size: 2.2rem;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .features-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-right h1 {
    font-size: 1.9rem;
  }

  .price {
    font-size: 1.7rem;
  }

  .advantages-section h2,
  .testimonials h2 {
    font-size: 1.8rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }
}