:root {
  --primary-color: #5D6D7E;
  --secondary-color: #7A8C6E;
  --accent-color: #2A3E30;
  --light-color: #EEF1EC;
  --dark-color: #253028;
  --gradient-primary: linear-gradient(135deg, #5D6D7E 0%, #2A3E30 100%);
  --hover-color: #4A5A69;
  --background-color: #F6F7F4;
  --text-color: #323C35;
  --border-color: rgba(93, 109, 126, 0.18);
  --divider-color: rgba(93, 109, 126, 0.09);
  --shadow-color: rgba(37, 48, 40, 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 {
  background-image: repeating-linear-gradient(
    135deg,
    rgba(93, 109, 126, 0.045) 0px,
    rgba(93, 109, 126, 0.045) 1px,
    transparent 1px,
    transparent 20px
  );
  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 8px var(--shadow-color);
}

.header-deco {
  position: absolute;
  top: 0; right: 0;
  width: 220px; height: 100%;
  pointer-events: none;
  display: none;
}

.header-deco::before {
  content: '';
  position: absolute;
  top: 50%; right: 40px;
  transform: translateY(-50%) rotate(20deg);
  width: 48px; height: 48px;
  border: 1px solid rgba(242,213,127,0.15);
  border-radius: 4px;
}

.header-deco::after {
  content: '';
  position: absolute;
  top: 50%; right: 18px;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(122,140,110,0.18);
  border: 1px solid rgba(122,140,110,0.25);
}

@media (min-width: 768px) { .header-deco { display: block; } }

.container {
  max-width: 1150px;
  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.5rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  letter-spacing: 2px;
}

.logo-icon {
  width: 32px; height: 32px;
  background: var(--highlight-color);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 1.6rem 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: 40% 60%; }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.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: 62%;
  padding: 16px;
  height: auto;
  transition: transform 0.3s ease;
}

.product-image:hover { transform: scale(1.02); }

.guarantee-block {
  background: white;
  border-left: 3px solid var(--secondary-color);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  box-shadow: 0 2px 6px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.guarantee-block p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-color);
}

.features-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  padding: 0.65rem 0.2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px var(--shadow-color);
  border-bottom: 2px solid var(--secondary-color);
  transition: transform 0.2s ease;
}

.feature-item:hover { transform: translateY(-2px); }

.feature-icon {
  width: 38px; height: 38px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid var(--border-color);
}

.feature-item span {
  font-size: 0.67rem;
  font-weight: 600;
  font-family: var(--main-font);
  color: var(--text-color);
}

.cart-button {
  background: var(--accent-color);
  color: white;
  padding: 0.8rem 1.4rem;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  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: 1px;
  text-transform: uppercase;
}

.cart-button:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 1.6rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.price {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.84rem;
  margin-bottom: 0.9rem;
  line-height: 1.75;
  color: var(--text-color);
}

.product-description p + p { margin-top: 0.6rem; }

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.8rem 1rem;
  border-radius: 7px;
  font-weight: 700;
  margin: 0.85rem 0;
  text-align: center;
  font-size: 0.86rem;
  font-family: var(--main-font);
  box-shadow: 0 2px 5px var(--shadow-color);
}

.features-list {
  list-style: none;
  margin: 0.8rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  padding: 0.6rem 0.8rem;
  background: white;
  border-radius: 7px;
  box-shadow: 0 1px 4px var(--shadow-color);
  border-left: 2px solid var(--secondary-color);
  font-size: 0.81rem;
  transition: all 0.2s ease;
}

.features-list li:hover {
  border-left-color: var(--accent-color);
  transform: translateX(2px);
}

.feature-check {
  width: 16px; height: 16px;
  background: var(--secondary-color);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.58rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.promo-band {
  background: var(--light-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.8rem 1.5rem;
}

.promo-band-inner {
  max-width: 1150px;
  margin: 0 auto;
}

.promo-band h2 {
  font-family: var(--main-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 600px) { .promo-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .promo-grid { grid-template-columns: repeat(3, 1fr); } }

.promo-card {
  background: white;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 6px var(--shadow-color);
  border-top: 3px solid var(--secondary-color);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.promo-card-icon { font-size: 1.6rem; }

.promo-card h3 {
  font-family: var(--main-font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-color);
}

.promo-card p {
  font-size: 0.79rem;
  line-height: 1.6;
  color: var(--text-color);
}

.testimonials {
  background: var(--dark-color);
  color: white;
  padding: 1.8rem 1.5rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 1.3rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 1150px;
  margin: 0 auto;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }

.testimonial {
  background: rgba(255,255,255,0.06);
  padding: 1rem 1.1rem;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.09);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.testimonial-icon {
  width: 36px; height: 36px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.86rem;
  font-family: var(--main-font);
}

.testimonial p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}

footer {
  background: var(--dark-color);
  color: white;
  padding: 1.2rem 1.5rem 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-content {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
  padding-bottom: 0.85rem;
}

@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.7rem;
  justify-content: center;
}

@media (min-width: 768px) { .footer-nav { justify-content: flex-end; } }

.footer-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.76rem;
  transition: color 0.3s;
}

.footer-nav a:hover { color: white; }

.footer-credit {
  text-align: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  max-width: 1150px;
  margin: 0 auto;
}

.footer-credit a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}