:root {
  --primary-color: #4A4E6E;
  --secondary-color: #2E3250;
  --accent-color: #7478A8;
  --light-color: #EEEEF7;
  --dark-color: #1A1C30;
  --gradient-primary: linear-gradient(125deg, #4A4E6E 0%, #2E3250 100%);
  --hover-color: #3A3E5C;
  --background-color: #F7F7FB;
  --text-color: #3A3C52;
  --border-color: rgba(116, 120, 168, 0.2);
  --shadow-color: rgba(74, 78, 110, 0.11);
  --highlight-color: #F0A55A;
  --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;
  position: relative;
}

/* Pattern: overlapping circles */
.pattern-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 0% 0%, var(--primary-color) 30px, transparent 30px),
    radial-gradient(circle at 50% 50%, var(--accent-color) 30px, transparent 30px);
  background-size: 60px 60px;
}

.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 7px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

/* Header: zigzag right edge decoration */
header::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 180px;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.03) 6px,
    transparent 6px,
    transparent 12px
  );
  pointer-events: none;
}

@media (max-width: 640px) { header::before { display: none; } }

header .container {
  max-width: 1080px;
  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.52rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  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: 1080px;
  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(155deg, #ffffff 0%, var(--light-color) 100%);
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--shadow-color);
  padding: 1.2rem;
  border: 1px solid var(--border-color);
}
.product-image img { width: 51%; height: auto; display: block; }

/* Guarantee: stacked info rows */
.guarantee-block {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 9px var(--shadow-color);
}

.guarantee-header {
  background: var(--gradient-primary);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guarantee-header h3 {
  font-family: var(--main-font);
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.guarantee-block p {
  color: var(--text-color);
  font-size: 0.82rem;
  line-height: 1.62;
  padding: 0.8rem 1rem;
}

/* Feature items: icon-only top + label below, in row wrap */
.features-icons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  background: #ffffff;
  border-radius: 50px;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 1px 5px var(--shadow-color);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.feature-item:hover {
  border-color: var(--accent-color);
  background-color: var(--light-color);
}

.feature-icon {
  font-size: 1.3rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.3;
}

.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: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  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.25rem;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.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; }
.product-description p {
  margin-bottom: 0.8rem;
  color: var(--text-color);
  font-size: 0.87rem;
  line-height: 1.75;
}

.highlight-text {
  background: var(--highlight-color);
  color: #2c1600;
  padding: 0.82rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.91rem;
  text-align: center;
  margin-bottom: 1rem;
  border: 2px solid #d08a3a;
  box-shadow: 0 2px 8px rgba(240,165,90,0.25);
}

.features-list { list-style: none; padding: 0; }
.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.48rem;
  padding: 0.38rem 0.5rem;
  font-size: 0.86rem;
  background: rgba(255,255,255,0.8);
  border-radius: 4px;
  border-bottom: 1px dotted var(--border-color);
}
.features-list li:last-child { border-bottom: none; }

.feature-check {
  color: var(--accent-color);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Benefits banner: feature boxes with colored top stripe */
.benefits-banner {
  background: var(--gradient-primary);
  padding: 2rem 0;
  margin-top: 1.2rem;
}

.benefits-content {
  max-width: 1080px;
  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: 1rem;
}

.benefit-card {
  background: rgba(255,255,255,0.97);
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.14);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.9rem;
  align-items: start;
  transition: transform 0.3s ease;
}
.benefit-card:hover { transform: translateY(-3px); }

.benefit-icon {
  font-size: 1.7rem;
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--light-color);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-card h3 {
  font-family: var(--main-font);
  font-size: 0.97rem;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.benefit-card p {
  color: var(--text-color);
  font-size: 0.81rem;
  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: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.testimonials-grid {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.testimonial {
  background: #ffffff;
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: transform 0.3s ease;
  border-top: 3px solid var(--accent-color);
}
.testimonial:hover { transform: translateY(-3px); }

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.testimonial-icon { font-size: 1.9rem; }

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  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.86);
  padding: 1.5rem 0 0.9rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1080px;
  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.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.82rem;
}
.footer-nav a:hover { color: #ffffff; }

.footer-credit {
  max-width: 1080px;
  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.55);
}
.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.42rem; }
  .benefits-banner h2, .testimonials h2 { font-size: 1.45rem; }
}