/* Category Strip Styling */
/* Centered Category Strip matching WordPress */
.bv-shop-cats {
  position: relative;
  margin: 0 auto 1.7rem;
  padding: 0 42px;
  max-width: 900px;
}

.bv-shop-cats-scroll {
  display: flex;
  justify-content: center;
  justify-content: safe center;
  gap: .65rem;
  overflow-x: auto;
  padding: 0 0 .75rem;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bv-shop-cats-scroll::-webkit-scrollbar {
  display: none;
}

/* Navigation Arrows (Hidden by default, shown when scrollable on mobile/smaller screens) */
.bv-shop-cats-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--bv-line, rgba(30,29,36,.14));
  border-radius: 50%;
  background: #ffffff;
  color: #1e1d24;
  box-shadow: 0 8px 20px rgba(30, 29, 36, .10);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease, color .2s ease;
}

.bv-shop-cats-nav:hover {
  background: #1e1d24;
  color: #ffffff;
}

.bv-shop-cats.is-scrollable .bv-shop-cats-nav {
  display: inline-flex;
}

.bv-shop-cats-prev { left: 0; }
.bv-shop-cats-next { right: 0; }

[dir="rtl"] .bv-shop-cats-prev svg,
[dir="rtl"] .bv-shop-cats-next svg {
  transform: scaleX(-1);
}

.bv-shop-cat {
  flex: 0 0 116px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--bv-line, rgba(30,29,36,.14));
  border-radius: 16px;
  color: #1e1d24;
  text-decoration: none;
  cursor: pointer;
  padding: .4rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.bv-shop-cat:hover, .bv-shop-cat.is-active {
  border-color: #1e1d24;
  background: #1e1d24;
  color: #ffffff;
}

.bv-shop-cat.is-active .bv-shop-cat-name {
  color: #ffffff;
}

.bv-shop-cat-all {
  flex: 0 0 68px;
  min-width: 68px;
  min-height: 123px;
  justify-content: center;
  align-items: center;
  background: #1e1d24;
  color: #ffffff;
  border-color: #1e1d24;
}

.bv-shop-cat-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
}

.bv-shop-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bv-shop-cat-name {
  display: block;
  padding: 8px 6px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
  .bv-shop-cat {
    flex-basis: 90px;
  }
}

/* Brand alignment overrides */
.bv-store-title { color: var(--bv-ink); }
.bv-product-title,
.bv-product-title a { color: var(--bv-ink); }
.bv-btn-buy:hover {
  background: var(--bv-bg);
  color: var(--bv-ink);
  border-color: var(--bv-ink);
}
@media (max-width: 640px) {
  .bv-container { width: min(1200px, calc(100% - 28px)); }
}


/* Store heading: one line, centered, brand colour */
.bv-store-title{color:#1e1d24!important;text-align:center!important;white-space:nowrap;font:700 clamp(2.1rem,4vw,3.6rem)/1.1 "Roboto Condensed",Roboto,Arial,sans-serif;letter-spacing:-.02em;margin:0 auto!important}
@media(max-width:420px){.bv-store-title{font-size:clamp(1.65rem,6vw,2.35rem)}}


/* Mobile store containment: prevent horizontal overflow and clipped header/cards */
@media(max-width:640px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  main.page-store,.page-store.bv-container{width:calc(100% - 28px)!important;max-width:calc(100% - 28px)!important;min-width:0!important;margin-inline:auto!important}
  .bv-header-inner{width:calc(100% - 28px)!important;max-width:100%!important;justify-content:space-between!important}
  .bv-header-actions{margin-inline-start:auto!important;flex-shrink:0!important}
  .bv-product-grid{grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;min-width:0!important}
  .bv-product-card{width:100%!important;max-width:100%!important;min-width:0!important}
  .bv-card-media{height:auto!important;aspect-ratio:1/1}
  .bv-shop-cats,.bv-shop-cats-scroll{width:100%!important;max-width:100%!important;min-width:0!important}
  .bv-store-title{white-space:normal!important;font-size:clamp(1.8rem,7vw,2.6rem)!important;max-width:100%!important}
}


/* Accessibility: hide the duplicate sorting label */
.screen-reader-text{
  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;
  white-space:nowrap!important;
  border:0!important;
}

/* Keep mobile header actions visible and prevent control-row overflow */
@media(max-width:640px){
  .bv-store-controls{display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:.75rem!important;width:100%!important;max-width:100%!important}
  #bv-sort-select{max-width:100%!important}
  .bv-header-inner{display:flex!important;justify-content:space-between!important;width:calc(100% - 28px)!important;max-width:100%!important;overflow:visible!important}
  .bv-header-actions{display:flex!important;visibility:visible!important;opacity:1!important;flex-shrink:0!important;margin-inline-start:auto!important}
}
