:root {
  --bg: #f4efe6;
  --bg-soft: #fffaf2;
  --card: #fffdf8;
  --text: #1f2b24;
  --muted: #5d6a62;
  --line: #e6dac8;
  --primary: #1f5c46;
  --primary-2: #2f7a5f;
  --accent: #d48a3a;
  --danger: #c54444;
  --footer: #2f2457;
  --shadow: 0 14px 34px rgba(38, 42, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 5%, #fdf8ee 0%, transparent 35%),
    radial-gradient(circle at 95% 15%, #efe6d8 0%, transparent 38%),
    var(--bg);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 0 0 8px 0;
  z-index: 120;
}

.skip-link:focus {
  left: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: rgba(255, 251, 244, 0.82);
  border-bottom: 1px solid rgba(89, 68, 44, 0.14);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand img {
  width: 70px;
  height: auto;
}

.desktop-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.desktop-nav a {
  color: #4f5f54;
  transition: color 0.22s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:focus-visible,
button:focus-visible,
details summary:focus-visible {
  outline: 2px solid #1d7f5d;
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff;
}

.btn-outline {
  border-color: rgba(31, 92, 70, 0.4);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.66);
}

.btn-ghost {
  border-color: rgba(212, 138, 58, 0.5);
  color: #92561a;
  background: rgba(255, 255, 255, 0.7);
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  padding: 0.45rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  margin: 6px 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 31, 24, 0.44);
  z-index: 104;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100dvh;
  background: #fffbf4;
  border-left: 1px solid rgba(47, 36, 87, 0.15);
  box-shadow: var(--shadow);
  z-index: 105;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 1rem;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head img {
  width: 122px;
}

.drawer-close {
  border: 1px solid rgba(31, 92, 70, 0.28);
  background: transparent;
  color: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.mobile-nav {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.mobile-nav a {
  border-bottom: 1px solid rgba(31, 92, 70, 0.12);
  padding-bottom: 0.8rem;
}

.hero {
  padding: 3.2rem 0 2rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(31, 92, 70, 0.12);
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1.13;
  margin: 0.85rem 0;
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
}

.hero p {
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.hero-media {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(52, 58, 45, 0.12);
  transform: perspective(1200px) rotateY(-4deg);
  transition: transform 0.35s ease;
}

.hero-media:hover {
  transform: perspective(1200px) rotateY(0deg);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mobile-slider {
  display: none;
}

.section {
  padding: 3.6rem 0;
}

.alt {
  background: linear-gradient(180deg, rgba(212, 138, 58, 0.08), rgba(255, 255, 255, 0));
}

.section h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  margin: 0 0 1.1rem;
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card {
  overflow: hidden;
  background: linear-gradient(140deg, #fffdf9, #f8f3e9);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(38, 42, 31, 0.18);
  border-color: rgba(212, 138, 58, 0.45);
}

.product-image-wrap {
  position: relative;
  padding: 1rem;
  border-radius: 20px 20px 0 0;
  overflow: visible;
  z-index: 1;
}

.product-image-wrap > img:first-of-type {
  width: 100%;
  height: 250px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image-wrap > img:first-of-type {
  transform: scale(1.03);
}

.ribbon {
  position: absolute;
  top: 9px;
  left: -21px;
  transform: rotate(-35deg);
  background: var(--danger);
  color: #fff;
  padding: 0.32rem 2rem;
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 3;
}

.discount {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  color: #2a2a2a;
  border: 1px solid #e3d8c8;
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  font-size: 0.76rem;
  font-weight: 700;
  z-index: 3;
}

.rating {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(24, 56, 44, 0.88);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.58rem;
  font-size: 0.8rem;
  cursor: pointer;
  z-index: 40;
}

.rating::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  background: #1d2f27;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  font-size: 0.73rem;
  width: max-content;
  max-width: 210px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.rating:hover::after,
.rating:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.overlay-logo {
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 88px;
  opacity: 0.94;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(20, 31, 24, 0.2));
}

.product-copy {
  padding: 0 1rem 1rem;
}

.product-copy h3 {
  margin: 0.45rem 0;
  font-size: 1.18rem;
}

.product-copy p {
  color: #5a675e;
  min-height: 58px;
}

.prose {
  max-width: 900px;
}

.prose h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.2rem;
  font-family: "Georgia", "Times New Roman", serif;
}

.prose p {
  color: var(--muted);
  line-height: 1.74;
}

.reviews {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(230, 218, 200, 0.35));
}

.reviews-intro {
  color: var(--muted);
}

.marquee-row {
  overflow: hidden;
  margin-top: 1rem;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.5rem 0;
  animation-duration: 38s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.marquee-right .marquee-track {
  animation-name: move-right;
}

.marquee-left .marquee-track {
  animation-name: move-left;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes move-right {
  from {
    transform: translateX(-55%);
  }
  to {
    transform: translateX(0%);
  }
}

@keyframes move-left {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-55%);
  }
}

.review-card {
  width: 280px;
  min-height: 112px;
  border: 1px solid #dfd2bf;
  border-radius: 16px;
  background: #fffefb;
  padding: 0.72rem;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.7rem;
}

.review-card img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

.review-card h3 {
  margin: 0;
  font-size: 0.92rem;
}

.review-card p {
  margin: 0.3rem 0 0;
  color: #59675d;
  font-size: 0.86rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid #dccfbf;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  background: #fffdf8;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  color: var(--muted);
  margin: 0.65rem 0 0;
}

.site-footer {
  background: linear-gradient(180deg, #3a2d68, var(--footer));
  color: #f4f0ff;
  padding: 2.3rem 0;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -120px;
  top: -170px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand img {
  width: 140px;
}

.footer-brand p {
  color: rgba(244, 240, 255, 0.9);
  max-width: 500px;
}

.footer-nav {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  min-width: 210px;
}

.footer-nav a {
  color: rgba(244, 240, 255, 0.92);
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
  transform: translateX(3px);
}

.trust-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  padding: 0.9rem;
  min-width: 240px;
}

.trust-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-head img {
  width: 20px;
  height: 20px;
}

.trust-score {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0.6rem 0 0.2rem;
}

@media (max-width: 980px) {
  .desktop-nav,
  .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    display: none;
  }

  .hero-mobile-slider {
    display: block;
    margin: 1.2rem auto 0;
    width: min(92%, 510px);
  }

  .slides {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(31, 92, 70, 0.18);
    box-shadow: var(--shadow);
    touch-action: pan-y;
    background: #fff;
  }

  .slide {
    display: none;
  }

  .slide.active {
    display: block;
    animation: fade 0.35s ease;
  }

  @keyframes fade {
    from {
      opacity: 0.4;
    }
    to {
      opacity: 1;
    }
  }

  .slide img {
    width: 100%;
    object-fit: cover;
  }

  .slider-controls {
    margin-top: 0.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(31, 92, 70, 0.35);
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
  }

  .dots {
    display: flex;
    gap: 0.4rem;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    background: rgba(31, 92, 70, 0.4);
  }

  .dot.active {
    background: var(--accent);
    transform: scale(1.15);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .overlay-logo {
    right: 14px;
    bottom: 40px;
    width: 74px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 2.2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .product-image-wrap > img:first-of-type {
    height: 210px;
  }

  .rating {
    bottom: 10px;
  }

  .overlay-logo {
    right: 12px;
    bottom: 36px;
    width: 66px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
