/* =============================================================
   MENCARE — Full Design v3 (English, Clean, Polished)
   Confidence • Care • Wellness
   ============================================================= */

:root {
  --blue:       #0056b3;
  --blue-dark:  #004494;
  --navy:       #0f172a;
  --text:       #1e293b;
  --muted:      #64748b;
  --border:     #dbe4ee;
  --bg-page:    #f0f5fa;
  --bg-card:    #ffffff;
  --bg-light:   #e8f0f8;
}

/* ── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-page);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  font-size: 15px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Top Notice Bar ────────────────────────────────────────── */
.top-notice-bar {
  background: #0f172a;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e2e8f0;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.topbar-social-link:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar-mencare {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  padding: 12px 0;
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
  z-index: 1030;
}

/* Brand */
.brand-logo { cursor: pointer; }

.brand-name {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.brand-name span { color: var(--blue); }

.brand-tagline {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 1px;
}

/* Nav links */
.nav-link-custom {
  color: #334155 !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 7px 15px !important;
  border-radius: 30px;
  transition: all 0.2s;
  text-decoration: none !important;
}
.nav-link-custom:hover { color: var(--blue) !important; background: #f0f7ff; }

.nav-pill-active {
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 30px;
  padding: 7px 22px !important;
}
.nav-pill-active:hover { background: var(--blue-dark) !important; }

/* Icon buttons */
.icon-btn-mencare {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  background: #f1f5f9;
  border: none;
  font-size: 18px;
  transition: all 0.2s;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}
.icon-btn-mencare:hover { background: #dbeafe; color: var(--blue); }

/* Cart badge */
.cart-badge-red {
  position: absolute;
  top: -3px; right: -3px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* ── HERO SLIDER ─────────────────────────────────────────── */
.hero-slider-section {
  width: 100%;
  overflow: hidden;
  border-bottom: 3px solid var(--blue);
}

/* Slide 1 — photo banner (Full aspect ratio, no cropping) */
.hero-slide-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 343;
  object-fit: contain;
  display: block;
}

/* Slides 2 & 3 — CSS promo */
.hero-slide-promo {
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
}
.slide-blue-dark {
  background: linear-gradient(135deg, #003d99 0%, #0056b3 45%, #0077cc 100%);
}
.slide-navy {
  background: linear-gradient(135deg, #020c1b 0%, #0a1628 50%, #0f2240 100%);
}

/* Promo tag */
.promo-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.25);
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

/* Promo headline */
.promo-h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  font-style: italic;
}

/* Promo subtext */
.promo-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Promo CTA button */
.promo-btn-white {
  display: inline-block;
  background: #fff;
  color: var(--blue) !important;
  font-weight: 800;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none !important;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.promo-btn-white:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* Promo trust badges (inline) */
.promo-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
}
.promo-trust i { font-size: 15px; color: #93c5fd; }

/* Products float grid (Slide 2) */
.promo-products-grid {
  position: relative;
  width: 380px;
  height: 340px;
}
.promo-prod-img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}
.promo-prod-img:hover { transform: scale(1.08) translateY(-4px); }

.pp1 { width: 90px;  bottom: 30px; left: 0;    animation: floatUp 3.5s ease-in-out infinite; }
.pp2 { width: 75px;  bottom: 20px; left: 90px; animation: floatUp 4s   ease-in-out infinite 0.5s; }
.pp3 { width: 100px; bottom: 10px; left: 170px;animation: floatUp 3.8s ease-in-out infinite 0.3s; }
.pp4 { width: 80px;  bottom: 25px; left: 270px;animation: floatUp 4.2s ease-in-out infinite 0.7s; }
.pp5 { width: 85px;  bottom: 15px; left: 295px;animation: floatUp 3.6s ease-in-out infinite 0.2s; }

@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Trust badges row (Slide 3) */
.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
}
.trust-badge-item i {
  font-size: 32px;
  color: #60a5fa;
  background: rgba(255,255,255,0.1);
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Carousel indicators */
.carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  margin: 0 4px;
  transition: all 0.3s;
}
.carousel-indicators .active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* Custom carousel nav buttons */
.carousel-ctrl-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s;
}
.carousel-ctrl-icon:hover { background: rgba(255,255,255,0.35); }

.carousel-control-prev,
.carousel-control-next { width: 60px; opacity: 1; }
.carousel-control-prev { left: 10px; }
.carousel-control-next { right: 10px; }
.carousel-control-prev-icon,
.carousel-control-next-icon { display: none; }

/* Slide transition */
.carousel-item { transition: transform 0.6s ease-in-out; }

/* ── CATEGORY CARDS ──────────────────────────────────────── */
.category-section {
  padding: 40px 0 36px;
  background: #f4f8fc;
  border-bottom: 1px solid var(--border);
}

.cat-card {
  border-radius: 20px;
  padding: 22px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
  height: 100%;
  position: relative;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,86,179,0.16);
}

/* Pastel card backgrounds (matching reference) */
.cat-sky      { background: #e3effd; border: 1px solid #c7deff; }
.cat-mint     { background: #def7ec; border: 1px solid #bcf0da; }
.cat-crystal  { background: #daf4f8; border: 1px solid #b5eaf2; }
.cat-lavender { background: #f1edfe; border: 1px solid #ded4fd; }
.cat-herb     { background: #e5f9ed; border: 1px solid #c3f2d5; }

.cat-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 12px;
}

.cat-card-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 115px;
  padding: 4px 0 12px;
}
.cat-card-img-wrap img {
  max-height: 125px;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.13));
  transition: transform 0.28s ease;
}
.cat-card:hover .cat-card-img-wrap img { transform: scale(1.06); }

/* Shop Now button on cards */
.cat-card-btn {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 30px;
  text-decoration: none !important;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
  letter-spacing: 0.2px;
}
.cat-card-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ── PRODUCT SECTION HEADER ─────────────────────────────── */
.section-badge {
  display: inline-block;
  background: rgba(0,86,179,0.08);
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

/* Filter pills */
.filter-pill {
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  padding: 5px 16px;
  transition: all 0.2s;
}
.filter-pill.active,
.filter-pill:hover {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
}

/* ── PRODUCT CATALOG CARDS ──────────────────────────────── */
.catalog-card {
  background: #ffffff;
  border: 1px solid #d4e0ee;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  position: relative;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.catalog-card:hover {
  transform: translateY(-6px);
  border-color: #0056b3;
  box-shadow: 0 16px 34px rgba(0,86,179,0.14);
}

.catalog-card-img-box {
  background: #f1f6fb;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  border-bottom: 1px solid #e3edf7;
  cursor: pointer;
  position: relative;
}
.catalog-card-img-box img {
  max-height: 170px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.1));
  transition: transform 0.28s ease;
}
.catalog-card:hover .catalog-card-img-box img { transform: scale(1.07); }

.catalog-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
  z-index: 1;
}

/* Card body */
.catalog-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
  cursor: pointer;
}
.catalog-card-title:hover { color: var(--blue); }

.catalog-card-subdesc {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.4;
  flex-grow: 1;
}

.catalog-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.catalog-price { font-size: 20px; font-weight: 800; color: var(--blue); }
.catalog-price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }

.catalog-btn-row { display: flex; gap: 8px; }
.catalog-btn-row .btn { font-size: 13px; font-weight: 700; border-radius: 30px; flex: 1; }

/* ── ABOUT / PRIVACY SECTION ────────────────────────────── */
.privacy-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.privacy-card .bi { font-size: 64px; color: var(--blue); opacity: 0.7; }

/* ── FAQ SECTION ─────────────────────────────────────────── */
.accordion-item {
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  margin-bottom: 12px;
  border: 1px solid #dbe6f2 !important;
}
.accordion-button {
  font-weight: 700;
  font-size: 14.5px;
  background: #ffffff !important;
}
.accordion-button:not(.collapsed) {
  color: var(--blue) !important;
  background: #eef6ff !important;
  box-shadow: none !important;
}
.accordion-button:focus { box-shadow: none !important; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: #0f172a !important; }
.footer-link {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.9;
  display: block;
}
.footer-link:hover { color: #93c5fd; }

/* ── CART OFFCANVAS ──────────────────────────────────────── */
.offcanvas-mencare { background: #fff; width: 380px !important; }

.cart-item-mencare {
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.cart-item-mencare:hover { border-color: #93c5fd; }

.btn-qty-stepper {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: #e2e8f0;
  border: none;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-qty-stepper:hover { background: var(--blue); color: #fff; }

/* ── WhatsApp Button ─────────────────────────────────────── */
.btn-whatsapp-solid {
  background: #16a34a;
  color: #fff !important;
  font-weight: 700;
  border-radius: 30px;
  border: none;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  font-size: 14px;
}
.btn-whatsapp-solid:hover { background: #15803d; transform: translateY(-1px); }

/* ── MODALS ──────────────────────────────────────────────── */
.modal-content { border: none !important; }

/* ── MOBILE STICKY BAR ───────────────────────────────────── */
.mobile-mencare-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 14px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

/* ── RESPONSIVE TWEAKS ──────────────────────────────────── */
@media (max-width: 991px) {
  .hero-slide-img {
    aspect-ratio: 1024 / 343;
    object-fit: cover;
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .mobile-mencare-bar {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  body {
    padding-bottom: 74px;
  }

  /* Topbar Mobile */
  .top-notice-bar {
    padding: 6px 12px;
    font-size: 11.5px;
  }
  .topbar-social-link {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }

  /* Hero Slider Mobile */
  .hero-slider-section {
    border-bottom: 2px solid var(--blue);
  }
  .hero-slide-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 343;
    object-fit: cover;
    min-height: 155px;
  }
  .carousel-ctrl-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 38px;
  }
  .carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
  }
  .carousel-indicators .active {
    width: 18px;
  }

  /* Category Section Mobile: Horizontal Scroll with smooth snap */
  .category-section {
    padding: 20px 0 16px;
  }
  .category-mobile-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .category-mobile-col {
    flex: 0 0 145px;
    scroll-snap-align: start;
  }
  .cat-card {
    padding: 14px 10px 12px;
    border-radius: 16px;
  }
  .cat-card-title {
    font-size: 12.5px;
    margin-bottom: 8px;
  }
  .cat-card-btn {
    font-size: 11px;
    padding: 6px 14px;
  }
  .cat-card-img-wrap {
    min-height: 75px;
    padding: 2px 0 6px;
  }
  .cat-card-img-wrap img {
    max-height: 75px;
  }

  /* Product Catalog Section Mobile */
  .catalog-card {
    border-radius: 16px;
  }
  .catalog-card-img-box {
    min-height: 150px;
    padding: 14px 10px;
  }
  .catalog-card-img-box img {
    max-height: 125px;
  }
  .catalog-card-body {
    padding: 10px 10px 12px;
  }
  .catalog-card-title {
    font-size: 13.5px;
  }
  .catalog-card-subdesc {
    font-size: 11.5px;
    margin-bottom: 6px;
  }
  .catalog-price {
    font-size: 17px;
  }
  .catalog-price-old {
    font-size: 11.5px;
  }
  .catalog-btn-row .btn {
    font-size: 11.5px;
    padding: 6px 8px;
  }

  /* Filter pills mobile horizontal scroll */
  .filter-pills-wrap {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .filter-pill {
    white-space: nowrap;
    font-size: 12px;
    padding: 4px 12px;
  }

  /* Offcanvas cart mobile */
  .offcanvas-mencare {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 18px;
  }
  .brand-tagline {
    font-size: 9.5px;
  }
  .hero-slide-img {
    min-height: 125px;
  }
  .category-mobile-col {
    flex: 0 0 135px;
  }
  .cat-card-img-wrap img {
    max-height: 65px;
  }
}

/* ── UTILITIES ───────────────────────────────────────────── */
.cursor-pointer { cursor: pointer; }

/* Smooth section spacing */
section { scroll-margin-top: 70px; }
