/* ScanWin — our-locations.css */

.sw-loc-crumb {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  padding-top: 2px;
}
.sw-loc-crumb__item {
  font-size: 12px;
  line-height: normal;
  font-weight: 500;
  color: #9ca3b0;
}
a.sw-loc-crumb__item:hover {
  color: var(--sw-text-primary);
}
.sw-loc-crumb__sep {
  font-size: 12px;
  line-height: normal;
  color: #9ca3b0;
}
.sw-loc-crumb__item--current {
  color: var(--sw-violet);
}
.sw-loc-crumb__badge {
  background: #f3f1fe;
  color: var(--sw-violet);
  font-size: 10px;
  line-height: 12px;
  padding: 2px 7px;
  border-radius: 5px;
}

.sw-page-head .sw-mobile-search {
  height: 40px;
  padding: 0 11px;
  background: #fff;
  border-color: #e5e8ed;
  border-radius: 8px;
}
.sw-page-head .sw-mobile-search:focus-within {
  border-color: var(--sw-violet);
  box-shadow: 0 0 0 3px rgba(110, 93, 248, 0.15);
}

.sw-loc-actions {
  gap: 10px;
}

.sw-loc-control {
  --bs-btn-padding-x: 14px;
  --bs-btn-padding-y: 0px;
  --bs-btn-font-size: 13px;
  --bs-btn-font-weight: 500;
  --bs-btn-color: var(--sw-text-secondary);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: var(--sw-border-default);
  --bs-btn-border-radius: 10px;
  --bs-btn-hover-color: var(--sw-violet);
  --bs-btn-hover-bg: #f3f1fe;
  --bs-btn-hover-border-color: var(--sw-violet);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: var(--bs-btn-hover-bg);
  --bs-btn-active-border-color: var(--bs-btn-hover-border-color);
  gap: 6px;
  height: 40px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.sw-loc-control strong {
  color: var(--sw-text-primary);
  font-weight: 600;
}

.sw-btn-export {
  --bs-btn-hover-color: var(--sw-violet);
  --bs-btn-hover-bg: #f3f1fe;
  --bs-btn-hover-border-color: var(--sw-violet);
}
.sw-loc-control__chev {
  width: 14px;
  height: 14px;
  color: var(--sw-text-tertiary);
  transition: transform 0.15s ease;
}

.sw-loc-dd {
  position: relative;
}

.sw-loc-control.show,
.sw-loc-control.show:active,
.sw-loc-control.show:focus-visible {
  border-color: var(--sw-violet-500);
}
.sw-loc-control.show:not(:hover):not(:active) {
  color: var(--bs-btn-color);
  background-color: var(--bs-btn-bg);
}
.sw-loc-control.show .sw-loc-control__chev {
  transform: rotate(180deg);
}
.sw-loc-menu {
  --bs-dropdown-spacer: 6px;
  --bs-dropdown-link-hover-color: var(--sw-text-primary);
  --bs-dropdown-link-hover-bg: transparent;
  --bs-dropdown-link-active-color: var(--sw-text-primary);
  --bs-dropdown-link-active-bg: transparent;
  position: absolute;
  margin-top: var(--bs-dropdown-spacer);
  min-width: 100%;
  width: max-content;
  background: var(--sw-surface);
  border: 1px solid var(--sw-border-default);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 16, 32, 0.1);
  padding: 6px;
  z-index: 30;
  display: flex;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    visibility 0s linear 0.14s;
}
.sw-loc-menu.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    visibility 0s;
}
.sw-loc-menu__item {
  gap: 10px;
  padding: 8px 12px;
  background: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sw-text-primary);
  cursor: pointer;
}
.sw-loc-menu__item:hover {
  background: var(--sw-surface-muted);
}
.sw-loc-menu__item.is-selected {
  color: var(--sw-violet-500);
  font-weight: 600;
}
.sw-loc-menu__item.is-selected::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

.sw-lvl {
  padding: 3px 8px;
  font-size: 9.5px;
  line-height: normal;
  letter-spacing: 0.4px;
}
.sw-lvl--chain {
  background: #6e5df8;
  color: #fff;
}
.sw-lvl--division {
  background: #e5f0fc;
  color: #2973d9;
}
.sw-lvl--location {
  background: #eef0f3;
  color: var(--sw-text-secondary);
}

/* Location table (desktop grid) → cards (mobile) */
.sw-loc-table-card {
  --bs-card-border-color: var(--sw-border-default);
  --bs-card-border-radius: 14px;
}

.sw-ltable {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.sw-lcol--loc {
  width: 27.072%;
}
.sw-lcol--status {
  width: 10.582%;
}
.sw-lcol--earn {
  width: 10.582%;
}
.sw-lcol--perf {
  width: 20.811%;
}
.sw-lcol--camp {
  width: 17.284%;
}
.sw-lcol--action {
  width: 13.668%;
}

.sw-ltable__head th {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--sw-text-secondary);
  text-align: left;
  padding: 13px 0 14px;
  background: var(--sw-surface-muted);
}
.sw-ltable__head th:first-child {
  padding-left: 19px;
}
.sw-ltable__head th:last-child {
  padding-right: 15px;
  text-align: right;
  text-transform: none;
}

.sw-ltable .sw-lrow {
  height: 68px;
}
.sw-lrow > td {
  vertical-align: middle;
  padding: 1px 0 0;
  border-bottom: 1px solid var(--sw-border-subtle);
}
.sw-lrow > td:first-child {
  padding-left: 19px;
  padding-right: 12px;
}
.sw-lrow > td:last-child {
  padding-right: 15px;
}
.sw-lrow:last-child > td {
  border-bottom: 0;
}
.sw-ltable .sw-lrow[data-level="location"]:last-child {
  height: 67px;
}

@media (min-width: 992px) {
  .sw-loc-table-card {
    overflow-x: auto;
  }
  .sw-ltable {
    min-width: 960px;
  }
}

.sw-ltable .sw-lrow--chain,
.sw-ltable .sw-lrow--division {
  height: 50px;
}
.sw-lrow--chain > td,
.sw-lrow--division > td {
  padding-top: 0;
  border-top: 1px solid #edf0f2;
  border-bottom-color: #edf0f2;
}
.sw-lrow--chain > td {
  background: #f3f1fe;
}
.sw-lrow--division > td {
  background: #f8f9fb;
}

.sw-lrow--division .sw-lrow__loc-in {
  padding-left: 32px;
}
.sw-lrow[data-level="location"] .sw-lrow__loc-in {
  padding-left: 48px;
  gap: 12px;
}

.sw-lrow__chev {
  --bs-btn-padding-x: 0px;
  --bs-btn-padding-y: 0px;
  --bs-btn-border-width: 0px;
  --bs-btn-border-radius: 0px;
  --bs-btn-color: #000000;
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: #000000;
  --bs-btn-hover-bg: transparent;
  --bs-btn-active-color: #000000;
  --bs-btn-active-bg: transparent;
  width: 16px;
  height: 16px;
}
.sw-lrow__chev > * {
  transition: transform 0.15s ease;
}
.sw-lrow.is-collapsed .sw-lrow__chev > * {
  transform: rotate(-90deg);
}

.sw-lrow--chain .sw-lrow__name {
  font-size: 15px;
  font-weight: 700;
}
.sw-lrow--division .sw-lrow__name {
  font-size: 14px;
  font-weight: 700;
}

.sw-lrow__count {
  font-size: 12.5px;
  line-height: normal;
  color: var(--sw-text-secondary);
}

.sw-lrow--chain .sw-lrow__earn-val,
.sw-lrow--division .sw-lrow__earn-val {
  font-size: 13px;
  font-weight: 600;
}

.sw-lrow__loc-in {
  gap: 8px;
  min-width: 0;
}
.sw-lrow__action-in {
  justify-content: flex-end;
  gap: 10px;
}

.sw-lrow__loc {
  grid-area: loc;
}
.sw-lrow__status {
  grid-area: status;
}
.sw-lrow__earn {
  grid-area: earn;
}
.sw-lrow__perf {
  grid-area: perf;
}
.sw-lrow__camp {
  grid-area: camp;
}
.sw-lrow__action {
  grid-area: action;
}

.sw-lrow__id {
  min-width: 0;
}
.sw-lrow__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--sw-text-primary);
}
.sw-lrow__addr {
  font-size: 11px;
  color: var(--sw-text-secondary);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sw-lrow__earn-val,
.sw-lrow__camp-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--sw-text-primary);
}
.sw-lrow__sub {
  font-size: 11px;
  color: var(--sw-text-tertiary);
  margin-top: 2px;
}
.sw-lrow__scans {
  font-size: 13px;
  color: var(--sw-text-primary);
  margin-bottom: 8px;
}

.sw-ltable .sw-lrow__id {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sw-ltable .sw-lrow__name {
  line-height: normal;
}

.sw-ltable .sw-lrow--chain .sw-lrow__name {
  line-height: 18px;
}
.sw-ltable .sw-lrow__addr,
.sw-ltable .sw-lrow__sub {
  line-height: 13px;
}

.sw-ltable .sw-lrow__status {
  line-height: 24px;
}
.sw-ltable .sw-lrow__status .sw-spill {
  vertical-align: top;
}
.sw-ltable .sw-lrow[data-level="location"] .sw-lrow__name {
  font-size: 13px;
  font-weight: 500;
}
.sw-ltable .sw-lrow__earn-val {
  line-height: normal;
}
.sw-ltable .sw-lrow__camp-val {
  font-size: 13px;
  line-height: normal;
  font-weight: 500;
}
.sw-ltable .sw-lrow__scans {
  line-height: normal;
  margin-bottom: 6px;
}

.sw-bar {
  --bs-progress-height: 6px;
  --bs-progress-bg: var(--sw-surface-muted);
  --bs-progress-border-radius: var(--bs-border-radius-pill);
  --bs-progress-bar-bg: transparent;
  --bs-progress-bar-transition: none;
}

.sw-ltable .sw-lrow__perf .sw-bar {
  width: 149px;
  max-width: 100%;
}

.sw-bar__fill {
  background-image:
    repeating-linear-gradient(
      54deg,
      rgba(255, 255, 255, 0.32) 0 1.5px,
      rgba(255, 255, 255, 0) 1.5px 3.965px
    ),
    linear-gradient(180deg, #6e5ef7 0%, #9c8ff7 100%);
}

.sw-lrow__icon-btn {
  --bs-btn-padding-x: 0px;
  --bs-btn-padding-y: 0px;
  --bs-btn-border-width: 0px;
  --bs-btn-border-radius: 8px;
  --bs-btn-bg: transparent;
  --bs-btn-hover-bg: var(--sw-surface-muted);
  --bs-btn-active-bg: var(--bs-btn-hover-bg);
  width: 30px;
  height: 30px;
}
.sw-lrow__icon-btn--danger {
  --bs-btn-bg: #fce9e9;
  --bs-btn-hover-bg: #fce9e9;
}

.sw-lrow__view {
  font-size: 12px;
  color: var(--sw-violet-500);
}
.sw-lrow__view:hover {
  color: var(--sw-violet-600);
}

.sw-lrow__more {
  --bs-btn-padding-x: 0px;
  --bs-btn-padding-y: 0px;
  --bs-btn-border-width: 0px;
  --bs-btn-border-radius: 4px;
  --bs-btn-color: #000000;
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: var(--sw-text-primary);
  --bs-btn-hover-bg: var(--sw-surface-muted);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: var(--bs-btn-hover-bg);
  width: 18px;
  height: 18px;
  display: inline-flex;
}
.sw-lrow__more.show:not(:hover):not(:active) {
  color: var(--bs-btn-color);
  background-color: var(--bs-btn-bg);
}
.sw-lrow__more svg {
  width: 18px;
  height: 18px;
}

.sw-ltable .sw-lrow__view {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 16px;
}
.sw-ltable .sw-lrow__more {
  width: 16px;
  height: 16px;
}

.sw-cell-label {
  display: none;
}
.sw-lrow__more--top {
  display: none;
}

.sw-loc-filters {
  gap: 8px;
}
.sw-loc-filters__controls {
  flex-wrap: wrap;
  gap: 8px;
}
.sw-loc-search .form-control {
  height: 40px;
  padding: 0 11px 0 37px;
  font-size: 13px;
  line-height: normal;
  color: var(--sw-text-primary);
  border-color: #e5e8ed;
  border-radius: 8px;
}
.sw-loc-search .form-control::placeholder {
  color: var(--sw-text-tertiary);
}
.sw-loc-search .form-control:focus {
  border-color: var(--sw-violet);
  box-shadow: 0 0 0 3px rgba(110, 93, 248, 0.15);
}
.sw-loc-search__icon {
  left: 12px;
}
.sw-loc-select,
.sw-loc-filter-btn {
  --bs-btn-font-size: 14px;
  --bs-btn-line-height: normal;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #e5e8ec;
  --bs-btn-hover-bg: var(--sw-surface-muted);
  --bs-btn-hover-border-color: #e5e8ec;
  --bs-btn-active-bg: var(--bs-btn-hover-bg);
  --bs-btn-active-border-color: var(--bs-btn-hover-border-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  white-space: nowrap;
}
.sw-loc-select {
  --bs-btn-padding-x: 13px;
  --bs-btn-padding-y: 0px;
  --bs-btn-font-weight: 500;
  --bs-btn-color: #474f5c;
  --bs-btn-hover-color: #474f5c;
  --bs-btn-active-color: #474f5c;
  --bs-btn-border-radius: 10px;
  padding-right: 11px;
}
.sw-loc-filter-btn {
  --bs-btn-padding-x: 11px;
  --bs-btn-padding-y: 0px;
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--sw-text-primary);
  --bs-btn-hover-color: var(--sw-text-primary);
  --bs-btn-active-color: var(--sw-text-primary);
  --bs-btn-border-radius: 8px;
}
.sw-loc-filter-btn .badge {
  --bs-badge-padding-x: 6px;
  --bs-badge-padding-y: 2px;
  --bs-badge-font-size: 11px;
  --bs-badge-font-weight: 600;
  top: 0;
  line-height: 13px;
  background: var(--sw-violet);
}

.sw-loc-select__menu {
  --bs-dropdown-min-width: 100%;
}
.sw-loc-select__menu,
.sw-lrow__actions-menu {
  --bs-dropdown-padding-x: 6px;
  --bs-dropdown-padding-y: 6px;
  --bs-dropdown-font-size: 14px;
  --bs-dropdown-border-color: var(--sw-border-default);
  --bs-dropdown-border-radius: 10px;
  --bs-dropdown-link-color: var(--sw-text-primary);
  --bs-dropdown-link-hover-color: var(--sw-text-primary);
  --bs-dropdown-link-hover-bg: var(--sw-surface-muted);
  --bs-dropdown-link-active-color: var(--sw-violet-500);
  --bs-dropdown-link-active-bg: transparent;
  --bs-dropdown-item-padding-x: 12px;
  --bs-dropdown-item-padding-y: 8px;
  --bs-dropdown-item-border-radius: 7px;
  box-shadow: 0 8px 24px rgba(15, 16, 32, 0.1);
}
.sw-loc-select__menu li + li,
.sw-lrow__actions-menu li + li {
  margin-top: 2px;
}
.sw-loc-select__menu .dropdown-item,
.sw-lrow__actions-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.sw-lrow__actions-menu .sw-lrow__action-danger {
  --bs-dropdown-link-color: #d13d3d;
  --bs-dropdown-link-hover-color: #d13d3d;
  --bs-dropdown-link-hover-bg: #fce9e9;
  --bs-dropdown-link-active-color: #d13d3d;
}
.sw-loc-select__menu .dropdown-item.is-selected {
  color: var(--bs-dropdown-link-active-color);
  background-color: var(--bs-dropdown-link-active-bg);
  font-weight: 600;
}
.sw-loc-select__menu .dropdown-item.is-selected::after {
  content: "";
  width: 14px;
  height: 14px;
  margin-left: auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

@media (min-width: 992px) {
  .sw-loc-filters,
  .sw-loc-filters__controls {
    gap: 10px;
  }
  .sw-loc-filters__controls {
    flex-wrap: nowrap;
  }
  .sw-loc-search {
    min-width: 0;
  }
  .sw-loc-search .form-control {
    padding: 0 13px 0 39px;
    border-color: #e5e8ec;
    border-radius: 10px;
  }
  .sw-loc-search__icon {
    left: 14px;
  }
  .sw-loc-select,
  .sw-loc-filter-btn {
    height: 40px;
  }
  .sw-loc-filter-btn {
    --bs-btn-padding-x: 13px;
    --bs-btn-border-radius: 10px;
  }
}

.sw-loc-stats,
.sw-loc-filters,
.sw-loc-list {
  margin-bottom: 24px;
}

/* Location reviews */
.sw-reviews {
  --bs-card-spacer-y: 23px;
  --bs-card-spacer-x: 23px;
  --bs-card-border-color: #ececec;
}
.sw-reviews .sw-card__title {
  font-size: 16px;
  line-height: 19px;
  color: var(--sw-text-primary);
}
.sw-reviews .sw-card__subtitle {
  font-size: 12.5px;
  line-height: normal;
}
.sw-reviews__grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sw-review {
  --bs-card-spacer-y: 15px;
  --bs-card-spacer-x: 15px;
  --bs-card-bg: #fbfbfd;
  --bs-card-border-color: #ececec;
  --bs-card-border-radius: 12px;
  gap: 12px;
}
.sw-review__top {
  align-items: center;
  gap: 8px;
}
.sw-review__name {
  font-size: 13px;
  line-height: normal;
  font-weight: 500;
  color: var(--sw-text-primary);
  min-width: 0;
}
.sw-review__score-wrap {
  align-items: center;
  gap: 2px;
}
.sw-review__score {
  font-size: 16px;
  line-height: 19px;
  font-weight: 600;
  color: var(--sw-violet);
}
.sw-review__out {
  font-size: 11px;
  line-height: 13px;
  color: var(--sw-text-secondary);
}

.sw-review__out::before {
  content: " ";
  white-space: pre;
}
.sw-review__count {
  font-size: 11px;
  line-height: 13px;
  color: var(--sw-text-secondary);
}

/* Responsive */
@media (max-width: 991.98px) {
  .sw-ltable,
  .sw-ltable tbody {
    display: block;
  }
  .sw-ltable colgroup,
  .sw-ltable__head {
    display: none;
  }
  
  .sw-loc-table-card {
    --bs-card-spacer-y: 0px;
    --bs-card-spacer-x: 0px;
    overflow: hidden;
  }

  .sw-lrow > td,
  .sw-lrow > td:first-child,
  .sw-lrow > td:last-child {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    vertical-align: initial;
  }

  .sw-ltable .sw-lrow,
  .sw-ltable .sw-lrow--chain,
  .sw-ltable .sw-lrow--division,
  .sw-ltable .sw-lrow[data-level="location"]:last-child {
    height: auto;
  }
  .sw-lrow {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
      "loc    loc  loc"
      "status earn camp"
      "perf   perf action";
    align-items: start;
    gap: 12px 0;
    padding: 14px 13px;
    border: 0;
    border-bottom: 1px solid #eef0f2;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }

  .sw-lrow > td.sw-lrow__loc {
    border-bottom: 1px solid #ededf0;
    padding-bottom: 12px;
  }
  .sw-lrow[data-level="location"] .sw-lrow__name {
    font-size: 14px;
    font-weight: 600;
  }
  .sw-lrow__more--top {
    display: inline-flex;
    margin-left: auto;
    align-self: center;
  }
  .sw-lrow__more--end {
    display: none;
  }

  .sw-lrow__status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .sw-lrow__status .sw-cell-label {
    display: block;
    order: 2;
    font-size: 10px;
    color: #9ca3b0;
    margin: 0;
  }
  .sw-lrow__camp {
    text-align: right;
  }
  .sw-lrow__sub {
    font-size: 11px;
  }

  .sw-ltable .sw-lrow[data-level="location"] > td.sw-lrow__status {
    display: flex;
    gap: 2px;
  }
  .sw-ltable .sw-lrow__status .sw-spill {
    --bs-badge-font-size: 10px;
    line-height: 12px;
  }
  .sw-ltable .sw-lrow__status .sw-cell-label {
    line-height: normal;
  }
  .sw-ltable .sw-lrow__sub {
    font-size: 10px;
    line-height: 12px;
    color: #9ca3b0;
  }

  .sw-ltable .sw-lrow[data-level="location"] > .sw-lrow__perf,
  .sw-ltable .sw-lrow[data-level="location"] > .sw-lrow__action {
    margin-top: 6px;
  }
  .sw-lrow__perf {
    align-self: center;
  }
  .sw-ltable .sw-lrow__perf .sw-bar {
    width: 185px;
  }
  .sw-lrow__action {
    align-self: center;
    justify-self: end;
  }
  .sw-lrow__action-in {
    justify-content: flex-end;
  }
}

@media (max-width: 575.98px) {
  .sw-loc-stats {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
  }
  .sw-loc-stats,
  .sw-loc-filters,
  .sw-loc-list {
    margin-bottom: 20px;
  }

  .sw-reviews {
    --bs-card-spacer-y: 15px;
    --bs-card-spacer-x: 15px;
    --bs-card-border-color: #e5e5eb;
  }
  .sw-reviews .sw-card__head {
    flex-wrap: nowrap;
    margin-bottom: 14px;
  }
  .sw-reviews .sw-card__title {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 2px;
  }
  .sw-reviews .sw-card__subtitle {
    font-size: 11px;
    line-height: 13px;
  }
  .sw-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sw-review {
    --bs-card-spacer-y: 10px;
    --bs-card-spacer-x: 11px;
    --bs-card-border-radius: 10px;
    gap: 7px;
  }
  .sw-review__top {
    align-items: baseline;
    gap: 4px;
  }
  .sw-review__name {
    font-size: 10px;
    font-weight: 600;
  }
  .sw-review__score-wrap {
    align-items: baseline;
    gap: 0;
  }
  .sw-review__score,
  .sw-review__out {
    font-size: 10px;
    line-height: 12px;
    font-weight: 700;
    color: var(--sw-violet);
  }
  .sw-review__count {
    font-size: 10px;
    line-height: 12px;
    color: #9ca3b0;
  }
}

.sw-lgrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sw-lgrid .sw-lrow > * {
  min-width: 0;
}

.sw-lgrid .sw-lrow {
  --bs-card-spacer-y: 14px;
  --bs-card-spacer-x: 14px;
  --bs-card-border-color: #e5e5eb;
  --bs-card-border-radius: 14px;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  border: var(--bs-card-border-width) solid var(--bs-card-border-color);
  border-radius: var(--bs-card-border-radius);
  background-color: var(--bs-card-bg);
  overflow-wrap: normal;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "loc    loc  loc"
    "status earn camp"
    "perf   perf action";
  align-items: start;
  gap: 14px 10px;
  box-shadow: 0 1px 2px rgba(15, 16, 32, 0.04);
}
.sw-lgrid .sw-lrow__loc {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-bottom: 1px solid #ededf0;
  padding-bottom: 12px;
}
.sw-lgrid .sw-lrow__addr {
  white-space: normal;
}
.sw-lgrid .sw-lrow__more--top {
  display: inline-flex;
  margin-left: auto;
  align-self: center;
}
.sw-lgrid .sw-lrow__more--end {
  display: none;
}
.sw-lgrid .sw-lrow__status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.sw-lgrid .sw-lrow__status .sw-cell-label {
  display: block;
  order: 2;
  font-size: 10px;
  color: #9ca3b0;
  margin: 0;
}
.sw-lgrid .sw-lrow__camp {
  text-align: right;
}
.sw-lgrid .sw-lrow__sub {
  font-size: 11px;
}
.sw-lgrid .sw-lrow__perf {
  align-self: center;
}
.sw-lgrid .sw-lrow__action {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  justify-self: end;
  justify-content: flex-end;
}

@media (max-width: 991.98px) {
  .sw-lgrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767.98px) {
  .sw-lgrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .sw-lrow--division .sw-lrow__loc-in,
  .sw-lrow[data-level="location"] .sw-lrow__loc-in {
    padding-left: 0;
  }
  .sw-lrow[data-level="location"] .sw-lrow__loc-in {
    gap: 10px;
  }

  .sw-lrow--chain,
  .sw-lrow--division {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 12px 13px;
    border: 0;
    border-bottom: 1px solid #eef0f2;
    border-radius: 0;
    box-shadow: none;
  }
  .sw-lrow--chain {
    background: #f3f1fe;
  }
  .sw-lrow--division {
    background: #f8f9fb;
  }

  .sw-lrow--chain > td,
  .sw-lrow--division > td {
    background: transparent;
  }
  .sw-lrow--chain > td.sw-lrow__status,
  .sw-lrow--chain > td.sw-lrow__camp,
  .sw-lrow--chain > td.sw-lrow__action,
  .sw-lrow--division > td.sw-lrow__status,
  .sw-lrow--division > td.sw-lrow__camp,
  .sw-lrow--division > td.sw-lrow__action {
    display: none;
  }

  .sw-lrow--chain > td.sw-lrow__loc,
  .sw-lrow--division > td.sw-lrow__loc {
    flex: 1 1 100%;
    border: 0;
    padding: 0;
  }
  .sw-lrow--chain .sw-cell-label,
  .sw-lrow--division .sw-cell-label {
    display: none;
  }
  .sw-lrow--chain .sw-lrow__earn,
  .sw-lrow--division .sw-lrow__earn,
  .sw-lrow--chain .sw-lrow__perf,
  .sw-lrow--division .sw-lrow__perf {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
  }
}

.sw-store-detail {
  padding: 20px 24px 22px;
}
.sw-store-detail__head {
  align-items: center;
  margin-bottom: 18px;
}
.sw-store-detail__title {
  font-size: 18px;
  color: var(--sw-text-primary);
  margin: 0 0 3px;
}
.sw-store-detail__sub {
  font-size: 13px;
  color: var(--sw-text-secondary);
}

.sw-store-detail__dir {
  --bs-btn-padding-x: 15px;
  --bs-btn-padding-y: 9px;
  --bs-btn-font-size: 13.5px;
  --bs-btn-font-weight: 600;
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--sw-violet-500);
  --bs-btn-border-width: 0px;
  --bs-btn-border-radius: 10px;
  --bs-btn-hover-color: var(--bs-btn-color);
  --bs-btn-hover-bg: var(--bs-btn-bg);
  --bs-btn-active-color: var(--bs-btn-color);
  --bs-btn-active-bg: var(--bs-btn-bg);
  gap: 7px;
}
.sw-store-detail__dir:hover {
  filter: brightness(1.05);
}
.sw-store-detail__dir svg {
  width: 15px;
  height: 15px;
}
.sw-store-detail__grid {
  gap: 24px;
}
.sw-store-detail__col {
  flex: 1 1 0;
  min-width: 0;
  gap: 14px;
}
.sw-store-detail__item {
  gap: 3px;
}
.sw-store-detail__label {
  font-size: 10.5px;
  letter-spacing: 0.5px;
  color: #9499a8;
}
.sw-store-detail__value {
  font-size: 14px;
  color: var(--sw-text-primary);
}
.sw-storecamp__head {
  gap: 12px;
}
.sw-storecamp__row {
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f2f4;
}
.sw-storecamp__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.sw-storecamp__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #18181b;
}
.sw-storecamp__mid {
  flex: 1;
  min-width: 0;
  gap: 2px;
}
.sw-storecamp__name {
  font-size: 15px;
  color: var(--sw-text-primary);
}
.sw-storecamp__meta {
  font-size: 12.5px;
  color: var(--sw-text-secondary);
}
.sw-storecamp__earn-val {
  font-size: 15px;
  color: var(--sw-text-primary);
}
.sw-storecamp__earn-cap {
  font-size: 11px;
  color: var(--sw-text-tertiary);
}

.sw-cstatus {
  --bs-badge-padding-y: 4px;
  --bs-badge-padding-x: 10px;
  --bs-badge-font-size: 12px;
  --bs-badge-font-weight: 600;
  display: inline-flex;
  line-height: inherit;
}
.sw-cstatus--active {
  --bs-badge-color: var(--sw-success-text);
  background: var(--sw-success-soft);
}
.sw-cstatus--ending {
  --bs-badge-color: var(--sw-warning-text);
  background: #fdeccd;
}

@media (max-width: 575.98px) {
  .sw-store-detail__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .sw-store-detail__dir {
    width: 100%;
    justify-content: center;
  }
  .sw-store-detail__grid {
    flex-direction: column;
    gap: 14px;
  }

  .sw-storecamp__row {
    flex-wrap: wrap;
  }
  .sw-storecamp__mid {
    flex: 1 1 calc(100% - 58px);
  }
  .sw-storecamp__earn {
    margin-left: auto;
  }
}
