/* ============================================================
   BT Aqua — HOMEPAGE CSS v3
   Premium Aquarium E-Commerce — matches reference image
   Sections: trust ribbon · hero · categories · featured products
             product cards · live banner · responsive
   ============================================================ */

/* ── Local tokens (supplement global) ───────────────────── */
:root {
  --hp-text:    #111827;
  --hp-text-2:  #374151;
  --hp-text-3:  #6b7280;
  --hp-border:  #e5e7eb;
  --hp-bg:      #f9fafb;
  --hp-star:    #f59e0b;
}


/* ============================================================
   TRUST RIBBON
   Light aqua gradient, 5 columns, vertical dividers
   Hidden on mobile (< 768 px)
   ============================================================ */
.hp-trust-ribbon {
  background: linear-gradient(180deg,#ecfeff 0%,#f0fdfa 100%);
  border-top: 1px solid rgba(6,182,212,.14);
  border-bottom: 1px solid rgba(6,182,212,.14);
  padding: 0;
}
.hp-trust-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter,16px);
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 0;
}
.hp-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-right: 1px solid rgba(2,132,199,.1);
}
.hp-trust-item:last-child { border-right: none; }
.hp-trust-item > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

/* Icon box */
.hp-trust-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
}
.hp-trust-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.15rem;
}
.hp-trust-icon.blue   { background: rgba(14,165,233,.1);  color: #0284c7; }
.hp-trust-icon.green  { background: rgba(16,185,129,.1);  color: #059669; }
.hp-trust-icon.teal   { background: rgba(6,182,212,.12);  color: #0891b2; }
.hp-trust-icon.purple { background: rgba(124,58,237,.1);  color: #6d28d9; }
.hp-trust-icon.lime   { background: rgba(101,163,13,.1);  color: #4d7c0f; }

.hp-trust-icon svg {
  display: block;
  flex-shrink: 0;
}

.hp-trust-item strong {
  display: block;
  font-size: .81rem;
  font-weight: 700;
  color: var(--hp-text);
  line-height: 1.25;
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
}
.hp-trust-item span {
  /* display: block; */
  font-size: .71rem;
  color: var(--hp-text-3);
  margin-top: 2px;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .hp-trust-ribbon { display: none !important; }
}


/* ============================================================
   HERO BANNER / SLIDER
   Full width, no rounding, reduced height
   ============================================================ */
.hp-hero {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}
.hp-hero-inner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

/* Slides */
.hp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .75s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hp-hero-slide.active { opacity: 1; z-index: 1; }

/* Dark gradient overlay – left-heavy so text is readable */
.hp-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(5,18,45,.82) 0%,
    rgba(5,18,45,.50) 42%,
    rgba(5,18,45,.08) 100%
  );
  z-index: 1;
}

/* Slide content */
.hp-hero-content {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 520px;
  color: #fff;
}

.hp-hero-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
  margin-bottom: 10px;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-hero-title {
  font-family: 'Plus Jakarta Sans',sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -.03em;
}
.hp-hero-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  margin-bottom: 22px;
  font-weight: 400;
  max-width: 440px;
}

/* CTA — white pill, turns blue on hover */
.hp-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--c-navy-dark,#082f49);
  font-weight: 800;
  font-size: .9rem;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 220ms cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  letter-spacing: .01em;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-hero-cta i { font-size: .8rem; transition: transform 200ms ease; }
.hp-hero-cta:hover {
  background: linear-gradient(135deg,#0ea5e9,#0284c7);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(14,165,233,.46);
}
.hp-hero-cta:hover i { transform: translateX(4px); }

/* Dots */
.hp-hero-dots {
  position: absolute;
  bottom: 20px;
  left: 56px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.hp-hero-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 210ms ease;
}
.hp-hero-dot.active {
  background: #fff;
  width: 26px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* ── Responsive hero ── */
@media (max-width: 1199px) {
  .hp-hero { max-width: 100%; margin: 0; padding: 0; }
  .hp-hero-inner { border-radius: 0; box-shadow: none; }
}
@media (max-width: 991px) {
  .hp-hero-inner { height: 240px; }
  .hp-hero-content { left: 36px; max-width: 72%; }
  .hp-hero-title { font-size: 2.1rem; }
  .hp-hero-dots { left: 36px; }
}
@media (max-width: 767px) {
  .hp-hero-inner { height: 200px; }
  .hp-hero-content { left: 22px; max-width: 82%; }
  .hp-hero-dots { left: 22px; }
}
@media (max-width: 575px) {
  .hp-hero-inner { height: 170px; }
  .hp-hero-content { left: 18px; max-width: 88%; }
  .hp-hero-title { font-size: 1.5rem; }
  .hp-hero-sub { display: none; }
  .hp-hero-dots { display: none; }
  .hp-hero-cta { padding: 10px 20px; font-size: .8rem; }
}


/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.hp-section {
  padding: 40px 0 32px;
  background: #fff;
}
.hp-section.bg-gray { background: var(--hp-bg,#f9fafb); }

/* Section header row: title+subtitle left, view-all right */
.hp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  margin-bottom: 22px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.hp-section-title-wrap { display: flex; flex-direction: column; gap: 4px; }
.hp-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--hp-text);
  margin: 0;
  letter-spacing: -.022em;
  line-height: 1.15;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-section-title::before { display: none !important; }
.hp-section-sub {
  display: block !important;
  font-size: .84rem;
  color: var(--hp-text-3);
  font-weight: 400;
  padding-left: 0 !important;
  line-height: 1.4;
}

/* "View All →" link */
.hp-viewall {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--c-primary,#0284c7);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, gap 180ms ease;
  flex-shrink: 0;
  margin-bottom: 2px;
}
.hp-viewall::after { content: '→'; font-size: .9em; transition: transform 180ms ease; display: inline-block; }
.hp-viewall:hover { color: var(--c-primary-600,#0369a1); }
.hp-viewall:hover::after { transform: translateX(3px); }


/* ============================================================
   SHOP BY CATEGORY — rectangular cards in a scroll row
   ============================================================ */
.hp-cat-grid-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* Prevent leaking into body scroll */
  contain: inline-size;
}
.hp-cat-grid-wrap::-webkit-scrollbar { display: none; }

.hp-cat-grid {
  display: flex;
  gap: 13px;
  /* allow row to overflow naturally for horizontal scroll */
  min-width: max-content;
}

/* Individual category card */
.hp-cat-card {
  flex-shrink: 0;
  width: 150px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--c-border,#e2e8f0);
  background: #fff;
  transition: all 260ms cubic-bezier(.22,.61,.36,1);
}
.hp-cat-card:hover {
  border-color: var(--c-primary-400,#0ea5e9);
  box-shadow:
    0 10px 26px -10px rgba(2,132,199,.26),
    0 4px 10px rgba(15,23,42,.05);
  transform: translateY(-5px);
}

/* Image zone */
.hp-cat-img-wrap {
  width: 100%;
  height: 110px;
  overflow: hidden;
  background: linear-gradient(160deg,#f0f9ff 0%,#ecfeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hp-cat-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  padding: 6px;
  transition: transform 380ms cubic-bezier(.22,.61,.36,1);
}
.hp-cat-card:hover .hp-cat-img { transform: scale(1.08); }

/* Icon fallback — inline SVG span */
.hp-cat-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary-400,#0ea5e9);
  transition: transform 360ms cubic-bezier(.22,.61,.36,1);
  filter: drop-shadow(0 2px 6px rgba(2,132,199,.15));
}
.hp-cat-card:hover .hp-cat-emoji { transform: scale(1.1) rotate(-4deg); }
.hp-cat-emoji svg { display: block; }

/* Text zone */
.hp-cat-info {
  padding: 10px 11px 12px;
  text-align: left;
  width: 100%;
}
.hp-cat-name {
  font-size: .84rem;
  font-weight: 700;
  color: var(--hp-text);
  line-height: 1.25;
  display: block;
  font-family: 'Plus Jakarta Sans',sans-serif;
  letter-spacing: -.01em;
}
.hp-cat-sub {
  font-size: .7rem;
  color: var(--hp-text-3);
  margin-top: 3px;
  display: block;
  line-height: 1.35;
}


/* ============================================================
   FEATURED PRODUCTS  — header row (title + tabs) + card row
   ============================================================ */
.hp-feat-tabs-wrap {
  max-width: 1400px;
  margin: 0 auto 20px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.hp-feat-title-block { display: flex; flex-direction: column; gap: 3px; }
.hp-feat-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--hp-text);
  margin: 0;
  letter-spacing: -.022em;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-feat-title::before { display: none !important; }
.hp-feat-sub {
  font-size: .8rem;
  color: var(--hp-text-3);
  font-weight: 400;
}

/* Tab pills */
.hp-feat-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hp-feat-tab {
  padding: 6px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--c-border,#e2e8f0);
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-text-700,#334155);
  background: #fff;
  cursor: pointer;
  transition: all 180ms cubic-bezier(.22,.61,.36,1);
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  letter-spacing: .01em;
  line-height: 1;
}
.hp-feat-tab:hover {
  border-color: var(--c-primary-400,#0ea5e9);
  color: var(--c-primary,#0284c7);
  transform: translateY(-1px);
}
.hp-feat-tab.active {
  background: var(--c-navy-dark,#082f49);
  color: #fff;
  border-color: var(--c-navy-dark,#082f49);
  box-shadow: 0 4px 12px rgba(8,47,73,.22);
}

/* Scrollable product row */
.hp-feat-row-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px 4px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  contain: inline-size;
}
.hp-feat-row-wrap::-webkit-scrollbar { display: none; }
.hp-feat-row {
  display: flex;
  gap: 12px;
  min-width: max-content;
}

/* Panel show/hide */
.hp-feat-panel { display: none; }
.hp-feat-panel.active { display: block; }


/* ============================================================
   PRODUCT CARD  (.hp-pcard)
   Reference image: white bg, subtle border/shadow,
   square image, wishlist heart, ratings, price+stock inline,
   full-width Add to Cart button
   ============================================================ */
.hp-pcard {
  flex-shrink: 0;
  width: 188px;
  background: #fff;
  border: 1.5px solid var(--c-border,#e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 240ms cubic-bezier(.22,.61,.36,1);
  position: relative;
  box-shadow: 0 1px 4px rgba(15,23,42,.05);
}
.hp-pcard::before { display: none !important; }
.hp-pcard:hover {
  box-shadow:
    0 12px 30px -10px rgba(2,132,199,.2),
    0 4px 12px rgba(15,23,42,.06);
  transform: translateY(-4px);
  border-color: rgba(14,165,233,.32);
}

/* ── Wishlist heart — glassmorphic, always visible ── */
.hp-pcard-wish {
  position: absolute;
  top: 9px; right: 9px;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 2px 8px rgba(15,23,42,.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--c-text-500,#64748b);
  cursor: pointer;
  z-index: 4;
  transition: all 180ms ease;
  padding: 0;
  /* always visible — matches reference image */
  opacity: 1;
}
.hp-pcard-wish:hover {
  color: var(--c-danger,#ef4444);
  background: rgba(255,255,255,.96);
  transform: scale(1.1);
}
.hp-pcard-wish.active i,
.hp-pcard-wish .bi-heart-fill { color: var(--c-danger,#ef4444); }

/* ── Image zone ── */
.hp-pcard-imgwrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(160deg,#f0f9ff 0%,#ecfeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.hp-pcard-imgwrap::after { display: none !important; }
.hp-pcard-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms cubic-bezier(.22,.61,.36,1);
}
.hp-pcard:hover .hp-pcard-img { transform: scale(1.08); }

/* No-photo fallback */
.hp-pcard-imgwrap.no-photo {
  background: linear-gradient(160deg,#f0f9ff 0%,#ecfeff 100%);
}
.hp-pcard-imgwrap.no-photo > i {
  font-size: 2.4rem;
  color: var(--c-primary-400,#0ea5e9);
  position: relative; z-index: 2;
}
.hp-pcard-imgwrap.no-photo::before { display: none !important; }

/* SALE ribbon */
.hp-sale-badge {
  position: absolute;
  top: 9px; left: 9px;
  background: var(--c-danger,#ef4444);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  z-index: 5;
  letter-spacing: .04em;
  box-shadow: 0 2px 6px rgba(239,68,68,.3);
}

/* ── Card body ── */
.hp-pcard-body {
  padding: 10px 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

/* Product name — 2-line clamp */
.hp-pcard-name {
  font-size: .81rem;
  font-weight: 700;
  color: var(--c-text,#0f172a);
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * .81rem * 1.4);
  transition: color 160ms ease;
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  letter-spacing: -.01em;
}
.hp-pcard-name:hover { color: var(--c-primary,#0284c7); }

/* Star rating row */
.hp-pcard-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.hp-pcard-stars {
  display: inline-flex;
  gap: 1px;
  font-size: .7rem;
  color: var(--hp-star,#f59e0b);
}
.hp-pcard-stars i { font-size: .7rem; }
.hp-pcard-stars .star-empty  { color: #d1d5db; }
.hp-pcard-stars .star-half   { color: var(--hp-star); }
.hp-pcard-stars .star-full   { color: var(--hp-star); }
.hp-pcard-rcount {
  font-size: .67rem;
  color: var(--c-text-500,#64748b);
  font-weight: 500;
}

/* Price row — price on left, stock badge on right */
.hp-pcard-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 1px;
}
.hp-pcard-price-col {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex-wrap: wrap;
}
.hp-pcard-price {
  font-size: .98rem;
  font-weight: 800;
  color: var(--c-text,#0f172a);
  letter-spacing: -.012em;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-pcard-was {
  font-size: .72rem;
  color: var(--c-text-400,#94a3b8);
  text-decoration: line-through;
  font-weight: 500;
}

/* Stock badge — pill aligned right */
.hp-pcard-stock {
  display: inline-flex;
  align-items: center;
  font-size: .62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: .01em;
  flex-shrink: 0;
}
.hp-pcard-stock.out { background: #fee2e2; color: #dc2626; }
.hp-pcard-stock.pre { background: #fef3c7; color: #b45309; }

/* ── Add to Cart button ── */
.hp-cart-btn {
  margin-top: auto;
  padding: 8px 0;
  background: #eff6ff;
  color: var(--c-primary-600,#0369a1);
  border: 1.5px solid rgba(14,165,233,.22);
  border-radius: 9px;
  font-size: .77rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 180ms cubic-bezier(.22,.61,.36,1);
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  letter-spacing: .01em;
  position: relative;
}
.hp-cart-btn::before { display: none; }
.hp-cart-btn i { font-size: .84rem; }
.hp-cart-btn:hover {
  background: var(--c-primary,#0284c7);
  color: #fff;
  border-color: var(--c-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -4px rgba(2,132,199,.42);
}
.hp-cart-btn:active { transform: translateY(0); }

/* Options variant */
.hp-cart-btn.options {
  background: #f8fafc;
  color: var(--c-text-700,#334155);
  border: 1.5px solid var(--c-border);
}
.hp-cart-btn.options:hover {
  background: var(--c-navy-dark,#082f49);
  color: #fff;
  border-color: var(--c-navy-dark);
}

/* Notify variant */
.hp-cart-btn.notify {
  background: #fff7ed;
  color: #c2410c;
  border: 1.5px solid #fed7aa;
}
.hp-cart-btn.notify:hover { background: #ea580c; color: #fff; border-color: #ea580c; }


/* ============================================================
   LIVE ANIMAL BANNER
   ============================================================ */
.hp-live-banner {
  background: linear-gradient(135deg,#ecfdf5 0%,#eff6ff 100%);
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  margin: 0 auto 4px;
  max-width: calc(1400px - 32px);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hp-live-icon {
  width: 48px; height: 48px;
  background: #d1fae5;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hp-live-text {
  flex: 1;
  font-size: .82rem;
  color: #166534;
  min-width: 160px;
  line-height: 1.55;
}
.hp-live-text strong {
  display: block;
  font-size: .94rem;
  color: #14532d;
  font-weight: 800;
  margin-bottom: 2px;
}
.hp-live-text a { color: #0891b2; font-weight: 600; }
.hp-live-cta {
  background: #16a34a;
  color: #fff;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hp-live-cta::after { content: '→'; }
.hp-live-cta:hover { background: #15803d; color: #fff; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1199 px — large tablet */
@media (max-width: 1199px) {
  .hp-trust-inner { grid-template-columns: repeat(3,1fr); }
  .hp-trust-inner .hp-trust-item:nth-child(n+4) { display: none; }
  .hp-cat-card { width: 132px; }
  .hp-cat-img-wrap { height: 98px; }
  .hp-pcard { width: 174px; }
}

/* 991 px — tablet */
@media (max-width: 991px) {
  .hp-trust-inner { grid-template-columns: repeat(2,1fr); }
  .hp-trust-inner .hp-trust-item:nth-child(n+4) { display: flex; }
  .hp-trust-inner .hp-trust-item:nth-child(5)   { display: none; }
  .hp-cat-card { width: 118px; }
  .hp-cat-img-wrap { height: 88px; }
  .hp-pcard { width: 160px; }
  .hp-section-title,
  .hp-feat-title { font-size: 1.25rem; }
}

/* 767 px — mobile */
@media (max-width: 767px) {
  .hp-section { padding: 22px 0 16px; }
  .hp-section-head { padding: 0 12px; margin-bottom: 14px; }
  .hp-section-title,
  .hp-feat-title { font-size: 1.1rem; }
  .hp-viewall { font-size: .76rem; }

  .hp-feat-tabs-wrap { padding: 0 12px; margin-bottom: 14px; }
  .hp-feat-row-wrap  { padding: 0 12px 4px; }
  .hp-cat-grid-wrap  { padding: 0 12px; }

  .hp-cat-card { width: 106px; }
  .hp-cat-img-wrap { height: 78px; }
  .hp-cat-emoji { font-size: 2.4rem; }
  .hp-cat-name { font-size: .74rem; }
  .hp-cat-sub  { font-size: .64rem; }

  .hp-pcard { width: 148px; }
  .hp-pcard-body { padding: 8px 9px 10px; }
  .hp-pcard-name { font-size: .75rem; }
  .hp-pcard-price { font-size: .9rem; }
  .hp-cart-btn { font-size: .72rem; padding: 7px 0; }

  .hp-live-banner { margin: 0 12px 4px; padding: 14px; border-radius: 10px; }
  .hp-live-icon   { width: 42px; height: 42px; }
  .hp-live-text   { font-size: .76rem; min-width: 0; }
  .hp-live-text strong { font-size: .88rem; }
  .hp-live-cta    { padding: 8px 14px; font-size: .76rem; }
}

/* 575 px — small mobile */
@media (max-width: 575px) {
  .hp-cat-card { width: 94px; }
  .hp-cat-img-wrap { height: 70px; }
  .hp-cat-name { font-size: .69rem; }
  .hp-cat-sub  { display: none; }
  .hp-pcard { width: 136px; }
  .hp-section-title,
  .hp-feat-title { font-size: 1rem; }
}

/* 390 px — very small */
@media (max-width: 390px) {
  .hp-cat-card { width: 86px; }
  .hp-cat-img-wrap { height: 64px; }
  .hp-pcard { width: 126px; }
}


/* ============================================================
   SECTION 7 — PROMOTIONAL BANNERS
   3-column grid of gradient cards with CTA
   ============================================================ */
.hp-promo-section {
  background: var(--hp-bg,#f9fafb);
  padding-bottom: 32px;
}
.hp-promo-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hp-promo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 260ms cubic-bezier(.22,.61,.36,1),
              box-shadow 260ms ease;
  box-shadow: 0 4px 18px rgba(15,23,42,.1);
}
.hp-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15,23,42,.16);
}
/* Background gradients per card */
.hp-promo-card--tanks {
  background: linear-gradient(135deg,#0c4a6e 0%,#0369a1 55%,#0ea5e9 100%);
}
.hp-promo-card--plants {
  background: linear-gradient(135deg,#064e3b 0%,#059669 55%,#34d399 100%);
}
.hp-promo-card--accessories {
  background: linear-gradient(135deg,#1e1b4b 0%,#4338ca 55%,#818cf8 100%);
}
/* Decorative circle overlay */
.hp-promo-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  pointer-events: none;
}
.hp-promo-card::after {
  content: '';
  position: absolute;
  bottom: -20px; right: 20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.hp-promo-card__body {
  position: relative;
  z-index: 2;
  padding: 28px 26px 26px;
  width: 100%;
}
.hp-promo-eyebrow {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-promo-title {
  font-family: 'Plus Jakarta Sans',sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.hp-promo-sub {
  font-size: .8rem;
  color: rgba(255,255,255,.72);
  margin: 0 0 18px;
  line-height: 1.5;
}
.hp-promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .8rem;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease;
  font-family: 'Plus Jakarta Sans',sans-serif;
  backdrop-filter: blur(4px);
}
.hp-promo-card:hover .hp-promo-btn {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.5);
}
.hp-promo-btn i { font-size: .78rem; transition: transform 180ms ease; }
.hp-promo-card:hover .hp-promo-btn i { transform: translateX(3px); }

@media (max-width: 991px) {
  .hp-promo-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-promo-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
  .hp-promo-grid { grid-template-columns: 1fr; }
  .hp-promo-card:last-child { grid-column: auto; }
  .hp-promo-card { min-height: 160px; }
  .hp-promo-title { font-size: 1.1rem; }
}


/* ============================================================
   SECTION 8 — SHOP BY AQUARIUM NEED
   8 compact icon cards in a scrollable row
   ============================================================ */
.hp-need-grid-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  contain: inline-size;
}
.hp-need-grid-wrap::-webkit-scrollbar { display: none; }
.hp-need-grid {
  display: flex;
  gap: 12px;
  min-width: max-content;
}
.hp-need-card {
  flex-shrink: 0;
  width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px 16px;
  background: #fff;
  border: 1.5px solid var(--c-border,#e2e8f0);
  border-radius: 14px;
  text-decoration: none;
  transition: all 240ms cubic-bezier(.22,.61,.36,1);
  text-align: center;
}
.hp-need-card:hover {
  border-color: var(--c-primary-400,#0ea5e9);
  box-shadow: 0 8px 22px -8px rgba(2,132,199,.22);
  transform: translateY(-4px);
}
.hp-need-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 220ms ease;
}
.hp-need-card:hover .hp-need-icon { transform: scale(1.1) rotate(-4deg); }
.hp-need-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-text,#0f172a);
  line-height: 1.25;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-need-sub {
  font-size: .68rem;
  color: var(--c-text-500,#64748b);
  line-height: 1.3;
  display: block;
}

@media (max-width: 575px) {
  .hp-need-card { width: 110px; padding: 14px 8px 12px; }
  .hp-need-icon { width: 42px; height: 42px; font-size: 1.1rem; }
  .hp-need-label { font-size: .76rem; }
  .hp-need-sub { display: none; }
}


/* ============================================================
   SECTION 10 — LIVE FISH BANNER SECTION
   Dark navy background wrapping the product scroll row
   ============================================================ */
.hp-livefish-section {
  background: linear-gradient(135deg,#051420 0%,#0c3d5e 50%,#0e4f6e 100%) !important;
  padding: 40px 0 36px;
}
.hp-livefish-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}
/* Override card styles inside dark section so they still look white */
.hp-livefish-section .hp-pcard {
  background: rgba(255,255,255,.96);
}
.hp-livefish-section .hp-feat-row-wrap { padding: 0; }


/* ============================================================
   SECTION 11 — WHY CHOOSE BT AQUA
   5-column feature cards
   ============================================================ */
.hp-why-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.hp-why-card {
  background: #fff;
  border: 1.5px solid var(--c-border,#e2e8f0);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 240ms cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 1px 4px rgba(15,23,42,.04);
}
.hp-why-card:hover {
  box-shadow: 0 10px 26px -8px rgba(2,132,199,.18);
  transform: translateY(-4px);
  border-color: rgba(14,165,233,.3);
}
.hp-why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hp-why-title {
  font-size: .92rem;
  font-weight: 800;
  color: var(--c-text,#0f172a);
  margin: 0;
  font-family: 'Plus Jakarta Sans',sans-serif;
  letter-spacing: -.01em;
}
.hp-why-text {
  font-size: .8rem;
  color: var(--c-text-500,#64748b);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 1199px) {
  .hp-why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .hp-why-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hp-why-card { padding: 18px 16px; }
}
@media (max-width: 400px) {
  .hp-why-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   SECTION 12 — AQUARIUM CARE TIPS
   3-column blog/tip cards with image + body
   ============================================================ */
.hp-tips-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hp-tip-card {
  background: #fff;
  border: 1.5px solid var(--c-border,#e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 240ms cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 1px 4px rgba(15,23,42,.04);
}
.hp-tip-card:hover {
  box-shadow: 0 10px 28px -8px rgba(2,132,199,.18);
  transform: translateY(-4px);
  border-color: rgba(14,165,233,.28);
}
.hp-tip-img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.hp-tip-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 380ms ease;
}
.hp-tip-card:hover .hp-tip-img { transform: scale(1.05); }
.hp-tip-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg,#f0f9ff,#ecfeff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--c-primary-400,#0ea5e9);
}
.hp-tip-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.hp-tip-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-primary,#0284c7);
  background: var(--c-primary-50,#f0f9ff);
  border-radius: 999px;
  padding: 3px 10px;
  width: fit-content;
}
.hp-tip-date {
  font-size: .72rem;
  color: var(--c-text-500,#64748b);
  font-weight: 500;
}
.hp-tip-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--c-text,#0f172a);
  margin: 0;
  line-height: 1.35;
  font-family: 'Plus Jakarta Sans',sans-serif;
  letter-spacing: -.01em;
  transition: color 160ms ease;
}
.hp-tip-card:hover .hp-tip-title { color: var(--c-primary,#0284c7); }
.hp-tip-excerpt {
  font-size: .8rem;
  color: var(--c-text-500,#64748b);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.hp-tip-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-primary,#0284c7);
  margin-top: 4px;
  text-decoration: none;
  transition: gap 160ms ease;
}
.hp-tip-card:hover .hp-tip-read,
a.hp-tip-card:hover .hp-tip-read { gap: 8px; }
.hp-tip-read i { font-size: .78rem; }

@media (max-width: 991px) {
  .hp-tips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .hp-tips-grid { grid-template-columns: 1fr; }
  .hp-tip-img-wrap { height: 140px; }
}


/* ============================================================
   SECTION 13 — CUSTOMER REVIEWS
   Scrollable row of review cards
   ============================================================ */
.hp-reviews-grid-wrap,
.hp-reviews-placeholder {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  contain: inline-size;
}
.hp-reviews-grid-wrap::-webkit-scrollbar,
.hp-reviews-placeholder::-webkit-scrollbar { display: none; }
.hp-reviews-grid {
  display: flex;
  gap: 14px;
  min-width: max-content;
  align-items: stretch;
}
.hp-review-card {
  flex-shrink: 0;
  width: 300px;
  background: #fff;
  border: 1.5px solid var(--c-border,#e2e8f0);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(15,23,42,.04);
  transition: all 240ms cubic-bezier(.22,.61,.36,1);
}
.hp-review-card:hover {
  box-shadow: 0 10px 26px -8px rgba(2,132,199,.14);
  transform: translateY(-3px);
  border-color: rgba(14,165,233,.22);
}
.hp-review-stars {
  display: flex;
  gap: 2px;
  color: var(--c-gold,#fbbf24);
  font-size: .92rem;
}
.hp-review-title {
  font-size: .86rem;
  font-weight: 700;
  color: var(--c-text,#0f172a);
  margin: 0;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-review-text {
  font-size: .82rem;
  color: var(--c-text-700,#334155);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.hp-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--c-border,#e2e8f0);
}
.hp-review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--c-primary,#0284c7),var(--c-aqua,#06b6d4));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .88rem;
  font-weight: 800;
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans',sans-serif;
}
.hp-review-name {
  display: block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--c-text,#0f172a);
  line-height: 1.2;
}
.hp-review-date {
  display: block;
  font-size: .7rem;
  color: var(--c-text-500,#64748b);
  margin-top: 2px;
}

@media (max-width: 767px) {
  .hp-review-card { width: 260px; padding: 18px 16px; }
}
@media (max-width: 575px) {
  .hp-review-card { width: 240px; }
}


/* ============================================================
   SECTION 14 — LATEST BLOG
   3-column horizontal cards
   ============================================================ */
.hp-blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hp-blog-card {
  background: #fff;
  border: 1.5px solid var(--c-border,#e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 240ms cubic-bezier(.22,.61,.36,1);
  box-shadow: 0 1px 4px rgba(15,23,42,.04);
}
.hp-blog-card:hover {
  box-shadow: 0 10px 28px -8px rgba(2,132,199,.18);
  transform: translateY(-4px);
  border-color: rgba(14,165,233,.28);
}
.hp-blog-img-wrap {
  width: 100%;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}
.hp-blog-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 380ms ease;
}
.hp-blog-card:hover .hp-blog-img { transform: scale(1.05); }
.hp-blog-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg,#f0f9ff,#ecfeff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--c-primary-400,#0ea5e9);
}
.hp-blog-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.hp-blog-date {
  font-size: .72rem;
  color: var(--c-text-500,#64748b);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hp-blog-title {
  font-size: .96rem;
  font-weight: 800;
  color: var(--c-text,#0f172a);
  margin: 0;
  line-height: 1.35;
  font-family: 'Plus Jakarta Sans',sans-serif;
  letter-spacing: -.01em;
  transition: color 160ms ease;
}
.hp-blog-card:hover .hp-blog-title { color: var(--c-primary,#0284c7); }
.hp-blog-excerpt {
  font-size: .8rem;
  color: var(--c-text-500,#64748b);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.hp-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-primary,#0284c7);
  margin-top: 4px;
  transition: gap 160ms ease;
}
.hp-blog-card:hover .hp-blog-read { gap: 8px; }
.hp-blog-read i { font-size: .78rem; }

@media (max-width: 991px) {
  .hp-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .hp-blog-grid { grid-template-columns: 1fr; }
  .hp-blog-img-wrap { height: 150px; }
}


/* ============================================================
   SECTION 15 — TRUSTED BRANDS
   Auto-scrolling marquee track
   ============================================================ */
.hp-brands-section {
  background: #fff;
  padding-bottom: 32px;
}
.hp-brands-track-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  overflow: hidden;
}
.hp-brands-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: hp-brands-scroll 28s linear infinite;
}
.hp-brands-track:hover { animation-play-state: paused; }
@keyframes hp-brands-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hp-brand-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--c-bg-soft,#f1f5f9);
  border: 1.5px solid var(--c-border,#e2e8f0);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--c-text-700,#334155);
  white-space: nowrap;
  transition: all 200ms ease;
  cursor: default;
}
.hp-brand-chip:hover {
  background: var(--c-primary-50,#f0f9ff);
  border-color: var(--c-primary-400,#0ea5e9);
  color: var(--c-primary,#0284c7);
}
.hp-brand-chip i {
  font-size: .88rem;
  color: var(--c-primary-400,#0ea5e9);
}


/* ============================================================
   SECTION 16 — NEWSLETTER / CTA
   Full-width dark navy with centered form
   ============================================================ */
.hp-newsletter-section {
  background: linear-gradient(135deg,#051420 0%,#082f49 50%,#0c3d5e 100%);
  padding: 56px 16px;
  position: relative;
  overflow: hidden;
}
/* Decorative background rings */
.hp-newsletter-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 60px solid rgba(6,182,212,.07);
  pointer-events: none;
}
.hp-newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 50px solid rgba(2,132,199,.06);
  pointer-events: none;
}
.hp-newsletter-inner {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hp-newsletter-text { display: flex; flex-direction: column; gap: 8px; }
.hp-newsletter-title {
  font-family: 'Plus Jakarta Sans',sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.hp-newsletter-sub {
  font-size: .92rem;
  color: rgba(255,255,255,.62);
  margin: 0;
  line-height: 1.6;
}
.hp-newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  flex-wrap: wrap;
  justify-content: center;
}
.hp-newsletter-input-wrap {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 0 16px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  gap: 10px;
}
.hp-newsletter-input-wrap:focus-within {
  border-color: rgba(6,182,212,.5);
  box-shadow: 0 0 0 3px rgba(6,182,212,.12);
}
.hp-newsletter-input-wrap i {
  color: rgba(255,255,255,.4);
  font-size: 1rem;
  flex-shrink: 0;
}
.hp-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 13px 0;
  font-size: .92rem;
  color: #fff;
  font-family: 'Inter',system-ui,sans-serif;
}
.hp-newsletter-input::placeholder { color: rgba(255,255,255,.38); }
.hp-newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg,var(--c-primary,#0284c7),var(--c-primary-600,#0369a1));
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms ease;
  font-family: 'Plus Jakarta Sans',sans-serif;
  box-shadow: 0 4px 14px rgba(2,132,199,.4);
  white-space: nowrap;
}
.hp-newsletter-btn:hover {
  background: linear-gradient(135deg,var(--c-primary-600,#0369a1),var(--c-navy,#0c4a6e));
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(2,132,199,.5);
}
.hp-newsletter-btn i { font-size: .86rem; transition: transform 180ms ease; }
.hp-newsletter-btn:hover i { transform: translateX(3px); }

@media (max-width: 575px) {
  .hp-newsletter-title { font-size: 1.35rem; }
  .hp-newsletter-form { flex-direction: column; align-items: stretch; }
  .hp-newsletter-input-wrap { min-width: 0; }
  .hp-newsletter-btn { justify-content: center; }
}


/* ============================================================
   RESPONSIVE — global section padding tweaks for new sections
   ============================================================ */
@media (max-width: 767px) {
  .hp-promo-grid  { padding: 0 12px; gap: 12px; }
  .hp-need-grid-wrap { padding: 0 12px; }
  .hp-why-grid    { padding: 0 12px; gap: 10px; }
  .hp-tips-grid   { padding: 0 12px; gap: 12px; }
  .hp-blog-grid   { padding: 0 12px; gap: 12px; }
  .hp-reviews-grid-wrap,
  .hp-reviews-placeholder { padding: 0 12px; }
  .hp-brands-track-wrap { padding: 0 12px; }
  .hp-newsletter-section { padding: 40px 16px; }
  .hp-newsletter-title { font-size: 1.4rem; }
  .hp-livefish-inner { padding: 0 12px; }
}


/* ============================================================
   ALL CATEGORIES MODAL
   ============================================================ */
.hp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,23,42,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  /* animation */
  opacity: 0;
  transition: opacity 220ms ease;
}
.hp-modal-overlay.is-open {
  display: flex;
  opacity: 1;
  animation: modalFadeIn 220ms ease forwards;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal box */
.hp-modal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 860px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 24px 64px -16px rgba(2,132,199,.22),
    0 8px 24px rgba(15,23,42,.14);
  animation: modalSlideUp 240ms cubic-bezier(.22,.61,.36,1) forwards;
  overflow: hidden;
}
@keyframes modalSlideUp {
  from { transform: translateY(24px) scale(.98); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

/* Modal header */
.hp-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.hp-modal-title {
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px;
  letter-spacing: -.02em;
}
.hp-modal-sub {
  font-size: .82rem;
  color: #64748b;
  margin: 0;
}
.hp-modal-close {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 160ms ease;
  margin-top: 2px;
}
.hp-modal-close:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Modal body — scrollable */
.hp-modal-body {
  overflow-y: auto;
  padding: 22px 28px 24px;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
  flex: 1;
}
.hp-modal-body::-webkit-scrollbar { width: 5px; }
.hp-modal-body::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 999px; }

/* Group section */
.hp-modal-group { margin-bottom: 24px; }
.hp-modal-group:last-of-type { margin-bottom: 0; }
.hp-modal-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #0284c7;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #e2e8f0;
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
}

/* Category grid inside modal */
.hp-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

/* Individual category card */
.hp-modal-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  transition: all 200ms cubic-bezier(.22,.61,.36,1);
  text-align: center;
}
.hp-modal-cat-card:hover {
  background: #f0f9ff;
  border-color: #0ea5e9;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -8px rgba(2,132,199,.22);
}
.hp-modal-cat-img {
  width: 64px; height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.hp-modal-cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
.hp-modal-cat-name {
  font-size: .78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-modal-cat-sub {
  font-size: .68rem;
  color: #64748b;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-modal-cat-card:hover .hp-modal-cat-name { color: #0284c7; }

/* Responsive */
@media (max-width: 768px) {
  .hp-modal-box { max-height: 92vh; border-radius: 16px; }
  .hp-modal-header { padding: 18px 18px 14px; }
  .hp-modal-body { padding: 16px 18px 20px; }
  .hp-modal-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
  .hp-modal-cat-card { padding: 11px 8px 10px; }
  .hp-modal-cat-img { width: 44px; height: 44px; }
  .hp-modal-cat-name { font-size: .72rem; }
}
@media (max-width: 480px) {
  .hp-modal-grid { grid-template-columns: repeat(3, 1fr); }
}
