:root {
  --primary-color: #8B4513;
  --secondary-color: #5C2D0A;
  --accent-color: #C0703A;
  --light-color: #FDF0E8;
  --dark-color: #3A1A06;
  --gradient-primary: linear-gradient(125deg, #8B4513 0%, #5C2D0A 100%);
  --hover-color: #733A10;
  --background-color: #FDFAF7;
  --text-color: #4A3728;
  --border-color: rgba(192, 112, 58, 0.2);
  --shadow-color: rgba(139, 69, 19, 0.11);
  --highlight-color: #F7DC6F;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* Pattern: concentric arcs / wave lines */
.pattern-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.04;
  background-image:
    radial-gradient(ellipse 80px 40px at 0% 50%, var(--primary-color) 1px, transparent 1px),
    radial-gradient(ellipse 80px 40px at 100% 50%, var(--accent-color) 1px, transparent 1px);
  background-size: 80px 60px, 80px 60px;
  background-position: 0 0, 40px 30px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

header {
  background: var(--gradient-primary);
  padding: 1.2rem 0;
  box-shadow: 0 2px 7px var(--shadow-color);
  position: relative;
  overflow: hidden;
}

/* Header decoration: stacked rectangles top-right */
header::before {
  content: '';
  position: absolute;
  top: -12px;
  right: 80px;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.07);
  transform: rotate(20deg);
  pointer-events: none;
}

header::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 110px;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.05);
  transform: rotate(35deg);
  pointer-events: none;
}

@media (max-width: 640px) {
  header::before, header::after { display: none; }
}

header .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #ffffff;
  font-family: var(--main-font);
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: opacity 0.3s ease;
}

.logo:hover { opacity: 0.88; }
.logo-icon { font-size: 1.6rem; }

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

main .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.1rem;
  align-items: start;
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-image {
  width: 100%;
  display: flex;
  justify-content: center;
  background: linear-gradient(155deg, #ffffff 0%, var(--light-color) 100%);
  border-radius: 10px;
  box-shadow: 0 4px 14px var(--shadow-color);
  padding: 1.2rem;
  border: 1px solid var(--border-color);
}

.product-image img {
  width: 54%;
  height: auto;
  display: block;
}

/* Guarantee: parchment-style card with top banner */
.guarantee-block {
  background: #fff8f2;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 9px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  font-size: 0.93rem;
  color: #ffffff;
  background: var(--gradient-primary);
  padding: 0.55rem 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0;
}

.guarantee-block p {
  color: var(--text-color);
  font-size: 0.83rem;
  line-height: 1.65;
  padding: 0.75rem 1rem;
}

/* Feature items: card with number counter on left */
.features-icons {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  counter-reset: feature-counter;
}

.feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 0.7rem;
  background: #ffffff;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 6px var(--shadow-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 3px 12px var(--shadow-color);
}

.feature-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.35;
}

.cart-button {
  display: inline-block;
  background: var(--gradient-primary);
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 1.7rem;
  border-radius: 6px;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: center;
  box-shadow: 0 4px 12px var(--shadow-color);
  transition: all 0.3s ease;
}

.cart-button:hover {
  background: linear-gradient(125deg, var(--hover-color) 0%, var(--dark-color) 100%);
  transform: translateY(-2px);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 2.3rem;
  color: var(--primary-color);
  margin-bottom: 0.7rem;
  font-weight: 700;
}

.price {
  font-size: 1.62rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-family: var(--main-font);
}

.product-description {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.product-description p {
  margin-bottom: 0.8rem;
  color: var(--text-color);
  font-size: 0.87rem;
}

.highlight-text {
  background: var(--highlight-color);
  color: #2a1e00;
  padding: 0.82rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.91rem;
  text-align: center;
  margin-bottom: 1rem;
  border: 2px solid #e0c44a;
  box-shadow: 0 2px 8px rgba(247,220,111,0.28);
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.48rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 0.86rem;
  transition: color 0.25s ease;
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li:hover {
  color: var(--primary-color);
}

.feature-check {
  color: var(--accent-color);
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Benefits banner — split layout: text left, stat cards right */
.benefits-banner {
  background: var(--light-color);
  border-top: 4px solid var(--accent-color);
  border-bottom: 4px solid var(--accent-color);
  padding: 2rem 0;
  margin-top: 1.2rem;
}

.benefits-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.benefits-banner h2 {
  font-family: var(--main-font);
  font-size: 1.75rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.4rem;
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.benefit-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 2px 10px var(--shadow-color);
  border-bottom: 3px solid var(--accent-color);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 1.9rem;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--light-color);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.7rem;
}

.benefit-card h3 {
  font-family: var(--main-font);
  font-size: 0.97rem;
  color: var(--primary-color);
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.benefit-card p {
  color: var(--text-color);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials {
  background-color: var(--dark-color);
  padding: 2rem 0;
  margin-top: 1.2rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  font-size: 1.75rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.4rem;
  font-weight: 700;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.testimonial {
  background-color: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 1.1rem 1.2rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.testimonial:hover {
  background-color: rgba(255,255,255,0.11);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.testimonial-icon { font-size: 1.9rem; }

.testimonial-name {
  font-weight: 700;
  font-size: 0.91rem;
  color: var(--highlight-color);
  font-family: var(--main-font);
}

.testimonial p {
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  font-size: 0.83rem;
  font-style: italic;
}

footer {
  background-color: var(--dark-color);
  color: rgba(255,255,255,0.86);
  padding: 1.5rem 0 0.9rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

footer .logo { color: #ffffff; }

.footer-nav {
  display: flex;
  list-style: none;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.82rem;
}

.footer-nav a:hover { color: #ffffff; }

.footer-credit {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.76rem;
  color: rgba(255,255,255,0.58);
}

.footer-credit a {
  color: var(--highlight-color);
  text-decoration: none;
}

.footer-credit a:hover { color: #ffffff; }

@media (max-width: 968px) {
  .product-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .benefits-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-nav { flex-direction: column; gap: 0.55rem; align-items: center; }
}

@media (max-width: 640px) {
  .product-right h1 { font-size: 1.85rem; }
  .price { font-size: 1.42rem; }
  .benefits-banner h2, .testimonials h2 { font-size: 1.45rem; }
}