:root {
  --primary-color: #2D5C7F;
  --secondary-color: #5A9F77;
  --accent-color: #86B3D1;
  --light-color: #EAF3F8;
  --dark-color: #1D2A3C;
  --gradient-primary: linear-gradient(135deg, #2D5C7F 0%, #3A7098 100%);
  --hover-color: #245070;
  --background-color: #F7FAFB;
  --text-color: #2A3E58;
  --border-color: rgba(134, 179, 209, 0.3);
  --shadow-color: rgba(45, 92, 127, 0.1);
  --highlight-color: #F2D57F;
  --main-font: 'Oswald', sans-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;
}

/* Pattern BG: diagonal stripes */
.pattern-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.035;
  background-image: repeating-linear-gradient(
    45deg,
    var(--primary-color) 0px,
    var(--primary-color) 1px,
    transparent 1px,
    transparent 18px
  );
  background-size: 18px 18px;
}

.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 ===== */
header {
  background: var(--gradient-primary);
  padding: 1.2rem 0;
  box-shadow: 0 2px 8px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

header .header-decor {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  display: flex;
  gap: 1.2rem;
  opacity: 0.15;
  pointer-events: none;
}

header .header-decor span {
  display: block;
  border-radius: 50%;
  background: #ffffff;
}

header .header-decor .d1 { width: 48px; height: 48px; }
header .header-decor .d2 { width: 32px; height: 32px; margin-top: 8px; }
header .header-decor .d3 { width: 22px; height: 22px; margin-top: 16px; }

header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--main-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-icon {
  font-size: 1.7rem;
}

/* ===== MAIN ===== */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

main .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.2rem;
  align-items: start;
}

/* Left column */
.product-left {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.product-image {
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 3px 12px var(--shadow-color);
  padding: 1.5rem 1rem;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.guarantee-block {
  background-color: #ffffff;
  border: 2px solid var(--border-color);
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-color);
  border-left: 4px solid var(--secondary-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.guarantee-block p {
  color: var(--text-color);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Features icons */
.features-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  background-color: #ffffff;
  padding: 0.85rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 5px var(--shadow-color);
  transition: transform 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-3px);
}

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--light-color);
  font-size: 1.5rem;
}

.feature-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.3;
}

.cart-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.cart-button:hover {
  background: linear-gradient(135deg, var(--hover-color) 0%, #2D5C7F 100%);
  transform: translateY(-2px);
}

/* Right column */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-family: var(--main-font);
}

.product-description {
  margin-bottom: 1.1rem;
}

.product-description p {
  margin-bottom: 0.85rem;
  color: var(--text-color);
  font-size: 0.92rem;
  line-height: 1.65;
}

.highlight-text {
  background-color: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.97rem;
  text-align: center;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(242, 213, 127, 0.6);
  box-shadow: 0 2px 6px rgba(242, 213, 127, 0.3);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
  padding: 0.6rem 0.85rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  border-left: 3px solid var(--accent-color);
  font-size: 0.9rem;
  transition: background-color 0.25s ease;
}

.features-list li:hover {
  background-color: #ffffff;
}

.feature-check {
  color: var(--secondary-color);
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== BENEFITS SECTION (between main and testimonials) ===== */
.benefits-section {
  background-color: var(--light-color);
  padding: 2.8rem 0;
  margin-top: 1.5rem;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
}

.benefits-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.benefits-section h2 {
  font-family: var(--main-font);
  font-size: 1.9rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: transform 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
}

.benefit-card .benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.benefit-card h3 {
  font-family: var(--main-font);
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.benefit-card p {
  font-size: 0.82rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background-color: var(--dark-color);
  padding: 3rem 0;
}

.testimonials h2 {
  font-family: var(--main-font);
  font-size: 2rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2.2rem;
  letter-spacing: 0.5px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background-color 0.25s ease;
}

.testimonial:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.testimonial-icon {
  font-size: 2.2rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--highlight-color);
  font-family: var(--main-font);
  letter-spacing: 0.3px;
}

.testimonial-city {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.testimonial p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  font-size: 0.88rem;
  font-style: italic;
}

/* ===== FOOTER ===== */
footer {
  background-color: #141E2C;
  color: rgba(255, 255, 255, 0.8);
  padding: 1.8rem 0 1rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

footer .logo {
  color: #ffffff;
  font-size: 1.3rem;
}

.footer-nav {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}

.footer-credit a:hover {
  color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .product-section {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
  }

  header .header-decor {
    display: none;
  }
}

@media (max-width: 640px) {
  .product-right h1 {
    font-size: 2rem;
  }

  .price {
    font-size: 1.6rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .features-icons {
    grid-template-columns: 1fr 1fr;
  }
}