/*
 Theme Name:   Flatsome Child — Senbot
 Theme URI:    https://senbot.vn
 Description:  Child theme cho Senbot — Đại lý ủy quyền Ecovacs
 Author:       Senbot
 Template:     flatsome
 Version:      1.0.0
 Text Domain:  flatsome-child
*/

/* ════════════════════════════════════════════
   DESIGN SYSTEM — Senbot Color & Typography
════════════════════════════════════════════ */
:root {
  --primary:    #1A56DB;
  --primary-dk: #1E40AF;
  --accent:     #F97316;
  --accent-dk:  #EA6C10;
  --bg:         #F8FAFC;
  --text:       #1E293B;
  --text-muted: #64748B;
  --success:    #10B981;
  --danger:     #EF4444;
  --border:     #E2E8F0;
  --card:       #FFFFFF;
}

body {
  background: var(--bg) !important;
  font-family: 'Be Vietnam Pro', 'Inter', sans-serif !important;
  color: var(--text) !important;
}

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ════════════════════════════════════════════
   CTA BUTTON — Cam #F97316 (override Flatsome xanh)
════════════════════════════════════════════ */
.button.primary,
.button.alt,
.woocommerce .button.alt,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .checkout-button,
.shop_table .button,
.add_to_cart_button,
.single_add_to_cart_button {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
  transition: background 0.2s !important;
}

.button.primary:hover,
.button.alt:hover,
.woocommerce .button.alt:hover,
.add_to_cart_button:hover,
.single_add_to_cart_button:hover {
  background-color: var(--accent-dk) !important;
  border-color: var(--accent-dk) !important;
  color: #fff !important;
}

/* ════════════════════════════════════════════
   ZONE 2 — TRUST BAR
════════════════════════════════════════════ */
.site-trust-bar {
  background: #EBF5FF;
  border-bottom: 1px solid #BFDBFE;
  padding: 10px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.site-trust-bar::-webkit-scrollbar { display: none; }

.site-trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
  padding: 0 16px;
}

.site-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border-right: 1px solid #BFDBFE;
  white-space: nowrap;
}
.site-trust-bar__item:last-child { border-right: none; }

.site-trust-bar__icon { font-size: 18px; flex-shrink: 0; }

.site-trust-bar__text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.3;
}
.site-trust-bar__text span {
  font-size: 11px;
  color: #64748B;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .site-trust-bar__inner {
    min-width: unset;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .site-trust-bar__item { padding: 0 28px; }
  .site-trust-bar__text strong { font-size: 14px; }
  .site-trust-bar__text span { font-size: 12px; }
}

/* ════════════════════════════════════════════
   ZONE 4 — DANH MỤC NỔI BẬT
════════════════════════════════════════════ */
.site-categories {
  background: #fff;
  padding: 24px 0 20px;
  border-bottom: 1px solid #E2E8F0;
}

.site-categories__title {
  font-size: 18px;
  font-weight: 700;
  color: #1E293B;
  padding: 0 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-categories__title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, #1A56DB, transparent);
  border-radius: 2px;
}

/* Mobile: grid 3 cột × 2 hàng */
.site-categories__grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px;
  padding: 4px 16px 8px;
}

.site-categories__item {
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.site-categories__icon-wrap {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  background: #EFF6FF;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.site-categories__item:hover .site-categories__icon-wrap,
.site-categories__item.active .site-categories__icon-wrap {
  background: #DBEAFE;
  border-color: #1A56DB;
  transform: translateY(-2px);
}

.site-categories__label {
  font-size: 16px;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.3;
}

/* Desktop: 6 cột 1 hàng */
@media (min-width: 768px) {
  .site-categories__grid {
    grid-template-columns: repeat(6, 1fr) !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px 8px;
    gap: 16px;
  }
  .site-categories__title {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
    font-size: 20px;
    margin-bottom: 16px;
  }
  .site-categories__icon-wrap {
    width: 94px;
    height: 94px;
  }
  .site-categories__label { font-size: 17px; }
}

/* ════════════════════════════════════════════
   ZONE 5 — ƯU ĐÃI THÁNG NÀY
════════════════════════════════════════════ */
.site-monthly-deals {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  padding: 40px 0;
}

.site-monthly-deals__header {
  text-align: center;
  margin-bottom: 24px;
  padding: 0 16px;
}

.site-monthly-deals__title {
  font-size: 22px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 6px;
}

.site-monthly-deals__subtitle {
  font-size: 14px;
  color: #64748B;
  margin: 0;
}

.site-monthly-deals__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px 12px;
}
.site-monthly-deals__track::-webkit-scrollbar { display: none; }

.site-monthly-deals__card {
  flex: 0 0 calc(50% - 6px);
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  position: relative;
}

.site-monthly-deals__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #EF4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 1;
}

.site-monthly-deals__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: #F8FAFC;
}

.site-monthly-deals__info {
  padding: 10px 12px 14px;
}

.site-monthly-deals__name {
  font-size: 13px;
  font-weight: 500;
  color: #1E293B;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-monthly-deals__price-new {
  font-size: 16px;
  font-weight: 700;
  color: #EF4444;
  display: block;
}

.site-monthly-deals__price-old {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
}

.site-monthly-deals__btn {
  display: block;
  margin: 10px 12px 12px;
  background: #F97316;
  color: #fff;
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.site-monthly-deals__btn:hover { background: #EA6C10; color: #fff; }

.site-monthly-deals__footer {
  text-align: center;
  margin-top: 20px;
  padding: 0 16px;
}
.site-monthly-deals__view-all {
  display: inline-block;
  border: 2px solid #1A56DB;
  color: #1A56DB;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.site-monthly-deals__view-all:hover {
  background: #1A56DB;
  color: #fff;
}

@media (min-width: 768px) {
  .site-monthly-deals { padding: 56px 0; }
  .site-monthly-deals__title { font-size: 28px; }

  .site-monthly-deals__track {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px 12px;
    gap: 16px;
  }
  .site-monthly-deals__card {
    flex: 0 0 calc(20% - 13px);
  }
}

/* ════════════════════════════════════════════
   ZONE 6 — SẢN PHẨM BÁN CHẠY NHẤT
════════════════════════════════════════════ */
.site-bestsellers {
  background: #FFFFFF;
  padding: 40px 0;
  border-top: 1px solid #E2E8F0;
}

.site-bestsellers__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 20px;
}

.site-bestsellers__title {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 4px;
}

.site-bestsellers__subtitle {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

.site-bestsellers__view-all-top {
  font-size: 13px;
  color: #1A56DB;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
}
.site-bestsellers__view-all-top:hover { text-decoration: underline; }

/* Horizontal scroll track — y hệt Zone 5 */
.site-bestsellers__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px 12px;
}
.site-bestsellers__track::-webkit-scrollbar { display: none; }

/* Mỗi card — 2 card/màn mobile */
.site-bestsellers__card {
  flex: 0 0 calc(50% - 6px);
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
}
.site-bestsellers__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Badge bán chạy */
.site-bestsellers__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #F97316;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 1;
}

.site-bestsellers__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: #F8FAFC;
}

.site-bestsellers__info {
  padding: 10px 12px 6px;
}

.site-bestsellers__name {
  font-size: 13px;
  font-weight: 500;
  color: #1E293B;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.site-bestsellers__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.site-bestsellers__stars {
  color: #F59E0B;
  font-size: 12px;
  line-height: 1;
}

.site-bestsellers__rating-count {
  font-size: 11px;
  color: #94A3B8;
}

.site-bestsellers__price-new {
  font-size: 16px;
  font-weight: 700;
  color: #EF4444;
  display: block;
}

.site-bestsellers__price-old {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
}

.site-bestsellers__btn {
  display: block;
  margin: 10px 12px 12px;
  background: #F97316;
  color: #fff;
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.site-bestsellers__btn:hover { background: #EA6C10; color: #fff; }

/* Nút xem tất cả dưới */
.site-bestsellers__footer {
  text-align: center;
  margin-top: 20px;
  padding: 0 16px;
}
.site-bestsellers__view-all-btn {
  display: inline-block;
  border: 2px solid #1A56DB;
  color: #1A56DB;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.site-bestsellers__view-all-btn:hover {
  background: #1A56DB;
  color: #fff;
}

/* Desktop: grid 4 cột, không scroll */
@media (min-width: 768px) {
  .site-bestsellers { padding: 56px 0; }

  .site-bestsellers__header {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 24px;
    align-items: center;
  }
  .site-bestsellers__title { font-size: 24px; }

  .site-bestsellers__track {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px 12px;
    gap: 16px;
  }
  .site-bestsellers__card {
    flex: 0 0 calc(20% - 13px);
  }

  .site-bestsellers__footer { margin-top: 24px; }
}

/* ════════════════════════════════════════════
   ZONE 6B/C/D — DANH MỤC SẢN PHẨM
   (Robot lau kính / Lọc KK / Phụ kiện)
   Dùng chung 1 bộ class .site-cat-section__*
════════════════════════════════════════════ */
.site-category-section {
  background: #FFFFFF;
  padding: 40px 0;
  border-top: 1px solid #E2E8F0;
}

/* Biến thể nền xanh nhạt — xen kẽ với nền trắng */
.site-category-section--alt {
  background: linear-gradient(180deg, #EFF6FF 0%, #F8FAFC 100%);
}

.site-cat-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 20px;
}

.site-cat-section__title {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 4px;
}

.site-cat-section__subtitle {
  font-size: 13px;
  color: #64748B;
  margin: 0;
}

.site-cat-section__view-all-top {
  font-size: 13px;
  color: #1A56DB;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
}
.site-cat-section__view-all-top:hover { text-decoration: underline; }

/* Horizontal scroll track */
.site-cat-section__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px 12px;
}
.site-cat-section__track::-webkit-scrollbar { display: none; }

/* Card — 2 card/màn mobile */
.site-cat-section__card {
  flex: 0 0 calc(50% - 6px);
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s;
}
.site-cat-section__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Badges góc trên trái */
.site-cat-section__badges {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 1;
}
.site-cat-section__badge-brand {
  display: inline-block;
  background: #1A56DB;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.site-cat-section__badge-new {
  display: inline-block;
  background: #10B981;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}
.site-cat-section__badge-hot {
  display: inline-block;
  background: #EF4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.site-cat-section__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: #F8FAFC;
}

.site-cat-section__info {
  padding: 10px 12px 6px;
}

.site-cat-section__name {
  font-size: 13px;
  font-weight: 500;
  color: #1E293B;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.site-cat-section__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.site-cat-section__stars { color: #F59E0B; font-size: 12px; }
.site-cat-section__rating-count { font-size: 11px; color: #94A3B8; }

.site-cat-section__price-new {
  font-size: 16px;
  font-weight: 700;
  color: #EF4444;
  display: block;
}
.site-cat-section__price-old {
  font-size: 12px;
  color: #94A3B8;
  text-decoration: line-through;
}

.site-cat-section__btn {
  display: block;
  margin: 10px 12px 12px;
  background: #F97316;
  color: #fff;
  text-align: center;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.site-cat-section__btn:hover { background: #EA6C10; color: #fff; }

/* Nút xem tất cả dưới */
.site-cat-section__footer {
  text-align: center;
  margin-top: 20px;
  padding: 0 16px;
}
.site-cat-section__view-all-btn {
  display: inline-block;
  border: 2px solid #1A56DB;
  color: #1A56DB;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.site-cat-section__view-all-btn:hover {
  background: #1A56DB;
  color: #fff;
}

/* Desktop: grid 4 cột */
@media (min-width: 768px) {
  .site-category-section { padding: 56px 0; }

  .site-cat-section__header {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 24px;
    align-items: center;
  }
  .site-cat-section__title { font-size: 24px; }

  .site-cat-section__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px 12px;
    gap: 16px;
  }
  .site-cat-section__card { flex: unset; }

  .site-cat-section__footer { margin-top: 24px; }
}

/* ════════════════════════════════════════════
   ZONE 7 — SỐ LIỆU UY TÍN
════════════════════════════════════════════ */
.site-stats {
  background: linear-gradient(135deg, #1E3A8A 0%, #1A56DB 100%);
  padding: 40px 16px;
}

.site-stats__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

.site-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.site-stats__item { text-align: center; }

.site-stats__number {
  font-size: 32px;
  font-weight: 800;
  color: #FCD34D;
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.site-stats__label {
  font-size: 13px;
  color: #BAE6FD;
  font-weight: 500;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .site-stats { padding: 56px 24px; }
  .site-stats__grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .site-stats__number { font-size: 40px; }
  .site-stats__label { font-size: 14px; }
}

/* ════════════════════════════════════════════
   ZONE 7B — TIN TỨC & KIẾN THỨC
════════════════════════════════════════════ */
.site-blog {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid #E2E8F0;
}

.site-blog__header {
  padding: 0 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-blog__title {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin: 0;
}

.site-blog__view-all {
  font-size: 13px;
  color: #1A56DB;
  font-weight: 500;
  text-decoration: none;
}
.site-blog__view-all:hover { text-decoration: underline; }

.site-blog__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px 12px;
}
.site-blog__track::-webkit-scrollbar { display: none; }

.site-blog__card {
  flex: 0 0 72vw;
  max-width: 280px;
  scroll-snap-align: start;
  background: #F8FAFC;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.site-blog__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  color: inherit;
}

.site-blog__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.site-blog__body { padding: 12px 14px 14px; }

.site-blog__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  color: #fff;
}
.site-blog__tag--guide      { background: #1A56DB; }
.site-blog__tag--maintenance{ background: #F97316; }
.site-blog__tag--compare    { background: #8B5CF6; }
.site-blog__tag--tips       { background: #10B981; }

.site-blog__meta {
  font-size: 11px;
  color: #94A3B8;
  margin-bottom: 6px;
}

.site-blog__card-title {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-blog__excerpt {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.site-blog__read-more {
  font-size: 12px;
  color: #1A56DB;
  font-weight: 500;
}

@media (min-width: 768px) {
  .site-blog { padding: 56px 0; }
  .site-blog__header { max-width: 1200px; margin: 0 auto 20px; padding: 0 24px; }
  .site-blog__title { font-size: 24px; }

  .site-blog__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px 12px;
    gap: 16px;
  }
  .site-blog__card {
    flex: unset;
    max-width: unset;
  }
}

/* ════════════════════════════════════════════
   ZONE 8 — ĐÁNH GIÁ KHÁCH HÀNG
════════════════════════════════════════════ */
.site-reviews {
  background: #fff;
  padding: 40px 0;
  border-top: 1px solid #E2E8F0;
}

.site-reviews__header {
  padding: 0 16px;
  margin-bottom: 20px;
}

.site-reviews__title {
  font-size: 20px;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 4px;
}

.site-reviews__subtitle {
  font-size: 13px;
  color: #64748B;
}

.site-reviews__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px 12px;
}
.site-reviews__track::-webkit-scrollbar { display: none; }

.site-reviews__card {
  flex: 0 0 85vw;
  max-width: 340px;
  scroll-snap-align: start;
  background: #F8FAFC;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #E2E8F0;
}

.site-reviews__card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.site-reviews__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A56DB, #60A5FA);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.site-reviews__name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
}

.site-reviews__location {
  font-size: 11px;
  color: #64748B;
}

.site-reviews__stars {
  color: #F59E0B;
  font-size: 13px;
  margin-bottom: 6px;
}

.site-reviews__product {
  font-size: 11px;
  color: #1A56DB;
  font-weight: 500;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.site-reviews__text {
  font-size: 13px;
  color: #1E293B;
  line-height: 1.6;
  font-style: italic;
}

@media (min-width: 768px) {
  .site-reviews { padding: 56px 0; }
  .site-reviews__header { max-width: 1200px; margin: 0 auto 20px; padding: 0 24px; }
  .site-reviews__track { max-width: 1200px; margin: 0 auto; padding: 4px 24px 12px; }
  .site-reviews__card { flex: 0 0 360px; }
}

/* ════════════════════════════════════════════
   ZONE 9 — THƯƠNG HIỆU ĐỐI TÁC
════════════════════════════════════════════ */
.site-brands {
  background: var(--bg);
  padding: 32px 16px;
  border-top: 1px solid #E2E8F0;
}

.site-brands__title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.site-brands__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 700px;
  margin: 0 auto;
}

.site-brands__item {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #1E293B;
  text-decoration: none;
  transition: all 0.2s;
}
.site-brands__item:hover {
  border-color: #1A56DB;
  color: #1A56DB;
  box-shadow: 0 2px 8px rgba(26,86,219,0.12);
}

@media (min-width: 768px) {
  .site-brands { padding: 40px 24px; }
  .site-brands__item { padding: 14px 32px; font-size: 16px; }
}

/* ════════════════════════════════════════════
   ZONE 10 — FOOTER
════════════════════════════════════════════ */
.site-footer-senbot {
  background: #0F172A;
  color: #94A3B8;
  padding: 40px 16px 24px;
}

.site-footer-senbot__logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.site-footer-senbot__logo span { color: #60A5FA; }

.site-footer-senbot__desc {
  font-size: 13px;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 24px;
  max-width: 280px;
}

.site-footer-senbot__section { margin-bottom: 24px; }

.site-footer-senbot__section h4 {
  font-size: 12px;
  font-weight: 700;
  color: #E2E8F0;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer-senbot__section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-senbot__section ul li {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 8px;
}

.site-footer-senbot__section ul li a {
  color: #64748B;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer-senbot__section ul li a:hover { color: #93C5FD; }

.site-footer-senbot__payments {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 12px;
}

.site-footer-senbot__payment-badge {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #94A3B8;
}

.site-footer-senbot__certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.site-footer-senbot__cert {
  background: #1E293B;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: #94A3B8;
  font-weight: 500;
}

.site-footer-senbot__bottom {
  border-top: 1px solid #1E293B;
  padding-top: 16px;
  font-size: 12px;
  color: #475569;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer-senbot__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .site-footer-senbot__section { margin-bottom: 0; }
  .site-footer-senbot__bottom {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ════════════════════════════════════════════
   ZONE 11 — BOTTOM NAV BAR (mobile only)
════════════════════════════════════════════ */
.site-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #E2E8F0;
  display: flex;
  z-index: 200;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.site-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  color: #64748B;
  gap: 3px;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.site-bottom-nav__item.active,
.site-bottom-nav__item:hover { color: #1A56DB; }

.site-bottom-nav__icon { font-size: 20px; line-height: 1; }

.site-bottom-nav__badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 16px);
  background: #F97316;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 14px;
  height: 14px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

@media (min-width: 768px) {
  .site-bottom-nav { display: none; }
}



/* ════════════════════════════════════════════
   ZONE 2 — TRUST BAR: Marquee trên mobile
   Desktop giữ nguyên (flex tĩnh 5 cột)
════════════════════════════════════════════ */
@keyframes senbotMarquee {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 767px) {
  .site-trust-bar {
    overflow: hidden; /* ẩn ngoài khung, không scroll */
  }
  .site-trust-bar__inner {
    display: flex;
    width: max-content;
    min-width: unset;
    padding: 0;
    animation: senbotMarquee 18s linear infinite;
  }
  .site-trust-bar:hover .site-trust-bar__inner,
  .site-trust-bar:active .site-trust-bar__inner {
    animation-play-state: paused;
  }
  .site-trust-bar__item { padding: 9px 16px; }
  .site-trust-bar__text strong { font-size: 12px; }
  .site-trust-bar__text span { font-size: 10px; }
}

/* padding body cho mobile nav */
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
}

/* ════════════════════════════════════════════
   CATEGORY PAGE — TRANG DANH MỤC
════════════════════════════════════════════ */

.senbot-cat-wrap {
  background: var(--bg, #F8FAFC);
  min-height: 60vh;
  padding: 0 0 48px;
}

.senbot-cat-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px 0;
}

/* Breadcrumb */
.senbot-cat-container .woocommerce-breadcrumb {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 16px;
}
.senbot-cat-container .woocommerce-breadcrumb a {
  color: #64748B;
  text-decoration: none;
}
.senbot-cat-container .woocommerce-breadcrumb a:hover { color: #1A56DB; }

/* Toolbar: lọc + sort */
.senbot-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
}

/* Thanh trượt lọc giá */
.senbot-price-slider {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.senbot-price-slider__label {
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
}
.senbot-price-slider__values {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #1E293B;
  font-weight: 500;
  white-space: nowrap;
  min-width: 150px;
}
.senbot-price-slider__dash { color: #94A3B8; }

/* Track container */
.senbot-price-slider__track {
  position: relative;
  flex: 1;
  height: 4px;
  background: #E2E8F0;
  border-radius: 4px;
  min-width: 100px;
}
.senbot-price-slider__fill {
  position: absolute;
  height: 100%;
  background: #1A56DB;
  border-radius: 4px;
  pointer-events: none;
}

/* Hai input range chồng lên nhau */
.senbot-price-slider__track input[type="range"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}
.senbot-price-slider__track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1A56DB;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  cursor: pointer;
  pointer-events: all;
}
.senbot-price-slider__track input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1A56DB;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  cursor: pointer;
  pointer-events: all;
  border: none;
}

.senbot-price-slider__btn {
  height: 34px;
  padding: 0 14px;
  background: #1A56DB;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.senbot-price-slider__btn:hover { background: #1E40AF; }
.senbot-price-slider__clear {
  font-size: 13px;
  color: #EF4444;
  text-decoration: none;
  flex-shrink: 0;
}
.senbot-price-slider__clear:hover { text-decoration: underline; }

/* Sort + result count */
.senbot-cat-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}
.senbot-cat-sort .woocommerce-result-count {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  white-space: nowrap;
}
.senbot-cat-sort .woocommerce-ordering select {
  height: 36px;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 13px;
  color: #1E293B;
  background: #F8FAFC;
  cursor: pointer;
  outline: none;
}

/* Product grid — 2 cột mobile, 5 cột desktop */
.senbot-cat-wrap .woocommerce ul.products,
.senbot-cat-wrap ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

@media (min-width: 768px) {
  .senbot-cat-wrap .woocommerce ul.products,
  .senbot-cat-wrap ul.products {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
  }
}

/* Product card */
.senbot-cat-wrap ul.products li.product {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  transition: box-shadow 0.2s;
}
.senbot-cat-wrap ul.products li.product:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.11);
  transform: translateY(-2px);
}

/* Ảnh sản phẩm */
.senbot-cat-wrap ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
  background: #F8FAFC;
  display: block;
}

/* Tên sản phẩm */
.senbot-cat-wrap ul.products li.product .woocommerce-loop-product__title {
  font-size: 13px;
  font-weight: 500;
  color: #1E293B;
  padding: 8px 10px 4px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

/* Giá */
.senbot-cat-wrap ul.products li.product .price {
  display: flex;
  flex-direction: column;
  padding: 0 10px 10px;
  gap: 2px;
}
.senbot-cat-wrap ul.products li.product .price ins {
  font-size: 15px;
  font-weight: 700;
  color: #EF4444;
  text-decoration: none;
  order: -1;
}
.senbot-cat-wrap ul.products li.product .price del {
  font-size: 12px;
  color: #94A3B8;
  order: 0;
}

/* Ẩn nút Mua ngay */
.senbot-cat-wrap ul.products li.product .button {
  display: none !important;
}

/* Pagination */
.senbot-cat-wrap .woocommerce-pagination {
  margin-top: 32px;
  text-align: center;
}
.senbot-cat-wrap .woocommerce-pagination ul {
  display: inline-flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.senbot-cat-wrap .woocommerce-pagination ul li a,
.senbot-cat-wrap .woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  font-size: 14px;
  color: #475569;
  text-decoration: none;
  background: #fff;
  transition: all 0.15s;
}
.senbot-cat-wrap .woocommerce-pagination ul li a:hover {
  background: #EFF6FF;
  border-color: #1A56DB;
  color: #1A56DB;
}
.senbot-cat-wrap .woocommerce-pagination ul li span.current {
  background: #1A56DB;
  border-color: #1A56DB;
  color: #fff;
}

/* Mobile: thu toolbar thành dọc */
@media (max-width: 600px) {
  .senbot-cat-toolbar { flex-direction: column; align-items: stretch; }
  .senbot-price-slider { flex-wrap: wrap; }
  .senbot-price-slider__track { min-width: 100%; order: 3; }
  .senbot-cat-sort { justify-content: space-between; }
}
