/* Overrides loaded after app.css */

/* --- Make dual-range look exactly like the reference image --- */

/* 1) Hide native track (avoid “two lines”), keep thumbs visible */
input.filter-range {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent !important;
}

input.filter-range::-webkit-slider-runnable-track {
  background: transparent !important;
}

input.filter-range::-moz-range-track {
  background: transparent !important;
}

/* 2) Dark grey thumbs like screenshot */
input.filter-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #555;
  border: 0;
  box-shadow: none;
}

input.filter-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #555;
  border: 0;
  box-shadow: none;
}

/* 3) Grey “value boxes” + layout helpers (used by deals sidebar markup) */
.gfg-range-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.gfg-range-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.gfg-range-field label {
  font-size: 14px;
  color: rgba(45, 39, 36, 0.8);
}

.gfg-range-box {
  width: 100%;
  border-radius: 10px;
  background: #e6e6e6;
  padding: 10px 12px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  border: 0;
  outline: none;
}

/* Ion.RangeSlider: match GFG look */
.sd-ion.irs {
  height: 20px;
}
.sd-ion .irs-line {
  height: 6px;
  top: 7px;
  background: #e4e4e4;
  border-radius: 9999px;
}
.sd-ion .irs-bar {
  height: 6px;
  top: 7px;
  background: #01940b;
  border-radius: 9999px;
}
.sd-ion .irs-handle {
  top: 0px;
  width: 18px;
  height: 18px;
}
.sd-ion .irs-handle i:first-child {
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  background: #555;
  border: 0;
  box-shadow: none;
}
.sd-ion .irs-min,
.sd-ion .irs-max,
.sd-ion .irs-from,
.sd-ion .irs-to,
.sd-ion .irs-single {
  display: none !important;
}

/* Prevent background scroll when facet modal open */
body.sd-modal-open {
  overflow: hidden;
}

/*
 * Header: shipped app.css was built without md:flex / md:hidden used only in header.php.
 * These rules restore desktop horizontal nav and hide the mobile menu on wide viewports.
 */
.bk-header-nav-desktop {
  display: none;
}
@media (min-width: 768px) {
  .bk-header-nav-desktop {
    display: flex;
  }
}

@media (min-width: 768px) {
  .bk-header-nav-mobile {
    display: none !important;
  }
}

body.bk-drawer-open-scroll-lock {
  overflow: hidden;
}

@media (min-width: 768px) {
  #bk-mobile-drawer-root {
    display: none !important;
  }
}

/* Hamburger touch target + icon (Tailwind build may omit h-11 / h-3.5) */
.bk-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: #2d2724;
  cursor: pointer;
}
.bk-hamburger-btn:hover {
  background: rgba(231, 224, 216, 0.65);
}
.bk-hamburger-btn:focus {
  outline: none;
}
.bk-hamburger-btn:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #c45c3e;
}

.bk-drawer-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #5c534e;
  cursor: pointer;
}
.bk-drawer-close-btn:hover {
  background: rgba(231, 224, 216, 0.9);
  color: #2d2724;
}

.bk-hamburger-icon {
  display: flex;
  height: 14px;
  width: 20px;
  flex-direction: column;
  justify-content: space-between;
}
.bk-hamburger-icon > span {
  height: 2px;
  width: 100%;
  border-radius: 9999px;
  background: #2d2724;
}

/* Mobile header row: hamburger | centered logo | spacer */
@media (max-width: 767px) {
  .bk-header-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .bk-header-logo {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
  }
  .bk-header-mobile-spacer {
    width: 2.75rem;
    flex-shrink: 0;
    height: 1px;
  }
}
@media (min-width: 768px) {
  .bk-header-row {
    justify-content: space-between;
  }
  .bk-header-logo {
    flex: 0 0 auto;
    text-align: left;
  }
  .bk-header-mobile-spacer {
    display: none !important;
  }
}

/* Deals page: mobile filter drawer (< lg); desktop keeps sidebar in flow */
/* Shipped app.css may omit lg:hidden / lg:block — force correct breakpoints here */
@media (min-width: 1024px) {
  .sd-deals-mobile-only {
    display: none !important;
  }

  .sd-deals-filters-mobile-header {
    display: none !important;
  }

  .sd-deals-filters-sky-banner {
    display: block !important;
  }
}

@media (max-width: 1023px) {
  .sd-deals-filters-sky-banner {
    display: none !important;
  }
}

.sd-deals-filter-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(15, 23, 42, 0.45);
}

body.sd-deals-filter-drawer-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  #sd-cols-toolbar {
    display: none !important;
  }

  .sd-deals-toolbar-sort {
    min-width: 0 !important;
    width: 100%;
    max-width: 12rem;
  }

  .sd-deals-mobile-bar {
    z-index: 38;
  }

  #sd-deals-page.sd-deals-filters-open .sd-deals-filter-backdrop {
    display: block;
  }

  #sd-deals-filters-aside {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(22rem, 90vw);
    max-width: 100%;
    z-index: 60;
    padding: env(safe-area-inset-top, 0) 0 env(safe-area-inset-bottom, 0)
      env(safe-area-inset-left, 0);
    box-sizing: border-box;
    pointer-events: none;
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.28s ease;
    box-shadow: none;
  }

  #sd-deals-page.sd-deals-filters-open #sd-deals-filters-aside {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    box-shadow: 6px 0 28px rgba(15, 23, 42, 0.18);
  }

  #sd-deals-filters-aside .sd-deals-filters-drawer-inner {
    height: 100%;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    border-width: 0 1px 0 0;
  }
}

@media (min-width: 1024px) {
  .sd-deals-toolbar {
    display: inline-flex;
    flex-direction: row;
    align-items: stretch;
  }

  #sd-cols-toolbar.sd-cols-suppressed {
    display: none !important;
  }

  #sd-cols-toolbar:not(.sd-cols-suppressed) {
    display: flex !important;
  }

  .sd-deals-filter-backdrop {
    display: none !important;
  }

  #sd-deals-filters-aside {
    position: static !important;
    transform: none !important;
    width: auto;
    max-width: none;
    padding: 0 !important;
    pointer-events: auto !important;
    box-shadow: none !important;
  }

  #sd-deals-filters-aside .sd-deals-filters-drawer-inner {
    height: auto;
    max-height: none;
    border-radius: 0.5rem;
    border-width: 1px;
  }
}

/* =====================================================================
 * Home page — AK Galleria-style landing (discount-focused).
 * Defined here because Tailwind's pre-built bundle (app.css) doesn't ship
 * every utility class used by the new sections.
 * ===================================================================== */

/* Header desktop search input visible >= md */
.bk-header-search {
  display: none;
}
@media (min-width: 768px) {
  .bk-header-search {
    display: flex;
    flex: 1 1 0;
    max-width: 28rem;
    margin: 0 1rem;
  }
}

/* Header utility bar (above main nav) */
.bk-utility-bar {
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- Hero carousel ---------- */
.bk-hero {
  position: relative;
  isolation: isolate;
  background: #1a1715; /* fallback if no slide is active */
}

/* Slide backgrounds — defined explicitly because Tailwind's pre-built
 * bundle doesn't ship `bg-gradient-to-br from-* via-* to-*` for these
 * arbitrary palette stops. */
.bk-hero-bg-1 {
  background: linear-gradient(135deg, #c45c3e 0%, #a84d32 45%, #4c1d22 100%);
}
.bk-hero-bg-2 {
  background: linear-gradient(135deg, #047857 0%, #065f46 45%, #0f172a 100%);
}
.bk-hero-bg-3 {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 45%, #0f172a 100%);
}

.bk-hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.bk-hero-title {
  margin-top: 0.75rem;
  max-width: 48rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.bk-hero-sub {
  margin-top: 1rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
@media (min-width: 640px) {
  .bk-hero-sub { font-size: 1.125rem; }
}
.bk-hero-ctas {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.bk-hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #0f0d0c;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}
.bk-hero-cta-primary:hover {
  background: #f3efe8;
  transform: translateY(-1px);
}
.bk-hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.bk-hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}
.bk-hero-track {
  position: relative;
  height: clamp(360px, 50vh, 540px);
}
.bk-hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.bk-hero-slide[data-bk-hero-slide="0"] {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.bk-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  z-index: 2;
}
.bk-hero-inner {
  width: 100%;
}
.bk-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  color: #1a1714;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease, transform 0.15s ease;
}
.bk-hero-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}
.bk-hero-arrow-prev { left: 1rem; }
.bk-hero-arrow-next { right: 1rem; }
@media (max-width: 639px) {
  .bk-hero-arrow {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
  }
  .bk-hero-arrow-prev { left: 0.5rem; }
  .bk-hero-arrow-next { right: 0.5rem; }
}

.bk-hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.bk-hero-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.bk-hero-dot:hover { background: rgba(255, 255, 255, 0.85); }
.bk-hero-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* ---------- Audience tabs ---------- */
.bk-aud-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 9999px;
  background: #f1ece4;
  border: 1px solid #e8e2d6;
}
.bk-aud-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a423d;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.bk-aud-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #1a1714;
}
.bk-aud-tab.is-active {
  background: #1a1714;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.bk-aud-panel.hidden {
  display: none !important;
}

/* ---------- Brand strip (horizontal scroll) ---------- */
.bk-brand-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.bk-brand-strip::-webkit-scrollbar {
  height: 8px;
}
.bk-brand-strip::-webkit-scrollbar-thumb {
  background: rgba(45, 39, 36, 0.18);
  border-radius: 9999px;
}
.bk-brand-strip-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 8.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #e8e2d6;
  border-radius: 1rem;
  background: #fff;
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.bk-brand-strip-item:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 92, 62, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.bk-brand-strip-item img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  object-fit: cover;
  background: #f5f2ed;
}
.bk-brand-strip-fallback {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  background: #f1ece4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #2d2724;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.bk-brand-strip-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1714;
  text-align: center;
  line-height: 1.2;
}

/* ---------- Discount tier cards (3 across) ---------- */
.bk-tier-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: 1rem;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 6.5rem;
}
.bk-tier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.15);
}
.bk-tier-text { min-width: 0; }
.bk-tier-sub {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.78;
}
.bk-tier-title {
  margin-top: 0.25rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.bk-tier-arrow {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease;
}
.bk-tier-card:hover .bk-tier-arrow { transform: scale(1.08); }

/* Emerald (Up to 30%) */
.bk-tier-emerald {
  background: #ecfdf5;
  color: #064e3b;
  box-shadow: inset 0 0 0 1px #a7f3d0;
}
.bk-tier-emerald .bk-tier-arrow { background: #059669; }

/* Amber (30 – 50%) */
.bk-tier-amber {
  background: #fffbeb;
  color: #78350f;
  box-shadow: inset 0 0 0 1px #fde68a;
}
.bk-tier-amber .bk-tier-arrow { background: #d97706; }

/* Rose / accent (50%+) */
.bk-tier-rose {
  background: #fff1f2;
  color: #881337;
  box-shadow: inset 0 0 0 1px #fecdd3;
}
.bk-tier-rose .bk-tier-arrow { background: #c45c3e; }

/* ---------- Mega promo banner ---------- */
.bk-promo-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  border-radius: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(120deg, #c45c3e 0%, #a84d32 35%, #1a1715 100%);
  background-size: 200% 200%;
  animation: bk-shimmer 12s ease infinite;
  box-shadow: 0 20px 35px -10px rgba(196, 92, 62, 0.35);
}
@media (min-width: 640px) {
  .bk-promo-banner {
    flex-direction: row;
    align-items: center;
    padding: 2.5rem;
  }
}
@media (min-width: 1024px) {
  .bk-promo-banner { padding: 3rem; }
}
.bk-promo-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.bk-promo-headline {
  margin-top: 0.25rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.bk-promo-sub {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}
@media (min-width: 640px) {
  .bk-promo-sub { font-size: 1rem; }
}
.bk-promo-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  background: #ffffff;
  color: #c45c3e;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease, transform 0.15s ease;
}
.bk-promo-cta:hover {
  background: #f3efe8;
  transform: translateY(-1px);
}
@keyframes bk-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =====================================================================
 * Header — hover mega-menu (Women / Men / Kids)
 * ===================================================================== */
.bk-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.bk-nav-item .bk-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  z-index: 50;
  width: min(38rem, 90vw);
  padding: 1rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 24px 50px -12px rgba(15, 13, 12, 0.25);
  border: 1px solid #e8dfd0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s, transform 0.18s ease;
}
.bk-nav-item.has-mega:hover .bk-mega-menu,
.bk-nav-item.has-mega:focus-within .bk-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.bk-mega-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}
.bk-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
}
.bk-mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: #2d2724;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.12s ease, color 0.12s ease;
}
.bk-mega-link:hover {
  background: #f5f0e8;
  color: #c45c3e;
}
.bk-mega-link-arrow {
  opacity: 0;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.bk-mega-link:hover .bk-mega-link-arrow {
  opacity: 1;
  transform: translateX(0);
}
.bk-mega-footer {
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid #f1ece4;
  text-align: right;
}
.bk-mega-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: #c45c3e;
  text-decoration: none;
}
.bk-mega-cta:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .bk-mega-menu { display: none !important; }
}

/* =====================================================================
 * Deals page — sticky filter sidebar on desktop.
 * Tailwind utilities `lg:sticky lg:top-4 lg:max-h-[calc(100vh-2rem)]
 * lg:overflow-y-auto` are missing from the shipped app.css bundle, so
 * we force the behavior here. Inner wrapper sticks; outer <aside> stays
 * in flow so it occupies its column width.
 * ===================================================================== */
@media (min-width: 1024px) {
  #sd-deals-filters-aside .sd-deals-filters-drawer-inner {
    position: sticky;
    /* Sit below the sticky header (utility bar + main row ≈ 5rem) */
    top: 5rem;
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* Scrollbar styling so it doesn't look jarring */
  #sd-deals-filters-aside .sd-deals-filters-drawer-inner::-webkit-scrollbar {
    width: 8px;
  }
  #sd-deals-filters-aside .sd-deals-filters-drawer-inner::-webkit-scrollbar-thumb {
    background: rgba(45, 39, 36, 0.18);
    border-radius: 9999px;
  }
  #sd-deals-filters-aside .sd-deals-filters-drawer-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 39, 36, 0.32);
  }
}

/* =====================================================================
 * Button colour safety net.
 * Hard fallbacks that always resolve, even if Tailwind doesn't generate
 * the utility class (e.g. dynamic content, CDN race, build mismatch).
 * These rules use raw hex values so they NEVER produce white-on-white.
 * ===================================================================== */

/* Solid dark buttons (primary CTAs) */
.bg-ink,
.bg-ink-950,
.bg-ink-900,
.bg-ink-light,
.bg-ink-lighter {
  background-color: #0f0d0c;
}
.bg-ink-900 { background-color: #1a1715; }
.bg-ink-light { background-color: #1a1715; }
.bg-ink-800,
.bg-ink-lighter { background-color: #2d2724; }

.hover\:bg-ink-900:hover { background-color: #1a1715 !important; }
.hover\:bg-ink-800:hover { background-color: #2d2724 !important; }
.hover\:bg-ink:hover     { background-color: #0f0d0c !important; }

/* Accent (terracotta) CTAs */
.bg-accent          { background-color: #c45c3e; }
.bg-accent-hover,
.hover\:bg-accent-hover:hover { background-color: #a84d32 !important; }
.hover\:bg-accent:hover { background-color: #c45c3e !important; }
.bg-accent-muted    { background-color: #f0e0db; }

/* Sand backgrounds */
.bg-sand,
.bg-sand-50         { background-color: #faf8f5; }
.bg-sand-dark,
.bg-sand-100        { background-color: #f3efe8; }
.bg-sand-darker,
.bg-sand-200        { background-color: #e8dfd0; }

/* Hover variants of sand */
.hover\:bg-sand:hover,
.hover\:bg-sand-50:hover  { background-color: #faf8f5 !important; }
.hover\:bg-sand-100:hover { background-color: #f3efe8 !important; }
.hover\:bg-sand-200:hover { background-color: #e8dfd0 !important; }

/* Text colours */
.text-ink,
.text-ink-950 { color: #0f0d0c; }
.text-ink-900,
.text-ink-light { color: #1a1715; }
.text-ink-800,
.text-ink-lighter { color: #2d2724; }
.text-ink-700 { color: #3d3530; }
.text-ink-600 { color: #5c534e; }

.text-sand,
.text-sand-50  { color: #faf8f5; }
.text-sand-100 { color: #f3efe8; }
.text-sand-200 { color: #e8dfd0; }
.text-sand-dark   { color: #f3efe8; }
.text-sand-darker { color: #e8dfd0; }

.text-accent { color: #c45c3e; }
.hover\:text-accent:hover { color: #c45c3e !important; }
.text-white  { color: #ffffff; }
.hover\:text-white:hover  { color: #ffffff !important; }
.hover\:text-ink:hover    { color: #0f0d0c !important; }

/* Border colours */
.border-ink,
.border-ink-950 { border-color: #0f0d0c; }
.border-sand-darker,
.border-sand-200 { border-color: #e8dfd0; }
.border-accent  { border-color: #c45c3e; }
.border-sand    { border-color: #faf8f5; }

/* =====================================================================
 * Guard against transparent buttons.
 * Any <button> or <a class="...bg-accent...text-white"> should have BOTH
 * background and text resolve. If a child anchor or button has no explicit
 * background and inherits white, give it sensible defaults.
 * ===================================================================== */
button { cursor: pointer; }
