/* ==========================================================================
   STYLE.CSS - CÓ GÌ ĐÁNG MUA? (BẢN CHUẨN HOÀN THIỆN ĐÃ TỐI ƯU TOÀN DIỆN)
   HỆ THỐNG: CÓ GÌ ĐÁNG MUA PRO (cogidangmua.com)
   ========================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: RESET_AND_BASE (Từ khóa: RESET_AND_BASE) */
/* ===================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: system-ui, -apple-system, sans-serif; }
body { background-color: #f8fafc; color: #1e293b; line-height: 1.5; padding-bottom: 70px; }
/* ===================================================================== */
/* KẾT THÚC: RESET_AND_BASE */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: TOP_MARQUEE_BAR (Từ khóa: top-marquee-bar) */
/* ===================================================================== */
.top-marquee-bar {
  background: linear-gradient(90deg, #b91c1c 0%, #ea580c 50%, #b91c1c 100%);
  color: #fff; padding: 6px 0; font-size: 0.76rem; font-weight: 800; overflow: hidden;
  position: relative; z-index: 101; border-bottom: 1px solid #fed7aa;
}
.marquee-track {
  display: inline-block; white-space: nowrap; padding-left: 100%;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* ===================================================================== */
/* KẾT THÚC: TOP_MARQUEE_BAR */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: AMI_DAILY_BANNER (Từ khóa: ami-daily-pick-banner) */
/* ===================================================================== */
/* ===================================================================== */
/* BẮT ĐẦU: AMI_HERO_DEAL_HUB (GỘP BÉ AMI + FLASH SALE LIỀN KHỐI) */
/* ===================================================================== */
.ami-hero-deal-hub {
  margin: 6px 0 10px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.ami-hero-deal-hub .ami-daily-pick-banner {
  margin: 0 !important;
  border-radius: 14px 14px 0 0 !important;
  border-bottom: none !important;
  padding: 8px 14px !important;
}
.ami-hero-deal-hub .flash-sale-bar {
  margin: 0 !important;
  border-radius: 0 0 14px 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
  padding: 6px 14px !important;
  font-size: 0.8rem !important;
  box-shadow: none !important;
}

.ami-daily-pick-banner {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1.5px solid #fecdd3;
  border-radius: 14px;
  padding: 10px 14px;
  margin: 8px 0 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.08);
  transition: all 0.25s ease;
}
.ami-mascot-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #f43f5e;
  background: #fff;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.ami-pick-content {
  min-width: 0;
  flex: 1;
}
.ami-pick-content h4,
#amiDailyHeading {
  font-size: 0.9rem;
  font-weight: 900;
  color: #be123c;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.ami-pick-content p,
#amiDailyQuote {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin: 0;
  word-break: break-word;
}
/* ===================================================================== */
/* KẾT THÚC: AMI_DAILY_BANNER */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: HEADER_AND_BRAND (Từ khóa: header-inner) */
/* ===================================================================== */
.header { background: #ffffff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 6px rgba(0,0,0,0.03); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25); border: 1.5px solid #fb923c; }
.brand-title { font-size: 1.15rem; font-weight: 800; color: #dc2626; letter-spacing: -0.5px; }
.brand-subtitle { font-size: 0.72rem; color: #64748b; font-weight: 500; }
.btn-voucher-header {
  background: linear-gradient(135deg, #ee4d2d 0%, #ff7337 100%); color: #fff; padding: 8px 16px; border-radius: 20px;
  text-decoration: none; font-size: 0.82rem; font-weight: 700; box-shadow: 0 4px 10px rgba(238, 77, 45, 0.28); border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 12px; }
/* ===================================================================== */
/* KẾT THÚC: HEADER_AND_BRAND */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: FLASH_SALE_BAR (Từ khóa: flash-sale-bar) */
/* ===================================================================== */
.flash-sale-bar {
  background: linear-gradient(90deg, #7f1d1d 0%, #dc2626 100%); color: #fff; border-radius: 12px; padding: 10px 16px; margin: 10px 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}
.flash-left { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.88rem; text-transform: uppercase; }
.flash-countdown { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 700; }
.time-box { background: #000; color: #fef08a; padding: 2px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; }
/* ===================================================================== */
/* KẾT THÚC: FLASH_SALE_BAR */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: HERO_SEARCH_FILTER (Từ khóa: hero-search) */
/* ===================================================================== */
.hero-search { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); border-radius: 14px; padding: 16px; margin-bottom: 14px; border: 1px solid #fdba74; }
.hero-search h2 { font-size: 1.05rem; color: #9a3412; font-weight: 800; margin-bottom: 3px; }
.hero-search p { font-size: 0.78rem; color: #c2410c; margin-bottom: 10px; }
.search-wrapper { position: relative; max-width: 680px; display: flex; align-items: center; }
.search-input { width: 100%; padding: 10px 14px 10px 38px; border-radius: 10px; border: 1.5px solid #fb923c; background: #ffffff; color: #1e293b; font-size: 0.9rem; outline: none; }
.search-icon { position: absolute; left: 12px; font-size: 1rem; color: #9a3412; }

.trending-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pill-label { font-size: 0.7rem; color: #9a3412; font-weight: 700; }
.trend-pill-btn { background: #ffffff; border: 1px solid #fdba74; color: #c2410c; font-size: 0.72rem; font-weight: 600; padding: 3px 9px; border-radius: 14px; cursor: pointer; transition: all 0.2s; }
.trend-pill-btn:hover { background: #ea580c; color: #fff; border-color: #ea580c; }

.filter-price-bar { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin-top: 10px; padding-top: 8px; border-top: 1px dashed #fdba74; scrollbar-width: none; }
.filter-price-bar::-webkit-scrollbar { display: none; }
.price-tag-label { font-size: 0.72rem; color: #9a3412; font-weight: 700; white-space: nowrap; }
.price-btn { padding: 4px 10px; border-radius: 16px; background: #fff; border: 1px solid #fb923c; color: #9a3412; font-size: 0.72rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.price-btn.active { background: #ea580c; color: #fff; border-color: #ea580c; }
/* ===================================================================== */
/* KẾT THÚC: HERO_SEARCH_FILTER */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: HOT_TREND_99K (Từ khóa: trend-highlight-section) */
/* ===================================================================== */
.trend-highlight-section {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 50%, #b91c1c 100%);
  border-radius: 16px;
  padding: 14px 12px 16px;
  margin-bottom: 18px;
  border: 1.8px solid #f87171;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.28);
  position: relative;
}
.trend-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.trend-title-box h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
}
.trend-title-box span {
  font-size: 0.72rem;
  color: #fecaca;
  display: block;
  margin-top: 2px;
}
.trend-header-row .fire-badge {
  background: #fef08a;
  color: #854d0e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  border: none;
}

.trend-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.trend-grid::-webkit-scrollbar { display: none; }
.trend-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border: 1px solid #fee2e2;
  flex: 0 0 78%;
  max-width: 270px;
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.trend-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
@media (min-width: 768px) {
  .trend-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: visible; }
  .trend-card { flex: unset; max-width: 100%; }
}
.trend-badge-rank {
  position: absolute;
  top: 6px;
  left: 6px;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.trend-badge-rank.rank-1 { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.trend-badge-rank.rank-2 { background: linear-gradient(135deg, #64748b 0%, #475569 100%); }
.trend-badge-rank.rank-3 { background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%); }
.trend-badge-rank.rank-4 { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); }
/* ===================================================================== */
/* KẾT THÚC: HOT_TREND_99K */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: SECTION_NAV_SORT (Từ khóa: section-title) */
/* ===================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 10px;
  flex-wrap: wrap;
  gap: 8px;
}

/* TIÊU ĐỀ KHO DEAL TƯƠNG PHẢN CAO ĐA THEME (LUÔN ĐỐI LẬP NỀN ĐỂ NHÌN RÕ) */
.section-title,
.inventory-section-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid #fb923c;
  color: #ffffff !important;
  padding: 6px 16px;
  border-radius: 24px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.section-title span,
#listTitleLabel {
  color: #ffffff !important;
}

#totalProductCountWrap {
  color: #fed7aa !important;
  font-weight: 800 !important;
}

/* ĐỒNG BỘ MÀU TƯƠNG PHẢN KHI ĐỔI THEMES LỄ HỘI */
body.theme-ROSE .section-title {
  background: linear-gradient(135deg, #881337 0%, #be123c 100%) !important;
  border-color: #fda4af !important;
  box-shadow: 0 4px 14px rgba(190, 18, 60, 0.3) !important;
}
body.theme-ROSE #totalProductCountWrap {
  color: #fecdd3 !important;
}

body.theme-HALLOWEEN .section-title {
  background: linear-gradient(135deg, #311042 0%, #1e1b4b 100%) !important;
  border-color: #c084fc !important;
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35) !important;
}
body.theme-HALLOWEEN #totalProductCountWrap {
  color: #e9d5ff !important;
}

body.theme-FESTIVE_GOLD .section-title {
  background: linear-gradient(135deg, #78350f 0%, #9a3412 100%) !important;
  border-color: #fde047 !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35) !important;
}
body.theme-FESTIVE_GOLD #totalProductCountWrap {
  color: #fef08a !important;
}

.smart-sort-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 6px 0; border-bottom: 1px solid #e2e8f0; flex-wrap: wrap; gap: 8px; }
.sort-btn-group { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.sort-btn-group::-webkit-scrollbar { display: none; }
.sort-btn { padding: 4px 10px; border-radius: 14px; font-size: 0.72rem; font-weight: 700; border: 1px solid #cbd5e1; background: #fff; color: #64748b; cursor: pointer; white-space: nowrap; transition: all 0.2s ease; }
.sort-btn.active { background: #ea580c; color: #fff; border-color: #ea580c; box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25); }

/* THANH DANH MỤC TRƯỢT MƯỢT VÀ KÉO CHUỘT */
.cat-nav {
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto !important;
  padding-bottom: 8px !important;
  margin-bottom: 10px !important;
  scrollbar-width: none !important;
  cursor: grab;
  user-select: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.cat-nav::-webkit-scrollbar { display: none !important; }
.cat-nav:active { cursor: grabbing; }

.cat-btn {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  border: 1px solid #fed7aa !important;
  color: #9a3412 !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}
.cat-btn.active, .cat-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

@keyframes catPeekAnimation {
  0% { transform: translateX(0); }
  30% { transform: translateX(-45px); }
  60% { transform: translateX(0); }
  100% { transform: translateX(0); }
}
.cat-nav-peek { animation: catPeekAnimation 1.2s ease-in-out; }
/* ===================================================================== */
/* KẾT THÚC: SECTION_NAV_SORT */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: PRODUCT_CARD_GRID (Từ khóa: product-grid) */
/* ===================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; } }
@media (min-width: 1024px) { 
  .product-grid { 
    grid-template-columns: repeat(5, 1fr); 
    gap: 12px; 
  } 
}

.product-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.12), 0 6px 12px -2px rgba(15, 23, 42, 0.05);
  border-color: #cbd5e1;
}
.bio-highlight { border: 2.5px solid #ef4444 !important; position: relative; z-index: 50; }

.card-img-wrap { width: 100%; aspect-ratio: 1/1; position: relative; overflow: hidden; background: #f8fafc; cursor: pointer; }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.product-card:hover .card-img { transform: scale(1.04); }
.ami-verified-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ea580c;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2.5px 8px;
  border-radius: 12px;
  border: 1px solid #fed7aa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}
.bio-badge { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #000; font-weight: 900; font-size: 0.65rem; padding: 1px 6px; border-radius: 4px; display: inline-block; margin-right: 5px; flex-shrink: 0; }

.badge-pushed-deal {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  color: #fff; font-size: 0.6rem; font-weight: 900; padding: 1.5px 6px;
  border-radius: 4px; display: inline-block; box-shadow: 0 1px 4px rgba(220, 38, 38, 0.4);
  letter-spacing: -0.2px; animation: pulseRed 1.8s infinite;
}
@keyframes pulseRed { 0%, 100% { opacity: 1; } 50% { opacity: 0.82; } }

.card-body { padding: 8px 9px; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.card-badge-row {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 3px; height: 38px; min-height: 38px; max-height: 38px;
  margin-bottom: 5px; overflow: hidden;
}
.card-badge-top-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 4px; flex-wrap: nowrap; height: 17px; white-space: nowrap;
}
.card-badge-sub-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 4px; flex-wrap: nowrap; height: 17px; overflow: hidden; white-space: nowrap;
}

/* BỘ HUY HIỆU SHOP CHUẨN XÁC ĐỒNG BỘ */
.badge-shop-pill {
  display: inline-flex; align-items: center; font-size: 0.6rem; font-weight: 800;
  padding: 1.5px 5.5px; border-radius: 3px; line-height: 1.25; text-transform: uppercase;
  letter-spacing: 0.2px; white-space: nowrap; flex-shrink: 0;
}
.badge-shop-mall { background: #d0011b; color: #fff; box-shadow: 0 1px 3px rgba(208, 1, 27, 0.35); }
.badge-shop-yt-plus { background: linear-gradient(135deg, #ee4d2d 0%, #ea580c 100%); color: #fff; border: 1px solid #fde047; box-shadow: 0 1px 3px rgba(238, 77, 45, 0.35); }
.badge-shop-yt { background: #ee4d2d; color: #fff; box-shadow: 0 1px 3px rgba(238, 77, 45, 0.3); }
.badge-shop-normal { background: #0284c7; color: #fff; box-shadow: 0 1px 3px rgba(2, 132, 199, 0.3); }

.price-discount-tag {
  background: #fef2f2; color: #dc2626; border: 1px solid #fecaca;
  font-size: 0.62rem; font-weight: 800; padding: 1.5px 5.5px; border-radius: 3px;
  white-space: nowrap; display: inline-flex; align-items: center; line-height: 1.25; flex-shrink: 0;
}

.shop-badge-inline {
  position: relative; display: inline-flex; align-items: center; gap: 4px; vertical-align: middle;
  flex: 1; min-width: 0; max-width: calc(100% - 72px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.62rem;
  font-weight: 700; line-height: 1.35; padding: 1.5px 6px; border-radius: 4px;
  background: #f8fafc; color: #475569; border: 1px solid #e2e8f0;
}
.shop-green-dot { width: 5.5px; height: 5.5px; background-color: #22c55e; border-radius: 50%; flex-shrink: 0; }
.shop-name-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; max-width: 100%; }
.live-stock-tag-inline { font-size: 0.58rem; font-weight: 800; padding: 1px 5px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; line-height: 1.3; }
.tag-saphethang { background: #fee2e2; color: #dc2626; border: 1px solid #fecaca; }
.tag-dangbanchay { background: #ffedd5; color: #ea580c; border: 1px solid #fed7aa; }
.tag-uudaidocquyen { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }
.tag-hangsankho { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.card-title {
  font-size: 0.81rem; font-weight: 700; color: #1e293b; margin-bottom: 4px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  height: 2.7em; min-height: 2.7em; max-height: 2.7em; cursor: pointer; transition: color 0.15s ease;
}
.card-title:hover { color: #ee4d2d; }
/* ===================================================================== */
/* KẾT THÚC: PRODUCT_CARD_GRID */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: PRICE_3LEVEL_CARD (Từ khóa: ami-price-card-box) */
/* ===================================================================== */
.lbl-mob, .val-mob, .stock-mob { display: none; }
.lbl-desk, .val-desk, .stock-desk, .btn-cta-app { display: inline; }

.ami-price-card-box {
  background: #ffffff; border: 1px solid #fed7aa; border-radius: 8px;
  padding: 6px 8px; margin: 3px 0 0 0; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between;
}
.price-compare-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.65rem; color: #94a3b8; height: 15px; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden;
}
.price-original { text-decoration: line-through; white-space: nowrap; }
.price-platform { color: #64748b; font-weight: 600; white-space: nowrap; }
.price-final-row {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed #fed7aa; padding-top: 3px; margin-top: 1px;
  height: 24px; white-space: nowrap;
}
.price-final-label { font-size: 0.63rem; font-weight: 800; color: #ea580c; white-space: nowrap; flex-shrink: 0; }
.price-final-num { font-size: 1.12rem; font-weight: 900; color: #dc2626; line-height: 1; white-space: nowrap; flex-shrink: 0; }

.card-savings-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 4px; padding-top: 4px; border-top: 1px dashed #fed7aa;
  height: 20px; min-height: 20px; gap: 4px;
  white-space: nowrap; overflow: hidden;
}
.savings-pill {
  color: #15803d; font-weight: 800; font-size: 0.62rem;
  background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 1.5px 6px; border-radius: 4px; display: inline-flex; align-items: center; gap: 3px;
  white-space: nowrap; flex-shrink: 0; line-height: 1.25;
}
.stock-countdown-pill {
  font-size: 0.62rem; font-weight: 700; color: #ea580c;
  white-space: nowrap; flex-shrink: 0; line-height: 1.25;
}
.live-coin-wrap {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 12.5px; height: 12.5px; flex-shrink: 0;
}
.live-coin-svg {
  width: 12.5px; height: 12.5px; display: block;
  animation: liveCoinGlow 2.2s infinite ease-in-out;
}
@keyframes liveCoinGlow {
  0%, 100% {
    filter: drop-shadow(0 0 1.5px rgba(245, 158, 11, 0.5)) brightness(1);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.95)) drop-shadow(0 0 8px rgba(251, 191, 36, 0.6)) brightness(1.25);
    transform: scale(1.15);
  }
}

.social-proof-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #475569;
  margin: 6px 0 6px 0;
  padding: 3.5px 8px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
}
.social-proof-pill .sp-left {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #334155;
  font-size: 0.64rem;
}
.social-proof-pill .sp-left b {
  color: #0f172a;
  font-weight: 700;
}
.social-proof-pill .sp-right {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  font-size: 0.63rem;
}
.social-proof-pill .sp-live { color: #ea580c; }
.social-proof-pill .sp-trust { color: #0284c7; }
.social-proof-pill .sp-hot { color: #e11d48; }

.voucher-applied-pill { display: inline-flex; align-items: center; gap: 3.5px; background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; font-size: 0.62rem; font-weight: 700; padding: 1.5px 6px; border-radius: 5px; margin-top: 4px; }

.btn-buy-group { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 2px; }
.btn-video-review { display: flex; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%); color: #fff; border: none; padding: 6px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 800; cursor: pointer; width: 100%; margin-bottom: 2px; }
/* ===================================================================== */
/* KẾT THÚC: PRICE_3LEVEL_CARD */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: BUTTONS_SMART_CTA (Từ khóa: btn-curiosity-buy) */
/* ===================================================================== */
.btn-curiosity-buy {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ef4444 0%, #ee4d2d 50%, #f97316 100%); color: #ffffff !important; text-decoration: none;
  padding: 9px 8px; border-radius: 8px; font-weight: 800; cursor: pointer; border: none; width: 100%; overflow: hidden;
  box-shadow: 0 3px 10px rgba(238, 77, 45, 0.28); transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none; -webkit-tap-highlight-color: transparent; height: 38px;
}
.btn-curiosity-buy:hover { box-shadow: 0 4px 14px rgba(238, 77, 45, 0.42); transform: translateY(-1px); }
.btn-curiosity-buy:active { transform: scale(0.98); }
.btn-curiosity-buy::after {
  content: ''; position: absolute; top: -50%; left: -90%; width: 50%; height: 200%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(25deg); animation: curiosityShine 2.8s infinite ease-in-out; pointer-events: none;
}
@keyframes curiosityShine { 0% { left: -90%; } 30% { left: 150%; } 100% { left: 150%; } }

.btn-curiosity-title { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 0.8rem; font-weight: 900; white-space: nowrap; }
.btn-curiosity-sub { display: none; }
.btn-curiosity-buy .arrow-hint { display: inline-block; transition: transform 0.2s ease; font-weight: 900; }
.btn-curiosity-buy:hover .arrow-hint { transform: translateX(3px); }

.dual-buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
.btn-dual-shopee {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ef4444 0%, #ee4d2d 100%); color: #ffffff !important; text-decoration: none;
  padding: 8px 4px; border-radius: 8px; font-weight: 800; cursor: pointer; border: none; overflow: hidden;
  box-shadow: 0 3px 10px rgba(238, 77, 45, 0.28); transition: transform 0.15s ease; height: 38px;
}
.btn-dual-shopee:active { transform: scale(0.97); }

.btn-dual-tiktok {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: #000000; color: #ffffff !important; text-decoration: none;
  padding: 8px 4px; border-radius: 8px; font-weight: 800; cursor: pointer; border: 1.5px solid #06b6d4; overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); transition: transform 0.15s ease; height: 38px;
}
.btn-dual-tiktok:active { transform: scale(0.97); }
.btn-dual-tiktok .btn-curiosity-title { color: #38bdf8; }

.btn-secondary-row { display: none !important; }
.btn-coupon { display: none !important; }
.btn-share { display: none !important; }
/* ===================================================================== */
/* KẾT THÚC: BUTTONS_SMART_CTA */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: AMI_FLOATING_WIDGET (TRỢ LÝ SĂN DEAL BÉ AMI TƯƠNG TÁC ĐỘNG) */
/* ===================================================================== */
.ami-floating-assistant {
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}
.ami-floating-assistant:hover {
  transform: scale(1.08) translateY(-4px);
}
.ami-floating-assistant:active {
  transform: scale(0.96);
}

/* BONG BÓNG THOẠI CÓ ĐUÔI CHỈ & HIỆU ỨNG POP UP */
.ami-speech-bubble {
  position: relative;
  background: #ffffff;
  color: #b91c1c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.22);
  border: 1.5px solid #fecdd3;
  margin-bottom: 6px;
  white-space: nowrap;
  animation: amiBubbleFloat 3.2s infinite ease-in-out;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom center;
}
.ami-speech-bubble.bubble-pop {
  animation: amiBubblePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ami-bubble-pointer {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ffffff;
}

/* KHỐI AVATAR BÉ AMI ĐUNG ĐƯA & HÀO QUANG */
.ami-avatar-dancer-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 3px solid #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.38);
  animation: amiBounceIdle 3.4s infinite ease-in-out;
  will-change: transform;
}
.ami-avatar-dancer-wrap.jump-joy {
  animation: amiJumpJoy 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* HÀO QUANG VÒNG TRÒN XOAY */
.ami-halo-glow {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed rgba(249, 115, 22, 0.45);
  animation: amiRotateGlow 8s linear infinite;
  pointer-events: none;
}

/* HÌNH ẢNH KHUÔN MẶT BÉ AMI */
.ami-avatar-dancer {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

/* BÀN TAY VẪY CHÀO & CHỈ DEAL */
.ami-waving-hand {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 1.15rem;
  animation: amiWaveHand 2.4s infinite ease-in-out;
  transform-origin: 70% 70%;
  display: inline-block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* HỘP QUÀ RUNG RINH */
.ami-gift-badge {
  position: absolute;
  bottom: -2px;
  left: -2px;
  font-size: 1rem;
  background: #ffffff;
  border-radius: 50%;
  padding: 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  animation: amiGiftShake 2.8s infinite ease-in-out;
  display: inline-block;
}

/* THẺ TRỢ LÝ ĐÈN XANH LIVE */
.ami-assistant-tag {
  margin-top: 5px;
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
  display: flex;
  align-items: center;
  gap: 5px;
}
.ami-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: amiLivePulse 1.6s infinite;
}

/* HIỆU ỨNG SÁNG VIỀN KHI BÉ AMI CHỈ VÀO SẢN PHẨM */
.ami-deal-spotlight {
  animation: amiDealPulse 2.5s ease-out !important;
  border-color: #f97316 !important;
}

/* KEYFRAMES CHUYỂN ĐỘNG SỐNG ĐỘNG */
@keyframes amiBounceIdle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  20% { transform: translateY(-7px) rotate(-3deg); }
  40% { transform: translateY(-2px) rotate(2deg); }
  60% { transform: translateY(-8px) rotate(3deg); }
  80% { transform: translateY(-3px) rotate(-1deg); }
}

@keyframes amiBubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes amiBubblePop {
  0% { transform: scale(0.6) translateY(10px); opacity: 0; }
  75% { transform: scale(1.08) translateY(-2px); opacity: 1; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes amiWaveHand {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(22deg); }
  30% { transform: rotate(-12deg); }
  45% { transform: rotate(24deg); }
  60% { transform: rotate(0deg); }
}

@keyframes amiGiftShake {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(-14deg); }
  70% { transform: scale(1.18) rotate(14deg); }
}

@keyframes amiRotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes amiLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

@keyframes amiJumpJoy {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.28) translateY(-24px) rotate(-14deg); }
  60% { transform: scale(1.16) translateY(-10px) rotate(10deg); }
  100% { transform: scale(1) translateY(0) rotate(0deg); }
}

@keyframes amiDealPulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
  40% { box-shadow: 0 0 24px 8px rgba(249, 115, 22, 0.85); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
/* ===================================================================== */
/* KẾT THÚC: AMI_FLOATING_WIDGET */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: MODALS_AND_TOASTS (Từ khóa: quick-modal-box) */
/* ===================================================================== */
.gift-modal-backdrop, .video-modal-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(5px); z-index: 10001; display: none; align-items: center; justify-content: center; padding: 14px; }
.gift-modal-box { background: #ffffff; border-radius: 18px; width: 100%; max-width: 420px; text-align: center; padding: 22px 18px; position: relative; }
.gift-modal-close, .video-modal-close { position: absolute; top: 10px; right: 12px; font-size: 1.3rem; border: none; background: transparent; color: #94a3b8; cursor: pointer; }

/* --- QUICK_REVIEW_MODAL_PRO (TỐI ƯU CRO & FIX LỖI ĐÈ CHỮ) --- */
.quick-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 12px;
  animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quick-modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 428px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
  padding: 0;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.quick-modal-header {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 240px;
  background: #f8fafc;
  flex-shrink: 0;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}
.quick-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.quick-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  padding: 0;
}
.quick-close-btn:hover {
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  transform: rotate(90deg) scale(1.08);
}
.quick-close-btn:active {
  transform: scale(0.92);
}

.quick-modal-body {
  padding: 13px 15px 16px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

/* Badge Row bên trong Modal: sửa triệt để lỗi đè/cắt nửa chữ, không ảnh hưởng trang chủ */
#quickModalBadgeRow,
.quick-modal-box .card-badge-row {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 8px !important;
}

#quickModalBadgeRow .badge-shop-pill {
  font-size: 0.68rem !important;
  padding: 3px 7px !important;
  border-radius: 5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  line-height: 1.25 !important;
}

#quickModalBadgeRow .shop-badge-inline {
  max-width: none !important;
  font-size: 0.72rem !important;
  padding: 3px 8px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  color: #334155 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  line-height: 1.25 !important;
}

#quickModalBadgeRow .shop-green-dot {
  width: 6px !important;
  height: 6px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

#quickModalBadgeRow .live-stock-tag-inline {
  font-size: 0.68rem !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* Tiêu đề sản phẩm trong Modal */
#quickModalTitle {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
  letter-spacing: -0.2px !important;
}
#quickModalTitle .bio-badge {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}
#quickModalTitle .badge-pushed-deal {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

.video-modal-box { background: #0f172a; border-radius: 16px; width: 100%; max-width: 400px; overflow: hidden; border: 1.5px solid #a855f7; position: relative; }
.video-player-wrapper { width: 100%; aspect-ratio: 9/16; max-height: 520px; background: #000; display: flex; align-items: center; justify-content: center; }
.video-modal-info { padding: 12px 14px 16px; background: #1e293b; color: #f8fafc; }

#copyToast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(15, 23, 42, 0.95); color: #fef08a; padding: 10px 20px; border-radius: 30px; font-size: 0.82rem; font-weight: 700; z-index: 9999; display: none; text-align: center; border: 1px solid #f59e0b; }

/* ===================================================================== */
/* BẮT ĐẦU: AMI_SOCIAL_PROOF_TOAST (THÔNG BÁO CHỐT ĐƠN THỜI GIAN THỰC)  */
/* ===================================================================== */
#amiSocialProofToast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(254, 215, 170, 0.8);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(234, 88, 12, 0.1);
  border-radius: 30px;
  padding: 4px 10px 4px 5px;
  max-width: 330px;
  transform: translateY(16px) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  font-family: system-ui, -apple-system, sans-serif;
  user-select: none;
}
#amiSocialProofToast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
#amiSocialProofToast:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16), 0 3px 10px rgba(234, 88, 12, 0.15);
}
#amiSocialProofToast img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ea580c;
  flex-shrink: 0;
}
#amiSocialProofToast .toast-content {
  font-size: 11px;
  line-height: 1.3;
  color: #334155;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#amiSocialProofToast .toast-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 5px;
  box-shadow: 0 0 6px #22c55e;
  animation: toastLivePulse 1.6s infinite ease-in-out;
}
@keyframes toastLivePulse {
  0%, 100% { opacity: 0.8; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.25); }
}
#amiSocialProofToast .toast-close {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 0 3px;
  line-height: 1;
  margin-left: 2px;
  flex-shrink: 0;
  transition: color 0.15s;
}
#amiSocialProofToast .toast-close:hover {
  color: #ef4444;
}

/* RESPONSIVE MOBILE (< 768px): TỰ THU GỌN VÀ TUYỆT ĐỐI KHÔNG CHE NÚT SẢN PHẨM */
@media (max-width: 768px) {
  #amiSocialProofToast {
    top: auto !important;
    bottom: 18px !important;
    left: 10px !important;
    right: auto !important;
    max-width: calc(100vw - 110px);
    height: 32px;
    padding: 3px 8px 3px 4px;
    gap: 6px;
  }
  #amiSocialProofToast img {
    width: 22px;
    height: 22px;
  }
  #amiSocialProofToast .toast-content {
    font-size: 9.5px;
    max-width: calc(100vw - 160px);
  }
}
/* ===================================================================== */
/* KẾT THÚC: AMI_SOCIAL_PROOF_TOAST */
/* ===================================================================== */

.empty-state { text-align: center; padding: 40px 20px; color: #94a3b8; grid-column: 1 / -1; font-size: 0.88rem; }
/* ===================================================================== */
/* KẾT THÚC: MODALS_AND_TOASTS */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: SHOPEE_VOUCHER_MODAL (Từ khóa: v-modal-overlay) */
/* ===================================================================== */
.v-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); display: none; align-items: center; justify-content: center; z-index: 100005; padding: 15px; }
.v-modal-box { background: #fff; width: 100%; max-width: 460px; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; max-height: 85vh; }
.v-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid #eee; }
.v-modal-title { font-size: 1.05rem; font-weight: 800; color: #ee4d2d; }
.v-close-btn { background: none; border: none; font-size: 26px; line-height: 1; color: #888; cursor: pointer; }
.v-modal-list { padding: 10px 14px 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.v-card { border: 1.5px dashed #ee4d2d; background: #fff9f6; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.v-card-badge { align-self: flex-start; background: #27ae60; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.v-card-name { font-size: 13.5px; font-weight: 800; color: #1e293b; }
.v-card-sub { font-size: 11.5px; color: #64748b; }
.v-card-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.btn-copy-code { background: #ee4d2d; color: #fff; border: none; padding: 6px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.link-open-shopee { font-size: 12px; color: #ee4d2d; text-decoration: underline; font-weight: 700; }
.v-modal-foot { padding: 12px 16px; border-top: 1px solid #eee; background: #fafafa; }
.btn-scroll-to-deals { width: 100%; padding: 10px; background: #0f172a; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.v-toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: rgba(33, 33, 33, 0.95); color: #fff; padding: 10px 18px; font-size: 13px; font-weight: 600; border-radius: 25px; display: none; z-index: 100010; text-align: center; }
/* ===================================================================== */
/* KẾT THÚC: SHOPEE_VOUCHER_MODAL */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: CLIENT_PAGINATION_STYLES (Từ khóa: client-pagination-wrap) */
/* ===================================================================== */
.client-pagination-wrap {
  display: flex; align-items: center; justify-content: space-between;
  margin: 18px 0 10px; padding: 12px 14px; background: #fffaf5;
  border-radius: 12px; border: 1.5px solid #fed7aa; box-shadow: 0 2px 8px rgba(234, 88, 12, 0.05);
  flex-wrap: wrap; gap: 10px; transition: all 0.2s ease;
}
.client-page-info { font-size: 0.78rem; color: #9a3412; font-weight: 600; }
.client-page-info b { color: #dc2626; }
.client-page-numbers { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.client-page-btn {
  background: #ffffff; border: 1px solid #fed7aa; color: #7c2d12; font-size: 0.78rem; font-weight: 700;
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s ease;
}
.client-page-btn:hover { border-color: #ea580c; color: #ea580c; background: #fff7ed; }
.client-page-btn.active {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  border-color: #dc2626; color: #fff; font-weight: 900; box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);
}
.client-page-btn.disabled { opacity: 0.35; cursor: not-allowed; border-color: #fed7aa; }
.client-page-dots { color: #fdba74; font-size: 0.8rem; padding: 0 4px; }

/* KHI Ở PRODUCT-LIST-VIEW HOẶC KHO BÍ MẬT: ĐỒNG BỘ TONE ẤM ÁP HOÀN TOÀN, KHÔNG BỊ XÁM ĐEN */
.product-list-view + .client-pagination-wrap { background: #fffaf5; border: 1.5px solid #fed7aa; box-shadow: 0 2px 8px rgba(234, 88, 12, 0.05); }
.product-list-view + .client-pagination-wrap .client-page-info { color: #9a3412; }
.product-list-view + .client-pagination-wrap .client-page-info b { color: #ea580c; }
.product-list-view + .client-pagination-wrap .client-page-btn { background: #ffffff; border-color: #fed7aa; color: #7c2d12; }
.product-list-view + .client-pagination-wrap .client-page-btn:hover { border-color: #ea580c; color: #ea580c; background: #fff7ed; }
.product-list-view + .client-pagination-wrap .client-page-btn.active {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%); border-color: #dc2626; color: #fff; box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}
/* ===================================================================== */
/* KẾT THÚC: CLIENT_PAGINATION_STYLES */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: VIP_DEAL_PASS_AND_MODAL_CRO (Từ khóa: ami-modal-vip-pass)   */
/* ===================================================================== */
.ami-modal-vip-pass {
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 40%, #ffedd5 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: 12px;
  padding: 9px 12px;
  margin-bottom: 9px;
  position: relative;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}

.vip-pass-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  padding-bottom: 5px;
  border-bottom: 1px dashed rgba(245, 158, 11, 0.35);
}

.vip-pass-brand-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.vip-pass-discount-pill {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.28);
  animation: pulseDiscount 2s infinite ease-in-out;
}
@keyframes pulseDiscount {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.vip-pass-pricing-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vip-pass-anchor-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vip-anchor-item {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vip-anchor-item.strikethrough .vip-anchor-val {
  text-decoration: line-through;
  color: #94a3b8;
}
.vip-anchor-val {
  font-weight: 700;
  color: #475569;
}

.vip-pass-hero-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.vip-hero-label {
  font-size: 0.66rem;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.vip-hero-number {
  font-size: 1.45rem;
  font-weight: 900;
  color: #dc2626;
  line-height: 1.15;
  font-family: system-ui, -apple-system, sans-serif;
  letter-spacing: -0.5px;
}

.vip-pass-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  padding-top: 5px;
  border-top: 1px dashed rgba(245, 158, 11, 0.35);
  font-size: 0.72rem;
}

.vip-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #15803d;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 6px;
  border: 1px solid #86efac;
}

.vip-social-proof-pill {
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.vip-social-proof-pill .star-gold {
  color: #eab308;
  font-weight: 800;
}
.vip-dot {
  color: #cbd5e1;
}

/* Reset wrapper quick-review-points bên trong modal để không bị viền lồng nhau */
.quick-modal-box .quick-review-points {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 6px 0 !important;
}

/* --- ĐÁNH GIÁ & LỜI MÁCH NƯỚC BÉ AMI --- */
.quick-modal-box .ami-social-proof-wrap {
  margin: 6px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.quick-modal-box .ami-rating-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
}
.quick-modal-box .ami-rating-stars {
  color: #eab308;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}
.quick-modal-box .ami-rating-count {
  color: #64748b;
  font-weight: 600;
  font-size: 0.72rem;
}
.quick-modal-box .ami-rating-badge {
  background: #22c55e;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 700;
}

.quick-modal-box .ami-review-quote-box {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-left: 3.5px solid #f97316;
  padding: 8px 10px;
  border-radius: 5px 8px 8px 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.quick-modal-box .ami-review-user {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #1e293b;
}
.quick-modal-box .ami-review-stars-inline {
  color: #eab308;
  font-size: 0.7rem;
  letter-spacing: 1px;
}
.quick-modal-box .ami-review-user .badge-verified {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.66rem;
  padding: 1.5px 6px;
  border-radius: 4px;
}
.quick-modal-box .ami-review-content {
  font-size: 0.75rem;
  line-height: 1.4;
  color: #475569;
  font-style: italic;
  margin: 0;
}

/* Bé Ami Whisper Tip Box */
.quick-modal-box .ami-tip-box {
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  padding: 8px 10px;
  border-radius: 9px;
  position: relative;
  box-shadow: 0 1px 3px rgba(249, 115, 22, 0.08);
}
.quick-modal-box .ami-tip-avatar-wrap {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #ea580c;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-modal-box .ami-tip-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quick-modal-box .ami-tip-text-wrap {
  flex: 1;
  min-width: 0;
  font-size: 0.73rem;
  line-height: 1.38;
  color: #9a3412;
}
.quick-modal-box .ami-tip-speaker {
  font-weight: 800;
  color: #c2410c;
  display: block;
  margin-bottom: 1px;
}

/* --- QUICK_MODAL_CTA_AND_GUARANTEE (NÚT BẤM & 3 CAM KẾT VÀNG) --- */
.quick-modal-guarantee-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 0.67rem;
  color: #64748b;
  font-weight: 600;
}
.quick-modal-guarantee-bar .guarantee-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.quick-modal-guarantee-bar .guarantee-dot {
  color: #cbd5e1;
}

.quick-modal-box .btn-curiosity-buy {
  height: 46px !important;
  padding: 6px 12px !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #ef4444 0%, #ee4d2d 50%, #f97316 100%) !important;
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  position: relative !important;
  overflow: hidden !important;
}
.quick-modal-box .btn-curiosity-buy .btn-curiosity-title {
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  letter-spacing: 0.2px !important;
}
.quick-modal-box .btn-curiosity-buy .btn-curiosity-sub {
  display: block !important;
  font-size: 0.67rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500 !important;
  letter-spacing: 0.1px !important;
}
.quick-modal-box .btn-curiosity-buy:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.45) !important;
}

.quick-modal-box .btn-dual-shopee,
.quick-modal-box .btn-dual-tiktok {
  height: 44px !important;
  border-radius: 9px !important;
  padding: 5px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
}
.quick-modal-box .btn-dual-shopee .btn-curiosity-title,
.quick-modal-box .btn-dual-tiktok .btn-curiosity-title {
  font-size: 0.82rem !important;
  font-weight: 900 !important;
}
.quick-modal-box .btn-dual-shopee .btn-curiosity-sub,
.quick-modal-box .btn-dual-tiktok .btn-curiosity-sub {
  display: block !important;
  font-size: 0.64rem !important;
  opacity: 0.9 !important;
}
/* ===================================================================== */
/* KẾT THÚC: VIP_DEAL_PASS_AND_MODAL_CRO                                 */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: MOBILE_FIRST_RESPONSIVE (Từ khóa: MOBILE_FIRST_RESPONSIVE) */
/* ===================================================================== */
@media (max-width: 640px) {
  .header { padding: 8px 10px !important; }
  .brand-logo-img { width: 34px !important; height: 34px !important; }
  .brand-title { font-size: 0.88rem !important; }
  .brand-subtitle { font-size: 0.62rem !important; }
  .btn-voucher-header { padding: 5px 9px !important; font-size: 0.68rem !important; }

  .view-toggle-bar { padding: 5px 8px !important; margin-bottom: 8px !important; }
  .view-toggle-title { font-size: 0.68rem !important; }
  .view-toggle-btn { padding: 4px 8px !important; font-size: 0.65rem !important; }
  .sort-btn { padding: 4px 8px !important; font-size: 0.66rem !important; }
  .cat-btn { padding: 5px 10px !important; font-size: 0.72rem !important; }

  /* Tối ưu hiển thị text Desktop vs Mobile */
  .lbl-desk, .val-desk, .stock-desk, .btn-cta-app { display: none !important; }
  .lbl-mob, .val-mob, .stock-mob { display: inline !important; }

  /* Tối ưu lề thẻ và huy hiệu trên mobile */
  .card-body { padding: 6px 6px 8px 6px !important; }
  .card-badge-top-row, .card-badge-sub-row { height: 16px !important; gap: 3px !important; }
  .badge-shop-pill { font-size: 0.55rem !important; padding: 1px 4px !important; }
  .price-discount-tag { font-size: 0.56rem !important; padding: 1px 4px !important; }
  .shop-badge-inline { font-size: 0.58rem !important; padding: 1px 4px !important; max-width: calc(100% - 60px) !important; }
  .live-stock-tag-inline { font-size: 0.54rem !important; padding: 1px 4px !important; }

  /* Hộp giá mobile - chuẩn, thoáng, không dính chữ */
  .ami-price-card-box { padding: 5px 6px !important; margin: 3px 0 0 0 !important; border-radius: 6px !important; }
  .price-compare-row { font-size: 0.60rem !important; height: 14px !important; gap: 4px !important; margin-bottom: 2px !important; }
  .price-final-row { height: 22px !important; padding-top: 2px !important; }
  .price-final-label { font-size: 0.58rem !important; color: #ea580c !important; font-weight: 800 !important; white-space: nowrap !important; }
  .price-final-num { font-size: 0.98rem !important; font-weight: 900 !important; color: #dc2626 !important; }

  /* Dòng tiết kiệm mobile */
  .card-savings-row { height: 18px !important; min-height: 18px !important; margin-top: 3px !important; padding-top: 3px !important; }
  .savings-pill { font-size: 0.58rem !important; padding: 1px 4px !important; gap: 2.5px !important; }
  .stock-countdown-pill { font-size: 0.58rem !important; }
  .live-coin-wrap { width: 11px !important; height: 11px !important; }
  .live-coin-svg { width: 11px !important; height: 11px !important; }

  /* Thanh uy tín mobile */
  .social-proof-pill { font-size: 0.58rem !important; padding: 2.5px 5px !important; margin: 4px 0 !important; height: 18px !important; border-radius: 5px !important; }
  .social-proof-pill .sp-left { font-size: 0.58rem !important; gap: 2px !important; }
  .social-proof-pill .sp-left b { font-size: 0.58rem !important; }
  .social-proof-pill .sp-right { font-size: 0.56rem !important; gap: 2px !important; }

  /* Nút mua hàng mobile - chống tràn, chữ S và mũi tên hiển thị trọn vẹn 100% */
  .btn-curiosity-buy { height: 36px !important; padding: 6px 4px !important; border-radius: 7px !important; }
  .btn-curiosity-title { font-size: 0.72rem !important; font-weight: 800 !important; justify-content: center !important; gap: 3px !important; letter-spacing: 0 !important; }
  .btn-curiosity-buy .arrow-hint { font-size: 0.75rem !important; }
  .btn-curiosity-sub { display: none !important; }
  .dual-buy-grid { gap: 4px !important; }
  .btn-dual-shopee, .btn-dual-tiktok { height: 36px !important; padding: 6px 3px !important; border-radius: 7px !important; }
  .btn-dual-shopee .btn-curiosity-title, .btn-dual-tiktok .btn-curiosity-title { font-size: 0.66rem !important; }

  /* Widget trợ lý Bé Ami gọn gàng góc phải dưới trên mobile */
  .ami-speech-bubble { font-size: 0.62rem !important; padding: 3px 8px !important; max-width: 135px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 3px !important; }
  .ami-floating-assistant { bottom: 12px !important; right: 8px !important; transform: scale(0.76) !important; transform-origin: bottom right; z-index: 999; }
  #socialProofToast { top: auto !important; bottom: 16px !important; left: 8px !important; right: auto !important; max-width: 210px !important; padding: 5px 8px !important; font-size: 0.65rem !important; z-index: 998; border-radius: 8px !important; }
  #socialProofToast img { width: 24px !important; height: 24px !important; }
  body { padding-bottom: 80px !important; }

  .client-pagination-wrap { flex-direction: column; align-items: center; gap: 8px; padding: 10px 8px; }

  .ami-social-proof-wrap { margin: 8px 0 10px 0; gap: 6px; }
  .ami-rating-bar { padding: 5px 8px; font-size: 0.72rem; }
  .ami-review-quote-box { padding: 6px 8px; }
  .ami-review-content { font-size: 0.72rem; }

  .btn-reels-centered {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%) !important;
    color: #713f12 !important;
    font-weight: 900 !important;
    font-size: 0.82rem !important;
    padding: 8px 24px !important;
    border-radius: 22px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35) !important;
    width: 100% !important;
    max-width: 260px !important;
    margin: 8px auto 0 auto !important;
    border: none !important;
  }
}
/* ===================================================================== */
/* KẾT THÚC: MOBILE_FIRST_RESPONSIVE */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: AMI_DAILY_HACK_WIDGET (Từ khóa: ami-daily-hack-card) */
/* ===================================================================== */
.ami-daily-hack-card {
  background: linear-gradient(135deg, #fefce8 0%, #fff7ed 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
  transition: all 0.2s ease;
}
.ami-daily-hack-card:hover {
  border-color: #ea580c;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
}
.ami-hack-content-clickable {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  cursor: pointer;
}
.ami-hack-content-clickable:hover .ami-hack-text {
  color: #c2410c;
}
.ami-hack-badge {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
.ami-hack-text {
  font-size: 0.76rem;
  font-weight: 600;
  color: #78350f;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  transition: color 0.15s ease;
}
.ami-hack-view-deal {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ea580c;
  text-decoration: underline;
  white-space: nowrap;
  margin-left: 4px;
}
.ami-hack-btn-refresh {
  background: #ffffff;
  border: 1px solid #fde68a;
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.ami-hack-btn-refresh:hover {
  background: #fef3c7;
}

@media (max-width: 640px) {
  .ami-daily-hack-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 12px;
    gap: 8px;
  }
  .ami-hack-bottom-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
  }
}
/* ===================================================================== */
/* KẾT THÚC: AMI_DAILY_HACK_WIDGET */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: SECRET_DEAL_STYLES (Từ khóa: secret-room-box) */
/* ===================================================================== */
.secret-room-box {
  background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
  border: 2px solid #c084fc;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.25);
  color: #ffffff;
}
.secret-room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.btn-spin-secret {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #ffffff;
  border: 1px solid #f472b6;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.4);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-spin-secret:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.6);
}
.btn-spin-secret:active {
  transform: scale(0.96);
}
.btn-spin-secret .spin-icon {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-spin-secret.spinning .spin-icon {
  transform: rotate(360deg);
}
.secret-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(168, 85, 247, 0.25);
  border: 1px solid #c084fc;
  color: #f5d0fe;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 12px;
  vertical-align: middle;
}
.secret-live-dot {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
  animation: pulse-secret-dot 1.5s infinite;
}
@keyframes pulse-secret-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.secret-cat-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.secret-cat-tabs::-webkit-scrollbar { display: none; }
.secret-cat-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid #a855f7;
  color: #e9d5ff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.secret-cat-btn.active, .secret-cat-btn:hover {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #ffffff;
  border-color: #f472b6;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

.secret-deal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  border: 1.5px solid #334155;
  border-left: 4px solid #c084fc;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.secret-deal-item:hover {
  transform: translateY(-2px);
  border-color: #c084fc;
}
.secret-deal-info { min-width: 0; flex: 1; }
.secret-deal-hook-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #f8fafc;
  cursor: pointer;
  line-height: 1.4;
  margin-bottom: 4px;
}
.secret-deal-hook-title:hover {
  color: #38bdf8;
}
.secret-deal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  flex-wrap: wrap;
}
.btn-open-secret {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #ffffff !important;
  border: none;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(236, 72, 153, 0.35);
  transition: transform 0.15s ease;
}
.btn-open-secret:active { transform: scale(0.96); }
/* ===================================================================== */
/* KẾT THÚC: SECRET_DEAL_STYLES */
/* ===================================================================== */


/* ===================================================================== */
/* BẮT ĐẦU: CROSS_DEVICE_RESPONSIVE_ENHANCEMENT (CHỐNG VỠ GIAO DIỆN) */
/* ===================================================================== */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Ảnh tự co giãn theo tỷ lệ khung chứa */
img {
  max-width: 100%;
  height: auto;
}

/* Tối ưu hiển thị cho điện thoại màn hình nhỏ (iPhone SE, Galaxy màn nhỏ < 380px) */
@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .product-card {
    padding: 6px !important;
  }
  .card-title {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
    height: 2.6em !important;
  }
  .price-tag {
    font-size: 0.85rem !important;
  }
  .btn-buy {
    font-size: 0.68rem !important;
    padding: 6px 4px !important;
  }
  .brand-logo-img {
    width: 30px !important;
    height: 30px !important;
  }
  .brand-title {
    font-size: 0.8rem !important;
  }
}

/* Tối ưu hiển thị cho Tablet (iPad 768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }
  .ami-banner-wrap {
    padding: 16px 20px !important;
  }
}

/* Chống vỡ các khối Secret Deal và Popup trên màn hình hẹp */
@media (max-width: 520px) {
  .secret-deal-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .btn-open-secret {
    width: 100% !important;
    text-align: center !important;
    padding: 9px !important;
  }
  .secret-room-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }
}
/* ===================================================================== */
/* KẾT THÚC: CROSS_DEVICE_RESPONSIVE_ENHANCEMENT */
/* ===================================================================== */


/* ===================================================================== */
/* BẮT ĐẦU: BRAND_DIRECTORY_10x5_STYLES (ĐẠI LỘ THƯƠNG HIỆU 50 TOP SHOP) */
/* ===================================================================== */
.brand-directory-wrap {
  background: linear-gradient(135deg, #fff7ed 0%, #fffbf5 50%, #fef2f2 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  margin: 32px auto 24px auto;
  max-width: 1280px;
  padding: 24px 20px;
  box-shadow: 0 10px 25px -5px rgba(238, 77, 45, 0.12), 0 4px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.brand-directory-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #ee4d2d 0%, #ff7849 50%, #f59e0b 100%);
}

.brand-directory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ffedd5;
  padding-bottom: 16px;
}

.brand-title-group {
  flex: 1;
  min-width: 280px;
}

.brand-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffedd5;
  border: 1px solid #fdba74;
  color: #c2410c;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 8px #16a34a;
  animation: pulseBrandDot 1.8s infinite;
}

@keyframes pulseBrandDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.brand-main-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 8px 0 4px 0;
  letter-spacing: -0.3px;
}

.brand-sub-title {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.brand-highlight-time {
  color: #c2410c;
  font-weight: 700;
  background: #ffedd5;
  padding: 1px 6px;
  border-radius: 4px;
}

.brand-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-spin-brands {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ee4d2d 0%, #ff5722 100%);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(238, 77, 45, 0.35);
  transition: all 0.2s ease;
  user-select: none;
}

.btn-spin-brands:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.5);
  filter: brightness(1.08);
}

.dice-icon {
  display: inline-block;
  font-size: 1rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dice-spinning {
  animation: spinDice 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes spinDice {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ===================================================================== */
/* OPTION 3: BĂNG CHUYỀN LOGO NĂNG ĐỘNG • MODERN MINIMALIST PILL GRID    */
/* ===================================================================== */

/* LƯỚI SHOP HOA HỒNG XTRA & ĐỐI TÁC TUYỂN CHỌN (12-20 SHOP PILL CAPSULE) */
.brand-grid-10x5 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.brand-loading-skeleton {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  color: #64748b;
  font-size: 0.9rem;
}

/* THẺ SHOP NẰM NGANG DẠNG PILL CAPSULE SANG TRỌNG */
.shop-pill-chip {
  text-decoration: none;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  padding: 6px 12px 6px 6px;
  gap: 10px;
  min-height: 52px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.shop-pill-chip:hover {
  transform: translateY(-2px);
  border-color: #ee4d2d;
  background: #fff8f6;
  box-shadow: 0 6px 18px rgba(238, 77, 45, 0.18);
}

.shop-pill-chip.tier-mall {
  border-color: #fecdd3;
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.shop-pill-chip.tier-mall:hover {
  border-color: #e11d48;
  background: #fff1f2;
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.2);
}

.shop-pill-chip.tier-youthich {
  border-color: #fde68a;
  background: linear-gradient(135deg, #ffffff 0%, #fffdf5 100%);
}

.shop-pill-chip.tier-youthich:hover {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2);
}

/* KHỐI LOGO AVATAR TRÒN CÓ HUY HIỆU */
.shop-pill-avatar-box {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.shop-pill-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 1.5px solid #ffffff;
  user-select: none;
  overflow: hidden;
}

.shop-pill-avatar.shop-avatar-has-img {
  background: #ffffff;
}

.shop-pill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.shop-pill-avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #ffffff;
}

.shop-pill-tier-badge {
  position: absolute;
  bottom: -2px;
  right: -3px;
  background: #d0011b;
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
  letter-spacing: -0.2px;
  border: 1px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  line-height: 1.1;
}

.shop-pill-tier-badge.badge-youthich {
  background: #d97706;
}

/* THÔNG TIN SHOP Ở GIỮA (TÊN SHOP + META XTRA) */
.shop-pill-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}

.shop-pill-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  transition: color 0.18s ease;
}

.shop-pill-chip:hover .shop-pill-name {
  color: #ee4d2d;
}

.shop-pill-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
}

.shop-pill-xtra {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
  padding: 1.5px 6px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.2px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.3);
}

.shop-pill-subtag {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* NÚT MŨI TÊN TRÒN NHỎ BÊN PHẢI (SUBTLE CALL-TO-ACTION) */
.shop-pill-arrow-box {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  margin-right: 2px;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-pill-chip:hover .shop-pill-arrow-box {
  background: #ee4d2d;
  border-color: #ee4d2d;
  color: #ffffff;
  transform: translate(1.5px, -1.5px);
  box-shadow: 0 2px 6px rgba(238, 77, 45, 0.35);
}

.brand-footer-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.74rem;
  color: #64748b;
  font-style: italic;
}

/* ===================================================================== */
/* EVENT / SALE HOLIDAY THEMES (TÔNG MÀU ĐỔI THEO DỊP LỄ / NGÀY SALE)   */
/* ===================================================================== */

/* 1. NGÀY ĐÔI SIÊU SALE (MEGA SALE) */
.brand-directory-wrap.theme-mega-sale {
  background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 50%, #fff7ed 100%);
  border-color: #f87171;
  box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.18);
}
.brand-directory-wrap.theme-mega-sale::before {
  background: linear-gradient(90deg, #dc2626 0%, #ea580c 50%, #f59e0b 100%);
}
.brand-directory-wrap.theme-mega-sale .brand-badge-pill {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}
.brand-directory-wrap.theme-mega-sale .shop-pill-chip:hover {
  background: #fff1f2;
  border-color: #ef4444;
}

/* 2. SALE GIỮA THÁNG (MID-MONTH PAYDAY) */
.brand-directory-wrap.theme-mid-month {
  background: linear-gradient(135deg, #faf5ff 0%, #fff7ed 50%, #fffbeb 100%);
  border-color: #d8b4fe;
  box-shadow: 0 10px 25px -5px rgba(147, 51, 234, 0.15);
}
.brand-directory-wrap.theme-mid-month::before {
  background: linear-gradient(90deg, #9333ea 0%, #ea580c 50%, #f59e0b 100%);
}
.brand-directory-wrap.theme-mid-month .brand-badge-pill {
  background: #f3e8ff;
  border-color: #c084fc;
  color: #7e22ce;
}
.brand-directory-wrap.theme-mid-month .shop-pill-chip:hover {
  background: #faf5ff;
  border-color: #a855f7;
}

/* 3. SALE CUỐI THÁNG (END-MONTH PAYDAY) */
.brand-directory-wrap.theme-end-month {
  background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 50%, #fef2f2 100%);
  border-color: #93c5fd;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15);
}
.brand-directory-wrap.theme-end-month::before {
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 50%, #ee4d2d 100%);
}
.brand-directory-wrap.theme-end-month .brand-badge-pill {
  background: #dbeafe;
  border-color: #60a5fa;
  color: #1d4ed8;
}
.brand-directory-wrap.theme-end-month .shop-pill-chip:hover {
  background: #eff6ff;
  border-color: #3b82f6;
}

/* 4. CUỐI TUẦN THẢ GA (WEEKEND) */
.brand-directory-wrap.theme-weekend {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 50%, #f0fdf4 100%);
  border-color: #fde047;
}
.brand-directory-wrap.theme-weekend::before {
  background: linear-gradient(90deg, #eab308 0%, #f97316 50%, #22c55e 100%);
}
.brand-directory-wrap.theme-weekend .brand-badge-pill {
  background: #fef9c3;
  border-color: #facc15;
  color: #a16207;
}
.brand-directory-wrap.theme-weekend .shop-pill-chip:hover {
  background: #fefce8;
  border-color: #eab308;
}

/* 5. TẾT NGUYÊN ĐÁN (TET) */
.brand-directory-wrap.theme-tet {
  background: linear-gradient(135deg, #fff1f2 0%, #fffbeb 50%, #fef2f2 100%);
  border-color: #fb7185;
}
.brand-directory-wrap.theme-tet::before {
  background: linear-gradient(90deg, #e11d48 0%, #f59e0b 50%, #dc2626 100%);
}
.brand-directory-wrap.theme-tet .brand-badge-pill {
  background: #ffe4e6;
  border-color: #fda4af;
  color: #be123c;
}
.brand-directory-wrap.theme-tet .shop-pill-chip:hover {
  background: #fff1f2;
  border-color: #e11d48;
}

/* ===================================================================== */
/* RESPONSIVE BREAKPOINTS CHO SHOP TUYỂN CHỌN (OPTION 3: PILL GRID)      */
/* ===================================================================== */
@media (max-width: 1100px) {
  .brand-grid-10x5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .brand-grid-10x5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .shop-pill-chip {
    padding: 5px 8px 5px 5px;
    gap: 8px;
    min-height: 48px;
  }
  .shop-pill-avatar-box,
  .shop-pill-avatar {
    width: 36px;
    height: 36px;
  }
  .shop-pill-name {
    font-size: 0.76rem;
  }
  .shop-pill-xtra {
    font-size: 0.6rem;
    padding: 1px 5px;
  }
  .shop-pill-subtag {
    font-size: 0.62rem;
  }
  .shop-pill-arrow-box {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .brand-directory-wrap {
    padding: 14px 10px;
    margin: 18px 4px 14px;
    border-radius: 14px;
  }
  .brand-main-title {
    font-size: 1.05rem;
  }
  .brand-grid-10x5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .shop-pill-chip {
    padding: 4px 6px 4px 4px;
    gap: 6px;
    min-height: 44px;
    border-radius: 24px;
  }
  .shop-pill-avatar-box,
  .shop-pill-avatar {
    width: 32px;
    height: 32px;
  }
  .shop-pill-avatar {
    font-size: 0.75rem;
  }
  .shop-pill-name {
    font-size: 0.72rem;
  }
  .shop-pill-xtra {
    font-size: 0.58rem;
    padding: 1px 4px;
  }
  .shop-pill-subtag {
    font-size: 0.58rem;
    display: none;
  }
  .shop-pill-arrow-box {
    width: 20px;
    height: 20px;
    margin-right: 0;
  }
  .shop-pill-arrow-box svg {
    width: 10px;
    height: 10px;
  }
}
/* ===================================================================== */
/* KẾT THÚC: BRAND_DIRECTORY_10x5_STYLES */
/* ===================================================================== */


/* ===================================================================== */
/* BẮT ĐẦU: TOP_10_BESTSELLER_LIST_STYLES */
/* ===================================================================== */
.product-list-view { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-bottom: 12px; }
.top10-header-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa; border-radius: 12px; padding: 12px 16px; margin-bottom: 6px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.06);
}
.top10-title { font-size: 0.92rem; font-weight: 900; color: #9a3412; display: flex; align-items: center; gap: 6px; }
.top10-sub { font-size: 0.72rem; color: #c2410c; margin-top: 2px; }
.top10-badge-live { background: #ea580c; color: #fff; font-size: 0.65rem; font-weight: 800; padding: 2px 8px; border-radius: 20px; }

.deal-list-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #ffffff; border: 1.5px solid #fed7aa; border-radius: 12px;
  padding: 10px 12px; gap: 10px; transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.deal-list-row:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(234, 88, 12, 0.12); border-color: #ea580c; }
.deal-list-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.deal-list-rank { font-size: 0.85rem; font-weight: 900; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rank-gold { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #fff; box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4); }
.rank-silver { background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%); color: #fff; }
.rank-bronze { background: linear-gradient(135deg, #d97706 0%, #92400e 100%); color: #fff; }
.rank-normal { background: #fff7ed; color: #ea580c; border: 1px solid #fed7aa; }
.deal-list-thumb { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 1px solid #fed7aa; flex-shrink: 0; cursor: pointer; }
.deal-list-info { min-width: 0; flex: 1; cursor: pointer; }
.deal-list-title { font-size: 0.82rem; font-weight: 800; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-list-sub { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 0.72rem; flex-wrap: wrap; }
.deal-list-price { font-size: 0.85rem; font-weight: 900; color: #dc2626; }
.deal-list-orig { font-size: 0.7rem; color: #94a3b8; text-decoration: line-through; }
.btn-lum-deal {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: #fff; font-size: 0.76rem; font-weight: 800; padding: 7px 14px;
  border-radius: 20px; border: none; cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3); transition: transform 0.15s ease;
}
.btn-lum-deal:hover { transform: scale(1.03); }
/* ===================================================================== */
/* KẾT THÚC: TOP_10_BESTSELLER_LIST_STYLES */
/* ===================================================================== */

/* ===================================================================== */
/* BẮT ĐẦU: LUXURY CRO ENHANCEMENTS */
/* ===================================================================== */
.btn-share-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-share-modal:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.btn-share-modal:active {
  transform: scale(0.98);
}
/* ===================================================================== */
/* KẾT THÚC: FLOATING_MOBILE_BOTTOM_APP_BAR & LUXURY CRO ENHANCEMENTS */
/* ===================================================================== */
