:root {
  --primary-color: #6A4C7C;
  --secondary-color: #7E6090;
  --accent-color: #9B7DB0;
  --light-color: #F3EDF8;
  --dark-color: #2E1F3A;
  --gradient-primary: linear-gradient(135deg, #6A4C7C 0%, #9B7DB0 100%);
  --hover-color: #523A62;
  --background-color: #FAF7FC;
  --text-color: #3D2E4A;
  --border-color: rgba(106, 76, 124, 0.15);
  --shadow-color: rgba(46, 31, 58, 0.09);
  --highlight-color: #E5D8F0;
  --main-font: 'Montserrat', sans-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: concentric circles / ripple */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(106,76,124,0.05) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(106,76,124,0.04) 0%, transparent 60%);
  background-size: 100% 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

header {
  background: var(--dark-color);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow-color);
}

header::before,
header::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  display: none;
}

@media (min-width: 768px) {
  header::before {
    display: block;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(255,255,255,0.05);
    right: 30px;
    top: -90px;
  }
  header::after {
    display: block;
    width: 90px;
    height: 90px;
    border: 2px solid rgba(255,255,255,0.04);
    right: 160px;
    bottom: -45px;
  }
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.07em;
  width: fit-content;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.12);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 345px 1fr;
  }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-image-container {
  background: white;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  display: flex;
  justify-content: center;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.product-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.product-image-container picture {
  display: flex;
  justify-content: center;
}

.product-image {
  width: 53%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.04);
}

/* Guarantee block — gradient accent */
.guarantee-block {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: white;
  letter-spacing: 0.04em;
}

.guarantee-block p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
}

/* Feature items — large icon on top, minimal card */
.features-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.8rem;
  background: white;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px var(--shadow-color);
  transition: all 0.25s ease;
}

.feature-item:hover {
  border-color: var(--primary-color);
  background: var(--light-color);
}

.feature-icon {
  width: 32px;
  height: 32px;
  background: var(--light-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.feature-item span:last-child {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.3;
}

.cart-button {
  background: var(--gradient-primary);
  color: white;
  padding: 0.82rem 1.5rem;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--main-font);
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.25s ease;
  border: none;
}

.cart-button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px var(--shadow-color);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 0.55rem;
  font-weight: 700;
  line-height: 1.22;
}

.price {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0.65rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.87rem;
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--text-color);
}

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.9rem 1.1rem;
  border-radius: 9px;
  font-weight: 600;
  margin: 1rem 0;
  text-align: center;
  font-size: 0.92rem;
  font-family: var(--main-font);
  letter-spacing: 0.02em;
  border: 1px solid var(--border-color);
}

.features-list {
  list-style: none;
  margin: 0.9rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 4px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
  font-size: 0.86rem;
}

.features-list li:hover {
  background: var(--light-color);
  transform: translateX(3px);
}

.feature-check {
  width: 18px;
  height: 18px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 1px;
}

/* Random block — wide cards with top-border accent */
.random-block {
  background: var(--light-color);
  padding: 2.2rem 1.5rem;
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.random-block h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.6rem;
}

.random-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1060px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .random-block-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.random-block-item {
  background: white;
  border-radius: 10px;
  padding: 1.2rem 1.1rem;
  text-align: center;
  box-shadow: 0 2px 8px var(--shadow-color);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--primary-color);
  transition: transform 0.25s ease;
}

.random-block-item:hover {
  transform: translateY(-3px);
}

.random-block-icon {
  font-size: 1.75rem;
  margin-bottom: 0.55rem;
  display: block;
}

.random-block-item h3 {
  font-family: var(--main-font);
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.random-block-item p {
  font-size: 0.8rem;
  color: var(--text-color);
  line-height: 1.55;
}

/* Testimonials */
.testimonials {
  background: var(--dark-color);
  color: white;
  padding: 2.2rem 1.5rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1060px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 10px;
  padding: 1.05rem 1.1rem;
  transition: transform 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.testimonial-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.87);
}

footer {
  background: var(--dark-color);
  color: white;
  padding: 1.5rem 1.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-content {
  max-width: 1060px;
  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-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.footer-nav a {
  color: rgba(255,255,255,0.73);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  text-align: center;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.48);
  font-size: 0.79rem;
  max-width: 1060px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}