:root {
  --primary-color: #2C7FB2;
  --secondary-color: #5A9F77;
  --accent-color: #1D2A3C;
  --light-color: #EAF3F9;
  --dark-color: #1A2E3F;
  --gradient-primary: linear-gradient(135deg, #2C7FB2 0%, #5A9F77 100%);
  --hover-color: #2169A0;
  --background-color: #F4F8FB;
  --text-color: #2C3E50;
  --border-color: rgba(44, 127, 178, 0.18);
  --divider-color: rgba(44, 127, 178, 0.1);
  --shadow-color: rgba(29, 42, 60, 0.09);
  --highlight-color: #F2D57F;
  --main-font: 'Montserrat', 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: soft diagonal lines + dots */
.pattern-bg {
  background-image:
    radial-gradient(circle, rgba(44,127,178,0.05) 1px, transparent 1px),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 18px,
      rgba(90,159,119,0.04) 18px,
      rgba(90,159,119,0.04) 19px
    );
  background-size: 28px 28px, 36px 36px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* HEADER */
header {
  background: var(--dark-color);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px var(--shadow-color);
}

.header-deco {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  display: none;
  gap: 10px;
}

.header-deco span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}

.header-deco span:nth-child(2) {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  background: rgba(242,213,127,0.15);
}

@media (min-width: 768px) {
  .header-deco {
    display: flex;
    align-items: center;
  }
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  letter-spacing: 1px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--highlight-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* MAIN */
main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 2rem 0;
  justify-content: center;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 45% 55%;
  }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-image-container {
  display: flex;
  justify-content: center;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px var(--shadow-color);
  overflow: hidden;
}

.product-image-container picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.product-image {
  width: 100%;
  padding: 20px;
  height: auto;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.02);
}

/* Guarantee block */
.guarantee-block {
  background: white;
  border-left: 3px solid var(--secondary-color);
  border-radius: 8px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 7px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.guarantee-block p {
  font-size: 0.83rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* Features icons */
.features-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 0.75rem 0.3rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px var(--shadow-color);
  border-top: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.feature-item span {
  font-size: 0.72rem;
  font-weight: 600;
  font-family: var(--main-font);
  color: var(--text-color);
}

.cart-button {
  background: var(--gradient-primary);
  color: white;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 3px 8px var(--shadow-color);
  font-family: var(--main-font);
  letter-spacing: 0.5px;
}

.cart-button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Product right */
.product-right h1 {
  font-family: var(--main-font);
  font-size: 1.9rem;
  color: var(--accent-color);
  margin-bottom: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.7rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  color: var(--text-color);
}

.product-description p + p {
  margin-top: 0.7rem;
}

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  margin: 1.1rem 0;
  text-align: center;
  font-size: 0.9rem;
  font-family: var(--main-font);
  box-shadow: 0 2px 6px var(--shadow-color);
}

.features-list {
  list-style: none;
  margin: 1rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px var(--shadow-color);
  border-left: 2px solid var(--primary-color);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.features-list li:hover {
  border-left-color: var(--secondary-color);
  transform: translateX(2px);
}

.feature-check {
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

/* PROMO BAND */
.promo-band {
  background: var(--accent-color);
  color: white;
  padding: 2.2rem 1.5rem;
}

.promo-band-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.promo-band h2 {
  font-family: var(--main-font);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .promo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.promo-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.1rem;
  text-align: center;
}

.promo-item-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.promo-item h3 {
  font-family: var(--main-font);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--highlight-color);
}

.promo-item p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

/* TESTIMONIALS */
.testimonials {
  background: var(--dark-color);
  color: white;
  padding: 2.2rem 1.5rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 1.6rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: rgba(255,255,255,0.06);
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.testimonial-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  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.9rem;
  font-family: var(--main-font);
}

.testimonial p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
}

/* FOOTER */
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: 1080px;
  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.65);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: white;
}

.footer-credit {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  max-width: 1080px;
  margin: 0 auto;
}

.footer-credit a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}