:root {
  --primary-color: #2D5C7F;
  --secondary-color: #1E4060;
  --accent-color: #86B3D1;
  --light-color: #EEF4F8;
  --dark-color: #152B3C;
  --gradient-primary: linear-gradient(135deg, #2D5C7F 0%, #1E4060 100%);
  --hover-color: #3A6E93;
  --background-color: #F7FAFC;
  --text-color: #3A4D5C;
  --border-color: rgba(45, 92, 127, 0.18);
  --divider-color: rgba(30, 64, 96, 0.10);
  --shadow-color: rgba(30, 64, 96, 0.09);
  --highlight-color: #C8A96A;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Open Sans', 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 BG - geometric hexagons */
.pattern-bg {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(45, 92, 127, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(134, 179, 209, 0.06) 0%, transparent 40%),
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 28px,
      rgba(45, 92, 127, 0.04) 28px,
      rgba(45, 92, 127, 0.04) 29px
    ),
    repeating-linear-gradient(
      -60deg,
      transparent,
      transparent 28px,
      rgba(45, 92, 127, 0.04) 28px,
      rgba(45, 92, 127, 0.04) 29px
    );
  position: fixed;
  inset: 0;
  z-index: -1;
}

/* HEADER */
header {
  background: white;
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px var(--shadow-color);
  border-bottom: 2px solid var(--accent-color);
}

.header-deco-bar {
  position: absolute;
  top: 0;
  right: 0;
  width: 160px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(134, 179, 209, 0.12));
  display: none;
}

.header-deco-dot {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--light-color);
  border: 2px solid var(--accent-color);
  display: none;
}

.header-deco-dot::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-color);
  opacity: 0.4;
}

@media (min-width: 768px) {
  .header-deco-bar,
  .header-deco-dot {
    display: block;
  }
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.4rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--primary-color);
  font-family: var(--main-font);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  width: fit-content;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: white;
  flex-shrink: 0;
}

/* 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.4rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 1fr 1fr;
  }
}

/* LEFT */
.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-image-container {
  background: white;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px var(--shadow-color);
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.product-image {
  width: 100%;
  padding: 18px;
  height: auto;
  border-radius: 10px;
}

@media (min-width: 768px) {
  .product-image {
    padding: 18px 40px;
  }
}

.guarantee-block {
  background: var(--light-color);
  border: 1px solid var(--primary-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  color: var(--text-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  color: var(--primary-color);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.45rem;
}

.guarantee-block p {
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Features icons */
.features-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 0.25rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 5px var(--shadow-color);
  text-align: center;
  transition: all 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent-color);
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--light-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.feature-item span {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-color);
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cart-button {
  background: var(--primary-color);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  display: block;
  text-align: center;
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 3px 10px var(--shadow-color);
  transition: all 0.25s ease;
}

.cart-button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 14px var(--shadow-color);
}

/* RIGHT */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.7rem;
  line-height: 1.1;
}

.price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0.7rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.product-description p + p {
  margin-top: 0.6rem;
}

.highlight-text {
  background: var(--primary-color);
  color: white;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  font-size: 0.9rem;
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px var(--shadow-color);
  margin: 1rem 0;
}

.features-list {
  list-style: none;
  margin: 1rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px var(--shadow-color);
  font-size: 0.84rem;
  transition: all 0.25s ease;
}

.features-list li:hover {
  border-color: var(--accent-color);
  transform: translateX(2px);
}

.feature-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.7rem;
}

/* RANDOM FULL-WIDTH BLOCK — Ingredients section */
.ingredients-section {
  background: var(--dark-color);
  color: white;
  padding: 2rem 1.2rem;
}

.ingredients-content {
  max-width: 1050px;
  margin: 0 auto;
  text-align: center;
}

.ingredients-section h2 {
  font-family: var(--main-font);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 0.6rem;
}

.ingredients-section > .ingredients-content > p {
  font-size: 0.86rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .ingredients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ingredient-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(134, 179, 209, 0.25);
  border-radius: 8px;
  padding: 1.1rem 0.9rem;
  transition: all 0.25s ease;
}

.ingredient-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.ingredient-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  display: block;
}

.ingredient-card h3 {
  font-family: var(--main-font);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.3rem;
  color: var(--accent-color);
}

.ingredient-card p {
  font-size: 0.78rem;
  opacity: 0.88;
  line-height: 1.5;
}

/* TESTIMONIALS */
.testimonials {
  background: var(--light-color);
  padding: 2rem 1.2rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 1050px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: white;
  border-radius: 8px;
  padding: 1.1rem;
  border-left: 3px solid var(--accent-color);
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: transform 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.testimonial-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--light-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-name {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.testimonial-location {
  font-size: 0.75rem;
  color: var(--text-color);
  opacity: 0.8;
}

.testimonial p {
  font-size: 0.82rem;
  line-height: 1.6;
  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: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  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;
  font-size: 0.78rem;
  transition: color 0.2s 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.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  max-width: 1050px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}