:root {
  --primary-color: #5A7A52;
  --secondary-color: #3E5C38;
  --accent-color: #A3BF99;
  --light-color: #EEF4EC;
  --dark-color: #243320;
  --hover-color: #2F4A2A;
  --background-color: #F6FAF5;
  --gradient-primary: linear-gradient(135deg, #5A7A52 0%, #3E5C38 100%);
  --text-color: #2C3B28;
  --border-color: rgba(90, 122, 82, 0.16);
  --shadow-color: rgba(36, 51, 32, 0.08);
  --highlight-color: #D6EAD0;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', 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: soft concentric circles / dots grid */
.pattern-bg {
  background-image: radial-gradient(circle, rgba(90, 122, 82, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  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);
}

@media (min-width: 768px) {
  header::before {
    content: '';
    display: block;
    position: absolute;
    width: 140px;
    height: 2px;
    background: rgba(163, 191, 153, 0.15);
    right: 60px;
    top: 50%;
    transform: translateY(-50%) rotate(-30deg);
  }
  header::after {
    content: '';
    display: block;
    position: absolute;
    width: 80px;
    height: 2px;
    background: rgba(163, 191, 153, 0.1);
    right: 230px;
    top: 50%;
    transform: translateY(-50%) rotate(-30deg);
  }
}

.container {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  width: fit-content;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transform: rotate(0deg);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1.6rem 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: 300px 1fr;
  }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-image-container {
  background: white;
  border-radius: 4px;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 4px 4px 0px rgba(90, 122, 82, 0.12);
  display: flex;
  justify-content: center;
}

.product-image-container picture {
  display: flex;
  justify-content: center;
}

.product-image {
  width: 55%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.04);
}

.guarantee-block {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.9rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(90, 122, 82, 0.25);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.guarantee-block p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-color);
}

/* Feature items — horizontal rows with left-border accent */
.features-icons {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.85rem;
  background: white;
  border-left: 3px solid var(--accent-color);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 1px 4px var(--shadow-color);
  transition: all 0.25s ease;
}

.feature-item:hover {
  border-left-color: var(--primary-color);
  background: var(--light-color);
}

.feature-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-item span:last-child {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-color);
  font-family: var(--alt-font);
}

.cart-button {
  background: var(--secondary-color);
  color: white;
  padding: 0.85rem 1.4rem;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--main-font);
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 3px 3px 0 rgba(36, 51, 32, 0.2);
  transition: all 0.25s ease;
  border: none;
  text-transform: uppercase;
}

.cart-button:hover {
  background: var(--hover-color);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(36, 51, 32, 0.25);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 1.55rem;
  color: var(--dark-color);
  margin-bottom: 0.4rem;
  font-weight: 700;
  line-height: 1.25;
}

.price {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
  line-height: 1.8;
  color: var(--text-color);
}

.highlight-text {
  background: var(--secondary-color);
  color: white;
  padding: 0.82rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  margin: 0.85rem 0;
  text-align: center;
  font-size: 0.88rem;
  font-family: var(--main-font);
  letter-spacing: 0.04em;
  font-style: italic;
}

.features-list {
  list-style: none;
  margin: 0.75rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

@media (max-width: 500px) {
  .features-list {
    grid-template-columns: 1fr;
  }
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  background: white;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px var(--shadow-color);
  transition: all 0.25s ease;
  font-size: 0.8rem;
}

.features-list li:hover {
  border-color: var(--primary-color);
  background: var(--light-color);
}

.feature-check {
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.58rem;
  margin-top: 1px;
}

/* Random block — timeline / steps horizontal */
.random-block {
  background: var(--light-color);
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.random-block h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1.6rem;
}

.random-block-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 768px) {
  .random-block-steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
  padding: 0 1rem 1rem;
}

.step-item:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 22px;
  color: var(--accent-color);
  font-size: 1.2rem;
  display: none;
}

@media (min-width: 768px) {
  .step-item:not(:last-child)::after {
    display: block;
  }
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  flex-shrink: 0;
}

.step-item h3 {
  font-family: var(--main-font);
  font-size: 0.85rem;
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.step-item p {
  font-size: 0.78rem;
  color: var(--text-color);
  line-height: 1.5;
}

/* Testimonials */
.testimonials {
  background: var(--dark-color);
  color: white;
  padding: 2rem 1.5rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(163, 191, 153, 0.18);
  border-radius: 4px;
  padding: 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.6rem;
  margin-bottom: 0.5rem;
}

.testimonial-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--highlight-color);
}

.testimonial p {
  font-size: 0.81rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 1.3rem 1.5rem 0.85rem;
  border-top: 2px solid var(--primary-color);
}

.footer-content {
  max-width: 980px;
  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.65rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-nav {
    justify-content: flex-end;
  }
}

.footer-nav a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.footer-credit {
  text-align: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.38);
  font-size: 0.75rem;
  max-width: 980px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--accent-color);
  text-decoration: none;
}