/* Hero */
.hero { position: relative; overflow: hidden; padding: 0; }
.hero-slides { display: flex; transition: transform 0.6s ease; }
.hero-slide { min-width: 100%; position: relative; color: var(--color-white); }
.hero-slide img { width: 100%; height: 420px; object-fit: cover; display: block; }
/* Darkens the side the caption sits on so white text stays readable on any photo */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0) 78%
  );
}
.hero-caption {
  position: absolute;
  z-index: 1;
  bottom: 40px;
  left: 40px;
  max-width: 500px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
/* Slides 2 and 3 use <p class="hero-title"> rather than <h1>: three <h1>s in one
   carousel is bad document structure, and only the first slide is the page title. */
.hero-caption h1, .hero-caption .hero-title { font-size: 2.2rem; font-weight: 700; margin: 0 0 0.5em; }
.hero-dots { position: absolute; bottom: 16px; right: 24px; display: flex; gap: 8px; }
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer; border: none;
}
.hero-dot.active { background: var(--color-gold); }

/* Trust badges */
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 32px 0; }
.trust-badge {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  font-weight: 600;
}
@media (max-width: 780px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }

/* Product grid/card */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-image img { width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius); }
.product-category { font-size: 0.75rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--color-primary-dark); font-weight: 700; }
.product-name { font-size: 1.05rem; margin: 0; }
.product-unit { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; min-height: 1em; }
.product-price { font-size: 1.15rem; font-weight: 800; color: var(--color-primary-dark); margin: 0; }
/* Product added ahead of pricing — reads as "waiting", not as a real price
   (no currency sign, muted colour, italic). */
.product-price-pending { font-size: 0.95rem; font-weight: 600; font-style: italic; color: var(--color-text-muted); }
/* Product names wrap to one or two lines and some products have no unit string,
   so without this the quantity stepper and Add-to-cart button sit at different
   heights across a row. Pushing the stepper down aligns them. */
.product-qty { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; }
.qty-decrease, .qty-increase {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--color-border); background: var(--color-bg-alt); cursor: pointer;
}

/* Video highlights */
.video-highlights { text-align: center; }
.video-highlights-subtitle { color: var(--color-text-muted); margin-top: -16px; margin-bottom: 32px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
  max-height: 520px;
  width: 100%;
  min-width: 0;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 780px) {
  .video-grid { gap: 10px; }
}
@media (max-width: 480px) {
  .video-grid { gap: 6px; }
}

/* Follow us / TikTok */
.follow-us { text-align: center; }
.follow-us-subtitle { color: var(--color-text-muted); margin-top: -16px; margin-bottom: 32px; }
.tiktok-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}
.follow-us-cta { background: var(--color-text); }
.follow-us-cta:hover { background: #333333; }

.tiktok-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  padding: 24px 18px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tiktok-card:hover,
.tiktok-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(43, 33, 24, 0.18);
}
.tiktok-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.tiktok-card-caption {
  flex: 1;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 18px;
}
.tiktok-card-watch {
  display: inline-block;
  padding: 8px 16px;
  background: var(--color-text);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
}
@media (max-width: 480px) {
  .tiktok-card { width: 100%; max-width: 280px; }
}

/* Categories */
.categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--color-white);
  min-height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.category-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.65));
}
.category-card-content { position: relative; z-index: 1; }
@media (max-width: 900px) { .categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .categories { grid-template-columns: 1fr; } }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--color-primary); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; gap: 20px; padding: 24px; } }

/* Testimonials */
.testimonials-subtitle { text-align: center; color: var(--color-text-muted); margin-top: -16px; margin-bottom: 32px; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.testimonial-name { font-weight: 700; margin-top: 12px; }
.testimonial-source { font-size: 0.8rem; color: var(--color-gold-text); margin-top: 2px; font-weight: 600; }
.testimonials-cta {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: underline;
}
@media (max-width: 780px) { .testimonials { grid-template-columns: 1fr; } }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%;
  color: inherit;
  font-family: inherit;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--color-text-muted); }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 16px; }

/* Cart panel */
.cart-panel {
  position: fixed;
  top: 0; right: -420px;
  width: 380px; max-width: 92vw;
  height: 100vh;
  background: var(--color-white);
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
  z-index: 200;
  transition: right 0.3s ease;
  overflow-y: auto;
}
.cart-panel.open { right: 0; }
.cart-panel-inner { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.cart-panel-header { display: flex; justify-content: space-between; align-items: center; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--color-border); padding-bottom: 10px;
}
.cart-subtotal { font-weight: 700; font-size: 1.1rem; }
.checkout-form { display: flex; flex-direction: column; gap: 10px; }
.checkout-form input { padding: 10px; border: 1px solid var(--color-border); border-radius: var(--radius); font-family: inherit; }
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 190; }

/* WhatsApp bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow);
  z-index: 100;
}

/* Shop toolbar */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  font-weight: 600;
}
.filter-chip.active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* Hero readability on small screens: the caption was pinned 40px from the corner,
   which left almost no room for the headline at 375px. */
@media (max-width: 780px) {
  .hero-slide img { height: 340px; }
  .hero-caption { left: 20px; right: 20px; bottom: 52px; max-width: none; }
  .hero-caption h1, .hero-caption .hero-title { font-size: 1.6rem; }
  .hero-caption p { font-size: 0.95rem; }
  .hero-dots { bottom: 14px; left: 20px; right: auto; }
}

/* Videos stacked three-across stay legible on phones only if they go single file. */
@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; gap: 20px; max-width: 340px; margin: 0 auto; }
}

/* Cart panel: give the checkout form and item rows room to breathe. */
.cart-panel-inner { min-height: 100%; }
.cart-empty { color: var(--color-text-muted); margin: 8px 0; }
.checkout-form label { font-weight: 600; font-size: 0.9rem; }
.products-empty { text-align: center; color: var(--color-text-muted); grid-column: 1 / -1; }

/* Shop toolbar spacing so the chips are not glued to the heading. */
.shop-toolbar { margin-top: 4px; }
.filter-chip:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
.filter-chip.active:hover { color: var(--color-white); }

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.about-intro p { color: var(--color-text); max-width: 62ch; }
.about-intro h3 { margin-top: 28px; color: var(--color-primary-dark); }
.about-cta { margin-top: 20px; }
.about-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}
.about-card h3 { color: var(--color-primary-dark); margin-bottom: 14px; }
.about-card h3 + * { margin-top: 0; }
.about-card > h3:not(:first-child) { margin-top: 26px; }
.about-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--color-text-muted); }
.about-list-icon { font-size: 1.1rem; line-height: 1.3; }
.about-list a { font-size: 1rem; font-weight: 700; }
.about-address { font-style: normal; line-height: 1.7; margin-bottom: 12px; }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Prose links inside page content need to look like links — the global
   `a { color: inherit; text-decoration: none }` reset made the About page's
   phone number, socials and directions link indistinguishable from body text. */
main p a,
main li a,
main address + a,
.about-card a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
main p a:hover,
main li a:hover,
main address + a:hover,
.about-card a:hover { color: var(--color-accent-dark); }
