:root {
  --dark-earth: #1C110A;
  --amber-gold: #C98A2C;
  --warm-cream: #FAF6F0;
  --forest-green: #2C3E2E;
}

body {
  background-color: var(--warm-cream);
  color: var(--dark-earth);
  font-family: "Segoe UI", "Poppins", sans-serif;
  font-size: 14px;
}

a {
  color: var(--amber-gold);
}

/* ---------- Navbar ---------- */
.navbar-shilajit {
  background-color: var(--dark-earth);
}

.navbar-shilajit .navbar-brand,
.navbar-shilajit .nav-link {
  color: var(--warm-cream) !important;
  font-weight: 600;
}

.navbar-shilajit .nav-link:hover {
  color: var(--amber-gold) !important;
}

.navbar-shilajit .container {
  flex-wrap: nowrap;
}

.navbar-shilajit .navbar-brand {
  font-size: clamp(1.05rem, 4.5vw, 1.75rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.navbar-shilajit .navbar-toggler {
  flex-shrink: 0;
  border: 1px solid rgba(201, 138, 44, 0.55);
  background-color: rgba(201, 138, 44, 0.14);
  border-radius: 8px;
  padding: 7px 10px;
  transition: all 0.2s ease-in-out;
  z-index: 1051;
}

.navbar-shilajit .navbar-toggler:hover {
  background-color: rgba(201, 138, 44, 0.25);
}

.navbar-shilajit .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(201, 138, 44, 0.35);
  outline: none;
}

.navbar-shilajit .navbar-toggler-icon {
  width: 1.3em;
  height: 1.3em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23C98A2C' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Site Sidebar (Mobile Off-canvas) ---------- */
.site-sidebar {
  width: 280px;
  max-width: 85vw;
  background: var(--dark-earth);
  color: var(--warm-cream);
  visibility: visible;
}

.site-sidebar .offcanvas-header {
  border-bottom: 1px solid rgba(250, 246, 240, 0.1);
  padding: 20px;
}

.site-sidebar .btn-close {
  filter: invert(1) grayscale(100%) brightness(2);
  opacity: 0.8;
}

.site-sidebar .offcanvas-body {
  padding: 24px 20px;
}

.site-sidebar .nav-link {
  color: rgba(250, 246, 240, 0.85);
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.site-sidebar .nav-link:hover {
  background: rgba(201, 138, 44, 0.12);
  color: var(--amber-gold);
}

/* ---------- Buttons ---------- */
.btn-amber {
  background-color: var(--amber-gold);
  border-color: var(--amber-gold);
  color: var(--dark-earth);
  font-weight: 700;
  transition: all 0.25s ease-in-out;
}

.btn-amber:hover {
  background-color: #e0a13a;
  border-color: #e0a13a;
  color: var(--dark-earth);
  box-shadow: 0 0 18px rgba(201, 138, 44, 0.6);
  transform: translateY(-2px);
}

.btn-forest {
  background-color: var(--forest-green);
  border-color: var(--forest-green);
  color: var(--warm-cream);
  font-weight: 700;
  transition: all 0.25s ease-in-out;
}

.btn-forest:hover {
  background-color: #3c5440;
  box-shadow: 0 0 18px rgba(44, 62, 46, 0.55);
  transform: translateY(-2px);
  color: var(--warm-cream);
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-dark {
  background-color: var(--dark-earth);
  color: var(--warm-cream);
}

.section-green {
  background-color: var(--forest-green);
  color: var(--warm-cream);
}

.section-title {
  font-weight: 800;
  color: var(--dark-earth);
  margin-bottom: 1rem;
}

.section-dark .section-title,
.section-green .section-title {
  color: var(--warm-cream);
}

/* ---------- Wave Separators ---------- */
.wave-separator {
  display: block;
  width: 100%;
  line-height: 0;
}

.wave-separator svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ---------- Hero ---------- */
.hero-swiper {
  position: relative;
  background-color: var(--dark-earth);
}

.hero-slide {
  position: relative;
  height: 92vh;
  min-height: 620px;
  max-height: 900px;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* Gradient concentrated at the bottom so the image reads clearly at the top */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,8,6,0.96) 0%, rgba(28,17,10,0.55) 42%, rgba(28,17,10,0.08) 68%, rgba(28,17,10,0) 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 110px;
}

.hero-overlay .container {
  color: var(--warm-cream);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(201, 138, 44, 0.5);
  color: var(--amber-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-overlay h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.12;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.hero-overlay .lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(250, 246, 240, 0.85);
  max-width: 560px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

/* ---------- Hero Controls: pagination + arrows together, anchored at bottom ---------- */
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.hero-controls .hero-arrow {
  position: static;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  background: rgba(250, 246, 240, 0.12);
  border: 1px solid rgba(250, 246, 240, 0.35);
  color: var(--warm-cream);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.hero-controls .hero-arrow::after {
  font-size: 1rem;
}

.hero-controls .hero-arrow:hover {
  background: var(--amber-gold);
  border-color: var(--amber-gold);
  color: var(--dark-earth);
}

.hero-swiper .swiper-pagination {
  position: static;
  width: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(250, 246, 240, 0.5);
  opacity: 1;
  transition: all 0.25s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--amber-gold);
  width: 26px;
  border-radius: 5px;
}

@media (max-width: 767px) {
  .hero-slide {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .hero-overlay {
    align-items: flex-end;
    padding-bottom: 86px;
    background: linear-gradient(0deg, rgba(13,8,6,0.97) 0%, rgba(28,17,10,0.75) 32%, rgba(28,17,10,0.15) 58%, rgba(28,17,10,0) 78%);
  }

  .hero-overlay .lead { max-width: 100%; }
  .hero-controls { bottom: 16px; gap: 16px; }
  .hero-controls .hero-arrow { width: 36px; height: 36px; }
}

/* ---------- Cards ---------- */
.card-shilajit {
  background-color: #fff;
  border: 1px solid rgba(28, 17, 10, 0.08);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card-shilajit:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(28, 17, 10, 0.18);
}

.card-shilajit img {
  transition: transform 0.5s ease;
}

.card-shilajit:hover img {
  transform: scale(1.08);
}

/* ---------- Pricing Tiers ---------- */
.pricing-option {
  border: 2px solid rgba(28, 17, 10, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  background: #fff;
}

.pricing-option:hover {
  border-color: var(--amber-gold);
  box-shadow: 0 8px 20px rgba(201, 138, 44, 0.25);
  transform: translateY(-3px);
}

.pricing-option.active,
.btn-check:checked + .pricing-option {
  border-color: var(--forest-green);
  background-color: rgba(44, 62, 46, 0.06);
  box-shadow: 0 0 0 3px rgba(44, 62, 46, 0.15);
}

.pricing-option .badge-maarufu {
  background-color: var(--amber-gold);
  color: var(--dark-earth);
}

.pricing-option {
  position: relative;
}

.pricing-check {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--forest-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 3px 8px rgba(44, 62, 46, 0.4);
}

/* ---------- Price List (Vifurushi kama Orodha) ---------- */
.price-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid rgba(28, 17, 10, 0.1);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s ease-in-out;
  margin-bottom: 0;
}

.price-list-item:hover {
  border-color: var(--amber-gold);
  box-shadow: 0 6px 16px rgba(201, 138, 44, 0.18);
}

.price-list-item.active {
  border-color: var(--forest-green);
  background-color: rgba(44, 62, 46, 0.06);
  box-shadow: 0 0 0 3px rgba(44, 62, 46, 0.12);
}

.price-list-radio {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid rgba(28, 17, 10, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
}

.price-list-item.active .price-list-radio {
  background: var(--forest-green);
  border-color: var(--forest-green);
}

.price-list-info {
  flex-grow: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.price-list-name {
  font-weight: 700;
  color: var(--dark-earth);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-list-name .badge-maarufu {
  background-color: var(--amber-gold);
  color: var(--dark-earth);
  font-size: 0.62rem;
}

.price-list-pcs {
  font-size: 0.8rem;
  color: #8a7a6c;
}

.price-list-amount {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.price-list-price {
  color: var(--forest-green);
  font-size: 1.05rem;
}

/* ---------- Delivery Note ---------- */
.delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--dark-earth);
  background: rgba(201, 138, 44, 0.08);
  border-left: 3px solid var(--amber-gold);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 0;
}

.delivery-note i {
  color: var(--amber-gold);
  margin-top: 2px;
}

/* ---------- Order Now Box (kitufe kinachofungua modal) ---------- */
.order-now-box {
  background: #fff;
  border: 1px solid rgba(28, 17, 10, 0.07);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 12px 35px rgba(28, 17, 10, 0.08);
}

.order-now-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--forest-green);
  line-height: 1.15;
  white-space: nowrap;
}

/* ---------- Order Modal (Agiza Sasa) ---------- */
.order-modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.order-modal-content .modal-header {
  background: var(--dark-earth);
  color: var(--warm-cream);
  border-bottom: none;
  padding: 18px 22px;
}

.order-modal-content .modal-header .text-muted {
  color: rgba(250, 246, 240, 0.65) !important;
}

.order-modal-content .btn-close {
  filter: invert(1) grayscale(100%) brightness(2);
  opacity: 0.8;
}

.order-modal-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.order-modal-content .modal-body {
  background: var(--warm-cream);
  padding: 22px;
}

.order-modal-content .buy-box {
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

/* ---------- Buy Box (Order Form) ---------- */
.buy-box {
  background: #fff;
  border: 1px solid rgba(28, 17, 10, 0.07);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 35px rgba(28, 17, 10, 0.08);
}

.buy-box-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.buy-summary-box {
  background: linear-gradient(135deg, rgba(44, 62, 46, 0.07), rgba(201, 138, 44, 0.07));
  border: 1px dashed rgba(201, 138, 44, 0.35);
  border-radius: 16px;
  padding: 18px 20px;
}

.form-icon-group {
  position: relative;
}

.form-icon-group i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #a8988a;
  font-size: 0.95rem;
  pointer-events: none;
}

.form-icon-group .form-control {
  padding-left: 40px;
  border-radius: 12px;
  border-color: rgba(28, 17, 10, 0.12);
  padding-top: 10px;
  padding-bottom: 10px;
}

.form-icon-group .form-control:focus {
  border-color: var(--amber-gold);
  box-shadow: 0 0 0 3px rgba(201, 138, 44, 0.15);
}

.buy-box-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 0.75rem;
  color: #8a7a6c;
}

.buy-box-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.buy-box-trust i {
  color: var(--forest-green);
}

.bei-kabla {
  text-decoration: line-through;
  opacity: 0.55;
  font-size: 0.9rem;
}

/* ---------- Product Gallery ---------- */
.gallery-thumb {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumb:hover {
  transform: scale(1.05);
  border-color: var(--amber-gold);
}

.gallery-thumb.swiper-slide-thumb-active {
  border-color: var(--forest-green);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(28, 17, 10, 0.08);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
}

.testimonial-card img {
  width: 100%;
  display: block;
}

/* ---------- Footer ---------- */
.footer-shilajit {
  background-color: var(--dark-earth);
  color: var(--warm-cream);
  padding: 40px 0;
}

/* ---------- Htmx loading indicator ---------- */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline-block;
}

.htmx-request.htmx-indicator {
  display: inline-block;
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  background-color: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(28, 17, 10, 0.08);
  padding: 24px 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  text-align: left;
}

.trust-item .trust-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background: rgba(201, 138, 44, 0.12);
  color: var(--amber-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--dark-earth);
}

.trust-item span {
  font-size: 0.78rem;
  color: #8a7a6c;
}

/* ---------- Product Card v2 ---------- */
.product-card-v2 {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(28, 17, 10, 0.06);
  box-shadow: 0 8px 24px rgba(28, 17, 10, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card-v2:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 45px rgba(28, 17, 10, 0.16);
  border-color: rgba(201, 138, 44, 0.35);
}

.product-card-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--warm-cream);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card-v2:hover .product-card-media img {
  transform: scale(1.1);
}

.product-tags {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.product-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-tag-gold {
  background: var(--amber-gold);
  color: var(--dark-earth);
}

.product-tag-sale {
  background: var(--forest-green);
  color: #fff;
}

.product-quickview {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark-earth);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.3s ease;
}

.product-card-v2:hover .product-quickview {
  opacity: 1;
  transform: translateY(0);
}

.product-quickview:hover {
  background: var(--amber-gold);
  color: var(--dark-earth);
}

.product-card-body {
  padding: 18px 18px 20px;
}

.product-stars {
  color: var(--amber-gold);
  font-size: 0.72rem;
}

.product-stars-count {
  color: #a8988a;
  font-size: 0.72rem;
  margin-left: 4px;
}

.product-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark-earth);
}

.product-desc {
  font-size: 0.85rem;
  color: #8a7a6c;
  margin-bottom: 14px;
}

.product-meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px dashed rgba(28, 17, 10, 0.12);
  padding-top: 12px;
}

.product-price-label {
  font-size: 0.68rem;
  color: #a8988a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-price {
  font-weight: 800;
  font-size: clamp(0.95rem, 3.5vw, 1.15rem);
  color: var(--forest-green);
  line-height: 1.1;
  white-space: nowrap;
}

.product-pcs-badge {
  font-size: 0.7rem;
  color: var(--dark-earth);
  background: rgba(44, 62, 46, 0.08);
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Tatizo/Utatuzi Rows (zig-zag) ---------- */
.ps-row {
  padding: 90px 0;
  overflow: hidden;
}

.ps-row.ps-light {
  background-color: var(--warm-cream);
  color: var(--dark-earth);
}

.ps-row.ps-dark {
  background-color: var(--dark-earth);
  color: var(--warm-cream);
}

.ps-row.ps-dark p {
  color: rgba(250, 246, 240, 0.78);
}

.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ps-badge-utatuzi {
  background: var(--amber-gold);
  color: var(--dark-earth);
}

.ps-badge-tatizo {
  background: rgba(250, 246, 240, 0.1);
  color: var(--amber-gold);
  border: 1px solid rgba(201, 138, 44, 0.4);
}

.ps-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  position: relative;
}

.ps-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.ps-media:hover img {
  transform: scale(1.06);
}

.ps-faida-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.ps-faida-list i {
  color: var(--amber-gold);
  margin-top: 3px;
}

/* ---------- Suluhisho Band (glass cards, dark, gold accents) ---------- */
.solution-band {
  background: radial-gradient(ellipse at top, #2a1f14 0%, var(--dark-earth) 60%, #0d0806 100%);
  padding: 100px 0;
  color: var(--warm-cream);
  position: relative;
}

.solution-band .container { position: relative; z-index: 1; }

.solution-band .eyebrow {
  color: var(--amber-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
}

.solution-band h2 {
  color: var(--warm-cream);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 46px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 138, 44, 0.18);
  border-radius: 20px;
  padding: 30px 22px;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(201, 138, 44, 0.5);
}

.solution-card .icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(201, 138, 44, 0.15);
  color: var(--amber-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.solution-card p {
  color: rgba(250, 246, 240, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Legal / Policy Pages ---------- */
.legal-hero {
  background-color: var(--dark-earth);
  color: var(--warm-cream);
  padding: 70px 0 50px;
  text-align: center;
}

.legal-hero .eyebrow {
  color: var(--amber-gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.legal-hero h1 {
  font-weight: 800;
  margin: 10px 0 6px;
}

.legal-hero p {
  color: rgba(250, 246, 240, 0.7);
  margin-bottom: 0;
}

.legal-doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 0 90px;
  color: var(--dark-earth);
}

.legal-doc h2 {
  font-weight: 800;
  font-size: 1.3rem;
  margin-top: 42px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(201, 138, 44, 0.25);
}

.legal-doc h2:first-child { margin-top: 0; }

.legal-doc h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--forest-green);
}

.legal-doc p, .legal-doc li {
  color: #4a3d33;
  line-height: 1.75;
}

.legal-doc ul, .legal-doc ol {
  padding-left: 1.3rem;
}

.legal-doc li { margin-bottom: 6px; }

.legal-doc .legal-updated {
  font-size: 0.85rem;
  color: #a8988a;
  margin-bottom: 0;
}

.legal-doc .legal-callout {
  background: rgba(201, 138, 44, 0.08);
  border-left: 4px solid var(--amber-gold);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}

.legal-doc .legal-callout p { margin-bottom: 0; color: var(--dark-earth); }

.legal-doc a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer-shilajit a {
  color: rgba(250, 246, 240, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-shilajit a:hover {
  color: var(--amber-gold);
}

.footer-shilajit h6 {
  color: var(--warm-cream);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.footer-shilajit .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.92rem;
}

.footer-shilajit .footer-contact-item i {
  color: var(--amber-gold);
  margin-top: 3px;
}

.footer-shilajit .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(250, 246, 240, 0.08);
  border: 1px solid rgba(250, 246, 240, 0.15);
  margin-right: 8px;
  transition: all 0.25s ease;
}

.footer-shilajit .footer-social a:hover {
  background: var(--amber-gold);
  color: var(--dark-earth);
  transform: translateY(-3px);
}

.footer-shilajit .footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  margin-top: 40px;
  padding-top: 22px;
}

.footer-shilajit .footer-bottom a {
  font-size: 0.82rem;
}

/* ---------- Connected Pattern Backgrounds ---------- */
/* SVG tile: dots connected by thin lines - subtle "network" texture */
.bg-pattern {
  position: relative;
  isolation: isolate;
}

.bg-pattern > .container,
.bg-pattern > .container-fluid {
  position: relative;
  z-index: 1;
}

.bg-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: repeat;
  background-size: 160px 160px;
}

/* Amber lines/dots - for light (cream) backgrounds */
.bg-pattern-light::before {
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23C98A2C' stroke-width='1'%3E%3Cline x1='12' y1='14' x2='78' y2='46'/%3E%3Cline x1='78' y1='46' x2='146' y2='20'/%3E%3Cline x1='78' y1='46' x2='46' y2='112'/%3E%3Cline x1='46' y1='112' x2='122' y2='134'/%3E%3Cline x1='122' y1='134' x2='146' y2='84'/%3E%3Cline x1='146' y1='84' x2='78' y2='46'/%3E%3C/g%3E%3Cg fill='%23C98A2C'%3E%3Ccircle cx='12' cy='14' r='2.6'/%3E%3Ccircle cx='78' cy='46' r='3.4'/%3E%3Ccircle cx='146' cy='20' r='2.6'/%3E%3Ccircle cx='46' cy='112' r='2.6'/%3E%3Ccircle cx='122' cy='134' r='3.4'/%3E%3Ccircle cx='146' cy='84' r='2.6'/%3E%3C/g%3E%3C/svg%3E");
}

/* Amber lines/dots on dark backgrounds - lower opacity, glows softly */
.bg-pattern-dark::before {
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23C98A2C' stroke-width='1'%3E%3Cline x1='12' y1='14' x2='78' y2='46'/%3E%3Cline x1='78' y1='46' x2='146' y2='20'/%3E%3Cline x1='78' y1='46' x2='46' y2='112'/%3E%3Cline x1='46' y1='112' x2='122' y2='134'/%3E%3Cline x1='122' y1='134' x2='146' y2='84'/%3E%3Cline x1='146' y1='84' x2='78' y2='46'/%3E%3C/g%3E%3Cg fill='%23C98A2C'%3E%3Ccircle cx='12' cy='14' r='2.6'/%3E%3Ccircle cx='78' cy='46' r='3.4'/%3E%3Ccircle cx='146' cy='20' r='2.6'/%3E%3Ccircle cx='46' cy='112' r='2.6'/%3E%3Ccircle cx='122' cy='134' r='3.4'/%3E%3Ccircle cx='146' cy='84' r='2.6'/%3E%3C/g%3E%3C/svg%3E");
}

/* Fade the pattern out toward the edges so it doesn't fight card content */
.bg-pattern-fade::before {
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 85%);
}

/* ---------- Product Detail Page ---------- */
.breadcrumb-item a {
  color: #8a7a6c;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--forest-green);
  font-weight: 600;
}

.product-sticky-gallery {
  position: static;
}

@media (min-width: 992px) {
  .product-sticky-gallery {
    position: sticky;
    top: 96px;
  }
}

.product-gallery-main {
  border-radius: 20px;
  overflow: hidden;
  height: 440px;
  box-shadow: 0 15px 40px rgba(28, 17, 10, 0.1);
}

@media (max-width: 767px) {
  .product-gallery-main {
    border-radius: 0;
    height: 78vw;
    max-height: 380px;
    box-shadow: none;
  }
}

/* ---------- Hide Header on Mobile (mfano: ukurasa wa bidhaa) ---------- */
body.hide-header-mobile .site-navbar {
  display: none;
}

@media (min-width: 768px) {
  body.hide-header-mobile .site-navbar {
    display: flex;
  }
}

.product-back-btn {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1040;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(28, 17, 10, 0.55);
  color: var(--warm-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  backdrop-filter: blur(4px);
  text-decoration: none;
}

.product-back-btn:hover {
  background: var(--amber-gold);
  color: var(--dark-earth);
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-main .swiper-button-next,
.product-gallery-main .swiper-button-prev {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: var(--dark-earth);
  backdrop-filter: blur(4px);
}

.product-gallery-main .swiper-button-next::after,
.product-gallery-main .swiper-button-prev::after {
  font-size: 0.9rem;
  font-weight: 700;
}

.product-gallery-main .swiper-button-next:hover,
.product-gallery-main .swiper-button-prev:hover {
  background: var(--amber-gold);
}

.product-gallery-thumbs .swiper-slide {
  height: 84px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.product-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

.trust-item-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 6px;
  box-shadow: 0 4px 14px rgba(28, 17, 10, 0.06);
}

.trust-item-mini .trust-icon {
  width: 38px;
  height: 38px;
  font-size: 1.05rem;
}

.trust-item-mini strong {
  font-size: 0.72rem;
  color: var(--dark-earth);
  line-height: 1.2;
}

/* ---------- Jinsi ya Kutumia (How to Use) Steps ---------- */
.matumizi-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.matumizi-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.matumizi-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 46px;
  bottom: -4px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(201,138,44,0.4) 0 6px, transparent 6px 12px);
}

.matumizi-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber-gold);
  color: var(--dark-earth);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.matumizi-step p {
  margin-bottom: 0;
  padding-top: 6px;
  color: #4a3d33;
}

/* ---------- Network-Coded Payment Options ---------- */
.network-option {
  position: relative;
  border: 2px solid rgba(28, 17, 10, 0.12);
  border-radius: 14px;
  padding: 14px 8px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  background: #fff;
  color: var(--dark-earth);
  font-weight: 600;
}

.network-option i {
  font-size: 1.2rem;
  color: var(--network-color, var(--dark-earth));
}

.network-option:hover {
  border-color: var(--network-color, var(--amber-gold));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-check:checked + .network-option {
  border-color: var(--network-color, var(--forest-green));
  background: color-mix(in srgb, var(--network-color, var(--forest-green)) 12%, white);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--network-color, var(--forest-green)) 25%, transparent);
}

.lipa-namba-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
}

/* ---------- Malipo Yamekamilika (Payment Success Celebration) ---------- */
.malipo-success-banner {
  background: linear-gradient(155deg, var(--forest-green) 0%, #24331f 100%);
  border-radius: 26px;
  padding: 56px 28px;
  color: var(--warm-cream);
  box-shadow: 0 25px 60px rgba(44, 62, 46, 0.4);
  position: relative;
  overflow: hidden;
  animation: malipo-banner-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.malipo-success-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,138,44,0.15) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.7;
}

.malipo-success-icon-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--amber-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(201, 138, 44, 0.18), 0 0 0 22px rgba(201, 138, 44, 0.09);
  animation: malipo-icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.malipo-success-icon {
  font-size: 3.4rem;
  color: var(--dark-earth);
}

.malipo-success-title {
  position: relative;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 14px;
}

.malipo-success-text {
  position: relative;
  color: rgba(250, 246, 240, 0.85);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

.malipo-success-namba {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  background: rgba(250, 246, 240, 0.12);
  border: 1px solid rgba(250, 246, 240, 0.25);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@keyframes malipo-banner-in {
  0% { opacity: 0; transform: translateY(18px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes malipo-icon-pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---------- Spinner ya Jumla kwa Buttons Zote (HTMX + plain) ---------- */
/* HTMX huongeza class "htmx-request" moja kwa moja kwenye button/link
   iliyosababisha ombi (isipokuwa hx-indicator maalum imewekwa). */
a.btn.htmx-request,
button.btn.htmx-request,
.btn.is-loading {
  pointer-events: none;
  opacity: 0.72;
  position: relative;
  padding-right: 2.4em !important;
}

a.btn.htmx-request::after,
button.btn.htmx-request::after,
.btn.is-loading::after {
  content: "";
  position: absolute;
  right: 0.9em;
  top: 50%;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: -0.475rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Checkout ---------- */
.payment-box {
  border: 2px dashed var(--amber-gold);
  border-radius: 14px;
  background: rgba(201, 138, 44, 0.06);
}
