/* ============================================================
   Best Sellers PLP — Step 1 (replaces homepage carousels)
   ============================================================ */

.bs-root {
  background: #FFFFFF;
  padding-bottom: 40px;
}

/* ============ Campaign banner (deep wine red) ============ */
.bs-campaign {
  background: #6E1B1B;
  color: #FFFFFF;
  padding: 14px 28px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.bs-campaign__inner {
  font-style: italic;
  font-family: 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
}

/* ============ Hero ============ */
.bs-hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: #F4F1E5;
  min-height: 280px;
}
.bs-hero__media {
  background: #1F1F1F;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bs-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
}
.bs-hero__panel {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.bs-hero__eye {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.20em;
  font-weight: 700;
  color: #6B6B6B;
  text-transform: uppercase;
}
.bs-hero__title {
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 900;
  margin: 0;
  color: #1F3B22;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.bs-hero__sub {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #2B2B2B;
  line-height: 1.55;
  margin: 0;
  max-width: 480px;
}

/* ============ Breadcrumb ============ */
.bs-crumb {
  text-align: center;
  font-size: 12px;
  color: #888;
  letter-spacing: 0.05em;
  padding: 30px 0 6px;
}
.bs-crumb .active { color: #2B2B2B; }

/* ============ Filter row ============ */
.bs-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 26px 32px 18px;
  background: #FFFFFF;
}
.bs-filter {
  background: #fff;
  border: 1px solid #D5D1C3;
  padding: 9px 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1F1F1F;
  cursor: pointer;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color 120ms ease, background 120ms ease;
}
.bs-filter:hover { border-color: #6F9B3E; }
.bs-filter__caret { color: #888; font-size: 9px; }
.bs-filter--sort { margin-left: auto; border-color: #1F1F1F; }

/* ============ Malachyte rerank strip ============ */
.bs-rerank-strip {
  margin: 0 32px 18px;
  padding: 10px 16px;
  background: var(--bg-accent-soft, #EAFBE5);
  border: 1px solid var(--c-malachyte, #038362);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--c-malachyte-dark, #2D5843);
}
.bs-rerank-strip__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  background: var(--c-malachyte);
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ============ Product grid ============ */
.bs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;                   /* hairline divider feel */
  background: #ECECEC;
  margin: 0 24px;
  padding: 1px;
}
@media (max-width: 1100px) { .bs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .bs-grid { grid-template-columns: 1fr; } }

/* ============ Product card ============ */
.bs-card {
  background: #FFFFFF;
  padding: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.bs-card__media {
  position: relative;
  aspect-ratio: 1.1;
  background: #FFFFFF;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bs-card__media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition: transform 400ms var(--ease-out);
}
.bs-card:hover .bs-card__media img { transform: scale(1.03); }

.bs-card__rank {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--c-charcoal);
  color: var(--c-lime-hivis);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  z-index: 3;
}
.bs-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1F3B22;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  z-index: 2;
}
.bs-card__badge[data-badge="Best Seller"] { background: #6F9B3E; }
.bs-card__badge[data-badge="Trending"] { background: #B83227; }
.bs-card__badge[data-badge="New"] { background: #1F3B22; }
.bs-card__badge[data-badge="Sale"] { background: #B83227; }

.bs-card__why {
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  backdrop-filter: blur(4px);
  z-index: 2;
}
.bs-card__why.fav { background: rgba(3, 131, 98, 0.92); color: #fff; }
.bs-card__why.sim { background: rgba(6, 23, 31, 0.85); color: var(--c-lime-hivis); }

.bs-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(43,43,43,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  padding: 0;
  transition: transform 140ms ease, background 140ms ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.bs-card__media .bs-card__rank + .bs-card__fav,
.bs-card__media .bs-card__fav.bs-card__fav--with-rank { right: 50px; }
.bs-card .bs-card__rank ~ .bs-card__fav { right: 50px; }
.bs-card__fav:hover { transform: scale(1.08); background: #fff; }
.bs-card__fav--on {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(229,82,72,0.18), 0 4px 12px rgba(229,82,72,0.18);
}

.bs-card__body {
  padding: 18px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bs-card__name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1F1F1F;
  line-height: 1.35;
  min-height: 36px;
}
.bs-card__sugg {
  font-size: 12px;
  color: #888;
  margin-top: 6px;
}
.bs-card__special {
  font-size: 13px;
  font-weight: 700;
  color: #B83227;
}
.bs-card__price {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}
.bs-card__ship {
  font-size: 11.5px;
  color: #2B2B2B;
  margin-top: 4px;
}
.bs-card__notice {
  font-size: 11.5px;
  color: #B83227;
  font-weight: 600;
  margin-top: 2px;
}
.bs-card__score {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 2px 8px;
  font: 600 10px/1 "JetBrains Mono", ui-monospace, monospace;
  color: #1F4F2E;
  background: rgba(54, 152, 89, 0.10);
  border: 1px solid rgba(54, 152, 89, 0.28);
  border-radius: 999px;
  width: fit-content;
}
.bs-card__score-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-malachyte);
}

/* ============ Shopping Assistant (inline) ============ */
.bs-assist {
  margin: 16px 24px;
  background: #FAFBF4;
  border: 1px solid #D7E2C5;
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bs-assist__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bs-assist__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #D7E2C5;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bs-assist__avatar img { width: 100%; height: 100%; object-fit: cover; }
.bs-assist__name {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #1F3B22;
}
.bs-assist__prompt {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #1F1F1F;
}
.bs-assist__prompt-q {
  color: #6F9B3E;
  font-weight: 600;
}
.bs-assist__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bs-assist__chip {
  background: #fff;
  border: 1px solid #D7E2C5;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #1F1F1F;
  cursor: pointer;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bs-assist__chip:hover { border-color: #6F9B3E; color: #6F9B3E; }
.bs-assist__chip-spark { color: #6F9B3E; font-size: 11px; }
.bs-assist__input {
  position: relative;
  background: #fff;
  border: 1px solid #D7E2C5;
  border-radius: 999px;
  padding: 4px 4px 4px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bs-assist__input input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #1F1F1F;
  padding: 10px 0;
}
.bs-assist__send {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #6F9B3E;
  color: #fff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.bs-assist__send:hover { background: #5B8030; }

/* Static-banner variant for BS PLP */
.static-banner--bs { margin: 14px 24px 6px; }
