/* =====================================================
   BẢO HÙNG AUDIO — Homepage Pro Enhancements v1
   Loaded AFTER inline <style> → selectively overrides
   Mục tiêu: vibrant colors + gradient text + glow effects
   ===================================================== */

/* ========== SECTION HEADINGS — bigger + gradient text ========== */
.section h2 {
  font-size: clamp(38px, 5.5vw, 64px) !important;
  letter-spacing: -2px !important;
  line-height: .98 !important;
  background: linear-gradient(135deg, #fff 0%, #ff8a3d 50%, #ff6b1a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(255,107,26,.2));
}
.section h2 .accent {
  background: linear-gradient(135deg, #ff8a3d, #ff6b1a, #cc4f0a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  filter: drop-shadow(0 4px 16px rgba(255,107,26,.4));
}

/* Eyebrow tag — more decorative */
.section-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(255,107,26,.1);
  border: 1px solid rgba(255,107,26,.25);
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  margin-bottom: 16px !important;
  backdrop-filter: blur(8px);
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b1a);
  border-radius: 2px;
}

/* ========== CATEGORY CARDS — vibrant + glow ========== */
.cat {
  background: linear-gradient(180deg, #1a1a1f 0%, #16161a 100%) !important;
  border: 1px solid #2a2a30 !important;
  padding: 32px 20px !important;
  position: relative;
  overflow: hidden;
  transition: all .35s cubic-bezier(.2, .8, .2, 1) !important;
}
.cat::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b1a 50%, transparent);
  opacity: 0;
  transition: opacity .3s;
}
.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,107,26,.08), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.cat:hover {
  border-color: rgba(255,107,26,.5) !important;
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow:
    0 16px 40px rgba(255,107,26,.18),
    0 0 0 1px rgba(255,107,26,.15) inset !important;
}
.cat:hover::before { opacity: 1; }
.cat:hover::after { opacity: 1; }

.cat-icon {
  width: 56px !important;
  height: 56px !important;
  margin-bottom: 16px !important;
  filter: drop-shadow(0 6px 16px rgba(255,107,26,.4));
  transition: transform .3s;
}
.cat:hover .cat-icon {
  transform: scale(1.1) rotate(-3deg);
}
.cat-name {
  font-family: 'Unbounded', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .8px !important;
  text-transform: uppercase;
  color: #f4ede2 !important;
}
.cat-count {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(255,107,26,.1);
  border-radius: 100px;
  margin-top: 8px !important;
  color: #ff8a3d !important;
  font-weight: 600 !important;
}

/* ========== PRODUCT CARDS — premium feel ========== */
.product {
  background: linear-gradient(180deg, #1a1a1f 0%, #16161a 100%) !important;
  border: 1px solid #2a2a30 !important;
  border-radius: 20px !important;
  overflow: hidden;
  position: relative;
  transition: all .35s cubic-bezier(.2, .8, .2, 1) !important;
}
.product::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,107,26,.1), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
  z-index: 1;
}
.product:hover {
  border-color: rgba(255,107,26,.45) !important;
  transform: translateY(-8px) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,107,26,.2) inset,
    0 16px 32px rgba(255,107,26,.12) !important;
}
.product:hover::after { opacity: 1; }
.product > * { position: relative; z-index: 2; }

.product-img {
  position: relative;
  overflow: hidden;
}
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4));
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.product:hover .product-img::after { opacity: 1; }

/* Product brand label — orange gradient */
.product-brand {
  background: linear-gradient(135deg, #ff8a3d, #ff6b1a) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  filter: drop-shadow(0 1px 2px rgba(255,107,26,.3));
}

.product-name {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  letter-spacing: -.2px !important;
  line-height: 1.3 !important;
}

.product-spec {
  font-size: 12.5px !important;
}

/* Product tags — branded glow shadows */
.product-tag {
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  font-size: 10.5px !important;
}
.tag-new {
  background: linear-gradient(135deg, #ff6b1a, #ff4500) !important;
  box-shadow: 0 4px 16px rgba(255,107,26,.45), 0 0 0 1px rgba(255,138,61,.4) inset !important;
}
.tag-hot {
  background: linear-gradient(135deg, #4cd6e8, #2eb8ca) !important;
  box-shadow: 0 4px 16px rgba(76,214,232,.45), 0 0 0 1px rgba(126,224,236,.4) inset !important;
}
.tag-sale {
  background: linear-gradient(135deg, #d4a548, #b8862e) !important;
  box-shadow: 0 4px 16px rgba(212,165,72,.45), 0 0 0 1px rgba(232,193,108,.4) inset !important;
}

/* Price — gradient + larger */
.price-now {
  font-family: 'Unbounded', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #ff8a3d, #ff6b1a) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255,107,26,.25));
}
.price-old {
  font-size: 12.5px !important;
  color: #7a756c !important;
  font-style: italic;
}

/* Favorite button — branded */
.fav-btn {
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,.5) !important;
  transition: all .25s !important;
}
.fav-btn:hover {
  background: rgba(255,107,26,.15) !important;
  transform: scale(1.1);
}
.fav-btn.active {
  background: rgba(255,107,26,.2) !important;
  box-shadow: 0 0 16px rgba(255,107,26,.4);
}

/* Add to cart — vibrant */
.add-cart {
  background: linear-gradient(135deg, #ff6b1a, #ff4500) !important;
  box-shadow: 0 6px 20px rgba(255,107,26,.45), 0 0 0 1px rgba(255,138,61,.4) inset !important;
}
.add-cart:hover {
  background: linear-gradient(135deg, #ff8a3d, #ff6b1a) !important;
  box-shadow: 0 10px 28px rgba(255,107,26,.6), 0 0 0 1px rgba(255,138,61,.5) inset !important;
}

/* ========== FILTER CHIPS — interactive & gradient ========== */
.filter-chip {
  font-weight: 600 !important;
  letter-spacing: .3px;
  transition: all .25s cubic-bezier(.4, 0, .2, 1) !important;
  padding: 10px 20px !important;
}
.filter-chip:hover {
  background: rgba(255,107,26,.08) !important;
  border-color: rgba(255,107,26,.5) !important;
  color: #ff6b1a !important;
  transform: translateY(-2px);
}
.filter-chip.active {
  background: linear-gradient(135deg, #ff6b1a, #ff4500) !important;
  border-color: transparent !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(255,107,26,.45), 0 0 0 1px rgba(255,138,61,.4) inset !important;
  transform: translateY(-2px);
}

/* ========== FILTER SIDEBAR — depth ========== */
.filter-sidebar {
  background: linear-gradient(180deg, #1d1d22 0%, #16161a 100%) !important;
  border: 1px solid #2a2a30 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.3) !important;
}

.filter-title {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 700 !important;
  color: #f4ede2 !important;
  font-size: 12.5px !important;
}
.filter-title svg {
  color: #ff8a3d !important;
  filter: drop-shadow(0 2px 6px rgba(255,107,26,.5));
}

/* Brand checkboxes */
.brand-item {
  padding: 9px 12px !important;
  border-radius: 8px !important;
  transition: all .2s !important;
}
.brand-item:hover {
  background: rgba(255,107,26,.06) !important;
  color: #f4ede2 !important;
  transform: translateX(3px);
}
.brand-item input {
  border-color: #3a3a42 !important;
}
.brand-item input:checked {
  background: linear-gradient(135deg, #ff8a3d, #ff6b1a) !important;
  border-color: #ff6b1a !important;
  box-shadow: 0 0 0 3px rgba(255,107,26,.18);
}

/* Price preset buttons */
.price-preset {
  padding: 5px 12px !important;
  font-weight: 600 !important;
  font-size: 11.5px !important;
  transition: all .2s !important;
}
.price-preset:hover {
  background: rgba(255,107,26,.1) !important;
  border-color: #ff6b1a !important;
  color: #ff8a3d !important;
  transform: translateY(-1px);
}
.price-preset.active {
  background: linear-gradient(135deg, #ff6b1a, #ff4500) !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(255,107,26,.4) !important;
  color: #1a0d04 !important;
  font-weight: 700 !important;
}

.price-input:focus {
  border-color: #ff6b1a !important;
  box-shadow: 0 0 0 3px rgba(255,107,26,.15);
}

/* Clear filters button */
.btn-clear-filters:hover {
  border-color: #ff4757 !important;
  background: rgba(255,71,87,.05) !important;
}

/* ========== RESULTS TOOLBAR ========== */
.products-toolbar {
  background: linear-gradient(135deg, #1d1d22 0%, #16161a 100%) !important;
  border: 1px solid #2a2a30 !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.25) !important;
  padding: 14px 20px !important;
}

.results-count {
  font-size: 13.5px !important;
  font-weight: 500 !important;
}
.results-count strong {
  background: linear-gradient(135deg, #ff8a3d, #ff6b1a) !important;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800 !important;
  font-size: 14px !important;
}

.sort-select {
  font-weight: 600 !important;
  transition: all .2s !important;
}
.sort-select:hover, .sort-select:focus {
  border-color: #ff6b1a !important;
  background-color: rgba(255,107,26,.03) !important;
  box-shadow: 0 0 0 3px rgba(255,107,26,.12);
}

/* Active filter tags */
.active-tag {
  background: linear-gradient(135deg, rgba(255,107,26,.18), rgba(255,107,26,.08)) !important;
  border-color: rgba(255,107,26,.5) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(255,107,26,.18) !important;
}

/* ========== "See all" button ========== */
.see-all {
  display: inline-flex !important;
  align-items: center;
  padding: 9px 18px !important;
  background: rgba(255,107,26,.1);
  border: 1px solid rgba(255,107,26,.4) !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
  letter-spacing: .3px;
  transition: all .25s !important;
}
.see-all:hover {
  background: rgba(255,107,26,.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,26,.35);
}

/* ========== REVIEW CARDS ========== */
.review {
  background: linear-gradient(180deg, #1d1d22 0%, #16161a 100%) !important;
  border-color: #2a2a30 !important;
  position: relative;
  overflow: hidden;
}
.review::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ff6b1a, #ff4500 50%, transparent);
}
.review-stars {
  filter: drop-shadow(0 2px 6px rgba(212,165,72,.4));
  font-size: 15px !important;
  letter-spacing: 3px !important;
}
.review-text {
  color: #d6cfb8 !important;
  font-size: 14.5px !important;
}

/* ========== BLOG CARDS ========== */
.blog-card {
  background: linear-gradient(180deg, #1d1d22 0%, #16161a 100%) !important;
  border-color: #2a2a30 !important;
  transition: all .35s cubic-bezier(.2, .8, .2, 1) !important;
}
.blog-card:hover {
  border-color: rgba(255,107,26,.45) !important;
  transform: translateY(-8px) !important;
  box-shadow:
    0 24px 60px rgba(0,0,0,.4),
    0 0 0 1px rgba(255,107,26,.15) inset !important;
}
.blog-cat {
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  padding: 4px 10px;
  background: rgba(255,107,26,.1);
  border-radius: 100px;
  display: inline-block;
}
.blog-title {
  font-family: 'Unbounded', sans-serif !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  letter-spacing: -.2px !important;
}
.blog-img {
  position: relative;
  overflow: hidden;
}
.blog-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255,107,26,.1));
  pointer-events: none;
}
.blog-img svg {
  filter: drop-shadow(0 6px 16px rgba(255,107,26,.3));
}

/* ========== MOBILE FILTER TOGGLE ========== */
.mobile-filter-toggle {
  background: linear-gradient(135deg, #1d1d22, #16161a) !important;
  border: 1px solid #2a2a30 !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  transition: all .25s !important;
}
.mobile-filter-toggle:hover {
  border-color: #ff6b1a !important;
  background: rgba(255,107,26,.06) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,26,.25);
}
.mobile-filter-toggle .count-badge {
  background: linear-gradient(135deg, #ff6b1a, #ff4500) !important;
  box-shadow: 0 2px 10px rgba(255,107,26,.45) !important;
  font-weight: 800 !important;
}

/* ========== SUBTLE SECTION DIVIDERS ========== */
.section {
  position: relative;
}
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,107,26,.4), transparent);
}

/* ========== ENHANCED HOVER TRANSITIONS ========== */
.cat, .product, .blog-card, .review, .filter-chip {
  will-change: transform, box-shadow;
}

/* ========== FONT WEIGHT REFINEMENTS ========== */
body {
  font-weight: 400 !important;
}
strong, b {
  font-weight: 700 !important;
  color: #f4ede2;
}

/* ========== SECTION-HEAD layout — better spacing ========== */
.section-head {
  margin-bottom: 48px !important;
  padding-bottom: 0;
}
.section-sub {
  color: #b8b3a8 !important;
  font-size: 15.5px !important;
  line-height: 1.65;
  margin-top: 16px !important;
}

/* === Performance: skip enhancement on small mobile === */
@media (max-width: 600px) {
  .section h2 {
    font-size: clamp(32px, 8vw, 44px) !important;
    letter-spacing: -1px !important;
  }
}
