/* ---- DESIGN TOKENS ---- */
:root {
  --green: #2e9e1f;
  --green-dark: #237d17;
  --sage-2: #eef2e6;
  --ink: #1a1a1a;
  --line: #e6e6e6;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --wrap: 1200px;
}
.page-wrap {
  overflow-x: hidden;
  max-width: 100%;
}
/* ---- BASE ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---- ANNOUNCEMENT BAR ---- */
.announce {
  background: var(--green); color: #fff;
  text-align: center; font-size: 14px; font-weight: 600;
  letter-spacing: .5px; padding: 10px 16px; text-transform: uppercase;
}

/* ---- HEADER / NAVBAR ---- */
.header {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 12px; padding-bottom: 12px;
}

/* Responsive image logo */
.logo img { height: 58px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 16px; font-weight: 500; color: var(--ink);
  padding-bottom: 4px; white-space: nowrap; transition: color .2s;
}
.nav a:hover { color: var(--green); }
.nav a.active { color: var(--green); border-bottom: 2px solid var(--green); }

/* Cart icon + count bubble */
.cart-icon { font-size: 22px; position: relative; }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--green); color: #fff; font-size: 11px; font-weight: 600;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger button — hidden on desktop */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 26px; color: var(--ink);
}

/* ---- MOBILE ---- */
@media (max-width: 800px) {
  .logo img { height: 44px; }

  /* Show hamburger, keep header as one row */
  .hamburger { display: block; }
  .header .wrap { flex-wrap: nowrap; justify-content: space-between; }

  /* Nav collapses into a dropdown panel */
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    /* Hidden by default: collapsed */
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.open { max-height: 360px; }   /* opens when hamburger clicked */

  .nav a {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav a.active { border-bottom: 1px solid #f0f0f0; color: var(--green); }

  .cart-icon { padding: 14px 24px; }
  .cart-count { position: static; margin-left: 8px; display: inline-flex; }
}


/* ---- HERO ---- */
.hero {
  background-image: url('../images/hero.png');   /* your AASMA art */
  background-color: var(--sage-2);               /* fallback colour */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  flex-direction: column;      /* stacks: search on top, button below */
  align-items: center;
  justify-content: space-between;  /* search near top, button near bottom */
  text-align: center;
  padding: 50px 24px 60px;
}

/* Search bar */
.hero .search {
  width: 100%; max-width: 720px;
  background: #fff; border-radius: 40px;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.hero .search i { color: var(--green); font-size: 18px; }
.hero .search input {
  border: none; outline: none; width: 100%;
  font-size: 18px; color: var(--green); font-family: var(--font-body);
}
.hero .search input::placeholder { color: var(--green); opacity: .8; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 44px;
  border-radius: 30px;        /* pill shape */
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}
/* Mobile */
@media (max-width: 800px) {
  .hero {
    min-height: 350px;
    background-size: cover;            /* fills the hero, no empty strip */
    background-position: center;
    justify-content: space-between;
    padding: 22px 18px 34px;
  }
  .hero .search {
    padding: 13px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
  }
  .hero .search input { font-size: 15px; }
  .hero .btn {
    padding: 13px 40px;
    font-size: 15px;
  }
}



/* ---- SLIDESHOW HEADING ---- */
.slideshow-heading {
  text-align: center;
  padding: 60px 24px 36px;
}
.slideshow-heading h2 {
  font-family: var(--font-head);
  font-size: 44px; font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
.slideshow-heading h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%);
  width: 70px; height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.slideshow-heading p {
  font-size: 17px;
  color: var(--grey);
  font-style: italic;
  margin-top: 18px;
}

/* ---- SLIDESHOW (contained, not full screen) ---- */
.hero-slideshow {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px;
  height: 760px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  box-sizing: border-box;
}
.hero-slideshow .slides { position: absolute; inset: 0; }

.slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 40%, transparent 70%);
}

.slide-caption {
  position: absolute;
  left: 0; bottom: 0; z-index: 2;
  max-width: 440px;
  text-align: left;
  padding: 36px;
  color: #fff;
}
.slide-caption h2 {
  font-family: var(--font-head);
  font-size: 34px; font-weight: 700;
  letter-spacing: .5px; margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.slide-caption p {
  font-size: 16px; margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.slide-caption .btn {
  padding: 10px 28px;
  font-size: 14px;
}

.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--ink);
  border: none; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.2); z-index: 3;
  transition: background .2s, color .2s;
}
.slide-arrow:hover { background: var(--green); color: #fff; }
.slide-arrow.prev { left: 20px; }
.slide-arrow.next { right: 20px; }

.slide-dots {
  position: absolute; bottom: 22px; right: 26px; z-index: 3;
  display: flex; gap: 10px;
}
.slide-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid #fff; background: transparent; cursor: pointer;
  transition: background .2s, transform .2s;
}
.slide-dots button.active { background: #fff; transform: scale(1.2); }

/* ---- MOBILE ---- */
@media (max-width: 800px) {
  .slideshow-heading { padding: 40px 20px 26px; }
  .slideshow-heading h2 { font-size: 30px; }
  .slideshow-heading p { font-size: 15px; }

  .hero-slideshow {
    width: calc(100% - 32px);   /* FIX: subtract margins from width instead of adding on top */
    height: 420px;
    margin: 0 16px 36px;
    border-radius: 12px;
    box-sizing: border-box;
  }

  .slide-caption {
    max-width: 100%;
    padding: 20px;
  }
  .slide-caption h2 { font-size: 24px; }
  .slide-caption p { font-size: 14px; margin-bottom: 14px; }
  .slide-caption .btn { padding: 9px 22px; font-size: 13px; }

  .slide-arrow { width: 38px; height: 38px; font-size: 14px; }
  .slide-arrow.prev { left: 12px; }
  .slide-arrow.next { right: 12px; }
  .slide-dots { right: 16px; bottom: 16px; }
}



/* ---- REVIEWS ---- */
.reviews { background: var(--cream); padding: 80px 0; }

.reviews-head { text-align: center; margin-bottom: 46px; }
.reviews-head .section-title {
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.reviews-head .section-title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.reviews-head p {
  font-size: 16px;
  color: var(--grey);
  font-style: italic;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.review-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0,0,0,.12);
}

/* Image area — always shows something, even if photo missing */
.review-img {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, var(--sage-1), var(--sage-2));
  overflow: hidden;
  position: relative;
}
.review-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s ease;
  display: block;
}
.review-card:hover .review-img img { transform: scale(1.06); }

.review-body { padding: 26px; }
.review-body .stars {
  color: #f5b301; font-size: 16px; margin-bottom: 12px;
  letter-spacing: 2px;
}
.review-body p {
  font-size: 15px; color: #444;
  font-style: italic; line-height: 1.7;
  margin-bottom: 20px;
  min-height: 72px;   /* keeps cards the same height even if text length differs */
}
.reviewer {
  display: flex; align-items: center; gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.reviewer::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.reviewer .name { font-weight: 700; color: var(--ink); font-size: 15px; }
.reviewer .place { font-size: 13px; color: var(--grey); }
.reviewer { flex-direction: column; align-items: flex-start; gap: 2px; padding-left: 4px; }
.reviewer::before { display: none; }

/* Mobile */
@media (max-width: 800px) {
  .reviews { padding: 50px 0; }
  .reviews-head { margin-bottom: 32px; }
  .review-grid { gap: 22px; }
  .review-img { height: 210px; }
  .review-body { padding: 22px; }
  .review-body p { min-height: 0; }
}


/* ---- FOOTER (green) ---- */
.footer {
  background: var(--green);
  color: #eafce4;
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .brand-logo {
  font-family: var(--font-head);
  color: #fff;
  font-size: 30px;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  color: #eafce4;
  opacity: .9;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

/* Social icons */
.social { display: flex; gap: 12px; }
.social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px;
  transition: background .2s, transform .2s;
}
.social a:hover {
  background: #fff;
  color: var(--green);
  transform: translateY(-3px);
}

/* Link columns */
.footer-col h4 {
  font-family: var(--font-head);
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #eafce4;
  opacity: .9;
  font-size: 14px;
  margin-bottom: 10px;
  transition: opacity .2s, transform .2s;
}
.footer-col a:hover {
  opacity: 1;
  transform: translateX(3px);
}
.footer-col a i { width: 16px; margin-right: 6px; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: #eafce4;
  opacity: .85;
}
.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 14px;
  /* If your logo file has a dark background, uncomment the line below
     to add a white rounded patch behind it so it stands out on green: */
  /* background: #fff; padding: 8px 14px; border-radius: 10px; */
}
/* Mobile */
@media (max-width: 800px) {
  .footer { padding: 46px 0 20px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  .footer-brand p { max-width: 100%; margin: 0 auto 18px; }
  .social { justify-content: center; }
  .footer-col a { text-align: center; }
  .footer-logo { height: 50px; margin: 0 auto 14px; }
}




/* ==========================================================================
   home.css — styles specific to index.html
   (Best Sellers grid reuses .grid/.card/.badge from shop-product.css —
   that's why it's linked above this file in the <head>.)
   ========================================================================== */

/* ---- NEWLY LAUNCHED BANNER ---- */
.launch-section {
  position: relative;
  overflow: hidden;
  padding: 90px 24px;
  margin: 10px 0 20px;
  text-align: center;
  isolation: isolate;
}

/* Background image/gradient layer — put a photo at images/launch-banner.jpg
   for a richer look; the gradient alone still looks intentional without one. */
.launch-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(135deg, rgba(35,125,23,.92), rgba(46,158,31,.85)),
    url('../images/launch-banner.jpg');
  background-size: cover;
  background-position: center;
}

/* Soft decorative glow shapes for depth */
.launch-decor {
  position: absolute; z-index: -1; border-radius: 50%;
  background: rgba(255,255,255,.10);
  filter: blur(2px);
}
.launch-decor-1 { width: 260px; height: 260px; top: -80px; left: -60px; }
.launch-decor-2 { width: 340px; height: 340px; bottom: -120px; right: -80px; background: rgba(255,255,255,.08); }

.launch-content { max-width: 640px; margin: 0 auto; position: relative; }
.launch-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.18);
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 30px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.launch-content h2 {
  font-family: var(--font-head); font-size: 40px; font-weight: 800;
  color: #fff; margin-bottom: 14px; line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.launch-content p {
  font-size: 15.5px; color: rgba(255,255,255,.92);
  line-height: 1.75; margin-bottom: 30px;
}
.btn-white {
  background: #fff; color: var(--green);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-white:hover { background: #f2f2f2; color: var(--green-dark); transform: translateY(-2px); }

@media (max-width: 700px) {
  .launch-section { padding: 60px 20px; }
  .launch-content h2 { font-size: 28px; }
  .launch-content p { font-size: 14px; }
}

/* ---- BEST SELLERS ---- */
.best-sellers { padding: 70px 0; }
.best-sellers-head { text-align: center; margin-bottom: 40px; }
.best-sellers-head h2 {
  font-family: var(--font-head); font-size: 40px; font-weight: 800;
  color: var(--ink); margin-bottom: 10px;
  position: relative; display: inline-block;
}
.best-sellers-head h2::after {
  content: "";
  position: absolute; left: 50%; bottom: -10px;
  transform: translateX(-50%);
  width: 64px; height: 3px;
  background: var(--green); border-radius: 2px;
}
.best-sellers-head p { color: var(--grey); font-size: 15px; margin-top: 16px; }

.best-sellers-cta { text-align: center; margin-top: 40px; }

@media (max-width: 700px) {
  .best-sellers { padding: 46px 0; }
  .best-sellers-head h2 { font-size: 28px; }
}

.whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 100;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  transition: transform .2s;
}
.whatsapp:hover {
  transform: scale(1.08);
}

@media (max-width: 800px) {
  .whatsapp { width: 46px; height: 46px; font-size: 22px; bottom: 18px; right: 18px; }
}

