/*
 * Badd Kitty — app-shell chrome base styles.
 * Provides the layout Horizon's BASE theme used to supply for the DOM contract
 * emitted by inc/chrome.php (#header-component, announcement-bar, drawers,
 * sticky ATC bar). Brand overrides for these elements already live in the
 * ported bk-editorial-global.css — this sheet must stay beneath it in
 * specificity and never restyle .bk-* utility-layer elements it owns.
 */

/* ------------------------------------------------------------------ */
/* Visually-hidden helper (Horizon supplied .visually-hidden)          */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ------------------------------------------------------------------ */
/* Announcement bar                                                    */
.announcement-bar {
  display: flex;
  justify-content: center;
  padding: 5px 16px;
  background: #eb498a;
  color: #fff;
  overflow: hidden;
}

.announcement-bar__text {
  margin: 0;
  /* 20% larger than the previous 0.75rem */
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  color: #fff;
}

.announcement-bar__link {
  color: inherit;
  text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Header (#header-component two-row layout)                           */
#header-group {
  position: sticky;
  top: 0;
  z-index: var(--layer-sticky, 100);
  /* The announcement bar scrolls away; only the header rows stick. */
  top: calc(-1 * var(--bk-announcement-height, 44px));
}

header-component {
  display: block;
  background: var(--bk-bg, #fff);
}

#header-component .header__row--top {
  background: #ffffff;
}

#header-component .header__row--bottom {
  background: #f7f5f4;
  color: var(--bk-plum);
}

#header-component .header__columns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 40px;
}

#header-component .header__column {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* Hamburger: JS proxy target; visible nowhere (mobile uses the bottom tab,
   desktop shows the full menu row). Kept clickable programmatically. */
#header-component .header__icon--menu {
  display: none;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--bk-plum);
  cursor: pointer;
}

#header-component .header__icon--menu svg {
  width: 22px;
  height: 22px;
}

/* Flex wrapper so the logo's height is exactly the image height (no inline
   line-box strut) and it sits on the row's vertical center. */
.bk-logo-wrap {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-logo .header-logo__image {
  display: block;
  width: auto;
  height: var(--bk-logo-h, 48px);
}

@media (max-width: 749px) {
  .header-logo .header-logo__image {
    height: var(--bk-logo-h-mob, 28px);
  }
}

/* Search proxy button (visually hidden at every width by the ported CSS;
   keep a sane default so it never flashes unstyled). */
#header-component .search-action button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--bk-plum);
  cursor: pointer;
}

#header-component .search-action svg {
  width: 20px;
  height: 20px;
}

header-actions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.header-actions__action {
  position: relative;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--bk-plum);
}

.header-actions__action svg {
  width: 22px;
  height: 22px;
}

.cart-bubble {
  position: absolute;
  top: 4px;
  right: 2px;
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--bk-fuchsia);
  color: #fff;
}

.cart-bubble__text-count {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.cart-bubble:has(.cart-bubble__text-count[data-count='0']) {
  display: none;
}

/* Bottom row: primary menu */
#header-component .header__row--bottom .header__columns {
  padding-block: 0;
}

.header-menu .menu-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-menu .menu-list > li {
  position: relative;
}

.header-menu .menu-list__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--bk-plum);
  font-size: 0.875rem;
  text-decoration: none;
}

.header-menu .menu-list__link:hover {
  color: var(--bk-rose);
}

/* Simple hover dropdown for depth-2 items (Horizon's mega menu deferred). */
.header-menu .menu-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  border: 1px solid var(--bk-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgb(26 6 40 / 12%);
}

.header-menu .menu-list > li:is(:hover, :focus-within) > .sub-menu {
  display: block;
}

.header-menu .sub-menu .menu-list__link {
  display: flex;
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.85rem;
}

@media (max-width: 749px) {
  #header-component .header__row--bottom {
    display: none;
  }

  #header-component .header__columns {
    padding: 0 12px;
  }
}

/* Desktop: reserve room for the absolutely-centered search pill
   (bk-editorial-global.css places .bk-header-search at 50%/min(56vw,680px)). */
@media (min-width: 990px) {
  #header-component .header__row--top .header__columns {
    padding-block: 10px;
  }
}

/* The ported home CSS clears Horizon's overlay header with a margin-top on
   the mobile category rail; our header is sticky-in-flow, so remove it. */
@media (max-width: 749px) {
  .bk-editorial-home .bk-category-rail--mobile {
    margin-top: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Menu drawer dialog                                                  */
.bk-menu-drawer {
  position: fixed;
  inset: 0;
  width: min(420px, 92vw);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  overscroll-behavior: contain;
}

.bk-menu-drawer::backdrop {
  background: rgb(26 6 40 / 45%);
}

.bk-menu-drawer__bar {
  display: flex;
  justify-content: flex-start;
  padding: 10px 12px 0;
}

.bk-menu-drawer__close,
.bk-search-dialog__close {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--bk-plum);
  cursor: pointer;
}

.bk-menu-drawer__close svg,
.bk-search-dialog__close svg {
  width: 20px;
  height: 20px;
}

.bk-menu-drawer__nav {
  padding: 8px 28px 40px;
}

.bk-menu-drawer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bk-menu-drawer__list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  color: var(--bk-plum);
  font-family: var(--bk-font-heading, inherit);
  font-size: 1.65rem;
  font-weight: 500;
  text-decoration: none;
}

/* Parent rows with children get a chevron + accordion (JS toggles is-open). */
.bk-menu-drawer__list > li.menu-item-has-children > a::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .18s ease;
}

.bk-menu-drawer__list > li.menu-item-has-children.is-open > a::after {
  transform: rotate(45deg);
}

.bk-menu-drawer__list .sub-menu {
  display: none;
  margin: 0 0 10px;
  padding: 0 0 0 14px;
  list-style: none;
}

.bk-menu-drawer__list > li.is-open > .sub-menu {
  display: block;
}

.bk-menu-drawer__list .sub-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  color: var(--bk-muted);
  font-size: 1.05rem;
  text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Search dialog                                                       */
.bk-search-dialog {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  box-shadow: 0 10px 30px rgb(26 6 40 / 14%);
}

.bk-search-dialog::backdrop {
  background: rgb(26 6 40 / 45%);
}

.bk-search-dialog__bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px clamp(12px, 4vw, 40px);
}

.bk-search-dialog__form {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgb(26 6 40 / 18%);
  border-radius: 999px;
  background: #fff;
}

.bk-search-dialog__icon {
  display: inline-flex;
  color: var(--bk-muted);
}

.bk-search-dialog__icon svg {
  width: 18px;
  height: 18px;
}

.bk-search-dialog__form input[type='search'] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--bk-plum);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.bk-search-dialog__submit {
  border: 0;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 16px;
  background: var(--bk-plum);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ------------------------------------------------------------------ */
/* Sticky add-to-cart bar (PDP)                                        */
.sticky-add-to-cart__bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: calc(var(--layer-sticky, 100) + 1);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px clamp(12px, 4vw, 40px);
  border-top: 1px solid var(--bk-border);
  background: rgb(255 255 255 / 97%);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 24px rgb(26 6 40 / 7%);
  transform: translateY(110%);
  transition: transform .22s ease;
}

.sticky-add-to-cart__bar.is-visible {
  transform: translateY(0);
}

.sticky-add-to-cart__bar[hidden] {
  display: none;
}

.sticky-add-to-cart__media {
  flex: none;
}

.sticky-add-to-cart__media img,
.sticky-add-to-cart__image {
  display: block;
  width: 44px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
  background: #f2f1f1;
}

.sticky-add-to-cart__details {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.sticky-add-to-cart__title {
  overflow: hidden;
  color: var(--bk-plum);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-add-to-cart__variant {
  color: var(--bk-muted);
  font-size: 12px;
}

.sticky-add-to-cart__variant:empty {
  display: none;
}

.sticky-add-to-cart__price {
  flex: none;
  color: var(--bk-plum);
  font-size: 15px;
  font-weight: 600;
}

.sticky-add-to-cart__price del {
  margin-right: 6px;
  color: var(--bk-muted);
  font-weight: 400;
}

.sticky-add-to-cart__submit {
  display: inline-flex;
  width: 52px;
  min-height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--bk-plum);
  color: #fff;
  cursor: pointer;
}

.sticky-add-to-cart__submit[disabled] {
  opacity: .45;
  cursor: not-allowed;
}

.sticky-add-to-cart__submit svg {
  width: 22px;
  height: 22px;
}

/* ================================================================== */
/* Phase 2 — commerce parity                                           */
/* ================================================================== */

/* ---- Card aspect ratios (ports snippets/bk-card-style.liquid) ----- */
.product-card .product-media-container {
  position: relative;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden;
}

.product-card[data-bk-type='Lingerie'] .product-media-container,
.product-card[data-bk-type='Apparel'] .product-media-container,
.product-card[data-bk-type="Men's Apparel"] .product-media-container,
.product-card[data-bk-type='Hosiery'] .product-media-container,
.product-card[data-bk-type='Shoes'] .product-media-container {
  aspect-ratio: 3 / 4 !important;
}

.product-card .product-media-container img {
  width: 100%;
  height: 100%;
}

/* ---- Card quick-add pill (Horizon base positioning) --------------- */
.product-card .quick-add,
.bk-product-card .quick-add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
}

.product-card .quick-add .quick-add__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border: 1px solid rgb(26 6 40 / 14%) !important;
  border-radius: 999px !important;
  background: rgb(255 255 255 / 96%);
  color: var(--bk-plum);
  line-height: 0;
  box-shadow: 0 3px 10px rgb(26 6 40 / 10%);
  text-decoration: none;
  cursor: pointer;
}

.product-card .quick-add .quick-add__button:hover {
  background: var(--bk-plum);
  color: #fff;
}

.product-card .quick-add .quick-add__button .svg-wrapper {
  display: inline-flex;
}

.product-card .quick-add .quick-add__button .svg-wrapper svg {
  width: 18px;
  height: 18px;
}

/* ---- Facet toolbar + dialog --------------------------------------- */
.facets-block-wrapper--horizontal {
  margin: 4px 0 18px;
}

.facets-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.facets-toggle__wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.facets-toggle__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--bk-plum);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.facets-toggle__button .svg-wrapper {
  display: inline-flex;
}

.facets-toggle__count {
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bk-cream);
  color: var(--bk-plum);
  font-size: 10px;
}

/* Mobile: the sticky treatment comes from bk-editorial-global.css
   (body:has(main[data-template^=...]) .facets-toggle); give it side gutters. */
@media (max-width: 749px) {
  .facets-toggle {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .bk-facets-sort-inline {
    display: none;
  }
}

.bk-facets-sort-inline .woocommerce-ordering {
  margin: 0;
}

.bk-facets-sort-inline select {
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--bk-border);
  border-radius: 4px;
  background: #fff;
  color: var(--bk-plum);
  font-size: 12px;
}

.bk-facets {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(380px, 92vw);
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  overscroll-behavior: contain;
}

.bk-facets::backdrop {
  background: rgb(26 6 40 / 45%);
}

.bk-facets__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--bk-border);
}

.bk-facets__title {
  color: var(--bk-plum);
  font-family: var(--bk-font-heading, inherit);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bk-facets__close {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--bk-plum);
  cursor: pointer;
}

.bk-facets__body {
  padding: 8px 20px 40px;
  overflow-y: auto;
}

.bk-facets__group h3 {
  margin: 22px 0 6px;
  color: var(--bk-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bk-facets__group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bk-facets__group a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  color: var(--bk-plum);
  font-size: 14px;
  text-decoration: none;
}

.bk-facets__group a:hover {
  color: var(--bk-rose);
}

.bk-facets__group a[aria-current='true'] {
  color: var(--bk-rose);
  font-weight: 700;
}

.bk-facets__group a[aria-current='true']::after {
  content: '';
  width: 6px;
  height: 11px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Desktop active-filter pills (mobile styling ships in editorial-global). */
@media (min-width: 750px) {
  .bk-active-filters {
    display: flex;
    gap: 8px;
    margin: -8px 0 16px;
  }

  .bk-active-filters__pill {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--bk-border);
    border-radius: 999px;
    background: #fff;
    color: var(--bk-plum);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
  }

  .bk-active-filters__pill .svg-wrapper {
    display: inline-flex;
    width: 10px;
    height: 10px;
  }
}

/* ---- Variant pill buttons (product.json variant_style: buttons) ---- */
.bk-variant-picker select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  border: 0 !important;
}

.bk-variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bk-variant-pill {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgb(26 6 40 / 35%);
  border-radius: 14px;
  background: #fff;
  color: var(--bk-plum);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bk-variant-pill:hover {
  border-color: var(--bk-plum);
}

.bk-variant-pill.is-selected {
  border-color: var(--bk-rose);
  background: var(--bk-rose);
  color: #fff;
}

.bk-pdp-form .variations,
.bk-pdp-form .variations td,
.bk-pdp-form .variations th {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
}

.bk-pdp-form .variations .label {
  margin: 0 0 8px;
  color: var(--bk-plum);
  font-size: 14px;
  font-weight: 600;
}

.bk-pdp-form .variations tr {
  display: block;
  margin-bottom: 16px;
}

.bk-pdp-form .reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: var(--bk-muted);
  font-size: 12px;
}

/* ---- PDP save row (bk-product-trust.liquid stylesheet) ------------- */
.bk-save-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.bk-save {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6b5c73;
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
}

.bk-save:hover,
.bk-save[aria-pressed='true'] {
  color: var(--bk-rose);
}

.bk-save[aria-pressed='true'] .bk-save__icon {
  fill: var(--bk-rose);
  stroke: var(--bk-rose);
}

.bk-save__icon {
  flex: none;
}

.bk-save-view {
  color: #6b5c73;
  font-size: 12.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bk-save-view:hover {
  color: var(--bk-rose);
}

/* ---- Essentials cross-sell (bk-essentials.liquid stylesheet) ------- */
.bk-ess {
  border-top: 1px solid #ebe6ea;
  padding: 16px 0 4px;
}

.bk-ess--drawer {
  margin: 4px 20px 0;
}

.bk-ess--pdp {
  margin-top: 18px;
}

.bk-ess__heading {
  margin: 0;
  color: var(--bk-plum);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bk-ess__sub {
  margin: 3px 0 10px;
  color: #76677d;
  font-size: 12px;
}

.bk-ess__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}

.bk-ess__media {
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid #ece7eb;
  border-radius: 4px;
  background: #f6f4f5;
  overflow: hidden;
}

.bk-ess__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bk-ess__info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.bk-ess__title {
  overflow: hidden;
  color: var(--bk-plum);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bk-ess__title:hover {
  color: var(--bk-rose);
}

.bk-ess__price {
  color: #76677d;
  font-size: 12px;
}

.bk-ess__add {
  flex: none;
}

.bk-ess__add .quick-add {
  position: static;
}

.bk-ess__add .quick-add .quick-add__button {
  display: inline-flex !important;
  position: static;
  min-width: 44px;
  min-height: 38px;
  width: auto;
  padding: 0 14px;
  border: 1px solid var(--bk-plum);
  border-radius: 3px;
  background: #fff;
  color: var(--bk-plum);
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.bk-ess__add .quick-add .quick-add__button:hover {
  background: var(--bk-plum);
  color: #fff;
}

/* ---- Saved-items page (bk-saved-items.liquid stylesheet) ----------- */
.bk-saved {
  width: min(100% - 32px, 1200px);
  margin-inline: auto;
  padding-block: 40px 64px;
}

.bk-saved__header h1 {
  margin: 0;
  color: var(--bk-plum);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.bk-saved__header p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #76677d;
  font-size: 13px;
  line-height: 1.6;
}

.bk-saved__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 26px 18px;
  margin-top: 34px;
}

.bk-saved-card__media {
  display: block;
  aspect-ratio: 4 / 5;
  border: 1px solid #ece7eb;
  background: #f2f1f1;
  overflow: hidden;
}

.bk-saved-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bk-saved-card__title {
  display: block;
  margin-top: 10px;
  color: var(--bk-plum);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.bk-saved-card__title:hover {
  color: var(--bk-rose);
}

.bk-saved-card__price {
  margin: 4px 0 0;
  color: var(--bk-muted);
  font-size: 13px;
}

.bk-saved-card__remove {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #76677d;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bk-saved-card__remove:hover {
  color: var(--bk-rose);
}

.bk-saved__empty {
  margin-top: 40px;
  color: var(--bk-muted);
  font-size: 15px;
  line-height: 1.6;
}

.bk-saved__empty p {
  margin: 0 0 6px;
}

.bk-saved__cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 14px;
  padding: 0 22px;
  background: var(--bk-plum);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

/* ---- PDP accordion +/- affordance ---------------------------------- */
.bk-product-accordion__row summary {
  position: relative;
  padding-right: 28px;
}

.bk-product-accordion__row summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bk-plum);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.bk-product-accordion__row[open] summary::after {
  content: '\2212';
}

/* ---- Mini-cart quantity stepper ------------------------------------ */
.bk-mini-cart__stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--bk-border);
  border-radius: 4px;
}

.bk-mini-cart__step {
  display: inline-flex;
  width: 30px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--bk-plum);
  cursor: pointer;
  font-size: 15px;
}

.bk-mini-cart__qty-val {
  min-width: 24px;
  color: var(--bk-plum);
  font-size: 13px;
  text-align: center;
}

.bk-mini-cart--busy {
  opacity: .55;
  pointer-events: none;
  transition: opacity .15s ease;
}

/* ---- Cart page: two-column sticky summary (main-cart.liquid) ------- */
@media (min-width: 750px) {
  .bk-cart-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(38vw, 420px);
    gap: 0 40px;
    align-items: start;
  }

  .bk-cart-page__head,
  .bk-cart-page .bk-ship--page,
  .bk-cart-page .woocommerce-cart-form,
  .bk-cart-page .woocommerce-notices-wrapper {
    grid-column: 1;
  }

  .bk-cart-page .cart-collaterals {
    position: sticky;
    top: calc(var(--header-group-height, 64px) + 16px);
    grid-column: 2;
    grid-row: 1 / span 4;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}

/* ---- Ecwid gallery carousel ---------------------------------------- */
.bk-ecwid-gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.bk-ecwid-gallery__track::-webkit-scrollbar {
  display: none;
}

.bk-ecwid-gallery__item {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  scroll-snap-align: start;
}

.bk-ecwid-gallery__item img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: min(78vh, 640px);
  object-fit: contain;
  background: #f6f4f5;
}

.bk-ecwid-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bk-ecwid-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.bk-ecwid-gallery__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 80px;
  padding: 0;
  border: 1px solid var(--bk-border);
  border-radius: 3px;
  background: #f6f4f5;
  cursor: pointer;
  overflow: hidden;
}

.bk-ecwid-gallery__thumb.is-active {
  border-color: var(--bk-plum);
}

.bk-ecwid-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Search page form + empty state -------------------------------- */
.bk-search-page__form {
  display: flex;
  max-width: 620px;
  gap: 0;
  margin: 18px 0 26px;
}

.bk-search-page__form input[type='search'] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgb(26 6 40 / 25%);
  border-right: 0;
  border-radius: 4px 0 0 4px;
  font: inherit;
  font-size: 14px;
}

.bk-search-page__form button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--bk-plum);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.bk-search-empty {
  margin: 10px 0 30px;
  color: var(--bk-muted);
}

/* ================================================================== */
/* Phase 3 — footer (footer.liquid + footer-utilities)                 */
/* ================================================================== */
.bk-site-footer {
  margin-top: 48px;
  padding: 48px 0 24px;
  background: #f7f5f4;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 750px) and (max-width: 989px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 990px) {
  .footer-content {
    grid-template-columns: 1.2fr 1fr 0.9fr;
  }
}

.bk-footer-intro h2,
.bk-footer-nav h2 {
  margin: 0 0 0.75rem;
  color: var(--bk-plum);
  font-size: 1.15rem;
}

.bk-footer-intro p {
  margin: 0;
  max-width: 34rem;
  color: var(--bk-muted);
  font-size: 14px;
  line-height: 1.6;
}

.bk-footer-form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bk-footer-form input[type='email'] {
  min-width: 12rem;
  flex: 1;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1px solid #3b1950;
  border-radius: 4px;
  background: #fff;
  color: var(--bk-plum);
  font: inherit;
}

.bk-footer-form button {
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 4px;
  background: #6d284e;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.bk-footer-form button:hover {
  background: var(--bk-plum);
}

.bk-footer-form p[role='status'] {
  width: 100%;
  margin: 4px 0 0;
  color: #2e6b3f;
  font-size: 13px;
}

.bk-footer-nav ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bk-footer-nav a {
  color: var(--bk-plum);
  font-size: 14px;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.bk-footer-nav a:hover {
  color: var(--bk-rose);
}

.bk-footer-utilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #3b1950;
}

.bk-footer__copy {
  margin: 0;
  color: var(--bk-muted);
  font-size: 0.75rem;
}

.bk-footer__policies {
  color: var(--bk-muted);
  font-size: 0.75rem;
  text-decoration: none;
}

.bk-footer__policies:hover {
  color: var(--bk-rose);
  text-decoration: underline;
}

.bk-footer-social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bk-footer-social a {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--bk-plum);
}

.bk-footer-social a:hover {
  color: var(--bk-rose);
}

.bk-footer-social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 749px) {
  .bk-footer-utilities {
    flex-direction: column;
    align-items: flex-start;
  }
}
