/* CSS giao diện chung (tách từ client/layouts/app.blade.php để trình duyệt cache) */
:root {
  --primary-color: #CC7F32;
  --fs-color-primary: #CC7F32;
  --fs-color-secondary: #1a3b5c;
  --fs-color-success: #7a9c59;
  --fs-color-alert: #b20000;
  --fs-experimental-link-color: #334862;
  --fs-experimental-link-color-hover: #111;
  --color-mbws-bgr: #f2f2f2;
  --color-mbws-border: #cccccc;
}
.container-width, .full-width .ubermenu-nav, .container, .row { max-width: 1250px; }
.row.row-collapse { max-width: 1220px; }
.row.row-small { max-width: 1242.5px; }
.row.row-large { max-width: 1280px; }
.header-main { height: auto; min-height: 80px; }
#logo img { max-height: 60px; width: auto; object-fit: contain; }
.header-bottom { min-height: 48px; }
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
#wrapper {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
}
body { color: #333333; font-family: Roboto, sans-serif; font-size: 100%; font-weight: 400; }
h1, h2, h3, h4, h5, h6, .heading-font { color: #222222; font-family: Roboto, sans-serif; font-weight: 700; }
.current .breadcrumb-step, [data-icon-label]:after, .button#place_order, .button.checkout, .checkout-button, .single_add_to_cart_button.button, .sticky-add-to-cart-select-options-button { background-color: #CC7F32 !important; }
.star-rating span:before, .star-rating:before, .woocommerce-page .star-rating:before, .stars a:hover:after, .stars a.active:after { color: #efbf04; }
.price del, .product_list_widget del, del .woocommerce-Price-amount { color: #CC7F32; }
ins .woocommerce-Price-amount { color: #CC7F32; }

/* Top Bar Styling matching requested reference */
#top-bar {
  background-color: #141a29;
  padding: 6px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.topbar-nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}
.topbar-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-link {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.topbar-link:hover {
  color: #CC7F32;
}
.topbar-bullet {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  line-height: 1;
  user-select: none;
}
.topbar-link-elearning {
  color: #e5a842 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.topbar-link-elearning:hover {
  color: #f59e0b !important;
}
.topbar-divider {
  color: rgba(255, 255, 255, 0.22);
  font-weight: 300;
  font-size: 13px;
  margin: 0 4px;
  user-select: none;
}
.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-social-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
}
.topbar-social-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  color: #ffffff !important;
}
.topbar-social-btn i {
  font-size: 11px;
  line-height: 1;
}
.topbar-social-btn .zalo-letter {
  font-weight: 800;
  font-size: 11.5px;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-transform: lowercase;
}
.topbar-lang-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 2px 3px;
  gap: 2px;
}
.topbar-lang-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
}
.topbar-lang-item:hover {
  color: #ffffff;
}
.topbar-lang-item.active {
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 700;
}
.topbar-flag {
  width: 14px;
  height: 10px;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.topbar-mobile-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Main Masthead */
.header-main { padding: 16px 0; background: #ffffff; border-bottom: 1px solid #f1f5f9; }
.header-main .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Search Form */
.header-search-column { flex: 1; max-width: 560px; margin: 0 auto; }
.header-search-form-custom {
  display: flex !important;
  align-items: center !important;
  border: 2px solid #CC7F32 !important;
  border-radius: 99px !important;
  background: #fff !important;
  height: 44px !important;
  width: 100% !important;
  box-shadow: 0 2px 8px rgba(204, 127, 50, 0.08) !important;
  transition: all 0.25s ease !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}
.header-search-form-custom:focus-within {
  box-shadow: 0 0 0 3px rgba(204, 127, 50, 0.2) !important;
}
.header-search-form-custom .search-cat-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  border-radius: 99px 0 0 99px;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
}
.header-search-form-custom select.search-cat-select {
  height: 100%;
  padding: 0 28px 0 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0 !important;
  min-width: 135px;
}
.header-search-form-custom .search-cat-wrapper .select-arrow {
  position: absolute;
  right: 12px;
  font-size: 0.7rem;
  color: #94a3b8;
  pointer-events: none;
}
.header-search-form-custom input.search-input {
  flex: 1;
  height: 100% !important;
  border: none !important;
  padding: 0 16px !important;
  font-size: 0.88rem !important;
  color: #1e293b !important;
  outline: none !important;
  background: #fff !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-width: 0;
}
.header-search-form-custom input.search-input::placeholder {
  color: #94a3b8;
  font-size: 0.86rem;
}
.header-search-form-custom button.search-btn {
  height: 100% !important;
  background: #CC7F32 !important;
  border: none !important;
  color: #fff !important;
  padding: 0 24px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  cursor: pointer !important;
  margin: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  border-radius: 0 99px 99px 0 !important;
  transition: background 0.2s ease !important;
  letter-spacing: 0.3px !important;
  flex-shrink: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.header-search-form-custom button.search-btn:hover {
  background: #b56c26 !important;
}

/* Live Search Suggestions Dropdown */
.header-search-column { position: relative !important; }
.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16), 0 4px 16px rgba(204, 127, 50, 0.1);
  border: 1px solid #ebd9c8;
  z-index: 99999;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  animation: searchDropFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes searchDropFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-suggestions-dropdown::-webkit-scrollbar {
  width: 5px;
}
.search-suggestions-dropdown::-webkit-scrollbar-thumb {
  background: #e2d3c2;
  border-radius: 99px;
}
.search-suggest-header {
  padding: 10px 16px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8c7662;
  background: #faf7f2;
  border-bottom: 1px solid #f2e7db;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search-suggest-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
}
.search-suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #f8f5f0;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.15s ease;
  cursor: pointer;
}
.search-suggest-item:last-child {
  border-bottom: none;
}
.search-suggest-item:hover,
.search-suggest-item.is-active {
  background: #fbf5ee;
}
.search-suggest-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #eedecb;
  flex-shrink: 0;
}
.search-suggest-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.search-suggest-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  color: #CC7F32;
  background: rgba(204, 127, 50, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
}
.search-suggest-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.search-suggest-item:hover .search-suggest-title,
.search-suggest-item.is-active .search-suggest-title {
  color: #CC7F32;
}
.search-suggest-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 0.85rem;
}
.search-suggest-price {
  font-weight: 800;
  color: #CC7F32;
}
.search-suggest-old-price {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.search-suggest-footer {
  padding: 10px 16px;
  background: #faf7f2;
  border-top: 1px solid #f2e7db;
  text-align: center;
}
.search-suggest-footer a {
  color: #CC7F32;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}
.search-suggest-footer a:hover {
  color: #b56c26;
  text-decoration: underline;
}
.search-suggest-loading {
  padding: 24px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.search-suggest-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #ecdac8;
  border-top-color: #CC7F32;
  border-radius: 50%;
  animation: searchSpin 0.7s linear infinite;
}
@keyframes searchSpin {
  to { transform: rotate(360deg); }
}
.search-suggest-empty {
  padding: 28px 16px;
  text-align: center;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.5;
}
.search-suggest-empty-icon {
  font-size: 1.5rem;
  color: #d1b89d;
  margin-bottom: 6px;
  display: block;
}

/* Masthead Right Actions */

.header-actions-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.header-hotline-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 16px;
  border-right: 1px solid #e5e7eb;
}
.header-hotline-badge .hotline-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(204, 127, 50, 0.12);
  color: #CC7F32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.header-hotline-badge .hotline-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.header-hotline-badge .hotline-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.header-hotline-badge .hotline-phone {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s;
}
.header-hotline-badge .hotline-phone:hover {
  color: #CC7F32;
}

/* Cart Widget */
.header-cart-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px;
  background: #fff;
  border: 1.5px solid #CC7F32;
  border-radius: 99px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  cursor: pointer;
}
.header-cart-box:hover {
  background: #fdf8f4;
  border-color: #b56c26;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204, 127, 50, 0.15);
}
.header-cart-box .cart-icon-wrap {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(204, 127, 50, 0.12);
  color: #CC7F32;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.header-cart-box .cart-counter-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #CC7F32;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  line-height: 1;
  z-index: 2;
}
.header-cart-box .cart-counter-badge::after,
.header-cart-box [data-icon-label]::after,
#header-cart-icon::after {
  display: none !important;
  content: none !important;
}
.header-cart-box .cart-text-details {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  text-align: left;
}
.header-cart-box .cart-title-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.header-cart-box .cart-price-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #CC7F32;
}

/* Bottom Nav Bar (#wide-nav) */
.header-bottom.wide-nav,
#header .header-bottom,
#wide-nav {
  background: #fff;
  border-bottom: none !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  min-height: 48px;
}
.header-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  position: relative;
  gap: 15px;
}

/* Main Horizontal Navigation (Aligned to Left) */
.header-main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding: 0;
  min-width: 0;
}
.header-nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}
.header-nav-list > li {
  position: relative;
  margin: 0;
  padding: 0;
}
.header-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 2px;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: none;
  color: #222;
  text-decoration: none;
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.2s ease;
  background: none !important;
}
.header-nav-list > li > a:hover {
  color: #CC7F32;
}
.header-nav-list > li.active > a {
  color: #CC7F32;
}
.header-nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #CC7F32;
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.header-nav-list > li > a:hover::after,
.header-nav-list > li.active > a::after {
  transform: scaleX(1);
}
.nav-badge-hot {
  font-size: 0.62rem;
  background: #dc2626;
  color: #fff;
  padding: 1px 5px;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 2px;
  vertical-align: middle;
}

/* Main Menu Dropdown for "Danh mục sản phẩm" */
.header-nav-list > li.nav-item-dropdown {
  position: relative;
}
.nav-dropdown-arrow {
  font-size: 0.65rem;
  margin-left: 5px;
  transition: transform 0.25s ease;
  color: inherit;
}
.header-nav-list > li.nav-item-dropdown:hover > a .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 9999;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.header-nav-list > li.nav-item-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  color: #374151 !important;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid #f3f4f6;
  background: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-dropdown-menu li a::after {
  display: none !important;
}
.nav-dropdown-menu li:last-child a {
  border-bottom: none;
}
.nav-dropdown-menu li a:hover {
  background: #fdf8f4 !important;
  color: #CC7F32 !important;
  padding-left: 22px;
}
.nav-dropdown-menu li a i {
  color: #CC7F32;
  width: 16px;
  text-align: center;
}
.cat-tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: auto;
}
.cat-tag.tag-hot { background: #fee2e2; color: #dc2626; }
.cat-tag.tag-best { background: #fef3c7; color: #d97706; }
.all-cats-link {
  color: #CC7F32 !important;
  font-weight: 700 !important;
  background: #fff8f0 !important;
}

/* Right Navigation Actions */
.header-right-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* E-Learning Highlight Button */
.header-elearning-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  background: linear-gradient(135deg, #fef7ee 0%, #fde8d0 100%);
  color: #CC7F32 !important;
  border: 1.5px solid #CC7F32;
  padding: 0 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.84rem;
  text-transform: uppercase;
  text-decoration: none !important;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-sizing: border-box;
}
.header-elearning-btn:hover {
  background: #CC7F32;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(204, 127, 50, 0.35);
}

@media (max-width: 1200px) {
  .header-nav-list {
    gap: 16px;
  }
  .header-nav-list > li > a {
    font-size: 0.82rem;
    padding: 14px 2px;
  }
  .header-cat-dropdown-btn {
    padding: 0 12px;
    font-size: 0.8rem;
  }
  .header-elearning-btn {
    padding: 0 12px;
    font-size: 0.8rem;
  }
}

/* Floating Contact Widget Group (Exact Replica) */
.biocyte-floating-widget {
  position: fixed;
  right: 20px;
  bottom: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.floating-circle-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  margin-right: 6px;
}

.circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
}
.circle-btn:hover {
  transform: scale(1.1);
}

/* Messenger */
.circle-btn.btn-messenger {
  background: #0084ff;
  background: linear-gradient(145deg, #0099ff 0%, #0070f3 100%);
  box-shadow: 0 4px 14px rgba(0, 112, 243, 0.4);
}
.circle-btn.btn-messenger i,
.circle-btn.btn-messenger svg {
  width: 26px;
  height: 26px;
  color: #ffffff;
  font-size: 26px;
}


/* Zalo */
.circle-btn.btn-zalo {
  background: #2563eb;
  background: linear-gradient(145deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}
.circle-btn.btn-zalo span {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  user-select: none;
}

/* Hotline Pill */
.floating-hotline-pill {
  background: #c93a38;
  background: linear-gradient(135deg, #d33234 0%, #ba2023 100%);
  border-radius: 9999px;
  padding: 6px 18px 6px 6px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(211, 50, 52, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  cursor: pointer;
}
.floating-hotline-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(211, 50, 52, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hotline-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  animation: phone-wiggle 3s infinite ease-in-out;
}
.hotline-icon-wrap i {
  color: #c93a38;
  font-size: 19px;
}

@keyframes phone-wiggle {
  0%, 70%, 100% { transform: rotate(0deg); }
  74%, 82%, 90% { transform: rotate(-15deg); }
  78%, 86% { transform: rotate(15deg); }
}

.hotline-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 1px;
  user-select: none;
}
.hotline-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.1;
}
.hotline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff7d7d;
  box-shadow: 0 0 6px rgba(255, 125, 125, 0.8);
  display: inline-block;
  animation: dot-pulse 1.8s infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hotline-number {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

#top-link {
  right: 20px !important;
  bottom: 220px !important;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 50% !important;
  z-index: 999 !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(0, 0, 0, 0.4) !important;
  color: #2b2b2b !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#top-link:hover {
  background-color: #CC7F32 !important;
  border-color: #CC7F32 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(204, 127, 50, 0.4) !important;
}

#top-link:hover i,
#top-link:hover .icon-angle-up {
  color: #ffffff !important;
}

#top-link.active,
#top-link[style*="inline-flex"],
#top-link[style*="flex"] {
  display: inline-flex !important;
}

#top-link[style*="display: none"],
#top-link[style*="display:none"] {
  display: none !important;
}

#top-link i,
#top-link .icon-angle-up {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 16px !important;
  position: static !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  color: inherit !important;
}

#top-link i:before,
#top-link .icon-angle-up:before {
  display: block !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Product Card Actions Base Styles (Desktop) */
.product-actions-wrap {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: auto;
}
.btn-add-cart-biocyte {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #526071;
  color: #ffffff !important;
  border: none;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(82, 96, 113, 0.2);
}
.btn-add-cart-biocyte:hover {
  background: #3e4b5b;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(62, 75, 91, 0.3);
}
.btn-buynow-biocyte {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
  color: #ffffff !important;
  border: none;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 8px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(211, 47, 47, 0.3);
}
.btn-buynow-biocyte:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(183, 28, 28, 0.4);
}
.btn-view-detail {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #e0d8cf;
  color: #666;
  background: #faf8f5;
  transition: all 0.2s ease;
}
.btn-view-detail:hover {
  background: #ffffff;
  border-color: #CC7F32;
  color: #CC7F32;
}

@media (max-width: 768px) {
  .biocyte-floating-widget {
    right: 12px;
    bottom: 18px;
    gap: 8px;
  }
  .circle-btn {
    width: 42px;
    height: 42px;
  }
  .circle-btn.btn-messenger i,
  .circle-btn.btn-messenger svg {
    width: 22px;
    height: 22px;
    font-size: 22px;
  }

  .circle-btn.btn-zalo span {
    font-size: 13px;
  }
  .floating-hotline-pill {
    padding: 5px 14px 5px 5px;
    gap: 9px;
  }
  .hotline-icon-wrap {
    width: 38px;
    height: 38px;
  }
  .hotline-icon-wrap i {
    font-size: 16px;
  }
  .hotline-sub {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .hotline-number {
    font-size: 16px;
  }
  #top-link {
    right: 12px !important;
    bottom: 185px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
  }
  #top-link i,
  #top-link .icon-angle-up {
    font-size: 15px !important;
  }
  #main, .content-area, .site-content {
    padding-bottom: 75px;
  }

  /* Mobile Product Card Action Buttons (Icon Cart + Prominent Buy Now) */
  .product-actions-wrap,
  .biocyte-card-action {
    display: flex !important;
    gap: 6px !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: auto !important;
  }
  .product-actions-wrap .btn-add-cart-biocyte,
  .biocyte-card-action .biocyte-btn-cart {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    flex: 0 0 38px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    background: #526071 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(82, 96, 113, 0.2) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }
  .product-actions-wrap .btn-add-cart-biocyte i,
  .biocyte-card-action .biocyte-btn-cart i {
    font-size: 14px !important;
    margin: 0 !important;
  }
  .product-actions-wrap .btn-add-cart-biocyte span,
  .biocyte-card-action .biocyte-btn-cart span {
    display: none !important;
  }
  .product-actions-wrap .btn-buynow-biocyte,
  .biocyte-card-action .biocyte-btn-buynow {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 6px rgba(211, 47, 47, 0.3) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
  }
  .product-actions-wrap .btn-buynow-biocyte i,
  .biocyte-card-action .biocyte-btn-buynow i {
    font-size: 12px !important;
    margin: 0 !important;
  }
  .product-actions-wrap .btn-buynow-biocyte span,
  .biocyte-card-action .biocyte-btn-buynow span {
    display: inline !important;
  }
  .product-actions-wrap .btn-view-detail {
    display: none !important;
  }

  /* Mobile Catalog Action Bar & Sort Dropdown */
  .category-action-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    flex-wrap: nowrap !important;
  }
  .category-result-count {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    color: #666 !important;
    flex-shrink: 0 !important;
  }
  .category-result-count strong {
    color: #1a1a1a !important;
    font-weight: 700 !important;
  }
  .category-sort-wrap {
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  .ordering-select-box {
    min-width: auto !important;
    max-width: 175px !important;
    height: 36px !important;
    padding: 0 10px 0 12px !important;
    border-radius: 20px !important;
  }
  .custom-sort-select {
    font-size: 0.78rem !important;
    padding-right: 18px !important;
  }
  .select-chevron {
    right: 8px !important;
    width: 12px !important;
    height: 12px !important;
  }
}

/* Footer Consultation Banner Card */
.footer-consultation-card {
  background: #181818;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.consultation-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.consultation-socials .social-icons .button {
  width: 36px;
  height: 36px;
  line-height: 34px;
  margin: 0 3px;
  border: 1px solid rgba(255,255,255,0.15) !important;
  transition: all 0.25s ease;
}
.consultation-socials .social-icons .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.consultation-content {
  flex: 1;
  text-align: left;
  padding: 0 10px;
}
.consultation-title {
  color: #ffffff;
  margin: 0 0 4px;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.consultation-desc {
  color: #9ca3af;
  font-size: 0.84rem;
  margin: 0;
  line-height: 1.4;
}
.consultation-form-wrap {
  flex-shrink: 0;
  width: 380px;
  max-width: 100%;
}
.consultation-form-wrap form {
  margin: 0;
}
.subscribe-input-group {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 99px;
  padding: 3px 3px 3px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}
.subscribe-input-group:focus-within {
  border-color: #CC7F32;
}
.subscribe-input-group .phone-icon {
  color: #CC7F32;
  font-size: 0.85rem;
  margin-right: 6px;
}
.subscribe-input-group input[type="tel"] {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  height: 38px !important;
  font-size: 0.88rem !important;
  color: #1e293b !important;
  padding: 0 8px !important;
  margin: 0 !important;
  box-shadow: none !important;
  min-width: 0;
}
.subscribe-input-group input[type="tel"]::placeholder {
  color: #94a3b8;
  font-size: 0.84rem;
}
.subscribe-input-group button[type="submit"] {
  background: #CC7F32 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 99px !important;
  padding: 0 20px !important;
  height: 38px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  letter-spacing: 0.3px !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}
.subscribe-input-group button[type="submit"]:hover {
  background: #b56c26 !important;
  box-shadow: 0 2px 8px rgba(204,127,50,0.4) !important;
}

/* Absolute Footer Polish */
.absolute-footer {
  background-color: #111827 !important;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0 !important;
}
.payment-badges-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 4px 8px;
  transition: all 0.2s ease;
}
.payment-badge:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

@media (max-width: 991px) {
  .footer-consultation-card {
    flex-direction: column;
    text-align: center;
    gap: 18px;
    padding: 20px 16px;
  }
  .consultation-content {
    text-align: center;
    padding: 0;
  }
  .consultation-form-wrap {
    width: 100%;
  }
  .consultation-socials {
    justify-content: center;
  }
}

/* Mobile Drawer */
.mobile-menu-drawer { position: fixed; top: 0; left: -340px; width: 310px; max-width: 86vw; height: 100%; background: #fff; z-index: 9999; box-shadow: 5px 0 20px rgba(0,0,0,0.15); transition: left 0.3s ease; display: flex; flex-direction: column; overflow-x: hidden; box-sizing: border-box; }
.mobile-menu-drawer.active { left: 0; }
.mobile-menu-drawer-header { padding: 14px 16px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; }
.mobile-menu-drawer-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #888; padding: 0; margin: 0; line-height: 1; }
.mobile-menu-drawer-body { padding: 18px 16px; flex: 1; overflow-y: auto; overflow-x: hidden; box-sizing: border-box; }
.mobile-drawer-lang-wrap {
  padding: 8px 12px !important;
  background: #faf6f0 !important;
  border-bottom: 1px solid #f0eae1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.mobile-drawer-lang-label {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  color: #78716c !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
.mobile-drawer-lang-wrap .mobile-lang-pill {
  margin: 0 0 0 auto !important;
  background: #ffffff !important;
  border: 1px solid #e5ded5 !important;
  border-radius: 9999px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px !important;
  gap: 2px !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  max-width: calc(100% - 90px) !important;
}
.mobile-drawer-lang-wrap .mobile-lang-pill .topbar-lang-item {
  color: #64748b !important;
  padding: 2px 5px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  gap: 3px !important;
  border-radius: 9999px !important;
  line-height: 1 !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  min-width: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
}
.mobile-drawer-lang-wrap .mobile-lang-pill .topbar-lang-item .topbar-flag {
  width: 13px !important;
  height: 9px !important;
  border-radius: 1px !important;
  margin: 0 !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}
.mobile-drawer-lang-wrap .mobile-lang-pill .topbar-lang-item:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}
.mobile-drawer-lang-wrap .mobile-lang-pill .topbar-lang-item.active {
  background: #1e3a8a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(30, 58, 138, 0.25) !important;
}
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list li { border-bottom: 1px solid #f0f0f0; }
.mobile-nav-list li a { display: block; padding: 12px 6px; color: #222; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.mobile-nav-list li a:hover { color: #CC7F32; }
.mobile-menu-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9998; display: none; }

.badge-sale { background-color: #b20000; color: #fff; border-radius: 99px; font-size: 0.75rem; font-weight: 700; padding: 2px 8px; position: absolute; top: 10px; left: 10px; z-index: 2; }
.shake-on-hover:hover img { transform: scale(1.02); transition: transform 0.3s ease; }
.product-small .box-image img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; }
.category-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.tab-panels .panel { display: none; }
.tab-panels .panel.active { display: block; }
.nav-pills.nav-normal > li.active > a, .nav-pills.nav-normal > li.active > a:focus, .nav-pills.nav-normal > li.active > a:hover { background-color: #CC7F32; color: #fff; border-radius: 99px; }
.nav-pills > li > a { border-radius: 99px; padding: 6px 20px; font-weight: 700; color: #555; text-decoration: none; }
.nav-pills > li > a:hover { color: #CC7F32; }

/* Mini cart popup styling */
.mini-cart-backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9998; display: none; }
.mini-cart-drawer { position: fixed; top: 0; right: -380px; width: 360px; height: 100%; background: #fff; z-index: 9999; box-shadow: -5px 0 20px rgba(0,0,0,0.15); transition: right 0.3s ease; display: flex; flex-direction: column; }
.mini-cart-drawer.active { right: 0; }
.mini-cart-drawer-header { padding: 18px 20px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.mini-cart-drawer-header h4 { margin: 0; font-size: 1.1rem; text-transform: uppercase; color: #222; }
.mini-cart-drawer-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #888; }
.mini-cart-drawer-body { padding: 20px; flex: 1; overflow-y: auto; }
.mini-cart-drawer-footer { padding: 20px; border-top: 1px solid #eee; background: #fafafa; }
.toast-notice { position: fixed; bottom: 25px; right: 25px; background: #CC7F32; color: #fff; padding: 14px 24px; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 10000; font-weight: 500; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; }
.toast-notice.show { transform: translateY(0); opacity: 1; }
