:root {
  --primary-color: #3D6B47;
  --secondary-color: #2A4A32;
  --accent-color: #5A9F77;
  --light-color: #EDF5EF;
  --dark-color: #1E3325;
  --gradient-primary: linear-gradient(125deg, #3D6B47 0%, #2A4A32 100%);
  --hover-color: #2F5438;
  --background-color: #F8FCF9;
  --text-color: #384840;
  --border-color: rgba(90, 159, 119, 0.22);
  --shadow-color: rgba(61, 107, 71, 0.12);
  --highlight-color: #F0A55A;
  --main-font: 'Montserrat', 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;
  position: relative;
}

/* Pattern: diagonal stripes + dots */
.pattern-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.035;
  background-image:
    repeating-linear-gradient(
      60deg,
      var(--primary-color) 0px,
      var(--primary-color) 1px,
      transparent 1px,
      transparent 28px
    ),
    repeating-linear-gradient(
      -60deg,
      var(--accent-color) 0px,
      var(--accent-color) 1px,
      transparent 1px,
      transparent 28px
    );
}

.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);
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 18px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

header::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 9%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 10px solid rgba(255,255,255,0.04);
  pointer-events: none;
}

@media (max-width: 640px) {
  header::after,
  header::before { display: none; }
}

header .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--main-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: opacity 0.3s ease;
}

.logo:hover { opacity: 0.88; }

.logo-icon { font-size: 1.6rem; }

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

main .container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-image {
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(160deg, #ffffff 0%, var(--light-color) 100%);
  border-radius: 12px;
  box-shadow: 0 4px 14px var(--shadow-color);
  padding: 1.2rem;
  border: 1px solid var(--border-color);
}

.product-image img {
  width: 50%;
  height: auto;
  display: block;
}

/* Guarantee block: badge style with left ribbon */
.guarantee-block {
  background: #ffffff;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

.guarantee-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--accent-color);
  border-radius: 8px 0 0 8px;
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.guarantee-block p {
  color: var(--text-color);
  font-size: 0.83rem;
  line-height: 1.65;
}

/* Feature items: horizontal pill with colored number badge */
.features-icons {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  box-shadow: 0 1px 7px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 4px 14px var(--shadow-color);
  transform: translateX(4px);
}

.feature-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-color);
  border: 2px solid var(--border-color);
}

.feature-item span {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.35;
}

.cart-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  font-family: var(--main-font);
  font-size: 0.98rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all 0.3s ease;
}

.cart-button:hover {
  background: linear-gradient(125deg, var(--hover-color) 0%, var(--dark-color) 100%);
  transform: translateY(-2px);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-family: var(--main-font);
}

.product-description {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.product-description p {
  margin-bottom: 0.8rem;
  color: var(--text-color);
  font-size: 0.87rem;
}

.highlight-text {
  background: var(--highlight-color);
  color: #2c1800;
  padding: 0.82rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.91rem;
  text-align: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(240,165,90,0.28);
  border: 2px solid #d98e3e;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.38rem 0.5rem;
  border-left: 3px solid var(--accent-color);
  background-color: rgba(255,255,255,0.75);
  border-radius: 0 5px 5px 0;
  font-size: 0.86rem;
  transition: background-color 0.25s ease;
}

.features-list li:hover {
  background-color: var(--light-color);
}

.feature-check {
  color: var(--accent-color);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Benefits banner — dark background with icon rows */
.benefits-banner {
  background-color: var(--dark-color);
  padding: 2rem 0;
  margin-top: 1.2rem;
}

.benefits-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.benefits-banner h2 {
  font-family: var(--main-font);
  font-size: 1.75rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.4rem;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.benefit-card {
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: background-color 0.3s ease;
}

.benefit-card:hover {
  background-color: rgba(255,255,255,0.1);
}

.benefit-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(90,159,119,0.2);
  border: 1px solid rgba(90,159,119,0.35);
}

.benefit-card h3 {
  font-family: var(--main-font);
  font-size: 0.97rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.benefit-card p {
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background-color: var(--light-color);
  padding: 2rem 0;
  margin-top: 1.2rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  font-size: 1.75rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.4rem;
  font-weight: 700;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.testimonials-grid {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.testimonial {
  background-color: #ffffff;
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: transform 0.3s ease;
  border-bottom: 3px solid var(--accent-color);
}

.testimonial:hover {
  transform: translateY(-3px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.testimonial-icon { font-size: 1.9rem; }

.testimonial-name {
  font-weight: 700;
  font-size: 0.91rem;
  color: var(--primary-color);
  font-family: var(--main-font);
}

.testimonial p {
  color: var(--text-color);
  line-height: 1.7;
  font-size: 0.83rem;
  font-style: italic;
}

footer {
  background-color: var(--dark-color);
  color: rgba(255,255,255,0.88);
  padding: 1.5rem 0 0.9rem;
  margin-top: auto;
}

.footer-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

footer .logo { color: #ffffff; }

.footer-nav {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.82rem;
}

.footer-nav a:hover { color: #ffffff; }

.footer-credit {
  max-width: 980px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.6);
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}

.footer-credit a:hover { color: #ffffff; }

@media (max-width: 968px) {
  .product-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-nav { flex-direction: column; gap: 0.55rem; align-items: center; }
}

@media (max-width: 640px) {
  .product-right h1 { font-size: 1.85rem; }
  .price { font-size: 1.4rem; }
  .benefits-banner h2, .testimonials h2 { font-size: 1.45rem; }
}