:root {
  --primary-color: #B85C38;
  --secondary-color: #D4743A;
  --accent-color: #E8A97E;
  --light-color: #FDF1EA;
  --dark-color: #3D1F0F;
  --gradient-primary: linear-gradient(135deg, #B85C38 0%, #D4743A 100%);
  --hover-color: #8F4224;
  --background-color: #FBF5F0;
  --text-color: #4A2F1A;
  --border-color: rgba(184, 92, 56, 0.16);
  --shadow-color: rgba(61, 31, 15, 0.09);
  --highlight-color: #FDDFC8;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Lato', 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: cross-hatch small grid */
.pattern-bg {
  background-image:
    linear-gradient(rgba(184, 92, 56, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 92, 56, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  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::before,
header::after {
  content: '';
  position: absolute;
  display: none;
}

@media (min-width: 768px) {
  header::before {
    display: block;
    width: 120px;
    height: 120px;
    background: rgba(232, 169, 126, 0.07);
    border-radius: 2px;
    right: 60px;
    top: -40px;
    transform: rotate(30deg);
  }
  header::after {
    display: block;
    width: 60px;
    height: 60px;
    background: rgba(232, 169, 126, 0.05);
    border-radius: 2px;
    right: 200px;
    bottom: -20px;
    transform: rotate(15deg);
  }
}

.container {
  max-width: 1100px;
  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.08em;
  width: fit-content;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

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.8rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 340px 1fr;
  }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-image-container {
  background: white;
  border-radius: 12px;
  padding: 1.2rem;
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 3px 12px var(--shadow-color);
  display: flex;
  justify-content: center;
}

.product-image-container picture {
  display: flex;
  justify-content: center;
}

.product-image {
  width: 50%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.04);
}

.guarantee-block {
  background: white;
  color: var(--dark-color);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  border-right: 4px solid var(--primary-color);
  box-shadow: 0 2px 6px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.guarantee-block p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-color);
}

/* Feature items — horizontal pill with dot marker */
.features-icons {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  background: white;
  border-radius: 30px;
  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);
  transform: translateX(4px);
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: var(--highlight-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.feature-item span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--main-font);
}

.cart-button {
  background: var(--primary-color);
  color: white;
  padding: 0.82rem 1.4rem;
  border-radius: 30px;
  font-size: 0.93rem;
  font-weight: 700;
  font-family: var(--main-font);
  letter-spacing: 0.07em;
  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;
  text-transform: uppercase;
}

.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.65rem;
  color: var(--dark-color);
  margin-bottom: 0.45rem;
  font-weight: 700;
  line-height: 1.2;
}

.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.55rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.86rem;
  margin-bottom: 0.9rem;
  line-height: 1.78;
  color: var(--text-color);
}

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  margin: 0.9rem 0;
  text-align: center;
  font-size: 0.91rem;
  font-family: var(--main-font);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid var(--primary-color);
}

.features-list {
  list-style: none;
  margin: 0.8rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  border-left: 3px solid var(--accent-color);
  background: white;
  box-shadow: 0 1px 3px var(--shadow-color);
  transition: all 0.25s ease;
  font-size: 0.84rem;
}

.features-list li:hover {
  border-left-color: var(--primary-color);
  background: var(--light-color);
}

.feature-check {
  width: 17px;
  height: 17px;
  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.62rem;
  margin-top: 2px;
}

/* Random block — horizontal steps/process */
.random-block {
  background: var(--light-color);
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.random-block h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}

.random-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .random-block-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.random-block-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  box-shadow: 0 2px 6px var(--shadow-color);
  transition: transform 0.25s ease;
}

.random-block-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary-color);
}

.random-block-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.random-block-item h3 {
  font-family: var(--main-font);
  font-size: 0.88rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.random-block-item p {
  font-size: 0.79rem;
  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.45rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.4rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(232, 169, 126, 0.2);
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.25s ease;
}

.testimonial:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.testimonial-icon {
  width: 34px;
  height: 34px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  color: white;
}

.testimonial-name {
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--highlight-color);
}

.testimonial p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 1.4rem 1.5rem 0.9rem;
  border-top: 2px solid var(--primary-color);
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  padding-bottom: 0.9rem;
}

@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.72);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.footer-credit {
  text-align: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-size: 0.77rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}