/*
 * YHN 4.0 — Dedicated Landing Pages Redesign Layer
 * Covers:
 *   - /san-pham-ban-chay/ (Bestseller Landing)
 *   - /cham-soc-da        (Skincare Landing)
 *   - /flash-sale/        (Flash Sale Landing)
 *   - /thuong-hieu/       (Brand Directory)
 */

/* =========================================================
   PART A: MERCH LANDINGS (/san-pham-ban-chay/, /cham-soc-da)
   ========================================================= */
body.yhn-redesign-40 .yhn-pl {
  --yhn-rose: var(--yhn-brand);
  --yhn-rose2: var(--yhn-brand-hover);
  --yhn-ink: #1a1715;
  --yhn-muted: #5c5550;
  --yhn-line: #e8e0d8;
  --yhn-cream: var(--yhn-surface);
  --yhn-blush: var(--yhn-brand-soft);
  --yhn-gold: var(--yhn-accent);
}

/* Harmonize all prices, badges, and buttons to Quiet Ruby */
body.yhn-redesign-40 .yhn-pl .yhn-pc-price,
body.yhn-redesign-40 .yhn-pl .yhn-pc-price ins,
body.yhn-redesign-40 .yhn-pl .yhn-pl-podium-price,
body.yhn-redesign-40 .yhn-pl .yhn-pl-podium-price ins {
  color: var(--yhn-brand) !important;
  text-decoration: none !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pc-badge {
  background: var(--yhn-sale) !important;
  color: #ffffff !important;
  border-radius: var(--yhn-radius-sm) !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-primary {
  background: var(--yhn-brand) !important;
  box-shadow: var(--yhn-shadow-brand) !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-primary:hover {
  background: var(--yhn-brand-hover) !important;
}

/* Top 3 Podium: top clearance for rank badges + brand + crisp CTA */
body.yhn-redesign-40 .yhn-pl .yhn-pl-podium {
  padding-top: 24px !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-podium-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-color: var(--yhn-line) !important;
  border-radius: var(--yhn-radius-lg) !important;
  background: linear-gradient(155deg, #ffffff 0%, var(--yhn-surface) 100%) !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-podium-brand {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yhn-accent);
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-podium-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--yhn-radius-pill);
  border: 1px solid var(--yhn-brand-border);
  background: var(--yhn-bg);
  color: var(--yhn-brand) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color var(--yhn-transition), color var(--yhn-transition), border-color var(--yhn-transition);
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-podium-cta:hover {
  background: var(--yhn-brand);
  border-color: var(--yhn-brand);
  color: #ffffff !important;
}

/* Sticky Category Quick-Filter Tabs (Bestseller & Skincare) */
body.yhn-redesign-40 .yhn-pl .yhn-pl-tabs {
  margin: 0 0 34px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--yhn-line);
  border-radius: var(--yhn-radius-pill);
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: var(--yhn-shadow-sm);
  scrollbar-width: none !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-tabs::-webkit-scrollbar {
  display: none !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-tabs a {
  border-color: var(--yhn-line) !important;
  color: var(--yhn-ink) !important;
  font-size: 12px !important;
  padding: 7px 14px !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-tabs a:hover {
  border-color: var(--yhn-brand) !important;
  color: var(--yhn-brand) !important;
  background: var(--yhn-brand-soft) !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-tabs a.is-active {
  background: var(--yhn-brand) !important;
  border-color: var(--yhn-brand) !important;
  color: #ffffff !important;
}

/* Prevent "32 SẢN PHẨM" & "Xem tất cả ->" awkward wrapping */
body.yhn-redesign-40 .yhn-pl .yhn-pl-product-count,
body.yhn-redesign-40 .yhn-pl .yhn-pl-product-count span,
body.yhn-redesign-40 .yhn-pl .yhn-pl-section-head > a {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Skincare 8-card strip: crisp equal baselines & readable count contrast */
body.yhn-redesign-40 .yhn-pl .yhn-pl-category-cards strong {
  color: var(--yhn-ink) !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  min-height: 2.7em;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-category-cards small {
  color: var(--yhn-muted) !important;
  font-size: 11px !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pl-cat-icon {
  background: var(--yhn-brand-soft) !important;
  color: var(--yhn-brand) !important;
}

/* Product Card Action Button Polish */
body.yhn-redesign-40 .yhn-pl .yhn-pc-action {
  border-color: var(--yhn-line) !important;
  color: var(--yhn-brand) !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pc-action:hover {
  border-color: var(--yhn-brand) !important;
  background: var(--yhn-brand) !important;
  color: #ffffff !important;
}

/* FIX: Mobile 2-column product title vertical mid-letter slicing! */
body.yhn-redesign-40 .yhn-pl .yhn-pc-body {
  display: flex !important;
  flex-direction: column !important;
  grid-template-rows: none !important;
  gap: 4px !important;
}

body.yhn-redesign-40 .yhn-pl .yhn-pc-card h3 {
  height: auto !important;
  min-height: 2.9em !important;
  max-height: none !important;
  line-height: 1.45 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  margin: 0 0 4px !important;
}

@media (max-width: 640px) {
  body.yhn-redesign-40 .yhn-pl .yhn-pc-card h3 {
    font-size: 12.5px !important;
    line-height: 1.44 !important;
    min-height: 36px !important;
  }

  /* Subtle right-edge scroll hint on mobile 8-card horizontal swipe strip */
  body.yhn-redesign-40 .yhn-pl .yhn-pl-discovery {
    position: relative;
  }

  body.yhn-redesign-40 .yhn-pl .yhn-pl-tabs {
    border-radius: var(--yhn-radius-md);
    margin-bottom: 24px !important;
  }
}

/* =========================================================
   PART B: BRAND DIRECTORY (/thuong-hieu/) — FULL QUIET RUBY RE-THEME
   Eliminates all unthemed corporate blue (#176ea8) & fixes search icon/diacritic/A-Z UX
   ========================================================= */
body.yhn-redesign-40 .yhn-bd {
  --bd-blue: var(--yhn-brand);
  --bd-ink: var(--yhn-ink);
  --bd-muted: var(--yhn-muted);
  --bd-line: var(--yhn-line);
  --bd-pink: var(--yhn-brand);
  background: var(--yhn-bg) !important;
  color: var(--yhn-ink) !important;
}

/* Vietnamese-safe headings (fixes broken "đế´n" Georgia diacritic fallback!) */
body.yhn-redesign-40 .yhn-bd-hero h1,
body.yhn-redesign-40 .yhn-bd-editorial h2,
body.yhn-redesign-40 .yhn-bd-head h2 {
  font-family: inherit !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--yhn-ink) !important;
}

/* Quiet Ruby Editorial Hero (replaces corporate blue gradient & polygons) */
body.yhn-redesign-40 .yhn-bd-hero {
  border-color: var(--yhn-line) !important;
  background: linear-gradient(115deg, var(--yhn-surface) 0%, #ffffff 52%, var(--yhn-brand-soft) 100%) !important;
  box-shadow: var(--yhn-shadow-sm) !important;
}

body.yhn-redesign-40 .yhn-bd-btn {
  background: var(--yhn-brand) !important;
  box-shadow: var(--yhn-shadow-brand) !important;
}

body.yhn-redesign-40 .yhn-bd-btn:hover {
  background: var(--yhn-brand-hover) !important;
}

body.yhn-redesign-40 .yhn-bd-hero-art {
  background: linear-gradient(155deg, var(--yhn-surface) 0%, var(--yhn-brand-soft) 100%) !important;
}

body.yhn-redesign-40 .yhn-bd-hero-art::before {
  background: var(--yhn-surface-2) !important;
}

body.yhn-redesign-40 .yhn-bd-hero-art::after {
  background: var(--yhn-brand-border) !important;
  opacity: 0.45 !important;
}

body.yhn-redesign-40 .yhn-bd-orb {
  background: var(--yhn-brand-border) !important;
  opacity: 0.6;
}

body.yhn-redesign-40 .yhn-bd-hero-art i {
  border-color: var(--yhn-brand-border) !important;
}

body.yhn-redesign-40 .yhn-bd-hero-art b,
body.yhn-redesign-40 .yhn-bd-editorial-art b {
  color: var(--yhn-brand) !important;
}

body.yhn-redesign-40 .yhn-bd-hero-art small,
body.yhn-redesign-40 .yhn-bd-editorial-art small {
  color: var(--yhn-accent) !important;
}

/* Trust strip icons harmonized */
body.yhn-redesign-40 .yhn-bd .yhn-pl-trust.yhn-bl-trust > div > span {
  background: var(--yhn-brand-soft) !important;
  color: var(--yhn-brand) !important;
}

/* Featured Brands Grid: auto 3x2 if exactly 6 cards (zero orphan slots!) */
@media (min-width: 901px) {
  body.yhn-redesign-40 .yhn-bd-featured-grid:has(> :nth-child(6):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

body.yhn-redesign-40 .yhn-bd-featured-card {
  border-color: var(--yhn-line) !important;
  background: var(--yhn-bg) !important;
}

body.yhn-redesign-40 .yhn-bd-featured-card::before {
  background: linear-gradient(150deg, var(--yhn-brand-soft), transparent 72%) !important;
}

body.yhn-redesign-40 .yhn-bd-featured-card::after {
  background: var(--yhn-surface-2) !important;
  opacity: 0.55;
}

body.yhn-redesign-40 .yhn-bd-card-index {
  color: var(--yhn-brand-border) !important;
}

body.yhn-redesign-40 .yhn-bd-card-kicker {
  color: var(--yhn-accent) !important;
}

body.yhn-redesign-40 .yhn-bd-featured-card:hover {
  border-color: var(--yhn-brand-border) !important;
  box-shadow: var(--yhn-shadow-md) !important;
}

body.yhn-redesign-40 .yhn-bd-head > a {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* FIX: Search Input Magnifying-Glass Icon Overlapping Text + Stable 2-Row Sticky Tools Bar */
body.yhn-redesign-40 .yhn-bd-tools {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  border-color: var(--yhn-line) !important;
  box-shadow: 0 10px 28px rgba(26, 23, 21, 0.08) !important;
}

body.yhn-redesign-40 .yhn-bd-search {
  position: relative !important;
  max-width: 460px !important;
  width: 100% !important;
}

body.yhn-redesign-40 .yhn-bd-search svg {
  left: 15px !important;
  z-index: 2 !important;
  pointer-events: none !important;
  stroke: var(--yhn-muted) !important;
}

html body.yhn-redesign-40 .yhn-bd-search input[type="search"],
html body.yhn-redesign-40 .yhn-bd-search input {
  padding: 0 18px 0 46px !important;
  border: 1px solid var(--yhn-line) !important;
  background: var(--yhn-surface) !important;
  color: var(--yhn-ink) !important;
  box-sizing: border-box !important;
}

html body.yhn-redesign-40 .yhn-bd-search input:focus {
  border-color: var(--yhn-brand) !important;
  background: var(--yhn-bg) !important;
  box-shadow: 0 0 0 3px var(--yhn-brand-soft) !important;
}

/* Stable Full-Width A-Z Bar (Zero Reflow Jump!) + Ruby Active Pills */
body.yhn-redesign-40 .yhn-bd-letters {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  width: 100% !important;
}

body.yhn-redesign-40 .yhn-bd-letters button {
  border-color: var(--yhn-line) !important;
  color: var(--yhn-ink) !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.yhn-redesign-40 .yhn-bd-letters button:hover:not(:disabled),
body.yhn-redesign-40 .yhn-bd-letters button.is-active {
  border-color: var(--yhn-brand) !important;
  background: var(--yhn-brand) !important;
  color: #ffffff !important;
}

/* Directory Brand Cards (Ruby Monogram + Arrow) */
body.yhn-redesign-40 .yhn-bd-list-card:hover {
  border-color: var(--yhn-brand-border) !important;
  box-shadow: var(--yhn-shadow-md) !important;
}

body.yhn-redesign-40 .yhn-bd-monogram {
  background: var(--yhn-brand-soft) !important;
  color: var(--yhn-brand) !important;
}

body.yhn-redesign-40 .yhn-bd-list-arrow {
  color: var(--yhn-brand) !important;
}

body.yhn-redesign-40 .yhn-bd-more {
  border-color: var(--yhn-brand) !important;
  color: var(--yhn-brand) !important;
}

body.yhn-redesign-40 .yhn-bd-more:hover {
  background: var(--yhn-brand) !important;
  color: #ffffff !important;
}

/* Bottom Editorial Banner (Replaces blue with Warm Cream + Ruby) */
body.yhn-redesign-40 .yhn-bd-editorial {
  border-color: var(--yhn-line) !important;
  background: linear-gradient(110deg, var(--yhn-surface) 0%, #ffffff 55%, var(--yhn-brand-soft) 100%) !important;
}

body.yhn-redesign-40 .yhn-bd-editorial-art::before {
  background: var(--yhn-brand-border) !important;
  opacity: 0.55;
}

body.yhn-redesign-40 .yhn-bd-editorial-art i {
  background: var(--yhn-surface-2) !important;
}

/* Mobile Brand Directory: Show ALL A-Z letters clearly (no hidden F-Z!) */
@media (max-width: 640px) {
  body.yhn-redesign-40 .yhn-bd-letters {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
  }

  body.yhn-redesign-40 .yhn-bd-letters button {
    flex: 0 0 auto !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 11px !important;
  }

  body.yhn-redesign-40 .yhn-bd-letters button:first-child {
    width: auto !important;
    padding: 0 10px !important;
  }

  body.yhn-redesign-40 .yhn-bd-result-status {
    display: block !important;
    font-size: 11.5px !important;
  }
}

/* =========================================================
   PART C: INDIVIDUAL BRAND LANDING PAGES (/thuong-hieu/slug)
   Fixes:
     1. Eliminates blue leaks (#1766b4) on "Xem thêm" border & COLLECTION eyebrows.
     2. Replaces neon-pink prices, badges & active page pill with Quiet Ruby / brand harmony.
     3. Fixes mobile pagination "Sau ->" wrapping/clipping.
     4. Switches 12-item catalog grid from 5 cols (3 orphans) to balanced 4 cols (4x3 = 12).
     5. Styles Sort dropdown, active filter chip, fallback price label, NFC headings & FAQ balance.
   ========================================================= */
body.yhn-redesign-40 .yhn-bl {
  --bl-blue: var(--yhn-brand);
  --bl-blue2: var(--yhn-brand-soft);
  --yhn-rose: var(--yhn-brand);
  --yhn-rose2: var(--yhn-brand-hover);
}

/* Vietnamese-safe crisp typography (eliminates Georgia mixed-weight diacritic fallback) */
body.yhn-redesign-40 .yhn-bl-hero h1,
body.yhn-redesign-40 .yhn-bl-story h2,
body.yhn-redesign-40 .yhn-bl-head h2 {
  font-family: inherit !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

/* Fix P0 #1: Remove blue leak on "Xem thêm" outline button & COLLECTION eyebrows */
html body.yhn-redesign-40 .yhn-bl .yhn-bl-more {
  border: 1.5px solid var(--yhn-brand) !important;
  color: var(--yhn-brand) !important;
  background: var(--yhn-bg) !important;
  border-radius: var(--yhn-radius-pill) !important;
  min-height: 44px !important;
  padding: 0 24px !important;
  font-weight: 700 !important;
  transition: background-color var(--yhn-transition), color var(--yhn-transition), transform var(--yhn-transition) !important;
}

html body.yhn-redesign-40 .yhn-bl .yhn-bl-more:hover {
  background: var(--yhn-brand) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

html body.yhn-redesign-40 .yhn-bl .yhn-bl-collection-copy > span {
  color: var(--yhn-accent) !important;
}

/* Brand-specific harmony overrides (The Whoo gold/obsidian, Orihiro forest green) */
html body.yhn-redesign-40 .yhn-bl--the-whoo .yhn-bl-more,
html body.yhn-redesign-40 .yhn-bl--whoo .yhn-bl-more {
  border-color: #806227 !important;
  color: #806227 !important;
}

html body.yhn-redesign-40 .yhn-bl--the-whoo .yhn-bl-more:hover,
html body.yhn-redesign-40 .yhn-bl--whoo .yhn-bl-more:hover {
  background: #1f1916 !important;
  border-color: #1f1916 !important;
  color: #ffffff !important;
}

html body.yhn-redesign-40 .yhn-bl--orihiro .yhn-bl-more {
  border-color: #3d6644 !important;
  color: #3d6644 !important;
}

html body.yhn-redesign-40 .yhn-bl--orihiro .yhn-bl-more:hover {
  background: #3d6644 !important;
  color: #ffffff !important;
}

/* Fix P0 #2: Harmonize neon-pink badges & prices to Quiet Ruby / luxury dark tones */
html body.yhn-redesign-40 .yhn-bl .yhn-pc-price,
html body.yhn-redesign-40 .yhn-bl .yhn-pc-price ins {
  color: var(--yhn-brand) !important;
  text-decoration: none !important;
}

html body.yhn-redesign-40 .yhn-bl .yhn-pc-badge {
  background: var(--yhn-sale) !important;
  color: #ffffff !important;
  border-radius: var(--yhn-radius-sm) !important;
}

html body.yhn-redesign-40 .yhn-bl--the-whoo .yhn-pc-badge,
html body.yhn-redesign-40 .yhn-bl--whoo .yhn-pc-badge {
  background: #2b211a !important;
  color: #f4dfba !important;
}

.yhn-pc-price-fallback {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--yhn-muted);
}

/* Fix P0 #3: Mobile Pagination "Sau ->" wrapping/clipping + Quiet Ruby active pill */
html body.yhn-redesign-40 .yhn-bl .yhn-bl-pages > ul {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
}

html body.yhn-redesign-40 .yhn-bl .yhn-bl-pages a,
html body.yhn-redesign-40 .yhn-bl .yhn-bl-pages span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 38px !important;
  height: 36px !important;
  padding: 0 12px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  border: 1px solid var(--yhn-line) !important;
  border-radius: var(--yhn-radius-md) !important;
  background: var(--yhn-bg) !important;
  color: var(--yhn-ink) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

html body.yhn-redesign-40 .yhn-bl .yhn-bl-pages a:hover {
  border-color: var(--yhn-brand) !important;
  color: var(--yhn-brand) !important;
  background: var(--yhn-brand-soft) !important;
}

html body.yhn-redesign-40 .yhn-bl .yhn-bl-pages .current {
  background: var(--yhn-brand) !important;
  border-color: var(--yhn-brand) !important;
  color: #ffffff !important;
}

html body.yhn-redesign-40 .yhn-bl .yhn-bl-pages .dots {
  border: 0 !important;
  background: transparent !important;
  min-width: 20px !important;
  padding: 0 4px !important;
}

/* Fix P1 #5: Balanced 4-Column Desktop Catalog Grid (12 products = 4x3 with ZERO orphan slots!) */
@media (min-width: 1024px) {
  html body.yhn-redesign-40 .yhn-bl .yhn-bl-product-grid:not(.yhn-bl-product-grid--featured) {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 28px 18px !important;
  }
}

/* Fix P1 #6: Catalog Sort Bar & Active Filter Chip */
.yhn-bl-catalog-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.yhn-bl-clear-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--yhn-radius-pill);
  background: var(--yhn-brand-soft);
  border: 1px solid var(--yhn-brand-border);
  color: var(--yhn-brand) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}

.yhn-bl-clear-chip:hover {
  background: var(--yhn-brand);
  color: #ffffff !important;
}

.yhn-bl-sort-form {
  margin: 0 !important;
}

html body.yhn-redesign-40 .yhn-bl-sort-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  display: block !important;
  margin: 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  line-height: 34px !important;
  padding: 0 30px 0 12px !important;
  border-radius: var(--yhn-radius-md) !important;
  border: 1px solid var(--yhn-line) !important;
  background-color: var(--yhn-bg) !important;
  background-image: none !important;
  color: var(--yhn-ink) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

/* Fix P1 #8 & P2 #11-12: Card title safety, Trust Strip mobile padding & balanced 3-item FAQ */
body.yhn-redesign-40 .yhn-bl .yhn-pc-body {
  display: flex !important;
  flex-direction: column !important;
  grid-template-rows: none !important;
  gap: 4px !important;
}

body.yhn-redesign-40 .yhn-bl .yhn-pc-card h3 {
  height: auto !important;
  min-height: 2.85em !important;
  line-height: 1.44 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  margin: 0 0 4px !important;
}

@media (min-width: 901px) {
  body.yhn-redesign-40 .yhn-bl .yhn-bl-faq-list:has(> details:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.yhn-redesign-40 .yhn-bl .yhn-pl-trust > div {
    padding: 9px 10px !important;
  }

  body.yhn-redesign-40 .yhn-bl .yhn-bl-head--catalog {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  body.yhn-redesign-40 .yhn-bl .yhn-bl-catalog-tools {
    width: 100%;
    justify-content: space-between;
  }
}
