:root {
  --primary-color: #8B6F47;
  --secondary-color: #6B563A;
  --accent-color: #A0826D;
  --light-color: #F5EFE7;
  --dark-color: #3D2F24;
  --gradient-primary: linear-gradient(135deg, #8B6F47 0%, #6B563A 100%);
  --hover-color: #9B7F57;
  --background-color: #FFFBF5;
  --text-color: #5A4A3A;
  --border-color: rgba(139, 111, 71, 0.2);
  --shadow-color: rgba(107, 86, 58, 0.15);
  --highlight-color: #D4A574;
  --main-font: 'Roboto', sans-serif;
  --alt-font: 'Roboto', 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.05;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, var(--primary-color) 35px, var(--primary-color) 36px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, var(--accent-color) 35px, var(--accent-color) 36px);
}

.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: var(--gradient-primary);
  padding: 1.2rem 0;
  box-shadow: 0 2px 6px var(--shadow-color);
}

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.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo-icon {
  font-size: 1.8rem;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
}

main .container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr 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: 12px;
  box-shadow: 0 5px 18px var(--shadow-color);
  display: flex;
  justify-content: center;
}

.product-image img {
  width: 58%;
  height: auto;
  display: block;
}

.guarantee-block {
  background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
  border-left: 4px solid var(--accent-color);
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.guarantee-block p {
  color: var(--text-color);
  font-size: 0.88rem;
  line-height: 1.5;
}

.features-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  padding: 0.9rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px var(--shadow-color);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.feature-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

.cart-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
}

.cart-button:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, var(--secondary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 16px var(--shadow-color);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  font-family: var(--main-font);
}

.product-description {
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.product-description p {
  margin-bottom: 0.8rem;
  color: var(--text-color);
  font-size: 0.93rem;
}

.highlight-text {
  background: linear-gradient(135deg, var(--highlight-color) 0%, #c9985e 100%);
  color: #ffffff;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 3px 10px rgba(212, 165, 116, 0.3);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.features-list li:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.feature-check {
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.science-banner {
  background: var(--gradient-primary);
  padding: 3rem 0;
  margin-top: 1.5rem;
}

.science-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.science-banner h2 {
  font-family: var(--main-font);
  font-size: 2.1rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.science-card {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.science-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.science-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.science-card h3 {
  font-family: var(--main-font);
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.science-card p {
  color: var(--text-color);
  font-size: 0.88rem;
  line-height: 1.5;
}

.testimonials {
  background-color: var(--light-color);
  padding: 3rem 0;
  margin-top: 1.5rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  font-size: 2.1rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  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: 12px;
  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 20px 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.88rem;
  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.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.88rem;
}

.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.82rem;
  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: 1.8rem;
  }

  .product-right h1 {
    font-size: 2.1rem;
  }

  .science-grid {
    grid-template-columns: 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: 1fr;
  }

  .product-right h1 {
    font-size: 1.9rem;
  }

  .price {
    font-size: 1.6rem;
  }

  .science-banner h2,
  .testimonials h2 {
    font-size: 1.8rem;
  }
}