.bt-header {
  background: #131921;
  color: #fff;
  position: relative;
  z-index: 1050;
}

.bt-header > .bt-shell--header > .row,
.bt-header > .bt-shell--header > div[class*="d-flex"] {
  min-height: 0;
}

.bt-header .bt-logo {
  max-height: 40px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

:root {
  --bt-accent: #ff8500;
  --bt-accent-rgb: 255, 133, 0;
  --bt-success: #10b981;
  --bt-success-rgb: 16, 185, 129;
  --bt-danger: #ef4444;
  --bt-danger-rgb: 239, 68, 68;
  --bt-info: #3b82f6;
  --bt-info-rgb: 59, 130, 246;
  --bt-shell-max-width: 1720px;
  --bt-shell-padding: 0.6rem;
  --bt-content-gap-x: 0.7rem;
  --bt-content-gap-y: 0.65rem;
  --bt-card-padding: 0.65rem;
  --bt-font-base: 0.84rem;
  --bt-font-small: 0.76rem;
  --bt-font-xs: 0.7rem;
  --bt-surface-tint: #fbfbfd;
  --bt-border-soft: rgba(15, 23, 42, 0.08);
  --bt-shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.04);
  --bt-shadow-lift: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --bt-radius-md: 0.75rem;
  --bt-radius-lg: 1rem;
  --bt-radius-xl: 1.25rem;
}

body {
  font-size: var(--bt-font-base);
  line-height: 1.38;
  background: var(--bt-surface-tint);
}

html[data-theme="dark"] body {
  background: #0b0e12 !important;
}

.bt-home-section-block {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--bt-border-soft);
  border-radius: var(--bt-radius-lg);
  padding: 0.8rem 0.85rem 0.85rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--bt-shadow-soft);
  backdrop-filter: blur(4px);
}

html[data-theme="dark"] .bt-home-section-block {
  background: #13181f;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 14px rgba(0, 0, 0, 0.2);
}

.bt-home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.bt-home-section-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.bt-home-section-title-ico {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.22), rgba(var(--bt-accent-rgb), 0.06));
  color: var(--bt-accent);
  font-size: 0.95rem;
}

html[data-theme="dark"] .bt-home-section-title-ico {
  background: linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.28), rgba(var(--bt-accent-rgb), 0.1));
}

.bt-home-section-title-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.bt-home-section-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bt-accent);
}

.bt-home-section-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.bt-home-section-sub {
  font-size: 0.72rem;
  color: #6b7280;
  margin: 0;
}

html[data-theme="dark"] .bt-home-section-sub {
  color: rgba(229, 231, 235, 0.72);
}

.bt-home-section-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}

.bt-hscroll-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  padding: 0.12rem;
}

html[data-theme="dark"] .bt-hscroll-controls {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.bt-hscroll-btn {
  width: 26px;
  height: 26px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #475569;
  font-weight: 700;
  line-height: 1;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

html[data-theme="dark"] .bt-hscroll-btn {
  color: #cbd5e1;
}

.bt-hscroll-btn:hover,
.bt-hscroll-btn:focus-visible {
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  outline: none;
}

html[data-theme="dark"] .bt-hscroll-btn:hover,
html[data-theme="dark"] .bt-hscroll-btn:focus-visible {
  background: #1d232b;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.bt-view-all-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(var(--bt-accent-rgb), 0.08);
  color: var(--bt-accent);
  text-decoration: none;
  transition: background-color 120ms ease, transform 120ms ease;
}

.bt-view-all-link:hover,
.bt-view-all-link:focus-visible {
  background: rgba(var(--bt-accent-rgb), 0.16);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--bt-accent);
}

.bt-hscroll {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.25) transparent;
}

.bt-hscroll::-webkit-scrollbar {
  height: 6px;
}

.bt-hscroll::-webkit-scrollbar-track {
  background: transparent;
}

.bt-hscroll::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.22);
  border-radius: 999px;
}

html[data-theme="dark"] .bt-hscroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
}

.bt-hscroll-item {
  flex: 0 0 auto;
  width: 210px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .bt-hscroll-item {
    width: 230px;
  }
}

@media (min-width: 1200px) {
  .bt-hscroll-item {
    width: 240px;
  }
}

.bt-product-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--bt-border-soft);
  border-radius: var(--bt-radius-md);
  box-shadow: var(--bt-shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

html[data-theme="dark"] .bt-product-card {
  background: #151a20;
  border-color: rgba(255, 255, 255, 0.08);
}

.bt-product-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--bt-accent-rgb), 0.7), rgba(254, 195, 32, 0.65), rgba(124, 77, 255, 0.55), rgba(var(--bt-accent-rgb), 0.7));
  background-size: 220% 220%;
  filter: blur(18px);
  opacity: 0;
  transition: opacity 180ms ease;
  z-index: 0;
  pointer-events: none;
}

.bt-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--bt-accent-rgb), 0.35);
  box-shadow: var(--bt-shadow-lift);
}

.bt-product-card:hover::before {
  opacity: 0.42;
  animation: bt-product-glow 2.6s linear infinite;
}

html[data-theme="dark"] .bt-fbt-section .bt-product-card {
  background: linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.16), rgba(var(--bt-accent-rgb), 0.06));
  border-color: rgba(var(--bt-accent-rgb), 0.4);
}

html[data-theme="dark"] .bt-fbt-section .bt-product-card:hover {
  border-color: rgba(var(--bt-accent-rgb), 0.7);
  box-shadow: 0 8px 22px rgba(var(--bt-accent-rgb), 0.18);
}

html[data-theme="dark"] .bt-fbt-section .bt-product-card .fw-semibold,
html[data-theme="dark"] .bt-fbt-section .bt-product-card .bt-price {
  color: var(--bt-accent);
}

html[data-theme="dark"] .bt-fbt-section .bt-product-card .text-muted,
html[data-theme="dark"] .bt-fbt-section .bt-product-card .small {
  color: rgba(255, 255, 255, 0.65) !important;
}

@keyframes bt-product-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bt-product-card > .card-body,
.bt-product-card > .card-img-top,
.bt-product-card > .bt-card-img {
  position: relative;
  z-index: 1;
}

.bt-card-img {
  width: 100%;
  max-height: 200px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f7f8fb;
  padding: 0.6rem;
  display: block;
  border-radius: calc(var(--bt-radius-md) - 1px) calc(var(--bt-radius-md) - 1px) 0 0;
  transition: transform 200ms ease;
}

html[data-theme="dark"] .bt-card-img {
  background: #1b2027;
}

.bt-product-card:hover .bt-card-img {
  transform: scale(1.02);
}

.bt-image-wrap {
  position: relative;
  overflow: hidden;
}

.bt-image-overlay-actions {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.bt-product-card:hover .bt-image-overlay-actions,
.bt-image-wrap:focus-within .bt-image-overlay-actions {
  opacity: 1;
  transform: translateX(0);
}

.bt-quick-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease;
}

.bt-quick-btn .bt-icon {
  width: 0.85rem;
  height: 0.85rem;
}

.bt-quick-btn:hover,
.bt-quick-btn:focus-visible {
  transform: translateY(-1px) scale(1.04);
  outline: none;
}

.bt-quick-btn.bt-quick-btn--fav {
  color: #e11d48;
}

.bt-quick-btn.bt-quick-btn--fav.is-on {
  background: #fff1f2;
  border-color: rgba(225, 29, 72, 0.25);
  color: #e11d48;
}

html[data-theme="dark"] .bt-quick-btn {
  background: rgba(20, 26, 33, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .bt-quick-btn.bt-quick-btn--fav.is-on {
  background: rgba(225, 29, 72, 0.14);
  border-color: rgba(225, 29, 72, 0.35);
  color: #fb7185;
}

.bt-product-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.18rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.bt-product-badge--new {
  background: var(--bt-info);
  color: #ffffff;
}

.bt-product-badge--sale {
  background: var(--bt-danger);
  color: #ffffff;
}

.bt-product-badge--hot {
  background: var(--bt-success);
  color: #ffffff;
}

.bt-product-card .card-body {
  padding: 0.6rem 0.65rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bt-product-card .bt-product-title {
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.22;
  margin: 0;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bt-product-card .bt-product-desc {
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
}

html[data-theme="dark"] .bt-product-card .bt-product-desc {
  color: rgba(226, 232, 240, 0.68);
}

.bt-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.bt-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem;
  font-weight: 800;
  color: #0f172a;
  font-size: 0.9rem;
}

html[data-theme="dark"] .bt-product-price {
  color: #ffffff;
}

.bt-product-price-strike {
  font-weight: 500;
  font-size: 0.7rem;
  color: #94a3b8;
  text-decoration: line-through;
}

html[data-theme="dark"] .bt-product-price-strike {
  color: rgba(203, 213, 225, 0.7);
}

.bt-product-discount {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--bt-success);
  background: rgba(var(--bt-success-rgb), 0.12);
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.bt-product-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.bt-product-actions-row .btn {
  flex: 0 0 auto;
  z-index: 2;
}

.bt-track-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(540px 220px at 95% -20%, rgba(var(--bt-accent-rgb), 0.18), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.4);
  border-radius: var(--bt-radius-lg);
  padding: 0.9rem 1rem;
  box-shadow: var(--bt-shadow-soft);
  margin-bottom: 0.85rem;
}

html[data-theme="dark"] .bt-track-card {
  background:
    radial-gradient(540px 220px at 95% -20%, rgba(var(--bt-accent-rgb), 0.28), transparent 60%),
    linear-gradient(135deg, #05080c 0%, #111924 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

.bt-track-card::after {
  content: "📦";
  position: absolute;
  right: 1rem;
  bottom: -0.7rem;
  font-size: 4.5rem;
  opacity: 0.08;
  pointer-events: none;
}

.bt-track-card .form-control,
.bt-track-card .input-group-text,
.bt-track-card .input-group .btn {
  border-color: rgba(255, 255, 255, 0.16);
}

.bt-track-card .form-control {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
}

html[data-theme="dark"] .bt-track-card .form-control {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.14);
}

.bt-hero-carousel {
  border-radius: var(--bt-radius-xl);
  overflow: hidden;
  margin-bottom: 0.85rem;
  border: 1px solid var(--bt-border-soft);
  box-shadow: var(--bt-shadow-lift);
}

.bt-hero-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.6;
  transition: opacity 160ms ease, width 180ms ease, background-color 160ms ease;
}

.bt-hero-carousel .carousel-indicators [data-bs-target].active {
  opacity: 1;
  width: 22px;
  background: var(--bt-accent);
}

.bt-hero-slide {
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.bt-hero-overlay {
  min-height: 360px;
  background:
    radial-gradient(700px 360px at 85% 30%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 60%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.35) 80%, rgba(255, 255, 255, 0) 100%);
}

html[data-theme="dark"] .bt-hero-overlay {
  background:
    radial-gradient(700px 360px at 85% 30%, rgba(15, 23, 42, 0.3), rgba(15, 23, 42, 0) 60%),
    linear-gradient(90deg, rgba(10, 14, 19, 0.96) 0%, rgba(10, 14, 19, 0.78) 50%, rgba(10, 14, 19, 0.4) 80%, rgba(10, 14, 19, 0) 100%);
}

.bt-hero-inner {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0));
}

.bt-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(var(--bt-accent-rgb), 0.14);
  color: var(--bt-accent);
  margin-bottom: 0.7rem;
}

html[data-theme="dark"] .bt-hero-kicker {
  background: rgba(var(--bt-accent-rgb), 0.22);
}

.bt-hero-title {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 0.45rem 0;
  color: #0f172a;
}

html[data-theme="dark"] .bt-hero-title {
  color: #ffffff;
}

.bt-hero-subtitle {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #475569;
  margin: 0 0 0.9rem 0;
  max-width: 38rem;
}

html[data-theme="dark"] .bt-hero-subtitle {
  color: rgba(226, 232, 240, 0.82);
}

.bt-hero-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--bt-radius-lg);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  padding: 0.85rem;
}

html[data-theme="dark"] .bt-hero-card {
  background: rgba(20, 26, 33, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.bt-hero-card .bt-mini-tile {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 0.7rem;
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

html[data-theme="dark"] .bt-hero-card .bt-mini-tile {
  background: #1a2028;
  border-color: rgba(255, 255, 255, 0.06);
}

.bt-hero-card .bt-mini-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--bt-accent-rgb), 0.32);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.bt-mini-img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: #f7f8fb;
  padding: 0.4rem;
  display: block;
}

html[data-theme="dark"] .bt-mini-img {
  background: #1b2027;
}

.bt-category-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--bt-border-soft);
  border-radius: var(--bt-radius-md);
  box-shadow: var(--bt-shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

html[data-theme="dark"] .bt-category-card {
  background: #151a20;
  border-color: rgba(255, 255, 255, 0.08);
}

.bt-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--bt-accent-rgb), 0.3);
  box-shadow: var(--bt-shadow-lift);
}

.bt-cat-img-wrap {
  height: 140px;
  overflow: hidden;
  background: #f7f8fb;
  border-radius: calc(var(--bt-radius-md) - 1px) calc(var(--bt-radius-md) - 1px) 0 0;
  transition: transform 200ms ease;
}

html[data-theme="dark"] .bt-cat-img-wrap {
  background: #1b2027;
}

.bt-category-card:hover .bt-cat-img-wrap {
  transform: scale(1.03);
}

.bt-cat-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.bt-category-card .card-body {
  padding: 0.6rem 0.7rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.bt-cat-title {
  font-weight: 700;
  font-size: 0.86rem;
  margin: 0;
  line-height: 1.2;
  color: inherit;
}

.bt-cat-cta {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bt-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  transition: transform 120ms ease;
}

.bt-category-card:hover .bt-cat-cta {
  transform: translateX(2px);
}

.bt-featured-banner {
  position: relative;
  border-radius: var(--bt-radius-xl);
  overflow: hidden;
  border: 1px solid var(--bt-border-soft);
  background:
    radial-gradient(600px 260px at 100% 20%, rgba(124, 77, 255, 0.12), transparent 55%),
    linear-gradient(120deg, rgba(var(--bt-accent-rgb), 0.22), rgba(var(--bt-accent-rgb), 0.05));
  padding: 1.15rem 1.1rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--bt-shadow-soft);
}

.bt-featured-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.bt-featured-banner--img {
  background-size: cover;
  background-position: center;
}

.bt-featured-banner--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.bt-featured-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bt-featured-banner-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--bt-accent);
  margin-bottom: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.bt-featured-banner--img .bt-featured-banner-kicker,
.bt-featured-banner--img .bt-featured-banner-title,
.bt-featured-banner--img .bt-featured-banner-subtitle {
  color: #ffffff;
}

.bt-featured-banner-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.18rem 0;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.bt-featured-banner-subtitle {
  font-size: 0.84rem;
  margin: 0;
  opacity: 0.88;
}

.bt-newsletter {
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(var(--bt-accent-rgb), 0.18), transparent 55%),
    linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.1), #ffffff);
  border-radius: var(--bt-radius-xl);
  border: 1px solid var(--bt-border-soft);
  padding: 1rem 1rem 1.05rem 1rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--bt-shadow-soft);
  position: relative;
  overflow: hidden;
}

.bt-newsletter::after {
  content: "✉️";
  position: absolute;
  right: 0.6rem;
  bottom: -0.8rem;
  font-size: 5rem;
  opacity: 0.08;
  pointer-events: none;
}

html[data-theme="dark"] .bt-newsletter {
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(var(--bt-accent-rgb), 0.28), transparent 55%),
    linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.22), #0b0f15);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .bt-newsletter-copy-title,
html[data-theme="dark"] .bt-newsletter-copy-sub {
  color: #e5e7eb;
}

.bt-newsletter--img {
  background-size: cover;
  background-position: center;
}

.bt-newsletter--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.55) 50%, rgba(17, 24, 39, 0.35));
  pointer-events: none;
}

.bt-newsletter--img .bt-newsletter-inner {
  position: relative;
  z-index: 1;
}

.bt-newsletter--img .bt-newsletter-copy-title,
.bt-newsletter--img .bt-newsletter-copy-sub {
  color: #111827;
}

html[data-theme="dark"] .bt-newsletter--img::after {
  background:
    linear-gradient(135deg, rgba(11, 15, 21, 0.78), rgba(11, 15, 21, 0.55) 50%, rgba(11, 15, 21, 0.35));
}

html[data-theme="dark"] .bt-newsletter--img .bt-newsletter-copy-title,
html[data-theme="dark"] .bt-newsletter--img .bt-newsletter-copy-sub {
  color: #f3f4f6;
}

.bt-featured-cta {
  position: relative;
  border-radius: var(--bt-radius-lg);
  overflow: hidden;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(var(--bt-accent-rgb), 0.14), transparent 55%),
    linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.12), rgba(255, 255, 255, 0.98));
  border: 1px solid var(--bt-border-soft);
  box-shadow: var(--bt-shadow-soft);
  margin-bottom: 0.85rem;
}

html[data-theme="dark"] .bt-featured-cta {
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(var(--bt-accent-rgb), 0.24), transparent 55%),
    linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.22), rgba(17, 24, 39, 0.95));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.08);
}

.bt-featured-cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.66rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(var(--bt-accent-rgb), 0.14);
  color: var(--bt-accent);
  margin-bottom: 0.5rem;
}

.bt-featured-cta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
  backdrop-filter: blur(3px);
}

html[data-theme="dark"] .bt-featured-cta-item {
  background: rgba(17, 24, 39, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
}

.bt-featured-cta-item:hover,
.bt-featured-cta-item:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
  border-color: rgba(var(--bt-accent-rgb), 0.28);
  background: #ffffff;
}

html[data-theme="dark"] .bt-featured-cta-item:hover,
html[data-theme="dark"] .bt-featured-cta-item:focus {
  border-color: rgba(var(--bt-accent-rgb), 0.35);
  background: #1b2129;
}

.bt-featured-cta-thumb-wrap {
  flex: 0 0 auto;
}

.bt-featured-cta-thumb {
  width: 58px;
  height: 58px;
  border-radius: 0.8rem;
  object-fit: cover;
  background: rgba(17, 24, 39, 0.06);
  display: block;
}

.bt-featured-cta-thumb--vendor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #344054;
}

html[data-theme="dark"] .bt-featured-cta-thumb--vendor {
  color: #e5e7eb;
}

.bt-featured-cta--vendors {
  background:
    radial-gradient(420px 200px at 0% 100%, rgba(35, 47, 62, 0.14), transparent 55%),
    linear-gradient(135deg, rgba(35, 47, 62, 0.06), rgba(var(--bt-accent-rgb), 0.14));
}

html[data-theme="dark"] .bt-featured-cta--vendors {
  background:
    radial-gradient(420px 200px at 0% 100%, rgba(17, 24, 39, 0.6), transparent 55%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(var(--bt-accent-rgb), 0.22));
}

.bt-home-filter-bar {
  position: relative;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: var(--bt-shadow-soft);
  border-radius: var(--bt-radius-lg);
  margin-bottom: 0.75rem;
}

html[data-theme="dark"] .bt-home-filter-bar {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.bt-home-filter-bar h2 {
  font-size: 0.96rem;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.bt-new-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: var(--bt-info);
  color: #ffffff;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(var(--bt-info-rgb), 0.3);
}


.bt-shell {
  width: 100%;
  max-width: var(--bt-shell-max-width);
  margin-inline: auto;
  padding-inline: var(--bt-shell-padding);
}

.bt-shell--header,
.bt-shell--subheader,
.bt-shell--footer {
  padding-inline: max(0.5rem, env(safe-area-inset-left)) max(0.5rem, env(safe-area-inset-right));
}

.bt-main {
  padding-top: 0.65rem !important;
  padding-bottom: 0.75rem !important;
}

.bt-main .row {
  --bs-gutter-x: var(--bt-content-gap-x);
  --bs-gutter-y: var(--bt-content-gap-y);
}

.bt-main .card {
  border-radius: 0.65rem;
}

.bt-main .card-body {
  padding: var(--bt-card-padding);
}

.bt-main .card,
.bt-main .table,
.bt-main .form-control,
.bt-main .form-select,
.bt-main .btn,
.bt-main .list-group-item {
  font-size: 0.82rem;
}

.bt-main .table > :not(caption) > * > * {
  padding: 0.4rem 0.5rem;
}

.bt-main .alert {
  padding: 0.5rem 0.7rem;
  margin-bottom: 0.65rem;
}

.bt-main .form-control,
.bt-main .form-select {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.bt-main textarea.form-control {
  min-height: calc(1.5em + 0.85rem + 2px);
}

.bt-main .btn:not(.btn-lg) {
  --bs-btn-padding-y: 0.26rem;
  --bs-btn-padding-x: 0.58rem;
}

.bt-main .nav-tabs {
  margin-bottom: 0.6rem !important;
}

.small,
.bt-main .small,
.bt-main small,
.form-text,
.badge {
  font-size: var(--bt-font-small) !important;
}

.bt-main h1,
.bt-main .h1,
.bt-main h2,
.bt-main .h2,
.bt-main h3,
.bt-main .h3,
.bt-main h4,
.bt-main .h4,
.bt-main h5,
.bt-main .h5 {
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.bt-main h1,
.bt-main .h1 {
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
}

.bt-main h2,
.bt-main .h2 {
  font-size: clamp(1.06rem, 1.3vw, 1.3rem);
}

.bt-main h3,
.bt-main .h3 {
  font-size: clamp(0.98rem, 1.1vw, 1.15rem);
}

.bt-main h4,
.bt-main .h4 {
  font-size: clamp(0.9rem, 0.98vw, 1.02rem);
}

.bt-main h5,
.bt-main .h5 {
  font-size: clamp(0.85rem, 0.9vw, 0.94rem);
}

.dropdown-menu {
  font-size: 0.82rem;
}

.offcanvas {
  --bs-offcanvas-width: min(88vw, 360px);
}

@media (min-width: 1200px) {
  :root {
    --bt-shell-padding: 0.9rem;
  }
}

.bt-subheader {
  background: #232f3e;
  color: #fff;
}

.bt-subheader--mobile {
  background: linear-gradient(180deg, #1a2533 0%, #232f3e 100%);
}

.bt-subheader-scroll {
  overflow-x: auto;
  scrollbar-width: none;
}

.bt-subheader-scroll::-webkit-scrollbar {
  display: none;
}

.bt-subheader-scroll .bt-nav-pill {
  white-space: nowrap;
}

.bt-home-filter-bar {
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.bt-home-filter-bar h2 {
  font-size: 1rem;
}

html[data-theme="dark"] .bt-home-filter-bar {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] body {
  background-color: #0f1115 !important;
  color: #e8eaed;
}

html[data-theme="dark"] .bg-light {
  background-color: #0f1115 !important;
}

html[data-theme="dark"] .bg-white {
  background-color: #151a20 !important;
  color: #e8eaed;
}

html[data-theme="dark"] .border,
html[data-theme="dark"] .border-top,
html[data-theme="dark"] .border-bottom,
html[data-theme="dark"] .border-start,
html[data-theme="dark"] .border-end {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html[data-theme="dark"] .text-muted {
  color: rgba(232, 234, 237, 0.7) !important;
}

html[data-theme="dark"] .small.text-muted.text-nowrap {
  color: var(--bt-accent, #ffc800) !important;
}

html[data-theme="dark"] .small.text-muted {
  color: var(--bt-accent, #ffc800) !important;
}

html[data-theme="dark"] .table {
  --bs-table-color: #e8eaed;
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  background-color: #0f1115;
  border-color: rgba(255, 255, 255, 0.18);
  color: #e8eaed;
}

html[data-theme="dark"] .form-control::placeholder {
  color: rgba(232, 234, 237, 0.55);
}

html[data-theme="dark"] .card {
  background-color: #151a20;
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .card .h5,
html[data-theme="dark"] .card .h4,
html[data-theme="dark"] .card .h3,
html[data-theme="dark"] .card .h2,
html[data-theme="dark"] .card .h1 {
  color: #fff;
}

html[data-theme="dark"] .card .small,
html[data-theme="dark"] .card .form-text,
html[data-theme="dark"] .card .text-muted {
  color: rgba(232, 234, 237, 0.8) !important;
}

html[data-theme="dark"] .card .form-label {
  color: #fff;
}

html[data-theme="dark"] .text-dark {
  color: #fff !important;
}

html[data-theme="dark"] .bt-price {
  color: #fff !important;
}

html[data-theme="dark"] .bt-cart {
  color: rgb(var(--bt-accent-rgb)) !important;
}

html[data-theme="dark"] .bt-cart:hover {
  color: rgb(var(--bt-accent-rgb)) !important;
  text-decoration: underline;
}

html[data-theme="dark"] .btn-outline-secondary {
  color: rgba(232, 234, 237, 0.9);
  border-color: rgba(232, 234, 237, 0.35);
}

html[data-theme="dark"] .btn-outline-secondary:hover,
html[data-theme="dark"] .btn-outline-secondary:focus {
  color: #e8eaed;
  background-color: rgba(232, 234, 237, 0.12);
  border-color: rgba(232, 234, 237, 0.45);
}

html[data-theme="dark"] .offcanvas {
  background-color: #151a20;
  color: #e8eaed;
}

html[data-theme="dark"] .offcanvas .btn-close {
  filter: invert(1) grayscale(100%);
}

html[data-theme="dark"] .list-group-item {
  background-color: transparent;
  color: #e8eaed;
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .list-group-item-action:hover,
html[data-theme="dark"] .list-group-item-action:focus {
  background-color: rgba(232, 234, 237, 0.08);
  color: #e8eaed;
}

html[data-theme="dark"] .list-group-item.list-group-item-action.fw-semibold {
  color: var(--bt-accent, #ffc800) !important;
}

html[data-theme="dark"] .d-flex.justify-content-between.align-items-start.gap-2 {
  color: var(--bt-accent, #ffc800) !important;
}

.list-group-item {
  padding: 0.55rem 0.75rem;
}

.dropdown-menu .list-group-item {
  padding: 0.55rem 0.8rem;
}

.bt-logo {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  flex-shrink: 1;
  min-width: 0;
}

.bt-logo:hover {
  color: #fff;
}

.bt-logo-img {
  height: auto;
  max-height: 32px;
  width: auto;
  max-width: min(var(--bt-logo-max-width, 200px), 42vw);
  display: block;
  flex: 0 1 auto;
  object-fit: contain;
  align-self: center;
}

.bt-app-icon {
  width: 26px;
  height: 26px;
  max-height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

.bt-logo-icon {
  width: 26px;
  height: 26px;
  max-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.bt-logo-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bt-logo-text {
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  max-height: 32px;
}

.bt-logo--img .bt-logo-text {
  display: none;
}

.bt-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
}

.bt-link:hover {
  text-decoration: underline;
  color: #fff;
}

.bt-theme-toggle {
  white-space: nowrap;
}

.bt-header .btn.btn-sm,
.bt-subheader .btn.btn-sm {
  --bs-btn-font-size: 0.74rem;
  --bs-btn-padding-y: 0.2rem;
  --bs-btn-padding-x: 0.48rem;
}

.bt-cart {
  font-size: 0.8rem;
}

.bt-theme-toggle .bt-icon {
  width: 1rem;
  height: 1rem;
}

.bt-hamburger .bt-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.bt-thumb {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px;
  max-height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f6f7;
  display: block;
}

.bt-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  background: #f5f6f7;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: block;
}

.bt-avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #555;
}

.bt-profile-page {
  padding: 0;
}

.bt-profile-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 991.98px) {
  .bt-profile-media-grid {
    grid-template-columns: 1fr;
  }
}

.bt-profile-media-preview {
  height: 92px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  background: #fafafa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.bt-profile-media-preview--hero {
  height: 120px;
}

.bt-profile-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bt-profile-media-placeholder {
  color: #6c757d;
  font-size: 0.9rem;
}

html[data-theme="dark"] .bt-avatar,
html[data-theme="dark"] .bt-profile-media-preview {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.bt-toast-container {
  position: fixed;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1080;
  width: min(360px, calc(100vw - 1.7rem));
}

.bt-toast {
  background: rgba(25, 135, 84, 0.96);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 160ms ease, transform 180ms ease;
}

.bt-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[data-theme="dark"] .bt-toast {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bt-sort-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.4rem;
  border: 1px dashed rgba(var(--bt-accent-rgb), 0.25);
  background: rgba(var(--bt-accent-rgb), 0.04);
  border-radius: 0.75rem;
}

html[data-theme="dark"] .bt-sort-list {
  border-color: rgba(var(--bt-accent-rgb), 0.35);
  background: rgba(var(--bt-accent-rgb), 0.08);
}

.bt-sort-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.7rem;
  background: #fff;
  user-select: none;
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease,
    opacity 140ms ease;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
}

html[data-theme="dark"] .bt-sort-item {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(21, 26, 32, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.bt-sort-item:hover {
  border-color: rgba(var(--bt-accent-rgb), 0.55);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
  transform: translateY(-1px);
  background: #fffef8;
}

html[data-theme="dark"] .bt-sort-item:hover {
  border-color: rgba(var(--bt-accent-rgb), 0.65);
  background: #262c33;
}

.bt-sort-handle {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.7;
  cursor: grab;
  padding: 0.1rem 0.15rem;
  border-radius: 0.35rem;
  transition: background-color 120ms ease, opacity 120ms ease, color 120ms ease;
}

.bt-sort-item:hover .bt-sort-handle {
  opacity: 1;
  color: var(--bt-accent);
  background: rgba(var(--bt-accent-rgb), 0.12);
}

.bt-sort-handle:active {
  cursor: grabbing;
  background: rgba(var(--bt-accent-rgb), 0.2);
}

.bt-sort-item.bt-sort-drag-over-top::before,
.bt-sort-item.bt-sort-drag-over-bottom::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bt-accent), rgba(var(--bt-accent-rgb), 0.1));
  box-shadow: 0 0 0 3px rgba(var(--bt-accent-rgb), 0.18);
  pointer-events: none;
}

.bt-sort-item {
  position: relative;
}

.bt-sort-item.bt-sort-drag-over-top::before {
  top: -3px;
}

.bt-sort-item.bt-sort-drag-over-bottom::after {
  bottom: -3px;
}

.bt-sort-dragging {
  opacity: 0.48;
  transform: rotate(-0.6deg) scale(0.99);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.18) !important;
  border-style: dashed !important;
  border-color: rgba(var(--bt-accent-rgb), 0.6) !important;
  background: rgba(var(--bt-accent-rgb), 0.06) !important;
}

.bt-sort-item.is-hidden {
  opacity: 0.5;
  filter: grayscale(0.35);
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.02) 8px,
    rgba(0, 0, 0, 0.05) 8px,
    rgba(0, 0, 0, 0.05) 16px
  );
}

html[data-theme="dark"] .bt-sort-item.is-hidden {
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 8px,
    rgba(255, 255, 255, 0.05) 8px,
    rgba(255, 255, 255, 0.05) 16px
  );
}

.bt-home-section-rank {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(var(--bt-accent-rgb), 0.18);
  color: var(--bt-accent);
  border: 1px solid rgba(var(--bt-accent-rgb), 0.35);
}

html[data-theme="dark"] .bt-home-section-rank {
  background: rgba(var(--bt-accent-rgb), 0.28);
  color: #fff1b3;
  border-color: rgba(var(--bt-accent-rgb), 0.55);
}

.bt-home-section-toggle {
  margin-top: 0.15rem;
}

.bt-home-section-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: rgba(var(--bt-accent-rgb), 0.12);
  color: var(--bt-accent);
  font-weight: 700;
}

html[data-theme="dark"] .bt-home-section-icon {
  background: rgba(var(--bt-accent-rgb), 0.22);
  color: #fff1b3;
}

.bt-home-move-group {
  display: inline-flex;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.4rem;
  overflow: hidden;
}

html[data-theme="dark"] .bt-home-move-group {
  border-color: rgba(255, 255, 255, 0.14);
}

.bt-home-move-group > button {
  border: 0;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(17, 24, 39, 0.78);
  padding: 0.1rem 0.42rem;
  font-size: 0.8rem;
  line-height: 1.1;
  cursor: pointer;
}

html[data-theme="dark"] .bt-home-move-group > button {
  background: rgba(17, 24, 39, 0.9);
  color: rgba(255, 255, 255, 0.85);
}

.bt-home-move-group > button:hover {
  background: rgba(var(--bt-accent-rgb), 0.14);
  color: #111827;
}

html[data-theme="dark"] .bt-home-move-group > button:hover {
  background: rgba(var(--bt-accent-rgb), 0.25);
  color: #ffffff;
}

.bt-home-move-group > button + button {
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .bt-home-move-group > button + button {
  border-left-color: rgba(255, 255, 255, 0.12);
}

.bt-home-preview-link {
  color: var(--bt-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.74rem;
}

.bt-home-preview-link:hover {
  text-decoration: underline;
}

.bt-home-autosave-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  background: transparent;
  color: inherit;
}

.bt-home-autosave-status:empty {
  display: none;
}

.bt-home-autosave-status[data-state="saving"] {
  background: rgba(var(--bt-accent-rgb), 0.14);
  color: var(--bt-accent);
  box-shadow: inset 0 0 0 1px rgba(var(--bt-accent-rgb), 0.3);
  animation: btAutoSavePulse 1.2s ease-in-out infinite;
}

.bt-home-autosave-status[data-state="saved"] {
  background: rgba(34, 197, 94, 0.14);
  color: #16a34a;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.bt-home-autosave-status[data-state="error"] {
  background: rgba(239, 68, 68, 0.14);
  color: #dc2626;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.35);
}

@keyframes btAutoSavePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

html[data-theme="dark"] .bt-home-autosave-status[data-state="saving"] {
  background: rgba(var(--bt-accent-rgb), 0.18);
}

html[data-theme="dark"] .bt-home-autosave-status[data-state="saved"] {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}

html[data-theme="dark"] .bt-home-autosave-status[data-state="error"] {
  background: rgba(248, 113, 113, 0.18);
  color: #f87171;
}

.bt-home-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.bt-home-cols-select {
  width: auto;
  min-width: 70px;
  max-width: 86px;
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  padding-left: 0.45rem;
  padding-right: 1.4rem;
  font-size: 0.74rem;
  line-height: 1.2;
  height: auto;
  margin-inline: 0.25rem;
  border-radius: 0.4rem;
}

.bt-home-row {
  margin-left: 0;
  margin-right: 0;
}

.bt-home-col > * {
  height: 100%;
}

.bt-home-col > :first-child {
  margin-bottom: 0 !important;
  border-radius: inherit;
}

@media (max-width: 575.98px) {
  .bt-home-section-key { display: none !important; }
  .bt-home-move-group { display: none !important; }
  .bt-home-cols-select { display: none !important; }
}

.bt-settings-grid {
  --bt-settings-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--bt-settings-cols), minmax(0, 1fr));
  gap: 1rem;
  --bt-grid-row: 136px;
  grid-auto-rows: minmax(var(--bt-grid-row), auto);
}

.bt-settings-grid[data-tab="settings"] .bt-settings-card:not([data-tab="settings"]),
.bt-settings-grid[data-tab="features"] .bt-settings-card:not([data-tab="features"]),
.bt-settings-grid[data-tab="payments"] .bt-settings-card:not([data-tab="payments"]),
.bt-settings-grid[data-tab="email"] .bt-settings-card:not([data-tab="email"]) {
  display: none;
}

.bt-settings-card {
  grid-column: span var(--w, 1);
  grid-row: span var(--h, 1);
  min-width: 0;
  position: relative;
}

@media (max-width: 1399.98px) {
  .bt-settings-grid {
    --bt-settings-cols: 2;
  }
}

@media (max-width: 991.98px) {
  .bt-settings-grid {
    --bt-settings-cols: 1;
  }
}

@media (max-width: 767.98px) {
  .bt-settings-card {
    grid-column: span 1 !important;
  }
}

.bt-card-drag-handle {
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.7;
  cursor: grab;
  user-select: none;
}

html[data-theme="dark"] .bt-card-drag-handle,
html[data-theme="dark"] .bt-sort-handle {
  color: #fff;
}

.bt-card-resize-handle {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
  opacity: 0.6;
  background: linear-gradient(135deg, transparent 55%, rgba(0, 0, 0, 0.35) 56%, rgba(0, 0, 0, 0.35) 70%, transparent 71%);
}

html[data-theme="dark"] .bt-card-resize-handle {
  background: linear-gradient(135deg, transparent 55%, rgba(255, 255, 255, 0.35) 56%, rgba(255, 255, 255, 0.35) 70%, transparent 71%);
}

.bt-settings-card.bt-card-dragging {
  opacity: 0.6;
}

.bt-settings-card.bt-card-resizing {
  opacity: 0.9;
}

.bt-chat-box {
  height: 55vh;
  overflow-y: auto;
  padding: 0.25rem;
}

.bt-chat-row {
  display: flex;
  margin-bottom: 0.5rem;
}

.bt-chat-row--self {
  justify-content: flex-end;
}

.bt-chat-bubble {
  max-width: 78%;
  border-radius: 12px;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
}

.bt-chat-row--self .bt-chat-bubble {
  background: rgba(var(--bt-accent-rgb), 0.12);
  border-color: rgba(var(--bt-accent-rgb), 0.35);
}

html[data-theme="dark"] .bt-chat-bubble {
  background: rgba(21, 26, 32, 0.95);
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .bt-chat-row--self .bt-chat-bubble {
  background: rgba(var(--bt-accent-rgb), 0.14);
  border-color: rgba(var(--bt-accent-rgb), 0.35);
}

.bt-chat-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.bt-chat-fab {
  position: fixed;
  right: var(--bt-chat-fab-right, max(32px, env(safe-area-inset-right))) !important;
  left: var(--bt-chat-fab-left, auto) !important;
  bottom: var(--bt-chat-fab-bottom, max(32px, env(safe-area-inset-bottom))) !important;
  padding: 0 14px;
  min-width: var(--bt-chat-fab-size, 52px);
  height: var(--bt-chat-fab-size, 52px);
  border-radius: 999px;
  background: var(--bt-chat-fab-bg, var(--bt-accent));
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1060;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  animation: bt-fab-pulse 2.2s ease-in-out infinite;
  border: 0;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (max-width: 575.98px) {
  .bt-chat-fab {
    right: var(--bt-chat-fab-right-mobile, max(16px, env(safe-area-inset-right))) !important;
    left: var(--bt-chat-fab-left-mobile, auto) !important;
    bottom: var(--bt-chat-fab-bottom-mobile, max(16px, env(safe-area-inset-bottom))) !important;
  }
}

.bt-chat-fab:hover,
.bt-chat-fab:focus {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  filter: brightness(0.95);
}

.bt-chat-fab .bt-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.bt-chat-fab-text {
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

@keyframes bt-fab-pulse {
  0% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(var(--bt-accent-rgb), 0.55); }
  70% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), 0 0 0 14px rgba(var(--bt-accent-rgb), 0); }
  100% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(var(--bt-accent-rgb), 0); }
}

.bt-chat-modal .modal-dialog {
  position: fixed;
  right: var(--bt-chat-fab-right, 32px);
  left: var(--bt-chat-fab-left, auto);
  bottom: var(--bt-chat-fab-bottom, 32px);
  margin: 0;
  width: min(420px, calc(100vw - 64px));
  max-height: min(70vh, 640px);
}

.bt-chat-modal .modal-content {
  border-radius: 14px;
  overflow: hidden;
}

.bt-chat-modal .modal-body {
  padding: 0.75rem;
}

.bt-chat-modal .modal-footer {
  padding: 0.75rem;
}

.bt-chat-modal .bt-chat-box {
  height: 46vh;
}

.bt-chat-modal.fade .modal-dialog {
  transform: translateX(120px);
  transition: transform 220ms ease;
}

.bt-chat-modal.show .modal-dialog {
  transform: translateX(0);
}

html[data-theme="dark"] .bt-chat-modal .modal-content {
  background-color: #151a20;
  color: #e8eaed;
}

html[data-theme="dark"] .bt-chat-modal .modal-header,
html[data-theme="dark"] .bt-chat-modal .modal-footer {
  border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .bt-chat-modal .btn-close {
  filter: invert(1) grayscale(100%);
}

.bt-footer-card {
  height: 100%;
  min-height: var(--bt-footer-card-min-height, 40px);
  max-height: var(--bt-footer-card-min-height, 40px);
  overflow: hidden;
}

.bt-footer-card .card-body {
  height: 100%;
}

.bt-site-footer {
  padding-top: 6px;
  padding-bottom: 6px;
  position: relative;
}

.bt-site-footer--img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bt-site-footer--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 248, 250, 0.88);
  pointer-events: none;
  z-index: 0;
}

.bt-site-footer--img > .container-fluid {
  position: relative;
  z-index: 1;
}

html[data-theme="dark"] .bt-site-footer--img::before {
  background: rgba(17, 24, 39, 0.88);
}

.bt-footer-card-body {
  padding: 4px;
  display: flex;
  align-items: center;
}

.bt-footer-card {
  position: relative;
}

.bt-footer-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--bt-accent-rgb), 0.95), rgba(254, 195, 32, 0.95), rgba(124, 77, 255, 0.95), rgba(var(--bt-accent-rgb), 0.95));
  background-size: 220% 220%;
  filter: blur(10px);
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 0;
  pointer-events: none;
}

.bt-footer-card > .card-body {
  position: relative;
  z-index: 1;
}

.bt-footer-card:hover::before {
  opacity: 0.75;
  animation: bt-footer-glow 1.6s linear infinite;
}

@keyframes bt-footer-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bt-footer-truncate {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bt-save-fab {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1060;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] footer .bt-footer-card .bt-icon,
html[data-theme="dark"] footer .bt-footer-card .fw-semibold,
html[data-theme="dark"] footer .bt-footer-card .fw-semibold a,
html[data-theme="dark"] footer .bt-footer-card .text-muted a {
  color: #fec320 !important;
}

html[data-theme="dark"] footer .bt-footer-col-title {
  color: #ffffff !important;
}

html[data-theme="dark"] footer .bt-footer-links a,
html[data-theme="dark"] footer .bt-footer-link {
  color: var(--bt-accent) !important;
}

html[data-theme="dark"] footer .bt-footer-links a:hover,
html[data-theme="dark"] footer .bt-footer-link:hover {
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .bt-footer-col-logo {
    flex: 0 0 100px;
    max-width: 100px;
  }
}

.bt-cart {
  color: #fff;
}

.bt-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bt-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bt-card-img {
  width: 100%;
  max-height: 180px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f5f5f5;
  padding: 0.5rem;
  display: block;
}

html[data-theme="dark"] .bt-card-img {
  background: #1d222a;
}

.card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.card:hover .bt-card-img {
  transform: scale(1.02);
}

.bt-card-img {
  transition: transform 200ms ease;
}

.bt-product-img-wrap {
  position: relative;
  cursor: zoom-in;
}

.bt-product-img-wrap:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.12));
  border-radius: inherit;
  pointer-events: none;
}

.bt-product-img-wrap .bt-product-zoom-cue {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #111827;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transition: transform 160ms ease, opacity 160ms ease;
}

.bt-product-img-wrap:hover .bt-product-zoom-cue {
  transform: scale(1.04);
}

html[data-theme="dark"] .bt-product-img-wrap .bt-product-zoom-cue {
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.bt-product-img-main {
  width: 100%;
  max-height: 520px;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f5f5f5;
  padding: 0.5rem;
  display: block;
}

html[data-theme="dark"] .bt-product-img-main {
  background: #1d222a;
}

.bt-product-thumb {
  object-fit: contain;
  background: #f5f5f5;
  padding: 0.18rem;
}

html[data-theme="dark"] .bt-product-thumb {
  background: #1d222a;
}

.bt-zoom-modal-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  height: auto;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}

html[data-theme="dark"] .bt-zoom-modal-img {
  background: #11151b;
}

.bt-product-card {
  position: relative;
  overflow: hidden;
}

.bt-product-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--bt-accent-rgb), 0.7), rgba(254, 195, 32, 0.7), rgba(124, 77, 255, 0.7), rgba(var(--bt-accent-rgb), 0.7));
  background-size: 220% 220%;
  filter: blur(16px);
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: 0;
  pointer-events: none;
}

.bt-product-card > .card-body,
.bt-product-card > .card-img-top,
.bt-product-card > .bt-card-img {
  position: relative;
  z-index: 1;
}

.bt-product-card:hover::before {
  opacity: 0.55;
  animation: bt-product-glow 2.2s linear infinite;
}

@keyframes bt-product-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bt-category-card {
  overflow: hidden;
}

.bt-cat-img-wrap {
  transition: transform 220ms ease;
}

.bt-category-card:hover .bt-cat-img-wrap {
  transform: scale(1.03);
}

.bt-mini-tile {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.bt-mini-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.bt-fav-form {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
}

.bt-fav-btn {
  border-radius: 999px;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  color: #e11d48;
}

.bt-fav-btn:hover,
.bt-fav-btn:focus {
  transform: translateY(-1px);
}

.bt-fav-btn.is-on {
  background: #fff;
  border-color: rgba(225, 29, 72, 0.25);
  color: #e11d48;
}

.bt-product-card .bt-fav-btn {
  position: relative;
}

@keyframes bt-fav-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.bt-fav-btn:hover .bt-icon,
.bt-fav-btn:focus .bt-icon {
  animation: bt-fav-pulse 520ms ease-in-out 1;
}

.bt-hero-carousel.carousel-fade .carousel-item {
  transition-duration: 700ms;
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .bt-card-img,
  .bt-cat-img-wrap,
  .bt-mini-tile {
    transition: none !important;
  }

  .bt-product-card:hover::before,
  .bt-footer-card:hover::before {
    animation: none !important;
  }

  .bt-fav-btn:hover .bt-icon,
  .bt-fav-btn:focus .bt-icon {
    animation: none !important;
  }
}

.card .btn {
  position: relative;
  z-index: 2;
}

.card .btn {
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.card .btn:hover,
.card .btn:focus {
  transform: translateY(-1px);
  filter: brightness(0.96);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.card .btn .bt-icon {
  transition: transform 160ms ease;
}

.card .btn:hover .bt-icon,
.card .btn:focus .bt-icon {
  transform: scale(1.08);
}

.bt-nav-pill {
  transition: transform 160ms ease, filter 160ms ease, background-color 160ms ease;
}

.bt-nav-pill:hover,
.bt-nav-pill:focus {
  transform: translateY(-1px);
  filter: brightness(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .card .btn,
  .card .btn .bt-icon,
  .bt-nav-pill {
    transition: none !important;
  }
}

.bt-admin-sidebar {
  position: sticky;
  top: 0.75rem;
}

.bt-admin-sidebar .list-group-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.7rem;
}

.bt-admin-sidebar .list-group-item .bt-icon {
  opacity: 0.8;
}

.bt-admin-sidebar .list-group-item.active .bt-icon,
.bt-admin-sidebar .list-group-item:hover .bt-icon,
.bt-admin-sidebar .list-group-item:focus .bt-icon {
  opacity: 1;
}

.bt-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
}

.bt-media-card .card-body {
  display: flex;
  flex-direction: column;
}

.bt-media-thumb {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f5f6f7;
}

.bt-media-dropzone {
  width: 100%;
  min-height: 126px;
  border: 1px dashed rgba(var(--bt-accent-rgb), 0.38);
  border-radius: 0.9rem;
  background: rgba(var(--bt-accent-rgb), 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.bt-media-dropzone:hover,
.bt-media-dropzone:focus-visible,
.bt-media-dropzone.is-dragover {
  border-color: rgba(var(--bt-accent-rgb), 0.85);
  background: rgba(var(--bt-accent-rgb), 0.1);
  box-shadow: 0 0 0 0.18rem rgba(var(--bt-accent-rgb), 0.12);
  outline: none;
}

.bt-media-picker-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
}

.bt-media-picker-wrap .input-group,
.bt-media-picker-wrap > .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.bt-media-picker-preview {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 0.6rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f5f6f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #6b7280;
  font-size: 0.62rem;
  text-align: center;
  line-height: 1.1;
  padding: 0.25rem;
}

.bt-media-picker-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bt-media-picker-preview-empty {
  display: inline-block;
}

.bt-admin-stat-icon,
.bt-admin-quick-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #111827;
  background: rgba(var(--bt-accent-rgb), 0.14);
}

.bt-admin-stat-icon .bt-icon,
.bt-admin-quick-icon .bt-icon {
  width: 1.2rem;
  height: 1.2rem;
}

.bt-admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.bt-admin-tab-btn.active {
  color: #111827;
  border-color: rgba(var(--bt-accent-rgb), 0.3);
  background: rgba(var(--bt-accent-rgb), 0.18);
}

.bt-admin-tab-panel {
  display: none;
}

.bt-admin-tab-panel.active {
  display: block;
}

.bt-admin-quick-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.bt-admin-quick-card .h6 {
  color: inherit;
}

html[data-theme="dark"] .bt-admin-stat-icon,
html[data-theme="dark"] .bt-admin-quick-icon {
  color: #fff;
  background: rgba(var(--bt-accent-rgb), 0.2);
}

html[data-theme="dark"] .bt-admin-tab-btn.active {
  color: #fff;
  border-color: rgba(var(--bt-accent-rgb), 0.45);
  background: rgba(var(--bt-accent-rgb), 0.22);
}

html[data-theme="dark"] .bt-admin-quick-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.bt-nav-pill {
  color: #fff;
  text-decoration: none;
  font-size: 0.84rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: 1px solid transparent;
}

.bt-nav-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.bt-hero {
  background: radial-gradient(1200px 420px at 10% 10%, rgba(var(--bt-accent-rgb), 0.25), rgba(255, 255, 255, 0) 55%),
    linear-gradient(180deg, #ffffff, #f7f7f7);
}

.btn-warning {
  --bs-btn-bg: var(--bt-accent);
  --bs-btn-border-color: var(--bt-accent);
  --bs-btn-hover-bg: var(--bt-accent);
  --bs-btn-hover-border-color: var(--bt-accent);
  --bs-btn-active-bg: var(--bt-accent);
  --bs-btn-active-border-color: var(--bt-accent);
}

.btn-warning:hover,
.btn-warning:focus {
  filter: brightness(0.92);
}

.bt-hero-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.bt-hero-slide {
  min-height: 360px;
  background-size: cover;
  background-position: center;
}

.bt-hero-overlay {
  min-height: 360px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 45%, rgba(255, 255, 255, 0.45) 65%, rgba(255, 255, 255, 0.12) 100%);
}

.bt-hero-title,
.bt-hero-subtitle {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.bt-hero-carousel .carousel-control-prev-icon,
.bt-hero-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.bt-hero-inner {
  background: linear-gradient(90deg, rgba(19, 25, 33, 0.06), rgba(19, 25, 33, 0));
}

.bt-hero-kicker {
  letter-spacing: 0.12em;
  color: #232f3e;
}

.bt-featured-cta {
  background: linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.12), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.bt-featured-cta-kicker {
  letter-spacing: 0.12em;
  color: var(--bt-accent);
}

.bt-featured-cta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.bt-featured-cta-item:hover,
.bt-featured-cta-item:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
  border-color: rgba(var(--bt-accent-rgb), 0.28);
}

.bt-featured-cta-thumb-wrap {
  flex: 0 0 auto;
}

.bt-featured-cta-thumb {
  width: 58px;
  height: 58px;
  border-radius: 0.8rem;
  object-fit: cover;
  background: rgba(17, 24, 39, 0.06);
  display: block;
}

.bt-featured-cta-thumb--vendor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #344054;
}

.bt-featured-cta--vendors {
  background: linear-gradient(135deg, rgba(35, 47, 62, 0.06), rgba(var(--bt-accent-rgb), 0.14));
}

.bt-featured-banner {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(120deg, rgba(var(--bt-accent-rgb), 0.22), rgba(var(--bt-accent-rgb), 0.05));
  padding: 1.25rem 1.1rem;
  margin-bottom: 1.5rem;
}

.bt-featured-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.bt-featured-banner--img {
  background-size: cover;
  background-position: center;
}

.bt-featured-banner--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.bt-featured-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bt-featured-banner-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bt-accent);
  margin-bottom: 0.2rem;
}

.bt-featured-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.15rem 0;
  line-height: 1.15;
}

.bt-featured-banner-subtitle {
  font-size: 0.84rem;
  margin: 0;
  opacity: 0.82;
}

.bt-featured-banner--img .bt-featured-banner-title,
.bt-featured-banner--img .bt-featured-banner-subtitle,
.bt-featured-banner--img .bt-featured-banner-kicker {
  color: #ffffff;
  opacity: 1;
}

.bt-newsletter {
  background: linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.12), rgba(255, 255, 255, 0.96));
  border-radius: 1.1rem;
  border: 1px solid rgba(17, 24, 39, 0.08);
  padding: 1rem 1rem 1.05rem 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.bt-newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.bt-newsletter-copy-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bt-accent);
  margin-bottom: 0.2rem;
}

.bt-newsletter-copy-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.2rem 0;
}

.bt-newsletter-copy-sub {
  font-size: 0.82rem;
  margin: 0;
  color: rgba(17, 24, 39, 0.75);
}

.bt-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 260px;
  flex: 1 1 360px;
  max-width: 520px;
}

.bt-newsletter-form input {
  flex: 1 1 180px;
}

.bt-new-badge {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 999px;
  background: var(--bt-accent);
  color: #ffffff;
  text-transform: uppercase;
}

.bt-home-section {
  position: relative;
  border-radius: 0.75rem;
}

.bt-home-section::after {
  content: attr(data-bt-home-visual-rank);
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.82);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.28);
  backdrop-filter: blur(3px);
  pointer-events: none;
}

.bt-home-section.bt-home-section-highlight {
  outline: 3px solid rgba(var(--bt-accent-rgb), 0.7);
  outline-offset: 4px;
  border-radius: 0.85rem;
  box-shadow: 0 0 0 4px rgba(var(--bt-accent-rgb), 0.12) !important;
  transition: outline-color 140ms ease, box-shadow 140ms ease, outline-offset 140ms ease;
}

.bt-home-section.bt-home-section-highlight::after,
body.bt-home-admin-view .bt-home-section::after {
  display: inline-flex;
}

.bt-home-section.bt-home-section-flash {
  animation: btHomeFlash 900ms ease;
}

@keyframes btHomeFlash {
  0%   { box-shadow: 0 0 0 0 rgba(var(--bt-accent-rgb), 0.45); }
  35%  { box-shadow: 0 0 0 16px rgba(var(--bt-accent-rgb), 0.08); }
  70%  { box-shadow: 0 0 0 22px rgba(var(--bt-accent-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--bt-accent-rgb), 0); }
}

.bt-home-fab {
  position: fixed;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1070;
  width: min(340px, calc(100vw - 1.7rem));
  font-size: 0.8rem;
}

.bt-home-fab-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 0.9rem;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

html[data-theme="dark"] .bt-home-fab-card,
html[data-theme="auto"] body.bt-theme-dark .bt-home-fab-card {
  background: rgba(17, 24, 39, 0.96);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.bt-suggest-wrap {
  position: relative;
}

.bt-suggest-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 9998;
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 0.8rem;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16), 0 4px 10px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
  overflow: hidden;
  display: none;
  animation: btSuggestFadeIn 120ms ease-out;
  transform-origin: top center;
  max-width: calc(100vw - 1.4rem);
}
.bt-suggest-dropdown[data-portaled="1"] {
  position: fixed;
  left: 0;
  top: 0;
  right: auto;
  width: 420px;
  max-width: calc(100vw - 1.4rem);
  z-index: 2147483000;
}
.bt-suggest-dropdown[data-open="1"] {
  display: block;
}
@keyframes btSuggestFadeIn {
  from { opacity: 0; transform: translateY(-4px) scale(0.995); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

html[data-theme="dark"] .bt-suggest-dropdown,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-dropdown {
  background: rgba(20, 26, 33, 0.97);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.25);
}

.bt-suggest-section {
  padding: 0.4rem 0.55rem 0.3rem;
}
.bt-suggest-section + .bt-suggest-section {
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
}
html[data-theme="dark"] .bt-suggest-section + .bt-suggest-section,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-section + .bt-suggest-section {
  border-top-color: rgba(255, 255, 255, 0.06);
}
.bt-suggest-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.1rem 0.4rem 0.3rem;
}
.bt-suggest-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
html[data-theme="dark"] .bt-suggest-section-title,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-section-title {
  color: #94a3b8;
}
.bt-suggest-section-title .bt-suggest-section-title-dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: var(--bt-accent);
  box-shadow: 0 0 0 3px rgba(var(--bt-accent-rgb), 0.18);
}
.bt-suggest-section-title[data-type="products"] .bt-suggest-section-title-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.bt-suggest-section-sub {
  font-size: 0.65rem;
  color: #9ca3af;
  font-weight: 600;
}
html[data-theme="dark"] .bt-suggest-section-sub,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-section-sub {
  color: #64748b;
}

.bt-suggest-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.38rem 0.5rem;
  border-radius: 0.65rem;
  cursor: pointer;
  color: #0f172a;
  transition: background 100ms ease, color 100ms ease;
  user-select: none;
  text-decoration: none;
}
html[data-theme="dark"] .bt-suggest-item,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-item {
  color: #f1f5f9;
}
.bt-suggest-item:hover,
.bt-suggest-item[data-active="1"] {
  background: rgba(var(--bt-accent-rgb), 0.10);
  color: #0b1020;
}
html[data-theme="dark"] .bt-suggest-item:hover,
html[data-theme="dark"] .bt-suggest-item[data-active="1"],
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-item:hover,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-item[data-active="1"] {
  background: rgba(var(--bt-accent-rgb), 0.16);
  color: #ffffff;
}

.bt-suggest-icon {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.05);
  color: #64748b;
}
html[data-theme="dark"] .bt-suggest-icon,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-icon {
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
}
.bt-suggest-icon svg { width: 14px; height: 14px; display: block; }
.bt-suggest-term-icon {
  background: rgba(var(--bt-accent-rgb), 0.12);
  color: var(--bt-accent);
}

.bt-suggest-product-img {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #eef2ff, #fde68a);
  object-fit: cover;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
html[data-theme="dark"] .bt-suggest-product-img,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-product-img {
  border-color: rgba(255, 255, 255, 0.06);
  filter: brightness(0.92);
}

.bt-suggest-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}
.bt-suggest-label {
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bt-suggest-label mark {
  background: rgba(var(--bt-accent-rgb), 0.22);
  color: inherit;
  padding: 0 1px;
  border-radius: 2px;
}
.bt-suggest-meta {
  font-size: 0.65rem;
  color: #6b7280;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-theme="dark"] .bt-suggest-meta,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-meta {
  color: #94a3b8;
}
.bt-suggest-term-hits {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(var(--bt-accent-rgb), 0.10);
  color: var(--bt-accent);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}

.bt-suggest-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}
.bt-suggest-price {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
html[data-theme="dark"] .bt-suggest-price,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-price {
  color: #ffffff;
}
.bt-suggest-price-old {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 600;
  text-decoration: line-through;
}
.bt-suggest-sale-badge {
  font-size: 0.62rem;
  font-weight: 800;
  color: #ffffff;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  letter-spacing: 0.02em;
}

.bt-suggest-footer {
  padding: 0.45rem 0.65rem 0.55rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 250, 252, 0.7);
}
html[data-theme="dark"] .bt-suggest-footer,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-footer {
  border-top-color: rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.5);
}
.bt-suggest-footer-hint {
  font-size: 0.64rem;
  color: #6b7280;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
html[data-theme="dark"] .bt-suggest-footer-hint,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-footer-hint {
  color: #94a3b8;
}
.bt-suggest-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.2rem;
  padding: 0.05rem 0.32rem;
  border-radius: 0.35rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
  font-weight: 800;
  font-size: 0.62rem;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
html[data-theme="dark"] .bt-suggest-kbd,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-kbd {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
.bt-suggest-footer-action {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--bt-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
  background: rgba(var(--bt-accent-rgb), 0.10);
  transition: background 120ms ease, transform 120ms ease;
}
.bt-suggest-footer-action:hover {
  background: rgba(var(--bt-accent-rgb), 0.18);
  transform: translateX(1px);
  color: var(--bt-accent);
}

.bt-suggest-empty {
  padding: 0.85rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #6b7280;
  font-size: 0.74rem;
  font-weight: 600;
}
html[data-theme="dark"] .bt-suggest-empty,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-empty {
  color: #94a3b8;
}
.bt-suggest-empty-icon {
  width: 28px; height: 28px;
  flex: 0 0 28px;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.05);
  color: #94a3b8;
}
html[data-theme="dark"] .bt-suggest-empty-icon,
html[data-theme="auto"] body.bt-theme-dark .bt-suggest-empty-icon {
  background: rgba(255, 255, 255, 0.05);
  color: #64748b;
}
.bt-suggest-empty-icon svg { width: 14px; height: 14px; }

.bt-suggest-wrap[data-bt-suggest-floating="1"] .bt-suggest-dropdown {
  width: min(560px, calc(100vw - 1.2rem));
  right: auto;
  left: 0;
}
.bt-home-fab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(120deg, rgba(var(--bt-accent-rgb), 0.18), rgba(var(--bt-accent-rgb), 0.05));
  border-bottom: 1px solid rgba(var(--bt-accent-rgb), 0.22);
}

.bt-home-fab-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.82rem;
}

.bt-home-fab-ico {
  width: 26px;
  height: 26px;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--bt-accent-rgb), 0.2);
}

.bt-home-fab-toggle {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: #111827;
  font-weight: 700;
  cursor: pointer;
}

html[data-theme="dark"] .bt-home-fab-toggle {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

.bt-home-fab-body {
  padding: 0.55rem 0.6rem 0.65rem 0.6rem;
  max-height: 320px;
  overflow-y: auto;
}

.bt-home-fab-panel-collapsed {
  display: none;
}

.bt-home-fab-order {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.bt-home-fab-chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.45rem 0.32rem 0.4rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.6rem;
  background: #fff;
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: border-color 120ms ease, transform 120ms ease, background-color 120ms ease, opacity 120ms ease;
}

html[data-theme="dark"] .bt-home-fab-chip {
  background: #171c22;
  border-color: rgba(255, 255, 255, 0.1);
}

.bt-home-fab-chip:hover {
  border-color: rgba(var(--bt-accent-rgb), 0.55);
  background: #fffdf5;
  transform: translateY(-1px);
}

html[data-theme="dark"] .bt-home-fab-chip:hover {
  background: #1d232b;
}

.bt-home-chip-rank {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(var(--bt-accent-rgb), 0.18);
  color: var(--bt-accent);
  font-weight: 800;
  font-size: 0.7rem;
}

.bt-home-chip-ico {
  flex: 0 0 auto;
  font-size: 0.95rem;
}

.bt-home-chip-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}

.bt-home-chip-cols {
  flex: 0 0 auto;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  color: rgba(17, 24, 39, 0.65);
  font-size: 0.68rem;
  font-weight: 700;
}

html[data-theme="dark"] .bt-home-chip-cols {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

.bt-home-chip-handle {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.65;
  cursor: grab;
  padding: 0.05rem 0.2rem;
  border-radius: 0.35rem;
}

.bt-home-chip-handle:active {
  cursor: grabbing;
  background: rgba(var(--bt-accent-rgb), 0.18);
}

.bt-home-fab-chip.bt-home-chip-dragging {
  opacity: 0.45;
  transform: rotate(-0.6deg) scale(0.98);
  border-style: dashed !important;
  border-color: rgba(var(--bt-accent-rgb), 0.6) !important;
  background: rgba(var(--bt-accent-rgb), 0.08) !important;
}

.bt-home-fab-chip.bt-home-chip-drag-over-top::before,
.bt-home-fab-chip.bt-home-chip-drag-over-bottom::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bt-accent), rgba(var(--bt-accent-rgb), 0.15));
  box-shadow: 0 0 0 3px rgba(var(--bt-accent-rgb), 0.18);
  pointer-events: none;
}

.bt-home-fab-chip.bt-home-chip-drag-over-top::before { top: -3px; }
.bt-home-fab-chip.bt-home-chip-drag-over-bottom::after { bottom: -3px; }

.bt-home-fab-actions {
  display: flex;
  justify-content: flex-end;
}

.bt-home-fab-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .bt-home-fab {
    right: 0.55rem;
    bottom: 0.55rem;
    width: calc(100vw - 1.1rem);
  }
  .bt-home-fab-body {
    max-height: 42vh;
  }
  body.bt-home-admin-view .bt-home-section::after {
    top: 0.35rem;
    right: 0.45rem;
    min-width: 22px;
    height: 22px;
    font-size: 0.66rem;
  }
}

html[data-theme="dark"] .bt-featured-banner {
  background: linear-gradient(120deg, rgba(var(--bt-accent-rgb), 0.3), rgba(17, 24, 39, 0.9));
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .bt-featured-banner::before {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

html[data-theme="dark"] .bt-featured-banner:not(.bt-featured-banner--img) .bt-featured-banner-title,
html[data-theme="dark"] .bt-featured-banner:not(.bt-featured-banner--img) .bt-featured-banner-subtitle {
  color: #f3f4f6;
}

html[data-theme="dark"] .bt-newsletter {
  background: linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.22), rgba(17, 24, 39, 0.95));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .bt-newsletter-copy-title,
html[data-theme="dark"] .bt-newsletter-copy-sub {
  color: #e5e7eb;
}

@media (max-width: 575.98px) {
  .bt-featured-banner-title {
    font-size: 1rem;
  }
  .bt-featured-banner {
    padding: 1rem 0.9rem;
    border-radius: 1rem;
  }
  .bt-newsletter {
    padding: 0.8rem 0.8rem 0.9rem 0.8rem;
    border-radius: 0.95rem;
  }
}

html[data-theme="dark"] .bt-featured-cta {
  background: linear-gradient(135deg, rgba(var(--bt-accent-rgb), 0.2), rgba(17, 24, 39, 0.95));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .bt-featured-cta-item {
  background: rgba(17, 24, 39, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .bt-featured-cta-item:hover,
html[data-theme="dark"] .bt-featured-cta-item:focus {
  border-color: rgba(var(--bt-accent-rgb), 0.35);
}

html[data-theme="dark"] .bt-featured-cta-thumb--vendor {
  color: #e5e7eb;
}

html[data-theme="dark"] .bt-featured-cta--vendors {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(var(--bt-accent-rgb), 0.22));
}

@media (max-width: 575.98px) {
  :root {
    --bt-shell-padding: 0.5rem;
    --bt-card-padding: 0.55rem;
    --bt-font-base: 0.78rem;
    --bt-font-small: 0.7rem;
    --bt-font-xs: 0.66rem;
  }

  .bt-main {
    padding-top: 0.55rem !important;
    padding-bottom: 0.65rem !important;
  }

  .bt-main .card,
  .bt-main .table,
  .bt-main .form-control,
  .bt-main .form-select,
  .bt-main .btn,
  .bt-main .list-group-item,
  .dropdown-menu {
    font-size: 0.76rem;
  }

  .bt-main .table > :not(caption) > * > * {
    padding: 0.36rem 0.42rem;
  }

  .bt-main .btn:not(.btn-lg),
  .bt-header .btn.btn-sm,
  .bt-subheader .btn.btn-sm {
    --bs-btn-font-size: 0.7rem;
    --bs-btn-padding-y: 0.24rem;
    --bs-btn-padding-x: 0.48rem;
  }

  .bt-main .form-control,
  .bt-main .form-select {
    padding-top: 0.28rem;
    padding-bottom: 0.28rem;
  }

  .offcanvas {
    --bs-offcanvas-width: min(92vw, 320px);
  }

  .bt-logo {
    max-height: 34px;
  }

  .bt-logo--img {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  .bt-logo-text {
    font-size: 0.78rem;
  }

  .bt-logo-img {
    max-height: 26px;
    max-width: min(var(--bt-logo-max-width, 170px), 48vw);
    width: auto;
    height: auto;
  }

  .bt-logo-icon,
  .bt-app-icon {
    width: 22px;
    height: 22px;
    max-height: 22px;
  }

  .bt-card-img {
    height: auto;
    max-height: 140px;
    padding: 0.35rem;
  }

  .bt-hero-slide,
  .bt-hero-overlay {
    min-height: 240px;
  }

  .bt-hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.78) 55%, rgba(255, 255, 255, 0.2) 100%);
  }

  .bt-featured-cta-item {
    padding: 0.5rem 0.55rem;
    gap: 0.5rem;
  }

  .bt-featured-cta-thumb {
    width: 46px;
    height: 46px;
  }

  .bt-nav-pill {
    font-size: 0.7rem;
    padding: 0.16rem 0.3rem;
  }

  .bt-link,
  .bt-cart {
    font-size: 0.74rem;
  }

  .bt-media-grid {
    grid-template-columns: 1fr;
  }

  .bt-media-dropzone {
    min-height: 100px;
    padding: 0.75rem;
  }

  .bt-media-picker-preview {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
}

.bt-hero-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.bt-mini-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  background: #f5f5f5;
  display: block;
}

.bt-cat-img-wrap {
  height: 150px;
  overflow: hidden;
}

.bt-cat-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.list-group-item.disabled {
  opacity: 0.6;
}

@media (max-width: 991.98px) {
  :root {
    --bt-font-base: 0.82rem;
    --bt-font-small: 0.74rem;
  }

  .bt-main .card,
  .bt-main .table,
  .bt-main .form-control,
  .bt-main .form-select,
  .bt-main .btn,
  .bt-main .list-group-item {
    font-size: 0.8rem;
  }

  .bt-main .h1,
  .bt-main h1 {
    font-size: 1.15rem;
  }

  .bt-main .h2,
  .bt-main h2 {
    font-size: 1.02rem;
  }

  .bt-hero-slide,
  .bt-hero-overlay {
    min-height: 300px;
  }

  .bt-hero-carousel .carousel-control-prev,
  .bt-hero-carousel .carousel-control-next {
    display: none;
  }
}

@media (max-width: 767.98px) {
  :root {
    --bt-shell-padding: 0.55rem;
    --bt-card-padding: 0.6rem;
    --bt-content-gap-x: 0.6rem;
    --bt-content-gap-y: 0.6rem;
    --bt-font-base: 0.8rem;
    --bt-font-small: 0.72rem;
  }

  .bt-main .card,
  .bt-main .table,
  .bt-main .form-control,
  .bt-main .form-select,
  .bt-main .btn,
  .bt-main .list-group-item {
    font-size: 0.78rem;
  }

  .bt-main .h3,
  .bt-main h3 {
    font-size: 0.94rem;
  }

  .bt-main .h4,
  .bt-main h4,
  .bt-main .h5,
  .bt-main h5 {
    font-size: 0.86rem;
  }
}

/* Hide text labels (keep icons) on mobile for the primary shop actions.
   Apply by wrapping the visible text inside these spans next to the SVG icon. */
@media (max-width: 767.98px) {
  .bt-mobile-label,
  .bt-main .bt-mobile-label {
    display: none !important;
  }

  .bt-main .btn[data-bt-share-trigger].has-icon-only-mobile,
  .bt-main button[data-bt-share-trigger].has-icon-only-mobile {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .bt-main [data-bt-card-share] {
    position: relative !important;
  }
  .bt-main [data-bt-card-share] > .dropdown-menu {
    min-width: min(92vw, 360px) !important;
    width: min(92vw, 360px) !important;
    max-width: min(92vw, 360px) !important;
  }
  .bt-main [data-bt-card-share] > .dropdown-menu.bt-dropdown-flip-start,
  .bt-main [data-bt-card-share] > .dropdown-menu.bt-dropdown-flip-end {
    position: fixed !important;
    margin: 0 !important;
    transform: none !important;
  }
  .bt-main [data-bt-card-share] > .dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
  }
  .bt-main [data-bt-card-share] .dropdown-menu .btn[data-bt-share-card] {
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    flex-shrink: 0;
  }
  .bt-main [data-bt-card-share] .dropdown-menu .btn[data-bt-share-card] .bt-icon,
  .bt-main [data-bt-card-share] .dropdown-menu .btn[data-bt-share-card] .bt-icon svg {
    width: 1.05rem !important;
    height: 1.05rem !important;
  }
}

.bt-search-offcanvas {
  --bs-offcanvas-width: min(92vw, 360px);
}

.bt-search-offcanvas .offcanvas-header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.bt-search-offcanvas .offcanvas-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
}

.bt-stack-gap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

html[data-theme="dark"] .bt-search-offcanvas .offcanvas-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
