.store-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 9px;
}

.store-map-tab {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
}

.store-map-tab[aria-pressed="true"] {
  border-color: var(--ink-solid);
  background: var(--ink-solid);
  color: var(--ink-on-solid);
}

.store-map-tab:focus-visible {
  outline: 2px solid var(--title);
  outline-offset: 2px;
}

.store-map-legend {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.store-map-frame {
  display: block;
  width: 100%;
  height: min(75vh, 820px);
  min-height: 490px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-subtle);
}

.store-map-document {
  scroll-behavior: auto;
}

.store-map-static {
  color: var(--text);
}

.store-map-static * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

.store-map-static button:disabled,
.store-map-static input:disabled,
.store-map-static textarea:disabled,
.store-map-static a,
.store-map-static summary,
.store-map-static label {
  cursor: default;
  opacity: 1;
  pointer-events: none;
}

.store-map-static .map-control {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  vertical-align: middle;
}

.store-map-static .map-control--stretch,
.store-map-static .seg-tabs .map-control > button,
.store-map-static #smartPasteInput {
  width: 100%;
}

.store-map-static .map-control:has(.clean-input),
.store-map-static .map-control:has(.sizer-addon-card),
.store-map-static .map-control:has(.terms-slim),
.store-map-static .map-control:has(input[type="range"]) {
  align-items: stretch;
}

.store-map-static .phone-os-row .map-control:has(.clean-input) {
  width: auto;
}

.store-map-static .map-badge {
  display: flex;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
  margin: 0;
  color: #144645;
  font-family: system-ui, sans-serif;
  font-size: 10px;
  line-height: 1.15;
}

.store-map-static .map-badge-row {
  display: inline-flex;
  min-width: 0;
  min-height: 19px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 4px;
  padding: 3px 6px;
  border: 1px solid #b6d9d4;
  border-radius: 7px;
  background: #e3f4ef;
  text-align: center;
}

.store-map-static .map-badge-row strong {
  font-size: inherit;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.store-map-static .nav-links,
.store-map-static .cfg-label-row,
.store-map-static .carousel-bar {
  align-items: flex-start;
}

.store-map-static .nav-links,
.store-map-static .color-row-inline,
.store-map-static .carousel-dots,
.store-map-static .app-page-picker,
.store-map-static .cfg-label-row,
.store-map-static .smart-tools-bar {
  flex-wrap: wrap;
}

.store-map-static .c-dot {
  width: 10px;
  height: 10px;
}

.store-map-static .minimal-hero-head > .map-badge,
.store-map-static .download-link .map-badge,
.store-map-static .qr-frame + .map-badge,
.store-map-static .app-dual-card > .map-control {
  margin: 7px auto 0;
}

.store-map-static .color-row-inline,
.store-map-static .size-capsules,
.store-map-static .sku-capsules,
.store-map-static .app-page-picker {
  align-items: flex-start;
}

.store-map-static .accordion-item > .map-badge,
.store-map-static .viewer-stage-wrap + .map-badge,
.store-map-static #orderViewTitle + .map-badge {
  margin: 6px 0 8px;
}

.store-map-static .carousel-slide > .map-badge {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
}

.store-map-static #viewerAnchor {
  position: static;
}

.store-map-static .floating-video-pip {
  position: static;
  width: fit-content;
  max-width: 100%;
  align-items: flex-end;
  margin: 16px 0 0 auto;
}

.store-map-static .floating-video-pip > .map-badge {
  justify-content: flex-end;
}

.store-map-static .app-dual-card > .map-control {
  position: relative;
  z-index: 1;
}

.store-map-static .app-page-picker .map-badge {
  max-width: 118px;
  flex-direction: column;
}

.store-map-static .accordion-item {
  overflow: hidden;
}

.store-map-static .map-modal {
  position: static;
  display: flex;
  width: 100%;
  padding: 14px;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  backdrop-filter: none;
}

.store-map-static .modal-sheet {
  max-height: none;
  overflow: visible;
  border-radius: 16px;
}

.store-map-static .map-pane-heading {
  margin: 14px 0 8px;
  color: var(--title);
  font-size: 12px;
  font-weight: 650;
}

.store-map-static #cashierDoneStep {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.store-map-static #cashierQrFrame {
  min-height: 96px;
  display: grid;
  place-items: center;
  border-style: dashed;
  color: var(--muted);
  font-size: 12px;
}

.store-map-static .video-theater {
  max-width: 460px;
}

.store-map-static .video-theater .map-control--close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
}

.store-map-static .video-theater .map-control--close > button {
  position: static;
}

.store-map-static .map-video-poster {
  display: block;
  width: 100%;
  max-height: 58vh;
  object-fit: contain;
}

.store-map-static #videoTheaterSlot > .map-badge {
  margin: 10px auto;
  padding: 0 10px;
}

.store-map-static .map-order-sample .size-capsules {
  margin-bottom: 10px;
}

.store-map-static .global-nav {
  min-height: 44px;
  height: auto;
}

.store-map-static .global-nav-inner {
  padding-block: 4px;
}

@media (max-width: 600px) {
  .store-map-frame {
    min-height: 430px;
  }

  .store-map-static .global-nav-inner {
    gap: 4px;
    padding: 3px 8px;
  }

  .store-map-static .nav-links {
    gap: 2px;
    justify-content: flex-end;
  }

  .store-map-static .nav-item,
  .store-map-static .theme-pill {
    padding-inline: 5px;
  }

  .store-map-static .nav-links .map-badge-row {
    padding-inline: 3px;
    font-size: 9px;
  }

  .store-map-static .carousel-bar {
    flex-wrap: wrap;
    gap: 6px;
  }

  .store-map-static .app-page-picker {
    border-radius: 14px;
  }
}
