/* ==========================================================
   LYN Naturals — brand stylesheet
   Primary green: #0e6b38
   ========================================================== */

:root {
  --brand-green: #0e6b38;
  --brand-green-dark: #0a4f29;
  --brand-green-light: #e9f4ee;
  --brand-cream: #faf8f3;
  --brand-ink: #1f2420;
  --radius-lg: 14px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--brand-ink);
  background-color: #fff;
}

h1, h2, h3, h4, h5, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

a { color: var(--brand-green); text-decoration: none; }
a:hover { color: var(--brand-green-dark); }

.btn-brand {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .7rem 1.6rem;
  border-radius: 999px;
  transition: transform .2s ease, background-color .2s ease;
}
.btn-brand:hover { background-color: var(--brand-green-dark); color: #fff; transform: translateY(-2px); }

.btn-outline-brand {
  border: 1.5px solid var(--brand-green);
  color: var(--brand-green);
  border-radius: 999px;
  font-weight: 600;
  padding: .65rem 1.5rem;
  background: transparent;
}
.btn-outline-brand:hover { background: var(--brand-green); color: #fff; }

.text-brand { color: var(--brand-green) !important; }
.bg-brand { background-color: var(--brand-green) !important; }
.bg-brand-light { background-color: var(--brand-green-light) !important; }
.border-brand { border-color: var(--brand-green) !important; }

/* ---------- Top utility bar & Navigation ---------- */
.topbar {
  background: var(--brand-green-dark);
  color: #fff;
  font-size: .82rem;
}
.topbar a { color: #eafff2; }

.site-nav {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-nav .navbar-brand img { height: 46px; }
.site-nav .nav-link {
  font-weight: 600;
  color: var(--brand-ink);
  margin: 0 .5rem;
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand-green); }

.nav-icon-btn {
  color: var(--brand-ink);
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--brand-green);
  color: #fff;
  font-size: .65rem;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero slider ---------- */
.hero-slide {
  position: relative;
  height: 78vh;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,20,14,.55) 0%, rgba(10,20,14,.15) 60%, rgba(10,20,14,0) 100%);
}
.hero-slide .hero-content { position: relative; z-index: 2; color: #fff; max-width: 620px; }
.hero-slide h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; }
.carousel-indicators [data-bs-target] { background-color: #fff; }

/* ---------- Section titles ---------- */
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title .eyebrow {
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .8rem;
}
.section-title h2 { margin-top: .35rem; }

/* ---------- Product cards ---------- */
.product-card {
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(14,107,56,.15); }
.product-card .product-img-wrap { aspect-ratio: 1/1; overflow: hidden; background: var(--brand-green-light); position: relative; }
.product-card .product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-card .badge-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--brand-green); color: #fff;
  font-size: .68rem; padding: .3rem .6rem; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .04em;
}
.product-card .body { padding: 1rem 1.1rem 1.2rem; }
.product-card .price-old { text-decoration: line-through; color: #999; font-size: .9rem; }
.product-card .price-current { color: var(--brand-green-dark); font-weight: 700; font-size: 1.1rem; }

/* ---------- Category cards ---------- */
.category-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; height: 260px;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card .overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,20,14,.7), rgba(10,20,14,0) 55%);
  display: flex; align-items: flex-end; padding: 1.2rem; color: #fff; font-family: 'Playfair Display', serif; font-size: 1.4rem;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--brand-green-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  height: 100%;
}
.testimonial-card .stars { color: #e0a800; letter-spacing: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0e6b38; /* required footer color */
  color: #fff;
}
.site-footer a { color: #fff; opacity: .85; }
.site-footer a:hover { opacity: 1; color: #d8ffe9; }
.site-footer h5 { color: #fff; margin-bottom: 1rem; }
.site-footer .social-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: .5rem;
}
.site-footer .social-icon:hover { background: #fff; color: var(--brand-green); border-color: #fff; }
.site-footer hr { border-color: rgba(255,255,255,.2); }

/* ---------- Misc ---------- */
.rating-stars { color: #e0a800; }
.payment-card {
  border: 1px solid #eee; border-radius: var(--radius-lg); padding: 1.5rem;
  background: var(--brand-green-light);
}
.payment-method-box {
  background: #fff; border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: .8rem;
  border-left: 4px solid var(--brand-green);
}
.lipa-number { font-size: 1.4rem; font-weight: 800; color: var(--brand-green-dark); letter-spacing: .04em; }

.status-badge { padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.status-pending_payment { background: #fff3cd; color: #856404; }
.status-payment_received { background: #d1ecf1; color: #0c5460; }
.status-processing { background: #e2e3ff; color: #3730a3; }
.status-ready { background: #d4edda; color: #155724; }
.status-shipped { background: #cfe2ff; color: #084298; }
.status-completed { background: #d1e7dd; color: #0a4f29; }
.status-cancelled { background: #f8d7da; color: #842029; }

@media (max-width: 767px) {
  .hero-slide { height: 62vh; }
}
