:root {
  --color-bg: #ffffff;
  --color-sage: #7f9a83;
  --color-sage-dark: #526e58;
  --color-ink: #252926;
  --color-muted: #6f766f;
  --color-line: #e8ebe4;
  --color-rose: #d9a49d;
  --color-terracotta: #b9684a;
  --color-soft: #f7f4ee;
  --shadow-soft: 0 20px 60px rgba(37, 41, 38, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.topbar {
  background: var(--color-sage-dark);
  color: #fff;
}

.topbar a {
  color: rgba(255, 255, 255, 0.88);
}

.topbar .container > div {
  flex-wrap: wrap;
  justify-content: center;
}

.navbar {
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}

.navbar.scrolled {
  box-shadow: 0 12px 35px rgba(37, 41, 38, 0.08);
}

.brand {
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0;
}

.navbar .nav-link {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding-inline: 0.9rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--color-sage-dark);
}

.btn-primary-custom,
.btn-outline-custom,
.add-cart,
.filter-btn,
.cart-btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn-primary-custom {
  background: var(--color-terracotta);
  border: 1px solid var(--color-terracotta);
  color: #fff;
  padding: 0.78rem 1.35rem;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background: #9f543c;
  border-color: #9f543c;
  color: #fff;
}

.btn-outline-custom {
  border: 1px solid var(--color-sage);
  color: var(--color-sage-dark);
  padding: 0.78rem 1.35rem;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
  background: var(--color-sage-dark);
  border-color: var(--color-sage-dark);
  color: #fff;
}

.cart-btn {
  border: 1px solid var(--color-line);
  color: var(--color-ink);
  height: 44px;
  width: 44px;
}

.cart-count {
  align-items: center;
  background: var(--color-rose);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.7rem;
  height: 19px;
  justify-content: center;
  position: absolute;
  right: -5px;
  top: -5px;
  width: 19px;
}

.hero {
  min-height: calc(100vh - 96px);
  padding: clamp(4rem, 7vw, 7rem) 0 4rem;
}

.hero h1,
.section h2,
.contact-strip h2 {
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  max-width: 720px;
}

.hero .lead {
  color: var(--color-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 600px;
  margin: 1.5rem 0 2rem;
}

.hero-image {
  background: var(--color-soft);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-image img {
  aspect-ratio: 4 / 5;
}

.hero-proof strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-proof span {
  color: var(--color-muted);
  display: block;
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2,
.story-section h2,
.testimonials h2,
.contact-strip h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.section-heading p,
.story-section p,
.contact-strip p {
  color: var(--color-muted);
  margin: 1rem 0 0;
  max-width: 620px;
}

.product-section {
  background: linear-gradient(180deg, #fff 0%, var(--color-soft) 100%);
}

.filter-group {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  display: flex;
  gap: 0.25rem;
  padding: 0.35rem;
}

.filter-btn {
  background: transparent;
  border: 0;
  color: var(--color-muted);
  min-height: 38px;
  padding: 0.45rem 0.9rem;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus {
  background: var(--color-sage-dark);
  color: #fff;
}

.product-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  height: 100%;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.product-card img {
  aspect-ratio: 1 / 1;
}

.product-card-body {
  padding: 1.25rem;
}

.product-card h3,
.benefit-item h3,
.footer h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.product-card p,
.benefit-item p,
.footer p,
.footer span {
  color: var(--color-muted);
}

.add-cart {
  background: #eef3ed;
  color: var(--color-sage-dark);
  font-size: 0.85rem;
  padding: 0.52rem 0.9rem;
}

.add-cart:hover,
.add-cart:focus {
  background: var(--color-sage-dark);
  color: #fff;
}

.story-image {
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.story-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.story-list div {
  align-items: center;
  display: flex;
  gap: 0.7rem;
}

.story-list i,
.benefit-item i {
  color: var(--color-terracotta);
  font-size: 1.3rem;
}

.benefits {
  background: var(--color-sage-dark);
  color: #fff;
}

.benefit-item {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  height: 100%;
  padding: 0.35rem 0 0.35rem 1.2rem;
}

.benefit-item h3 {
  color: #fff;
  margin-top: 1rem;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.testimonials blockquote {
  color: var(--color-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0 0 1rem;
}

.testimonials cite {
  color: var(--color-muted);
  font-style: normal;
  font-weight: 800;
}

.contact-strip {
  background: var(--color-soft);
  padding: clamp(3rem, 5vw, 5rem) 0;
}

.newsletter {
  display: flex;
  gap: 0.75rem;
}

.newsletter .form-control {
  border: 1px solid var(--color-line);
  border-radius: 999px;
  min-height: 54px;
  padding: 0.8rem 1.2rem;
}

.form-message {
  color: var(--color-sage-dark);
  font-weight: 700;
}

.footer {
  background: #20241f;
  color: #fff;
}

.footer-brand {
  color: #fff;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer h3 {
  color: #fff;
}

.footer a,
.footer span {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  margin-bottom: 0.55rem;
}

.footer a:hover,
.footer a:focus {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 0.7rem;
}

.social-links a {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  margin: 0;
  width: 42px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.product-item.is-hidden {
  display: none;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .filter-group {
    border-radius: 8px;
    flex-wrap: wrap;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .topbar {
    text-align: center;
  }

  .topbar a {
    font-size: 0.82rem;
  }

  .topbar a[aria-label="Instagram"] {
    display: none;
  }

  .navbar-brand {
    max-width: 70%;
  }

  .hero .row {
    --bs-gutter-x: 0;
  }

  .hero .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.45rem;
    line-height: 1.08;
    max-width: calc(100vw - 2rem);
    overflow-wrap: break-word;
  }

  .hero .lead {
    font-size: 1rem;
    max-width: calc(100vw - 2rem);
    overflow-wrap: break-word;
  }

  .hero .btn {
    max-width: calc(100vw - 2rem);
    width: calc(100vw - 2rem);
  }

  .hero-proof {
    display: grid !important;
    gap: 0.5rem !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: calc(100vw - 2rem);
    width: calc(100vw - 2rem);
  }

  .hero-proof strong {
    font-size: 1.45rem;
  }

  .hero-proof span {
    font-size: 0.78rem;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter .btn {
    min-height: 52px;
  }
}
