/* ==========================================================================
   MASTER BIOTECH — OCEAN BLUE • AQUA CYAN • BIO-PURPLE THEME
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  --brand-blue: #1876b8;
  --brand-cyan: #00b4d8;
  --brand-navy: #0a2946;
  --brand-purple: #6c3e97;
  --grad-main: linear-gradient(90deg, #1876b8 0%, #00a8e8 48%, #6c3e97 100%);
  --grad-btn: linear-gradient(90deg, #0e5a94 0%, #1876b8 52%, #6c3e97 100%);
  --grad-pill: linear-gradient(90deg, #00a8e8 0%, #1876b8 50%, #6c3e97 100%);
  --bg-page: #f3f8fc;
  --text-dark: #0a2946;
  --text-body: #3c556e;
  --text-muted: #6c8299;
  --border: #d9eaf7;

  /* Override legacy variables for Cart, Checkout, Auth & Account pages */
  --primary-gold: #1876b8;
  --primary-gold-dark: #0e5a94;
  --primary-gold-light: #00b4d8;
  --primary-gold-tint: #f3f8fc;
  --primary-gold-border: #d9eaf7;
  --gold-primary: #1876b8;
  --gold-dark: #6c3e97;
  --navy-dark: #0a2946;
  --bg-body: #f3f8fc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #ebf4fc;
  --bg-dark: #071f38;
  --bg-dark-card: #0c3358;
  --text-main: #0a2946;
  --text-light: #6c8299;
  --border-light: #d9eaf7;
  --border-subtle: #e5f1fa;
  --shadow-gold: 0 8px 24px -4px rgba(24, 118, 184, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-gutter: stable;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--text-dark);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button,
input,
textarea,
select,
optgroup,
.btn,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.btn,
.btn-gold,
.btn-primary,
.btn-outline,
.btn-mb-primary,
.btn-mb-outline,
button[type="submit"] {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.1px !important;
}

.cart-summary-total {
  font-weight: 600 !important;
  font-size: 16px !important;
}

.cart-summary-total .price-val {
  color: #1876b8 !important;
  font-weight: 700 !important;
  font-size: 20px !important;
}

.payment-method-card.selected {
  border-color: #1876b8 !important;
  background: rgba(24, 118, 184, 0.04) !important;
}

/* Single-screen Desktop Lock & Full-Page Banner Background for Homepage */
body.is-home-page #main-content {
  background-image: url('../images/masterbiotech/hero_banner.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  position: relative;
}

body.is-home-page #main-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(238, 248, 255, 0.92) 0%,
      rgba(238, 248, 255, 0.78) 38%,
      rgba(238, 248, 255, 0.18) 62%,
      rgba(238, 248, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 0;
}

body.is-home-page #main-content>* {
  position: relative;
  z-index: 2;
}

body.is-home-page .hero-banner {
  background: transparent !important;
}

body.is-home-page .hero-banner::before {
  display: none !important;
}

body.is-home-page .block-head h2 {
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.95), 0 0 4px rgba(255, 255, 255, 0.9);
}

body.is-home-page .block-more {
  background: rgba(255, 255, 255, 0.88);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(24, 118, 184, 0.2);
  box-shadow: 0 2px 8px rgba(10, 41, 70, 0.06);
}

body.is-home-page .f-card,
body.is-home-page .n-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

@media (min-width: 981px) {
  .mb-mobile-backdrop,
  .mb-mobile-drawer,
  .mb-mobile-toggle {
    display: none !important;
  }
}

@media (min-width: 1080px) {
  html:has(body.is-home-page) {
    height: 100vh !important;
    overflow: hidden !important;
    background: #071f38;
  }
  body.is-home-page {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.is-home-page .mb-site-header {
    height: clamp(58px, 7.5vh, 68px);
    flex-shrink: 0;
  }
  body.is-home-page #main-content {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
  }
  body.is-home-page .hero-banner {
    height: auto !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: clamp(14px, 2.5vh, 28px) 0 clamp(24px, 3.6vh, 38px) !important;
  }
  body.is-home-page .hero-inner {
    padding-bottom: 0 !important;
  }
  body.is-home-page .hero-copy h1 {
    font-size: clamp(26px, 3.6vh, 35px);
    margin-bottom: clamp(6px, 1vh, 10px);
  }
  body.is-home-page .hero-copy p {
    font-size: clamp(12.5px, 1.65vh, 13.8px);
    margin-bottom: clamp(10px, 1.8vh, 18px);
  }
  body.is-home-page .value-strip-wrap {
    margin-top: -22px !important;
    flex-shrink: 0 !important;
  }
  body.is-home-page .value-strip {
    padding: clamp(8px, 1.3vh, 12px) 24px;
  }
  body.is-home-page .home-lower {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: clamp(8px, 1.5vh, 16px) 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  body.is-home-page .f-card-img {
    height: clamp(96px, 15vh, 140px);
  }
  body.is-home-page .f-card-body {
    padding: clamp(8px, 1.2vh, 11px) 13px;
  }
  body.is-home-page .n-card {
    padding: clamp(7px, 1.1vh, 10px) 12px;
  }
  body.is-home-page .n-thumb {
    height: clamp(62px, 9.5vh, 80px);
    width: clamp(104px, 14vh, 124px);
  }
  body.is-home-page .mb-lux-footer {
    flex-shrink: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  body.is-home-page .mb-lux-footer-inner {
    padding-top: clamp(10px, 1.4vh, 14px);
    padding-bottom: clamp(10px, 1.4vh, 14px);
  }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.mb-container,
.container,
.navbar-container,
.article-layout-container,
.knowledge-layout-container {
  max-width: 1400px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

#main-content,
.mb-site-header,
.mb-lux-footer,
.hero-banner,
.value-strip-section,
.value-strip-wrap,
.value-strip,
.home-lower,
.cat-banner,
.filter-strip,
.crumb-strip,
.section,
.account-page-wrapper {
  width: 100% !important;
  box-sizing: border-box !important;
}

.hero-inner,
.lower-grid,
.cat-banner-inner,
.filter-row,
.mb-header-inner,
.mb-lux-footer-inner {
  width: 100% !important;
  flex: 1 1 100% !important;
  box-sizing: border-box !important;
}

.lower-grid > div,
.feat-cards,
.news-stack,
.n-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.n-info {
  flex: 1;
  min-width: 0;
}

.success-card {
  max-width: 100% !important;
}

/* ==========================================================================
   1. HEADER WITH E-COMMERCE CART + LOGIN ICON + CONSULT CTA
   ========================================================================== */
.mb-site-header {
  background: #ffffff;
  height: 68px;
  border-bottom: 1px solid #e1eef8;
  box-shadow: 0 2px 14px rgba(10, 41, 70, 0.05);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-shrink: 0;
}

.mb-header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.mb-brand-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mb-brand img {
  width: 57px;
  height: 42px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.mb-brand-texts {
  flex-shrink: 0;
}

.mb-brand-text-top {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.1;
  white-space: nowrap;
  background: linear-gradient(90deg, #0096c7 0%, #1876b8 48%, #6c3e97 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mb-brand-text-sub {
  font-size: 10px;
  font-weight: 700;
  color: #5c6f84;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.mb-v-divider {
  display: none !important;
}

.mb-nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mb-nav-item-wrap {
  position: relative;
}

.mb-nav-item {
  font-size: 13.5px;
  font-weight: 700;
  color: #153554;
  padding: 23px 0;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mb-nav-item:hover,
.mb-nav-item.active {
  color: var(--brand-blue);
}

.mb-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: var(--grad-main);
  border-radius: 4px 4px 0 0;
}

/* Dropdown on hover */
.mb-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: #ffffff;
  border: 1px solid #d9eaf7;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(10, 41, 70, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 200;
  list-style: none;
}

.mb-nav-item-wrap:hover .mb-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mb-dropdown li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #153554;
  white-space: nowrap;
}

.mb-dropdown li a:hover {
  background: linear-gradient(90deg, #eef7fd 0%, #f5effb 100%);
  color: var(--brand-blue);
}

.mb-dropdown-badge {
  background: var(--grad-pill);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
}

/* Header Right: Search + Cart + Login + Consult */
.mb-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mb-hdr-icon-btn {
  height: 38px;
  padding: 0 13px;
  border-radius: 99px;
  background: #f3f8fc;
  border: 1px solid #d9eaf7;
  color: #123456;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}

.mb-hdr-icon-btn:hover {
  border-color: var(--brand-blue);
  background: #e8f4fc;
}

.mb-hdr-icon-only {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f8fc;
  border: 1px solid #d9eaf7;
  color: #123456;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.mb-hdr-icon-only:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: #e8f4fc;
}

.mb-cart-btn {
  background: linear-gradient(135deg, #edf6fd 0%, #f4ecfb 100%);
  border-color: #c9dff2;
  color: var(--brand-navy);
  position: relative;
}

.mb-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #1876b8, #6c3e97);
  color: #ffffff;
  font-size: 11px;
  font-weight: 400 !important;
  line-height: 1;
  min-width: 19px;
  height: 19px;
  border-radius: 99px;
  padding: 0 4px;
  border: 2px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mb-consult-pill {
  background: var(--grad-pill);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 12px rgba(24, 118, 184, 0.25);
  white-space: nowrap;
}

.mb-consult-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(108, 62, 151, 0.32);
}

/* Search Drawer */
.mb-search-bar {
  display: none;
  background: #ffffff;
  border-bottom: 1px solid #d9eaf7;
  padding: 10px 0;
  box-shadow: 0 6px 16px rgba(10, 41, 70, 0.06);
}

.mb-search-bar.open {
  display: block;
}

.mb-search-form {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}

.mb-search-input {
  flex: 1;
  height: 40px;
  border: 1.5px solid #c9dff2;
  border-radius: 99px;
  padding: 0 18px;
  font-size: 13.5px;
  outline: none;
  font-family: inherit;
}

.mb-search-input:focus {
  border-color: var(--brand-blue);
}

/* ==========================================================================
   2. REDESIGNED PREMIUM FOOTER (4-COLUMN DARK NAVY-PURPLE)
   ========================================================================== */
.mb-lux-footer {
  background: linear-gradient(135deg, #071f38 0%, #0c3358 52%, #2c1a4d 100%);
  color: #ffffff;
  position: relative;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #00b4d8 0%, #1876b8 50%, #9b51e0 100%) 1;
  margin-top: auto;
  flex-shrink: 0;
}

.mb-lux-footer-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.mb-f-brand-col {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mb-f-logo-box {
  width: 62px;
  height: 42px;
  background: #ffffff;
  padding: 5px 9px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.mb-f-logo-box img {
  width: 44px;
  height: 32px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.mb-f-brand-texts {
  flex-shrink: 0;
}

.mb-f-brand-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.15px;
  margin-bottom: 2px;
  white-space: nowrap;
}

.mb-f-brand-sub {
  font-size: 11px;
  color: #9bd6f5;
  font-weight: 500;
  white-space: nowrap;
}

.mb-f-info-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: #d6eaf8;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 18px;
  flex-shrink: 1;
  min-width: 0;
  max-width: 440px;
}

.mb-f-info-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  white-space: normal;
  line-height: 1.38;
}

.mb-f-info-line svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.mb-f-policy-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: #d6eaf8;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 18px;
  flex-shrink: 0;
}

.mb-f-policy-badges {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.mb-f-mini-tag {
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #8ce8ff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}

.mb-f-right-col {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 18px;
  flex-shrink: 0;
}

.mb-f-hotline-pill {
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.22) 0%, rgba(155, 81, 224, 0.26) 100%);
  border: 1px solid rgba(124, 232, 255, 0.4);
  border-radius: 12px;
  padding: 6px 12px;
  text-align: left;
  display: block;
}

.mb-f-hotline-label {
  font-size: 9.5px;
  text-transform: uppercase;
  color: #8ce8ff;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.mb-f-hotline-num {
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
}

.mb-f-socials {
  display: flex;
  gap: 7px;
}

.mb-f-soc-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff !important;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mb-f-soc-circle:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   3. PAGE 1: TRANG CHỦ 1 MÀN HÌNH (SINGLE-SCREEN DESKTOP)
   ========================================================================== */
.hero-banner {
  position: relative;
  height: 318px;
  background-size: cover;
  background-position: right 60%;
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(235, 248, 255, 0.96) 0%,
      rgba(236, 248, 255, 0.90) 38%,
      rgba(236, 248, 255, 0.35) 54%,
      rgba(236, 248, 255, 0.0) 70%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}

.hero-copy {
  max-width: 600px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cbe3f6;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-purple);
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(24, 118, 184, 0.08);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-main);
}

.hero-copy h1 {
  font-size: 35px;
  font-weight: 800;
  color: #092c4c;
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.hero-copy h1 .hl {
  background: linear-gradient(90deg, #0096c7 0%, #1876b8 45%, #6c3e97 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  font-size: 13.8px;
  color: #254665;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 18px;
  max-width: 530px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-explore {
  background: var(--grad-btn);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 16px rgba(24, 118, 184, 0.30);
}

.btn-explore:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(108, 62, 151, 0.35);
}

.btn-contact {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #1876b8;
  color: #0b3c68;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.btn-contact:hover {
  background: #ffffff;
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

.hero-center-showcase {
  align-self: flex-end;
  margin-right: 310px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1.5px solid #ffffff;
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(10, 46, 82, 0.14);
}

.hc-imgs {
  display: flex;
  align-items: center;
}

.hc-imgs img {
  width: 38px;
  height: 46px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  margin-right: -6px;
}

.hc-info {
  padding-left: 8px;
}

.hc-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--brand-purple);
  text-transform: uppercase;
}

.hc-name {
  font-size: 11.5px;
  font-weight: 800;
  color: #092c4c;
  white-space: nowrap;
}

.value-strip-wrap {
  margin-top: -28px;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.value-strip {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #d7ebf8;
  border-radius: 16px;
  padding: 12px 26px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  box-shadow: 0 8px 24px rgba(14, 65, 114, 0.08);
}

.val-sep {
  width: 1px;
  height: 36px;
  background: #d5e6f3;
}

.val-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 16px;
}

.val-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(24, 118, 184, 0.12) 0%, rgba(108, 62, 151, 0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.val-item h3 {
  font-size: 13.8px;
  font-weight: 800;
  color: #0a2946;
  margin-bottom: 1px;
}

.val-item p {
  font-size: 11.8px;
  color: #4b657d;
}

.home-lower {
  padding: 14px 0 12px;
  flex: 1;
  display: flex;
  align-items: center;
}

.lower-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.58fr 1fr;
  gap: 26px;
  align-items: start;
}

.block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.block-head h2 {
  font-size: 20px;
  font-weight: 800;
  color: #092c4c;
  letter-spacing: -0.3px;
}

.block-more {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-blue);
}

.block-more:hover {
  color: var(--brand-purple);
}

.feat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.f-card {
  background: #ffffff;
  border: 1px solid #d9eaf7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(10, 46, 82, 0.05);
  display: block;
}

.f-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(24, 118, 184, 0.14);
}

.f-card-img {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.f-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.f-card:hover .f-card-img img {
  transform: scale(1.04);
}

.f-card-body {
  padding: 11px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #ffffff;
}

.f-card-body h3 {
  font-size: 13.5px;
  font-weight: 800;
  color: #0a2946;
  margin-bottom: 2px;
}

.f-card-body p {
  font-size: 11px;
  color: #536d86;
  line-height: 1.35;
}

.circle-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e3f4fc 0%, #efe6f8 100%);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.news-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.n-card {
  background: #ffffff;
  border: 1px solid #d9eaf7;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 4px 14px rgba(10, 46, 82, 0.04);
}

.n-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-blue);
  box-shadow: 0 8px 20px rgba(24, 118, 184, 0.12);
}

.n-thumb {
  width: 124px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.n-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n-info h3 {
  font-size: 13px;
  font-weight: 800;
  color: #0a2946;
  line-height: 1.38;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n-date {
  font-size: 11px;
  color: #5a748e;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}

/* ==========================================================================
   4. PAGE 2: DANH MỤC SẢN PHẨM (CATEGORY PAGE)
   ========================================================================== */
.cat-banner {
  position: relative;
  min-height: 205px;
  padding: 28px 0;
  background-size: cover;
  background-position: right 55%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cat-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(235, 248, 255, 0.97) 0%,
      rgba(235, 248, 255, 0.94) 58%,
      rgba(235, 248, 255, 0.45) 78%,
      rgba(108, 62, 151, 0.18) 100%);
}

.cat-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.crumb {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 6px;
}

.cat-banner h1 {
  font-size: 27px;
  font-weight: 800;
  color: #092c4c;
  margin-bottom: 6px;
}

.cat-banner h1 span {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cat-banner p {
  font-size: 13.5px;
  color: #254665;
  max-width: 650px;
}

.cat-badges {
  display: flex;
  gap: 12px;
}

.c-stat {
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid #d5e8f7;
  border-radius: 14px;
  padding: 12px 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(10, 46, 82, 0.08);
  white-space: nowrap;
}

.c-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c-stat span {
  font-size: 11px;
  font-weight: 600;
  color: #3d5a73;
}

.filter-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: 0 4px 14px rgba(10, 41, 70, 0.03);
}

.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.f-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.f-pill {
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  color: #2c4a67;
  background: #f2f8fd;
  border: 1px solid #d9eaf7;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
}

.f-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(24, 118, 184, 0.12);
  color: #1876b8;
}

.f-pill:hover {
  background: #e4f1fc;
  border-color: #9ec9eb;
  color: var(--brand-blue);
}

.f-pill.active {
  background: var(--grad-btn);
  border-color: transparent;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(24, 118, 184, 0.24);
}

.f-pill.active .f-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.mb-filter-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mb-filter-select-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #f5f9fd;
  border: 1px solid #d4e6f5;
  border-radius: 99px;
  padding: 0 12px;
  height: 36px;
  gap: 6px;
  color: #1876b8;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mb-filter-select-box:hover,
.mb-filter-select-box:focus-within {
  border-color: #1876b8;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(24, 118, 184, 0.10);
}

.mb-filter-select {
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: #0a2946;
  outline: none;
  cursor: pointer;
  padding-right: 4px;
}

.mb-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 99px;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #e11d48 !important;
  font-size: 12px;
  font-weight: 600;
}

.mb-filter-reset:hover {
  background: #ffe4e6;
}

.cat-grid {
  padding: 22px 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prod-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(10, 46, 82, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(24, 118, 184, 0.12);
  border-color: #b7d7f0;
}

.prod-top {
  height: 175px;
  background: linear-gradient(180deg, #e7f4fc 0%, #f5effa 100%);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.prod-top img {
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.tag-left {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
}

.tag-right {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ffffff;
  color: var(--brand-purple);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
}

.prod-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prod-strain {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-purple);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.prod-title {
  font-size: 18px;
  font-weight: 800;
  color: #092c4c;
  margin-bottom: 5px;
  display: block;
}

.prod-title:hover {
  color: var(--brand-blue);
}

.prod-desc {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.48;
  margin-bottom: 12px;
}

.prod-specs {
  background: #f5f9fd;
  border: 1px solid #e1eef8;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 11.5px;
}

.s-row {
  display: flex;
  justify-content: space-between;
  padding: 2.5px 0;
  gap: 8px;
}

.s-row span:first-child {
  color: var(--text-muted);
}

.s-row span:last-child {
  font-weight: 600;
  color: #0a2946;
  text-align: right;
}

.prod-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(24, 118, 184, 0.06) 0%, rgba(108, 62, 151, 0.06) 100%);
  border: 1px solid rgba(24, 118, 184, 0.16);
}

.prod-price-info {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.prod-price-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #4b657d;
}

.prod-price-amount {
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(90deg, #1876b8 0%, #6c3e97 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.prod-stock-pill {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.detail-price-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 12px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(24, 118, 184, 0.07) 0%, rgba(108, 62, 151, 0.07) 100%);
  border: 1px solid rgba(24, 118, 184, 0.20);
}

.detail-price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.detail-price-label {
  font-size: 13px;
  font-weight: 500;
  color: #4b657d;
}

.detail-price-value {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(90deg, #1876b8 0%, #6c3e97 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.detail-price-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-stock-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 99px;
}

.detail-vat-pill {
  font-size: 11.5px;
  font-weight: 600;
  color: #6c3e97;
  background: #f5f0fb;
  border: 1px solid #decdf2;
  padding: 3px 10px;
  border-radius: 99px;
}

.prod-foot {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-add-cart {
  background: var(--grad-btn);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.btn-add-cart:hover {
  opacity: 0.94;
  box-shadow: 0 4px 12px rgba(24, 118, 184, 0.25);
}

.btn-view-doc {
  background: #eef6fc;
  border: 1px solid #cfe4f5;
  color: var(--brand-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-view-doc:hover {
  background: #dfeef9;
  color: var(--brand-blue);
}

.guide-card {
  background: linear-gradient(145deg, #093561 0%, #1876b8 52%, #5e3387 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.guide-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.guide-row strong {
  color: #7ce8ff;
}

/* ==========================================================================
   5. PAGE 3: CHI TIẾT SẢN PHẨM (PRODUCT DETAIL)
   ========================================================================== */
.crumb-strip {
  background: linear-gradient(90deg, #e8f4fc 0%, #f3ecfa 100%);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
  font-size: 12px;
  color: #35526e;
  font-weight: 600;
}

.crumb-strip strong {
  color: var(--brand-purple);
}

.detail-wrap {
  padding-top: 20px;
  padding-bottom: 32px;
}

.top-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 0.80fr 1.20fr;
  gap: 30px;
  box-shadow: 0 8px 24px rgba(10, 46, 82, 0.05);
}

.prod-showcase {
  background: linear-gradient(145deg, #e5f4fc 0%, #f3eafb 100%);
  border: 1px solid #d7e8f7;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.prod-showcase img {
  max-height: 280px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(10, 46, 82, 0.12);
}

.mini-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  margin-top: 14px;
}

.m-badge {
  background: #ffffff;
  border: 1px solid #d9eaf7;
  border-radius: 8px;
  padding: 7px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #092c4c;
}

.m-badge span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--brand-purple);
}

.info-tag {
  display: inline-block;
  background: linear-gradient(90deg, rgba(24, 118, 184, 0.12), rgba(108, 62, 151, 0.15));
  color: var(--brand-purple);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.info-col h1 {
  font-size: 27px;
  font-weight: 800;
  background: linear-gradient(90deg, #092c4c 0%, #1876b8 50%, #6c3e97 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.info-slogan {
  font-size: 13.5px;
  font-style: italic;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 9px;
}

.info-desc {
  font-size: 12.8px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 12px;
}

.spec-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-bottom: 12px;
}

.sp-box {
  background: #f6fafe;
  border: 1px solid #deedf9;
  border-radius: 10px;
  padding: 8px 12px;
}

.sp-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.sp-val {
  font-size: 12px;
  font-weight: 800;
  color: #092c4c;
  margin-top: 2px;
}

.buy-box {
  background: linear-gradient(90deg, #f2f8fd 0%, #f8f3fc 100%);
  border: 1px solid #d7e7f6;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.v-label {
  font-size: 12px;
  font-weight: 700;
  color: #163859;
}

.v-opt {
  background: #ffffff;
  border: 1.5px solid #cbdfef;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #35526e;
  cursor: pointer;
}

.v-opt.active {
  border-color: var(--brand-blue);
  background: #e9f5fe;
  color: var(--brand-blue);
}

.qty-box {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #c9dff2;
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  padding: 4px 11px;
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 15px;
  background: none;
  border: none;
  cursor: pointer;
}

.qty-num {
  width: 44px;
  text-align: center;
  padding: 4px 6px;
  font-weight: 800;
  font-size: 13px;
  border: none;
  border-left: 1px solid #e1eef8;
  border-right: 1px solid #e1eef8;
  font-family: inherit;
}

.action-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-add-big {
  background: var(--grad-btn);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(24, 118, 184, 0.25);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-buy-now {
  background: #6c3e97;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
}

.btn-out-grad {
  border: 1.5px solid #1876b8;
  color: #1876b8;
  font-size: 12.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
}

.bento-lower {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.b-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 14px;
}

.b-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #092c4c;
  text-transform: uppercase;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 2px solid #e6f2fb;
}

.dose-tbl-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #e6f1fa;
  margin-bottom: 8px;
}

.dose-tbl {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-bottom: 0;
}

.dose-tbl th {
  background: var(--grad-btn);
  color: #ffffff;
  text-align: left;
  padding: 10px 14px;
  font-weight: 700;
  white-space: nowrap;
}

.dose-tbl td {
  padding: 10px 14px;
  border-bottom: 1px solid #e6f1fa;
  line-height: 1.45;
  vertical-align: middle;
}

.dose-tbl tr:last-child td {
  border-bottom: none;
}

.dose-tbl tr:nth-child(even) td {
  background: #f6fafe;
}

.dose-tip {
  background: linear-gradient(90deg, #ebf6fd 0%, #f5eefb 100%);
  border-left: 4px solid var(--brand-purple);
  padding: 8px 12px;
  border-radius: 0 8px 8px 0;
  font-size: 11.5px;
  color: #163859;
}

.mech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.m-card {
  background: #f7fbfe;
  border: 1px solid #dfeef9;
  border-radius: 10px;
  padding: 10px;
}

.m-step {
  font-size: 10px;
  font-weight: 800;
  color: var(--brand-purple);
  text-transform: uppercase;
}

.m-card h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #092c4c;
  margin: 2px 0;
}

.m-card p {
  font-size: 11px;
  color: var(--text-body);
}

.store-row {
  display: flex;
  justify-content: space-between;
  padding: 6.5px 0;
  border-bottom: 1px dashed #dfeef9;
  font-size: 12px;
}

.rel-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid #e3f0fa;
  border-radius: 10px;
  margin-bottom: 8px;
}

.rel-mini:hover {
  border-color: var(--brand-blue);
  background: #f7fbfe;
}

.rel-mini-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rel-mini img {
  width: 42px;
  height: 46px;
  object-fit: contain;
  background: #f2f8fd;
  border-radius: 6px;
}

.rel-mini h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #092c4c;
}

.rel-mini p {
  font-size: 10.5px;
  color: var(--text-body);
}

.mini-cart-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ebf5fd;
  color: var(--brand-blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.mini-cart-plus:hover {
  background: var(--grad-btn);
  color: #ffffff;
}

/* ==========================================================================
   6. FLOATING CONTACT BAR (RIGHT SIDE: HOTLINE, ZALO, FACEBOOK, TIKTOK)
   ========================================================================== */
.mb-float-contact {
  position: fixed;
  right: 18px;
  bottom: 84px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border: 1px solid #d5e8f7;
  padding: 10px 8px;
  border-radius: 99px;
  box-shadow: 0 10px 28px rgba(10, 41, 70, 0.14);
}

.mb-float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  position: relative;
  box-shadow: 0 4px 12px rgba(10, 41, 70, 0.18);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
}

.mb-float-btn:hover {
  transform: translateY(-2px) scale(1.06);
}

.mb-float-hotline {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.mb-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(225, 29, 72, 0.55);
  animation: mbPulseRing 1.8s infinite ease-out;
  pointer-events: none;
}

@keyframes mbPulseRing {
  0% {
    transform: scale(0.92);
    opacity: 0.9;
  }

  100% {
    transform: scale(1.32);
    opacity: 0;
  }
}

.mb-float-zalo {
  background: linear-gradient(135deg, #0068ff 0%, #00a2ff 100%);
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.32);
}

.mb-zalo-text {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.mb-float-facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0d5bd9 100%);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.32);
}

.mb-float-tiktok {
  background: linear-gradient(135deg, #111827 0%, #2e1065 55%, #be185d 100%);
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.32);
}

.mb-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #0a2946;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(10, 41, 70, 0.20);
  transition: all 0.2s ease;
}

.mb-float-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #0a2946;
}

.mb-float-btn:hover .mb-float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   7. MOBILE MENU DRAWER & RESPONSIVE ADAPTATION (TABLET & MOBILE)
   ========================================================================== */
.mb-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #edf6fd 0%, #f4ecfb 100%);
  border: 1px solid #c9dff2;
  color: var(--brand-navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mb-mobile-toggle:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.mb-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 44, 76, 0.52);
  backdrop-filter: blur(3px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.mb-mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mb-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 86vw;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -10px 0 32px rgba(9, 44, 76, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mb-mobile-drawer.open {
  transform: translateX(0);
}

.mb-mobile-drawer-head {
  padding: 14px 16px;
  border-bottom: 1px solid #e1eef8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mb-mobile-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f8fc;
  border: 1px solid #d9eaf7;
  color: #153554;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mb-mobile-drawer-body {
  padding: 14px 16px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mb-m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #0a2946;
}

.mb-m-link:hover,
.mb-m-link.active {
  background: linear-gradient(90deg, #eef7fd 0%, #f5effb 100%);
  color: var(--brand-blue);
}

.mb-m-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mb-m-sub {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  gap: 2px;
}

.mb-m-sub a {
  padding: 8px 12px;
  font-size: 12.8px;
  font-weight: 600;
  color: #3c556e;
  border-radius: 8px;
}

.mb-m-sub a:hover {
  background: #f3f8fc;
  color: var(--brand-blue);
}

.mb-m-divider {
  height: 1px;
  background: #e1eef8;
  margin: 8px 0;
}

.mb-m-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  background: #f5f0fb;
  border: 1.5px solid #decdf2;
  color: var(--brand-purple) !important;
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 6px;
}

.mb-m-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--grad-btn);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(24, 118, 184, 0.25);
}

@media (max-width: 1260px) {
  .mb-lux-footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .mb-f-policy-col {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 1120px) {
  .hero-center-showcase {
    display: none;
  }

  .lower-grid,
  .cat-grid,
  .top-card,
  .bento-lower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .mb-container,
  .container,
  .article-layout-container,
  .knowledge-layout-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .mb-site-header {
    height: 62px;
  }

  .mb-header-inner {
    gap: 8px;
  }

  .mb-nav-menu,
  .mb-v-divider,
  .mb-desktop-only {
    display: none !important;
  }

  .mb-mobile-toggle {
    display: inline-flex !important;
  }

  .mb-brand {
    gap: 8px;
    min-width: 0;
  }

  .mb-brand img {
    width: 46px;
    height: 34px;
    flex-shrink: 0;
  }

  .mb-brand-texts,
  .mb-f-brand-texts {
    min-width: 0;
    flex-shrink: 1;
  }

  .mb-brand-text-top {
    font-size: 15px;
    line-height: 1.15;
  }

  .mb-brand-text-sub {
    font-size: 8.5px;
    letter-spacing: 0.3px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mb-header-right {
    gap: 8px;
    flex-shrink: 0;
  }

  .mb-hdr-icon-only,
  .mb-mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .mb-cart-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    position: relative;
  }

  .mb-cart-label {
    display: none;
  }

  .mb-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    font-size: 10.5px;
    font-weight: 400 !important;
    padding: 0 4px;
    border: 2px solid #ffffff;
  }

  .feat-cards,
  .mech-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-banner {
    height: auto !important;
    min-height: 0 !important;
    padding: 26px 0 20px !important;
  }

  .hero-inner {
    padding-bottom: 0 !important;
  }

  .hero-copy h1 {
    font-size: 25px;
    line-height: 1.24;
    margin-bottom: 12px;
  }

  .hero-copy p {
    margin-bottom: 18px;
  }

  .hero-cta-group {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
  }

  .value-strip-wrap {
    margin-top: 18px !important;
    margin-bottom: 6px !important;
  }

  .value-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
  }

  .val-sep {
    display: none;
  }

  .val-item {
    padding: 0 0 14px 0;
    border-bottom: 1px solid #e6f1fa;
  }

  .val-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .home-lower {
    padding: 18px 0 28px !important;
  }

  .lower-grid {
    gap: 28px;
  }

  .cat-banner {
    min-height: 0;
    padding: 24px 0;
  }

  .cat-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .detail-wrap {
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .top-card {
    padding: 18px 16px;
    gap: 20px;
  }

  .bento-lower {
    margin-top: 18px;
    gap: 18px;
  }

  .b-panel {
    padding: 16px;
    margin-bottom: 16px;
  }

  .mb-lux-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px !important;
    padding-bottom: 32px !important;
  }

  .mb-f-brand-col {
    width: 100%;
    align-items: center;
    gap: 12px;
  }

  .mb-f-brand-title,
  .mb-f-brand-sub {
    white-space: normal;
    line-height: 1.35;
  }

  .mb-f-info-col,
  .mb-f-policy-col,
  .mb-f-right-col {
    width: 100%;
    border-left: none;
    padding-left: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    gap: 8px;
  }

  .mb-f-info-line {
    white-space: normal;
    line-height: 1.45;
    align-items: flex-start;
  }

  .mb-f-info-line svg {
    flex-shrink: 0;
    margin-top: 3px;
  }

  .mb-f-policy-badges {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
  }

  .mb-f-right-col {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px;
  }

  .mb-float-contact {
    right: 10px;
    bottom: 18px;
    padding: 8px 6px;
    gap: 8px;
  }

  .mb-float-btn {
    width: 40px;
    height: 40px;
  }
}