:root {
  --primary-color: #8B3A3A;
  --secondary-color: #A84D4D;
  --accent-color: #C46E6E;
  --light-color: #FAF0EE;
  --dark-color: #3D1A1A;
  --gradient-primary: linear-gradient(135deg, #8B3A3A 0%, #C46E6E 100%);
  --hover-color: #6E2B2B;
  --background-color: #FDF7F6;
  --text-color: #4A2C2C;
  --border-color: rgba(139, 58, 58, 0.15);
  --shadow-color: rgba(61, 26, 26, 0.09);
  --highlight-color: #F2D4D4;
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', 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: subtle diamond grid */
.pattern-bg {
  background-image:
    linear-gradient(45deg, rgba(139,58,58,0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(139,58,58,0.04) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(139,58,58,0.04) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(139,58,58,0.04) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  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: 140px;
    height: 140px;
    background: rgba(255,255,255,0.04);
    transform: rotate(45deg);
    right: 60px;
    top: -60px;
  }
  header::after {
    display: block;
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.03);
    transform: rotate(45deg);
    right: 200px;
    bottom: -35px;
  }
}

.container {
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.25);
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 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: 340px 1fr;
  }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-image-container {
  background: white;
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  display: flex;
  justify-content: center;
  border-bottom: 4px solid var(--primary-color);
}

.product-image-container picture {
  display: flex;
  justify-content: center;
}

.product-image {
  width: 54%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-image:hover {
  transform: scale(1.04);
}

/* Guarantee block — decorative bordered box */
.guarantee-block {
  background: white;
  color: var(--text-color);
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px var(--shadow-color);
  position: relative;
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--primary-color);
}

.guarantee-block p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-color);
}

/* Feature items — tags/chips in a wrap grid */
.features-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  background: white;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px var(--shadow-color);
  transition: all 0.25s ease;
}

.feature-item:hover {
  background: var(--light-color);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item span:last-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
}

.cart-button {
  background: var(--primary-color);
  color: white;
  padding: 0.82rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--alt-font);
  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;
  letter-spacing: 0.02em;
}

.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.8rem;
  color: var(--primary-color);
  margin-bottom: 0.55rem;
  font-weight: 600;
  line-height: 1.25;
}

.price {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 0.65rem 0;
  font-family: var(--alt-font);
}

.product-description {
  font-size: 0.87rem;
  margin-bottom: 1rem;
  line-height: 1.75;
  color: var(--text-color);
}

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  margin: 1rem 0;
  text-align: center;
  font-size: 0.92rem;
  font-family: var(--main-font);
  border-left: 4px solid var(--primary-color);
}

.features-list {
  list-style: none;
  margin: 0.9rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 5px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.25s ease;
  font-size: 0.86rem;
}

.features-list li:hover {
  background: var(--light-color);
  border-color: var(--primary-color);
}

.feature-check {
  width: 19px;
  height: 19px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 1px;
}

/* Random block — two-column comparison style */
.random-block {
  background: var(--light-color);
  border-top: 2px solid var(--primary-color);
  padding: 2.2rem 1.5rem;
}

.random-block h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.6rem;
}

.random-block-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .random-block-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.random-block-item {
  background: white;
  border-radius: 10px;
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 8px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: transform 0.25s ease;
}

.random-block-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
}

.random-block-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.random-block-item h3 {
  font-family: var(--main-font);
  font-size: 0.92rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.random-block-item p {
  font-size: 0.81rem;
  color: var(--text-color);
  line-height: 1.55;
}

/* Testimonials */
.testimonials {
  background: var(--dark-color);
  color: white;
  padding: 2.2rem 1.5rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  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(255,255,255,0.1);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  transition: transform 0.25s ease;
  border-top: 3px solid var(--primary-color);
}

.testimonial:hover {
  transform: translateY(-2px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.testimonial-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.87);
}

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: 980px;
  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.75);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.25s 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.12);
  color: rgba(255,255,255,0.5);
  font-size: 0.79rem;
  max-width: 980px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}