
.bs-stores *{box-sizing:border-box}
.bs-stores a{color:#2849ba}.bs-stores button,.bs-stores input,.bs-stores select{font:inherit}
.bs-stores :focus-visible{outline:3px solid #3659d4;outline-offset:3px}
.bs-stores .actions,.bs-stores .filters,.bs-stores .shop-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bs-stores .actions,.bs-stores .shop-head{justify-content:space-between}
.bs-stores .filters{margin:18px 0 24px}
.bs-stores .filters input,.bs-stores .filters select{min-width:0;padding:10px 12px;border:1px solid #c3cfe0;border-radius:9px;background:white;color:inherit}
.bs-stores .filters input{flex:1 1 190px}
.bs-stores .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:18px}
.bs-stores .card,.bs-stores .shop{background:white;border:1px solid #dbe3ef;border-radius:16px;overflow:hidden}
.bs-stores .cover{min-height:145px;display:grid;place-items:center;background:linear-gradient(120deg,#223f9f,#5576c9);color:white;font-size:48px}
.bs-stores .cover.weekend{background:linear-gradient(120deg,#294b46,#45746a)}
.bs-stores .card-body,.bs-stores .shop{padding:18px}
.bs-stores .card-body h2,.bs-stores .card-body h3{margin:0}
.bs-stores .card-body p{margin:8px 0}
.bs-stores .muted{color:#4e607a}
.bs-stores .button{display:inline-block;padding:9px 13px;border:1px solid #bac9e3;border-radius:9px;text-decoration:none;color:#203f9b;background:white;cursor:pointer}
.bs-stores .primary{background:#2849ba;color:white;border-color:#2849ba}
.bs-stores .shop-hero{padding:clamp(24px,7vw,80px) 22px;background:linear-gradient(120deg,#e6eaff,#fbe8ec);border-radius:12px;margin:16px 0}
.bs-stores .shop-hero h2{margin:0;font-size:clamp(24px,5vw,48px)}
.bs-stores .shop-head h1{margin:0}
.bs-stores .categories{display:flex;flex-wrap:wrap;gap:9px;margin:14px 0;justify-content:center}
.bs-stores .product .cover{background:#edf2ff;color:#243d80}
.bs-stores .basket-line{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #dbe3ef;padding:12px 0;flex-wrap:wrap}
.bs-stores .notice{background:#e9effe;padding:10px 14px;border-radius:9px}

.bs-stores .shop{margin-top:16px}.bs-stores .grid{grid-template-columns:repeat(auto-fill,minmax(min(260px,100%),1fr))}.bs-stores .primary:hover{background:#19358f}.bs-stores .button{min-height:42px}
.bs-stores .stores-toolbar{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.bs-stores .stores-toolbar a{text-decoration:none;color:#a70024;display:inline-flex;align-items:center;justify-content:center;min-height:36px}
.bs-stores .stores-toolbar [aria-current=page]{background:#ffe8ed;border-color:#ffc8d4}
.bs-stores .card-body form{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:620px){.bs-stores .stores-toolbar{justify-content:flex-start}}
.bs-stores .product > a:first-child{display:block;background:#fff}
.bs-stores .product > a:first-child > img{display:block;width:100%;height:clamp(160px,24vw,220px);object-fit:contain;padding:12px}
.bs-stores .product{display:flex;flex-direction:column}
.bs-stores .product > .cover{height:clamp(160px,24vw,220px)}
.bs-stores .product .card-body{display:flex;flex:1;flex-direction:column;min-width:0;overflow-wrap:anywhere}
.bs-stores .product .card-body > h3{min-height:2lh}
.bs-stores .product .card-body > p.muted{margin-top:auto;padding-top:8px}
.bs-stores .product .card-body > form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.bs-stores .product .card-body > form > button{min-width:0;line-height:1.25;padding-inline:6px}
.bs-stores .store-banner-hero,.bs-stores .store-banner-card{display:block;width:100%;height:auto;object-fit:contain}
.bs-stores .store-banner-hero{margin:16px 0;border-radius:12px}
.bs-stores .card > .store-banner-card{aspect-ratio:16/9;background:#eef2fa}
.bs-stores .shop > .store-banner-card{max-width:360px;border-radius:9px}
.bs-stores .store-header-logo{display:block;object-fit:contain;object-position:left center;max-width:100%}
.bs-stores .store-footer-editor label{display:grid;align-content:start;gap:6px;min-width:0}
.bs-stores .store-footer-editor textarea,.bs-stores .store-footer-editor input{width:100%;font:inherit;padding:8px;border:1px solid #c3cfe0;border-radius:8px;color:inherit}
.bs-stores .store-product-table{overflow-x:auto;border:1px solid #dbe3ef;border-radius:10px}
.bs-stores .store-product-table table{width:100%;min-width:520px;border-collapse:collapse;text-align:left}
.bs-stores .store-product-table th,.bs-stores .store-product-table td{padding:10px 12px;border-bottom:1px solid #dbe3ef;vertical-align:middle}
.bs-stores .store-product-table thead{background:#f1f5fb}
.bs-stores .store-product-table tbody th{width:45%;overflow-wrap:anywhere}
.bs-stores .store-product-table tbody tr:last-child > *{border-bottom:0}
.bs-stores .store-product-table .muted{font-weight:400}
.bs-stores .store-product-pages{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:16px}

/* Product browsing controls on member storefronts. */
.bs-stores .store-product-tools {
  margin: 18px 0 26px;
  border: 1px solid #d7e2f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px #172a4910;
}
.bs-stores .store-product-tools-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 17px 20px;
  border-bottom: 1px solid #e2eaf5;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(120deg, #eef4fc, #f9fbff);
  color: #183251;
}
.bs-stores .store-product-tools-head h2 { margin: 0; font-size: 1.2rem; }
.bs-stores .store-product-tools-head a { color: #234e9a; font-weight: 700; }
.bs-stores .store-product-tools .store-product-filters {
  display: grid;
  grid-template-columns: minmax(160px, 2.2fr) minmax(125px, 1fr) minmax(125px, 1fr) auto auto;
  align-items: end;
  gap: 12px;
  margin: 0;
  padding: 16px 20px;
}
.bs-stores .store-product-field { display: grid; gap: 5px; min-width: 0; font-size: .78rem; color: #284261; font-weight: 700; }
.bs-stores .store-product-field :is(input, select) { width: 100%; min-height: 44px; box-sizing: border-box; background: #f8faff; font-size: .88rem; }
.bs-stores .store-product-stock { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: .82rem; color: #284261; }
.bs-stores .store-product-stock input { flex: none; margin: 0; accent-color: #254cb1; }
.bs-stores .store-product-tools .store-product-search-button { min-height: 44px; background: #254cb1; color: #fff; border-color: #254cb1; padding-inline: 18px; font-weight: 700; }
.bs-stores .store-product-tools .store-product-search-button:hover { background: #17367f; }
.bs-stores .store-product-tools .store-product-categories {
  justify-content: flex-start;
  gap: 7px;
  margin: 0;
  padding: 13px 20px 16px;
  border-top: 1px solid #edf1f7;
}
.bs-stores .store-product-categories .button { min-height: 40px; border-radius: 99px; background: #f3f7fd; border-color: #dce6f3; color: #24486d; font-weight: 700; }
.bs-stores .store-product-categories .button:hover { background: #e6effb; }
.bs-stores .store-product-categories .button[aria-current="true"] { background: #183c71; border-color: #183c71; color: #fff; }
.bs-stores .store-product-tools :focus-visible { outline: 2px solid #315be0; outline-offset: 2px; }
@media (max-width: 970px) {
  .bs-stores .store-product-tools .store-product-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bs-stores .store-product-field-query { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .bs-stores .store-product-tools-head, .bs-stores .store-product-tools .store-product-filters,
  .bs-stores .store-product-tools .store-product-categories { padding-inline: 13px; }
  .bs-stores .store-product-field :is(input, select) { font-size: 16px; }
  .bs-stores .store-product-categories .button { min-height: 44px; }
}

/* Member storefront address and sharing actions. */
.bs-stores .store-public-entity .store-public-summary-copy { flex: 1; min-width: 0; }
.bs-stores .store-public-entity .store-share-address {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 4px auto;
  color: #244c9e;
  font-size: .83rem;
  overflow-wrap: anywhere;
  text-underline-offset: 3px;
}
.bs-stores .store-public-entity .store-public-header-actions { justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.bs-stores .store-public-entity .store-public-header-actions .button { min-height: 42px; }
@media (max-width: 600px) {
  .bs-stores .store-public-entity .store-public-header-actions .button { min-height: 44px; }
}
.bs-stores .store-public-entity .store-public-header-actions .store-public-basket { margin-left: 0; }

/* Shared member storefront footer */
.bs-stores .store-footer {
  margin-top: 24px;
  border: 1px solid #d7e2f0;
  border-radius: 16px;
  background: #fff;
  color: #183251;
  overflow: hidden;
}
.bs-stores .store-footer-columns {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);
  gap: 24px;
  align-items: center;
  padding: 22px clamp(18px,4vw,42px);
}
.bs-stores .store-footer-brand { grid-column: 2; grid-row: 1; text-align: center; min-width: 0; overflow-wrap: anywhere; }
.bs-stores .store-footer-brand img { display: block; width: min(100%,220px); max-height: 72px; object-fit: contain; margin: auto; }
.bs-stores .store-footer-links { min-width: 0; }
.bs-stores .store-footer-help { grid-column: 1; grid-row: 1; }
.bs-stores .store-footer-policies { grid-column: 3; grid-row: 1; }
.bs-stores .store-footer-links h2 { margin: 0 0 6px; font-size: .94rem; color: #183251; }
.bs-stores .store-footer-links ul { margin: 0; padding: 0; list-style: none; }
.bs-stores .store-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #28518b;
  font-size: .86rem;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: #9aaed0;
  text-underline-offset: 3px;
}
.bs-stores .store-footer-links a:hover { color: #183c71; text-decoration-color: currentColor; }
.bs-stores .store-footer-links a:focus-visible { outline: 2px solid #315be0; outline-offset: 3px; }
.bs-stores .store-footer-columns:not(:has(.store-footer-policies)) { grid-template-columns: repeat(2,minmax(0,1fr)); }
.bs-stores .store-footer-disclaimer {
  margin: 0;
  padding: 12px 18px;
  border-top: 1px solid #e2eaf5;
  background: #f4f7fc;
  color: #425575;
  text-align: center;
  font-size: .8rem;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .bs-stores .store-footer-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 16px; align-items: start; }
  .bs-stores .store-footer-brand { grid-column: 1 / -1; }
  .bs-stores .store-footer-help { grid-row: 2; }
  .bs-stores .store-footer-policies { grid-column: 2; grid-row: 2; }
  .bs-stores .store-footer-columns:not(:has(.store-footer-policies)) .store-footer-help { grid-column: 1 / -1; }
  .bs-stores .store-footer-links a { min-height: 44px; }
}


/* Store portal catalogue import, alerts and bulk edits. */
.bs-stores .store-bulk-edit { margin: 18px 0; }
.bs-stores .store-bulk-edit > p { margin: 10px 0; color: #50627d; }
.bs-stores .store-bulk-edit .store-product-table table { min-width: 880px; }
.bs-stores .store-bulk-edit input[type="number"],
.bs-stores .store-bulk-edit select { box-sizing: border-box; width: 9rem; max-width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #c3cfe0; border-radius: 8px; background: #fff; color: inherit; }
.bs-stores .store-bulk-edit input[type="checkbox"] { width: 20px; height: 20px; accent-color: #315be0; }
.bs-stores .store-bulk-edit button,
.bs-stores [aria-labelledby="catalogue-tools-heading"] button,
.bs-stores [aria-labelledby="stock-alerts-heading"] button { min-height: 42px; }
.bs-stores [aria-labelledby="catalogue-tools-heading"] > p,
.bs-stores [aria-labelledby="stock-alerts-heading"] > p { line-height: 1.55; }
.bs-stores [aria-labelledby="catalogue-tools-heading"] input[type="file"] { max-width: 100%; }
.bs-stores [aria-labelledby="stock-alerts-heading"] ul { max-height: 15rem; overflow: auto; padding-left: 1.25rem; }
.bs-stores .store-bulk-edit input:focus-visible,
.bs-stores .store-bulk-edit select:focus-visible { outline: 3px solid #315be0; outline-offset: 2px; }
@media (max-width: 600px) {
  .bs-stores .store-bulk-edit .store-product-table { margin-inline: -4px; }
  .bs-stores .store-bulk-edit input[type="number"],
  .bs-stores .store-bulk-edit select { width: 8rem; min-height: 44px; }
  .bs-stores [aria-labelledby="catalogue-tools-heading"] form.filters { align-items: stretch; }
}

