:root {
  --primary-color: #6B2A6E;
  --secondary-color: #9C4DA0;
  --accent-color: #C07DC3;
  --light-color: #F7EFF8;
  --dark-color: #3A1040;
  --gradient-primary: linear-gradient(135deg, #6B2A6E 0%, #9C4DA0 100%);
  --hover-color: #571F5A;
  --background-color: #FBF5FC;
  --text-color: #2E1A30;
  --border-color: rgba(192, 125, 195, 0.28);
  --shadow-color: rgba(107, 42, 110, 0.11);
  --highlight-color: #F2D4C9;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Lato', 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: wavy lines */
.pattern-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 18px,
      var(--primary-color) 18px,
      var(--primary-color) 19px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 18px,
      var(--primary-color) 18px,
      var(--primary-color) 19px
    );
  background-size: 38px 38px;
}

.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-decor {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 1rem;
  align-items: center;
  opacity: 0.1;
  pointer-events: none;
}

.header-decor .diamond {
  width: 30px;
  height: 30px;
  background: #ffffff;
  transform: rotate(45deg);
}

.header-decor .diamond.lg {
  width: 44px;
  height: 44px;
}

.header-decor .diamond.sm {
  width: 18px;
  height: 18px;
}

header .container {
  max-width: 980px;
  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: 0.5px;
}

.logo-icon {
  font-size: 1.7rem;
}

/* ===== MAIN ===== */
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 1.6fr;
  gap: 2rem;
  align-items: start;
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-image {
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 16px var(--shadow-color);
  padding: 1.4rem 1rem;
  border: 1px solid var(--border-color);
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

.guarantee-block {
  background: #ffffff;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 8px var(--shadow-color);
  border: 1px solid var(--border-color);
  text-align: center;
}

.guarantee-block .guarantee-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.4rem;
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.95rem;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.guarantee-block p {
  font-size: 0.83rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* Feature items — horizontal rows with number badge */
.features-icons {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 5px var(--shadow-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.feature-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-family: var(--main-font);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.83rem;
  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.9rem 1.8rem;
  border-radius: 8px;
  font-family: var(--main-font);
  font-size: 0.97rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  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);
}

/* Right column */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.9rem;
  font-family: var(--main-font);
}

.product-description {
  margin-bottom: 1rem;
}

.product-description p {
  margin-bottom: 0.82rem;
  color: var(--text-color);
  font-size: 0.91rem;
  line-height: 1.7;
}

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(242, 212, 201, 0.8);
  box-shadow: 0 2px 8px rgba(242, 212, 201, 0.4);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.89rem;
  transition: background 0.2s ease;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li:hover {
  background: rgba(255,255,255,0.7);
  border-radius: 6px;
}

.feature-check {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== BENEFITS SECTION — full-width icon grid with colored bg cards ===== */
.benefits-section {
  margin-top: 1.5rem;
  padding: 2.8rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.benefits-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.benefits-section h2 {
  font-family: var(--main-font);
  font-size: 1.8rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.benefits-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  opacity: 0.8;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.benefit-card {
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  overflow: hidden;
}

.benefit-card:nth-child(1) { background: #f9eefa; }
.benefit-card:nth-child(2) { background: #f3eaff; }
.benefit-card:nth-child(3) { background: #fde8f5; }
.benefit-card:nth-child(4) { background: #f0ecfe; }
.benefit-card:nth-child(5) { background: #fce8ee; }
.benefit-card:nth-child(6) { background: #f8edf9; }

.benefit-card .benefit-icon {
  font-size: 2rem;
}

.benefit-card h3 {
  font-family: var(--main-font);
  font-size: 0.92rem;
  color: var(--primary-color);
  font-weight: 700;
}

.benefit-card p {
  font-size: 0.8rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--dark-color);
  padding: 3rem 0;
}

.testimonials h2 {
  font-family: var(--main-font);
  font-size: 1.9rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
  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: 1.3rem;
}

.testimonial {
  background: rgba(255,255,255,0.07);
  padding: 1.3rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.25s ease;
}

.testimonial:hover {
  background: rgba(255,255,255,0.11);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.testimonial-icon {
  font-size: 2rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--highlight-color);
  font-family: var(--main-font);
}

.testimonial-city {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.55);
}

.testimonial p {
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  font-size: 0.87rem;
  font-style: italic;
}

/* ===== FOOTER ===== */
footer {
  background-color: #1E0A22;
  color: rgba(255,255,255,0.78);
  padding: 1.8rem 0 1rem;
}

.footer-content {
  max-width: 980px;
  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.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.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.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.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.65rem;
    align-items: center;
  }

  .header-decor { display: none; }
}

@media (max-width: 640px) {
  .product-right h1 { font-size: 1.95rem; }
  .price { font-size: 1.55rem; }
  .benefits-grid { grid-template-columns: 1fr; }
}