/* ============================================================
   BEBIOTIC — Design System (base)
   Shared design tokens + reusable components used across 2+ pages.
   Page-only styles belong in bebiotic-page.css instead.
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bb-blue-dark: #1e5fad;
  --bb-blue: #3b9ee8;
  --bb-blue-light: #c8e8fa;
  --bb-blue-bg: #ebf6ff;
  --bb-pink: #f472b6;
  --bb-pink-dark: #e84e9a;
  --bb-yellow: #ffd166;
  --bb-green-light: #d4f5e9;
  --bb-lavender: #ede8fc;
  --bb-peach: #fff0e0;
  --bb-white: #ffffff;
  --bb-text: #1e3a5f;
  --bb-text-muted: #6b8ead;
  --bb-radius: 16px;
  --bb-radius-lg: 24px;
  --bb-shadow: 0 4px 24px rgba(59, 158, 232, 0.12);
  --bb-shadow-card: 0 2px 12px rgba(59, 158, 232, 0.1);
}

/* ============================================================
   BASE
   ============================================================ */
.bb-page * {
  box-sizing: border-box;
}

.bb-page {
  font-family: "Nunito", "Poppins", sans-serif;
  color: var(--bb-text);
  background: var(--bb-white);
  overflow-x: hidden;
}

/* ============================================================
   HEADER / SITE NAV
   ============================================================ */
.bb-header {
  background: var(--bb-white);
  box-shadow: 0 2px 12px rgba(59, 158, 232, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.bb-header-spacer {
  height: 68px;
}

.bb-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.bb-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.bb-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.bb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.bb-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bb-text-muted);
  text-decoration: none;
  border-radius: 8px;
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}

.bb-nav a:hover,
.bb-nav a.active {
  color: var(--bb-blue);
  background: var(--bb-blue-bg);
}

.bb-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.bb-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bb-text);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  position: relative;
}

.bb-header-icon:hover {
  background: var(--bb-blue-bg);
}

.bb-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: var(--bb-blue);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-hamburger {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.bb-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bb-text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.bb-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s;
}

.bb-nav-overlay.open {
  display: block;
  opacity: 1;
}

.bb-nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--bb-white);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.bb-nav-mobile.open {
  transform: translateX(0);
}

.bb-nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--bb-blue-light);
}

.bb-nav-mobile-header img {
  height: 28px;
  width: auto;
}

.bb-nav-close {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
  color: var(--bb-text);
}

.bb-nav-close:hover {
  background: var(--bb-blue-bg);
}

.bb-nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
}

.bb-nav-mobile-links a {
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--bb-text-muted);
  text-decoration: none;
  border-radius: 10px;
  transition:
    color 0.2s,
    background 0.2s;
}

.bb-nav-mobile-links a:hover,
.bb-nav-mobile-links a.active {
  color: var(--bb-blue);
  background: var(--bb-blue-bg);
}

@media (max-width: 768px) {
  .bb-nav {
    display: none;
  }

  .bb-hamburger {
    display: flex;
  }

  .bb-nav-mobile {
    display: flex;
  }

  .bb-header-inner {
    gap: 12px;
  }

  .bb-logo img {
    height: 30px;
  }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.bb-section {
  padding: 60px 24px;
}

.bb-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bb-section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--bb-blue-dark);
  margin: 0 0 28px;
}

.bb-section-title span {
  color: var(--bb-blue);
}

.bb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.bb-section-header .bb-section-title {
  margin-bottom: 0;
}

.bb-view-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--bb-blue);
  text-decoration: none;
}

.bb-view-all:hover {
  color: var(--bb-blue-dark);
  text-decoration: none;
}

/* ============================================================
   PAGE TITLE / BREADCRUMB
   ============================================================ */
.bb-page-title {
  background: linear-gradient(135deg, #d6effc 0%, #ebf6ff 100%);
  padding: 48px 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.bb-page-title::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 158, 232, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bb-page-title-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.bb-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bb-white);
  color: var(--bb-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.bb-page-title h1 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
  color: var(--bb-blue-dark);
  margin: 0 0 10px;
}

.bb-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.bb-breadcrumbs a {
  color: var(--bb-blue);
  text-decoration: none;
}

.bb-breadcrumbs a:hover {
  color: var(--bb-blue-dark);
  text-decoration: none;
}

.bb-breadcrumbs .sep {
  color: var(--bb-text-muted);
  background: transparent;
  font-size: 12px;
  height: 18px;
}

.bb-breadcrumbs .current {
  color: var(--bb-text-muted);
}

/* ============================================================
   FEATURE GRID
   Icon + label cards — Home "Kenapa Bebiotic" and About "Misi Kami".
   ============================================================ */
.bb-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

@media (max-width: 1024px) {
  .bb-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .bb-why-grid {
    grid-template-columns: 1fr;
  }
}

.bb-why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bb-white);
  border-radius: var(--bb-radius);
  padding: 18px 16px;
  box-shadow: var(--bb-shadow-card);
}

.bb-why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bb-why-icon svg {
  width: 22px;
  height: 22px;
}

.bb-why-icon.green {
  background: #d4f5e9;
  color: #1a7f5a;
}

.bb-why-icon.pink {
  background: #fce4f0;
  color: var(--bb-pink-dark);
}

.bb-why-icon.blue {
  background: var(--bb-blue-light);
  color: var(--bb-blue-dark);
}

.bb-why-icon.purple {
  background: #ede8fc;
  color: #7a5fb5;
}

.bb-why-icon.yellow {
  background: #fff3cc;
  color: #b45309;
}

.bb-why-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--bb-text);
}

.bb-why-desc {
  font-size: 11px;
  color: var(--bb-text-muted);
  margin-top: 2px;
}

/* ============================================================
   SIDEBAR (filter panel shell)
   ============================================================ */
.bb-sidebar {
  background: var(--bb-white);
  border: 1.5px solid #e8f0f8;
  border-radius: var(--bb-radius);
  padding: 24px 20px;
  position: sticky;
  top: 88px;
  /* header height + gap */
}

.bb-sidebar-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--bb-blue-dark);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--bb-blue-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bb-sidebar-title svg {
  color: var(--bb-blue);
}

/* ============================================================
   CATEGORY / NAV LIST
   Shared by the home "shop by category" list and the product
   sidebar category list — same visual pattern, different mounts.
   ============================================================ */
.bb-cat-list,
.bb-sidebar .menu-category,
.bb-sidebar .show-product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bb-cat-list li a,
.bb-sidebar .menu-category li a,
.bb-sidebar .show-product-categories li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bb-text-muted);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.bb-cat-list li a:hover,
.bb-cat-list li a.active,
.bb-sidebar .menu-category li a:hover,
.bb-sidebar .menu-category li a.active,
.bb-sidebar .show-product-categories li a:hover,
.bb-sidebar .show-product-categories li a.active {
  background: var(--bb-blue-bg);
  color: var(--bb-blue);
}

/* Category item count badge (product sidebar) */
.bb-sidebar .menu-category li a .count,
.bb-sidebar .show-product-categories li a .count {
  margin-left: auto;
  background: var(--bb-blue-light);
  color: var(--bb-blue-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

/* ============================================================
   PRODUCT CARD (.cardProduct)
   Shared markup rendered by JS on Home + Product listings.
   ============================================================ */
.bb-page .cardProduct {
  width: 100% !important;
  border-radius: var(--bb-radius) !important;
  border: 1.5px solid #e8f0f8 !important;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  margin: 0 !important;
  background: var(--bb-white);
}

.bb-page .cardProduct:hover {
  transform: translateY(-4px);
  box-shadow: var(--bb-shadow) !important;
}

.bb-page .cardImage {
  background: var(--bb-blue-bg) !important;
  border-radius: var(--bb-radius) var(--bb-radius) 0 0 !important;
  width: 100% !important;
  aspect-ratio: 1;
  overflow: hidden;
}

.bb-page .cardImage img,
.bb-page .cardImage .imageMain,
.bb-page .cardImage .imageHover {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.bb-page .cardInfo {
  padding: 10px !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bb-page .cardTitle {
  color: var(--bb-text) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.8em;
}

.bb-page .price-box {
  align-items: baseline !important;
  gap: 8px !important;
}

.bb-page .color-price {
  color: var(--bb-blue-dark) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  transition: font-size 0.2s;
}
.bb-page .color-discount {
  color: var(--bb-pink-dark) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-decoration: line-through !important;
  transition: font-size 0.2s;
}

.bb-page .star-rating {
  font-size: 14px;
  line-height: 1;
}

.bb-page .lbl-hot {
  background: var(--bb-pink) !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  padding: 4px 10px !important;
}

/* Product card badges — stacked so New / Best Seller / Top Rated /
   discount can all show at once instead of overlapping at the same
   top-left position (the old .lbl-hot behavior). */
.bb-page .card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.bb-page .card-badge {
  display: block;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
}

.bb-page .card-badge-discount {
  background: var(--bb-pink-dark);
}

.bb-page .card-badge-new {
  background: var(--bb-blue);
}

.bb-page .card-badge-bestseller {
  background: var(--bb-yellow);
  color: #7a4a00;
}

.bb-page .card-badge-toprated {
  background: #7a5fb5;
}

/* Add to Cart button — vendor CSS (stylee209.css) hides .button-select
   until .cardImage:hover; keep it always visible instead. */
.bb-page .cardImage .button-select {
  opacity: 1 !important;
  bottom: 0 !important;
}

/* Product card header with title and action button */
.bb-page .card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.bb-page .card-header-row > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Icon button for add to cart in card footer */
.bb-page .card-add-to-cart-btn {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  padding: 0;
  background: var(--bb-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0;
}

.bb-page .card-add-to-cart-btn:hover {
  background: var(--bb-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 158, 232, 0.25);
}

.bb-page .card-add-to-cart-btn:active {
  transform: translateY(0);
}

.bb-page .card-add-to-cart-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition:
    width 0.2s,
    height 0.2s;
}

/* Tablet — trim the icon button and price text one notch */
@media (max-width: 1024px) {
  .bb-page .card-add-to-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .bb-page .card-add-to-cart-btn svg {
    width: 18px;
    height: 18px;
  }

  .bb-page .color-price,
  .bb-page .color-discount {
    font-size: 13px !important;
  }
}

/* Mobile — smallest icon button and price text */
@media (max-width: 600px) {
  .bb-page .card-add-to-cart-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .bb-page .card-add-to-cart-btn svg {
    width: 16px;
    height: 16px;
  }

  .bb-page .color-price,
  .bb-page .color-discount {
    font-size: 12px !important;
  }
}

/* Override Bootstrap .col-* wrappers around JS-rendered product
   grids — several sections use a .row/.col-* wrapper with a CSS
   Grid parent, which otherwise conflicts with Bootstrap's flex. */
.bb-product-grid > [class*="col"],
.filter_data > [class*="col"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ============================================================
   SKELETON LOADER
   Placeholder content for JS-populated containers (product
   grids, category lists, swiper slides). Containers ship with
   this markup by default; the JS render functions call
   .html(...) on success, which replaces it wholesale — no JS
   changes needed to wire this up.
   ============================================================ */
.bb-skeleton {
  display: block;
  background: linear-gradient(90deg, var(--bb-blue-bg) 25%, var(--bb-blue-light) 50%, var(--bb-blue-bg) 75%);
  background-size: 200% 100%;
  animation: bb-skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}

@keyframes bb-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.bb-skeleton-card {
  border-radius: var(--bb-radius);
  border: 1.5px solid #e8f0f8;
  overflow: hidden;
  background: var(--bb-white);
}

.bb-skeleton-card .bb-skeleton-image {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 0;
}

.bb-skeleton-card-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bb-skeleton-line {
  height: 12px;
  width: 100%;
}

.bb-skeleton-line.short {
  width: 60%;
}

.bb-skeleton-line.price {
  width: 40%;
  height: 16px;
  margin-top: 4px;
}

.bb-skeleton-cat-item {
  padding: 10px 14px;
}

.bb-skeleton-cat-item .bb-skeleton {
  height: 14px;
  width: 70%;
}

/* ============================================================
   SWIPER NAV BUTTONS
   ============================================================ */
.bb-swiper-nav {
  display: flex;
  gap: 8px;
}

.bb-swiper-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bb-white);
  border: 1.5px solid var(--bb-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bb-blue);
  cursor: pointer;
  font-size: 16px;
  transition:
    background 0.2s,
    color 0.2s;
}

.bb-swiper-btn:hover {
  background: var(--bb-blue);
  color: #fff;
}

/* Swiper slide product card */
.swiper-slide .cardProduct {
  width: 100% !important;
  margin: 0 !important;
}

.swiper-slide .cardImage {
  background: var(--bb-blue-bg) !important;
  border-radius: var(--bb-radius) var(--bb-radius) 0 0 !important;
  aspect-ratio: 1;
  overflow: hidden;
}

.swiper-slide .cardImage img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.bb-footer {
  background: var(--bb-blue-bg);
  border-top: 1.5px solid var(--bb-blue-light);
}

.bb-footer-main {
  padding: 56px 24px 40px;
}

.bb-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .bb-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .bb-footer-inner {
    grid-template-columns: 1fr;
  }
}

.bb-footer-logo img {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 14px;
}

.bb-footer-tagline {
  font-size: 13px;
  color: var(--bb-text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 280px;
}

.bb-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bb-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-text);
  text-decoration: none;
  line-height: 1.5;
}

a.bb-footer-contact-item:hover {
  color: var(--bb-blue);
  text-decoration: none;
}

.bb-footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--bb-blue);
}

.bb-footer-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--bb-blue-dark);
  margin: 0 0 18px;
}

.bb-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bb-footer-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--bb-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.bb-footer-links a:hover {
  color: var(--bb-blue);
  text-decoration: none;
}

.bb-footer-bottom {
  border-top: 1.5px solid var(--bb-blue-light);
  padding: 20px 24px;
}

.bb-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.bb-footer-copy {
  font-size: 12px;
  font-weight: 600;
  color: var(--bb-text-muted);
  margin: 0;
}

.bb-footer-copy a {
  color: var(--bb-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.bb-footer-copy a:hover {
  color: var(--bb-blue);
  text-decoration: none;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.bb-footer-cta {
  background: linear-gradient(135deg, var(--bb-blue-dark) 0%, var(--bb-blue) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}

.bb-footer-cta-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  margin: 0 0 12px;
}

.bb-footer-cta-sub {
  font-size: 15px;
  opacity: 0.8;
  margin: 0 0 28px;
}

.bb-footer-cta-btn {
  display: inline-block;
  background: var(--bb-white);
  color: var(--bb-blue-dark);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.bb-footer-cta-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--bb-blue-dark);
}

/* ============================================================
   INSTAGRAM CTA
   Standalone follow-us banner (Product, Contact).
   ============================================================ */
.bb-instagram-product {
  background: var(--bb-white);
  padding: 60px 24px;
  text-align: center;
}

.bb-instagram-product-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.bb-instagram-product .bb-ig-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bb-blue);
  margin-bottom: 6px;
  display: block;
}

.bb-instagram-product .bb-ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bb-blue-dark);
  text-decoration: none;
  margin-bottom: 32px;
}

.bb-instagram-product .bb-ig-handle:hover {
  color: var(--bb-blue);
  text-decoration: none;
}

/* ============================================================
   AUTH FORMS
   Login / Register / Reset / Renew / Activate Account
   ============================================================ */
.bb-auth {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d6effc 0%, #ebf6ff 50%, #e0f0ff 100%);
  padding: 40px 24px;
}

.bb-auth-shell {
  width: 100%;
  max-width: 960px;
  background: var(--bb-white);
  border-radius: var(--bb-radius-lg);
  box-shadow: var(--bb-shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

@media (max-width: 860px) {
  .bb-auth-shell {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* Left visual panel */
.bb-auth-visual {
  background: linear-gradient(160deg, var(--bb-blue-bg) 0%, var(--bb-blue-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 32px;
  text-align: center;
}

@media (max-width: 860px) {
  .bb-auth-visual {
    display: none;
  }
}

.bb-auth-illustration {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.bb-auth-visual-text h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--bb-blue-dark);
  margin: 0 0 8px;
}

.bb-auth-visual-text p {
  font-size: 13px;
  color: var(--bb-text-muted);
  margin: 0;
  max-width: 260px;
}

/* Right form panel */
.bb-auth-panel {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 480px) {
  .bb-auth-panel {
    padding: 36px 24px;
  }
}

.bb-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.bb-auth-logo img {
  height: 40px;
  width: auto;
}

.bb-auth-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--bb-blue-dark);
  margin: 0 0 8px;
  text-align: center;
}

.bb-auth-subtitle {
  font-size: 13px;
  color: var(--bb-text-muted);
  margin: 0 0 24px;
  text-align: center;
  line-height: 1.6;
}

/* Tabs (Login / Sign up) */
.bb-auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--bb-blue-bg);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 28px;
}

.bb-auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--bb-text-muted);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.bb-auth-tab:hover {
  color: var(--bb-blue-dark);
  text-decoration: none;
}

.bb-auth-tab.active {
  background: var(--bb-white);
  color: var(--bb-blue-dark);
  box-shadow: var(--bb-shadow-card);
}

/* Form */
.bb-auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bb-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bb-form-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--bb-text);
}

.bb-form-control {
  width: 100%;
  border: 1.5px solid var(--bb-blue-light);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--bb-text);
  background: var(--bb-white);
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.bb-form-control::placeholder {
  color: #a9c2d9;
}

.bb-form-control:focus {
  border-color: var(--bb-blue);
  box-shadow: 0 0 0 3px rgba(59, 158, 232, 0.15);
}

.bb-form-input-wrap {
  position: relative;
}

.bb-form-input-wrap .bb-form-control {
  padding-right: 42px;
}

.bb-form-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bb-text-muted);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.bb-form-toggle:hover {
  background: var(--bb-blue-bg);
  color: var(--bb-blue);
}

.bb-form-error {
  font-size: 12px;
  font-weight: 600;
  color: #e4483a;
  min-height: 14px;
  display: block;
}

.bb-form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.bb-form-checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--bb-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.bb-form-checkbox-row p {
  font-size: 12.5px;
  color: var(--bb-text-muted);
  line-height: 1.6;
  margin: 0;
}

.bb-form-checkbox-row a {
  color: var(--bb-blue);
  font-weight: 700;
  text-decoration: none;
}

.bb-form-checkbox-row a:hover {
  color: var(--bb-blue-dark);
  text-decoration: none;
}

.bb-auth-forgot {
  text-align: right;
  margin-top: -8px;
}

.bb-auth-forgot a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bb-blue);
  text-decoration: none;
}

.bb-auth-forgot a:hover {
  color: var(--bb-blue-dark);
  text-decoration: none;
}

.bb-btn-primary {
  display: block;
  width: 100%;
  border: none;
  background: var(--bb-blue-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(30, 95, 173, 0.25);
}

.bb-btn-primary:hover:not(:disabled) {
  background: var(--bb-blue);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.bb-btn-primary:disabled {
  background: var(--bb-blue-light);
  color: var(--bb-white);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.bb-auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--bb-text-muted);
  margin: 18px 0 0;
}

.bb-auth-switch a {
  color: var(--bb-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.bb-auth-switch a:hover {
  color: var(--bb-blue);
  text-decoration: none;
}

/* Status page (Activate Account) */
.bb-auth-status {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d6effc 0%, #ebf6ff 50%, #e0f0ff 100%);
  padding: 40px 24px;
}

.bb-auth-status-card {
  background: var(--bb-white);
  border-radius: var(--bb-radius-lg);
  box-shadow: var(--bb-shadow);
  padding: 48px 40px;
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.bb-auth-status-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--bb-blue-light);
  border-top-color: var(--bb-blue);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: bb-spin 0.8s linear infinite;
}

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