:root {
  --primary-color: #5D4A7E;
  --secondary-color: #422F62;
  --accent-color: #C9B8E8;
  --light-color: #F4F0FB;
  --dark-color: #1A1228;
  --hover-color: #4E3D6B;
  --background-color: #F8F6FC;
  --text-color: #4A4260;
  --border-color: rgba(93, 74, 126, 0.18);
  --divider-color: rgba(66, 47, 98, 0.1);
  --shadow-color: rgba(66, 47, 98, 0.1);
  --highlight-color: #F2D57F;
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Pattern: diamond grid */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 85% 15%, rgba(201, 184, 232, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(93, 74, 126, 0.07) 0%, transparent 50%),
    repeating-linear-gradient(45deg, rgba(93, 74, 126, 0.025) 0px, rgba(93, 74, 126, 0.025) 1px, transparent 1px, transparent 22px),
    repeating-linear-gradient(-45deg, rgba(93, 74, 126, 0.025) 0px, rgba(93, 74, 126, 0.025) 1px, transparent 1px, transparent 22px);
  background-size: 100% 100%, 100% 100%, 22px 22px, 22px 22px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* HEADER */
header {
  background: white;
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
  border-bottom: 3px solid var(--primary-color);
}

.header-deco {
  position: absolute;
  display: none;
}

@media (min-width: 768px) {
  .header-deco {
    display: block;
  }
  .header-deco.p1 {
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary-color);
    opacity: 0.18;
  }
  .header-deco.p2 {
    right: 8%;
    top: 4px;
    width: 22px;
    height: 22px;
    background: var(--accent-color);
    opacity: 0.45;
    transform: rotate(45deg);
  }
  .header-deco.p3 {
    right: 3.5%;
    bottom: 4px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    opacity: 0.15;
    border-radius: 50%;
  }
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.2rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary-color);
  font-family: var(--main-font);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 0 2px var(--primary-color);
}

/* MAIN */
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1.8rem 0;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 1fr 1fr;
  }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-image-container {
  display: flex;
  justify-content: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 14px var(--shadow-color);
  border: 1px solid var(--border-color);
}

.product-image {
  width: 100%;
  padding: 18px 40px;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .product-image {
    padding: 14px;
  }
}

.guarantee-block {
  background: var(--light-color);
  color: var(--text-color);
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
}

.guarantee-block p {
  font-size: 0.82rem;
  line-height: 1.55;
}

/* feature-item — vertical card with top icon bar accent */
.features-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 0.5rem 0.7rem;
  background: white;
  border-radius: 10px;
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: all 0.25s ease;
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px var(--shadow-color);
  border-top-color: var(--accent-color);
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-color);
  font-family: var(--alt-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Cart button */
.cart-button {
  background: var(--primary-color);
  color: white;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow-color);
  font-family: var(--alt-font);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cart-button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
}

/* Product right */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.7rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.86rem;
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.product-description p + p {
  margin-top: 0.6rem;
}

.highlight-text {
  background: var(--primary-color);
  color: white;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  margin: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px var(--shadow-color);
  font-family: var(--alt-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features-list {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 5px var(--shadow-color);
  font-size: 0.83rem;
  transition: all 0.25s ease;
}

.features-list li:hover {
  transform: translateX(3px);
  border-color: var(--primary-color);
}

.feature-check {
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.72rem;
}

/* Benefits — 2-col asymmetric cards with icon on side */
.benefits-section {
  padding: 2rem 1.2rem;
  background: var(--primary-color);
}

.benefits-content {
  max-width: 1050px;
  margin: 0 auto;
}

.benefits-section h2 {
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
  text-align: center;
  color: white;
  letter-spacing: 0.5px;
  font-style: italic;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefit-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  transition: background 0.25s ease;
}

.benefit-card:hover {
  background: rgba(255,255,255,0.17);
}

.benefit-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.benefit-card h3 {
  font-family: var(--main-font);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: white;
  font-style: italic;
}

.benefit-card p {
  font-size: 0.79rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}

/* Testimonials */
.testimonials {
  background: var(--light-color);
  padding: 2rem 1.2rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  font-style: italic;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1050px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: white;
  padding: 1.1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.testimonial-icon {
  width: 40px;
  height: 40px;
  background: var(--light-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--main-font);
  color: var(--primary-color);
  font-style: italic;
}

.testimonial-city {
  font-size: 0.76rem;
  color: var(--text-color);
}

.testimonial p {
  line-height: 1.6;
  font-size: 0.82rem;
  color: var(--text-color);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 1.5rem 1.2rem;
}

.footer-content {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-content .logo {
  color: white;
}

.footer-content .logo-icon {
  background: var(--accent-color);
  color: var(--dark-color);
  border-color: white;
  box-shadow: none;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.footer-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.25s ease;
  font-size: 0.8rem;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
  font-size: 0.76rem;
  max-width: 1050px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}