:root {

  --primary: #003366;

  --primary-dark: #002244;

  --accent: #c8102e;

  --sale: #c8102e;

  --header-bg: #003366;

  --header-text: #ffffff;

  --bg: #f4f6f9;

  --card: #ffffff;

  --text: #1c2434;

  --muted: #5a6478;

  --border: #d8dee8;

  --font: "Segoe UI", Roboto, system-ui, -apple-system, sans-serif;

}



* { box-sizing: border-box; }

body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.45; font-size: 15px; }



.store-header {

  display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.25rem;

  padding: 0.85rem 1.5rem; background: var(--header-bg); color: var(--header-text);

  border-bottom: 3px solid var(--accent);

}

.store-logo { height: 48px; width: auto; }

.store-header-text { flex: 1; min-width: 200px; }

.store-header h1 { margin: 0; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.02em; color: var(--header-text); text-transform: uppercase; }

.store-meta { margin: 0.1rem 0 0; color: rgba(255,255,255,0.82); font-size: 0.82rem; }



.store-nav { display: flex; flex-wrap: wrap; gap: 0.35rem; width: 100%; }

.store-nav a {

  padding: 0.4rem 0.8rem; border-radius: 4px; text-decoration: none;

  color: var(--header-text); border: 1px solid rgba(255,255,255,0.35); background: transparent;

  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;

}

.store-nav a.active, .store-nav a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.store-nav .nav-login { margin-left: auto; text-transform: none; letter-spacing: 0; }

.store-nav .nav-user { margin-left: auto; margin-right: 0; text-transform: none; opacity: 0.9; font-weight: 500; }



.store-banner img { width: 100%; max-height: 200px; object-fit: cover; display: block; }



.store-main { max-width: 1080px; margin: 0 auto; padding: 1.25rem 1.5rem; }

.store-footer { text-align: center; padding: 1.25rem; color: var(--muted); font-size: 0.8rem; border-top: 1px solid var(--border); margin-top: 1.5rem; background: var(--card); }
.store-powered { margin-top: 0.5rem; }
.store-powered a { color: var(--accent, #0a3320); text-decoration: none; }
.store-powered a:hover { text-decoration: underline; }



.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.card {

  background: var(--card); border: 1px solid var(--border); border-radius: 6px;

  padding: 1.1rem 1.25rem; margin-bottom: 1rem; box-shadow: 0 1px 2px rgba(28,36,52,0.04);

}

.card h2 { margin: 0 0 0.65rem; font-size: 1.05rem; color: var(--primary); font-weight: 700; letter-spacing: 0.02em; }



.hours-list { list-style: none; padding: 0; margin: 0; }

.hours-list li { display: flex; justify-content: space-between; padding: 0.3rem 0; border-bottom: 1px solid #edf0f5; font-size: 0.92rem; }



.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.85rem; }

.product-card {

  background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 0.9rem;

}

.product-card h3 { margin: 0 0 0.2rem; font-size: 0.95rem; font-weight: 600; }

.product-title-link { color: inherit; text-decoration: none; }

.product-title-link:hover { color: var(--primary); text-decoration: underline; }

.product-brand { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.4rem; }

.product-price { font-weight: 700; color: var(--primary); font-size: 1.05rem; }

.product-price-lg { font-size: 1.25rem; margin: 0.65rem 0; }

.product-sale { color: var(--sale); margin-left: 0.45rem; font-size: 0.88rem; font-weight: 700; }

.product-loc { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; }

.product-cat {

  display: inline-block; background: #e8eef6; color: var(--primary); font-size: 0.7rem;

  font-weight: 600; padding: 0.12rem 0.45rem; border-radius: 3px; margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.04em;

}

.product-badge {
  display: inline-block;
  margin: 0 0 0.35rem 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 3px;
  background: rgba(200, 16, 46, 0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-deals__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.85rem;
}

.home-deals__head h2 { margin: 0 0 0.25rem; }

.home-deals__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-deals__cta {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  white-space: nowrap;
}

.home-flyer-cover {
  display: block;
  margin: 0 0 1rem;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.home-flyer-cover img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.home-deals__foot {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.home-deals__foot a { color: var(--accent); font-weight: 600; }

.product-actions { margin: 0.65rem 0 0; font-size: 0.85rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.45rem; }

.add-list-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }

.qty-stepper {

  display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 4px;

  overflow: hidden; background: #fff;

}

.qty-btn {

  width: 1.9rem; height: 1.9rem; border: 0; background: #eef2f7; color: #333; font-size: 1rem;

  font-weight: 700; cursor: pointer; line-height: 1; padding: 0;

}

.qty-btn:hover { background: #dde4ee; }

.qty-input {

  width: 2.35rem; height: 1.9rem; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border);

  text-align: center; font-size: 0.9rem; font-weight: 600; padding: 0;

  -moz-appearance: textfield;

}

.qty-input::-webkit-outer-spin-button,

.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product-actions-extra { font-size: 0.85rem; }

.btn-add-list {

  display: inline-block; padding: 0.32rem 0.7rem; background: var(--primary); color: #fff;

  text-decoration: none; border-radius: 4px; font-weight: 600; border: 0; cursor: pointer; font-size: inherit;

}

.btn-add-list:hover { background: var(--primary-dark); }

.btn-add-list.is-added { background: #2e7d32; }

.btn-add-list.is-loading { opacity: 0.75; }

.btn-add-list:disabled { opacity: 0.85; cursor: default; }

.add-list-feedback { margin: 0.3rem 0 0; width: 100%; font-size: 0.82rem; color: #2e7d32; }

.add-list-feedback.is-error { color: var(--sale); }

.breadcrumb { margin: 0 0 0.85rem; font-size: 0.85rem; }

.breadcrumb a { color: var(--primary); font-weight: 600; }

.product-detail h2 { margin: 0.2rem 0 0.45rem; color: var(--primary); }



.map-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 6px; background: #fafbfc; }

.map-route-wrap { position: relative; display: block; width: 100%; }

.route-map-zoom-root { margin: 0.75rem 0 0; }

.route-map-zoom-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
  margin-bottom: 0.5rem;
}

.route-map-zoom-btn {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 4px;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.route-map-zoom-btn:hover { filter: brightness(1.08); }

.route-map-zoom-reset {
  font-size: 0.78rem;
  font-weight: 600;
  min-width: auto;
}

.route-map-zoom-level {
  min-width: 3.2rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
}

.route-map-zoom-hint {
  font-size: 0.78rem;
  color: var(--muted);
}

.route-map-viewport {
  position: relative;
  overflow: auto;
  max-height: min(72vh, 720px);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fafbfc;
  cursor: default;
}

.route-map-viewport.is-panning { cursor: grabbing; }

.route-map-stage {
  position: relative;
  display: inline-block;
  line-height: 0;
  vertical-align: top;
}

.route-map-stage .store-map-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

.route-map-stage .map-route-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-shelf-marker {
  pointer-events: auto;
  cursor: pointer;
}

.route-shelf-marker:focus {
  outline: none;
}

.route-shelf-marker:focus-visible .route-shelf-hit {
  stroke: #003366;
  stroke-width: 2;
}

.route-shelf-label {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.route-shelf-marker:hover .route-shelf-label,
.route-shelf-marker.is-active .route-shelf-label {
  opacity: 1;
  visibility: visible;
}

.route-shelf-marker.is-active .route-shelf-hit {
  stroke: currentColor;
  stroke-width: 2;
}

.route-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--muted);
}

.route-map-legend strong { color: var(--text); margin-right: 0.35rem; }

.route-map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
  font-weight: 600;
}

.route-map-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.map-wrap img, .map-wrap .store-map-img { max-width: 100%; height: auto; display: block; min-height: 120px; }



.cta-box {

  background: linear-gradient(135deg, var(--primary), var(--primary-dark));

  color: #fff; border-radius: 6px; padding: 1rem 1.15rem; margin-bottom: 1rem;

  border-left: 4px solid var(--accent);

}

.cta-box a { color: #fff; font-weight: 700; }



.empty { color: var(--muted); font-style: italic; }

.mascot-empty { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; padding: 1rem 0; }

.mascot-empty-img { width: 96px; height: 96px; object-fit: contain; }

.mascot-empty .empty { font-style: normal; margin: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shop browse — progress, toolbar, chips, load more */
.shop-progress {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  border-left: 4px solid var(--accent);
}

.shop-progress__step {
  flex: 1;
  min-width: 7rem;
  text-align: center;
  padding: 0.45rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid transparent;
}

.shop-progress__step:hover {
  color: var(--primary);
  background: #eef2f7;
  text-decoration: none;
}

.shop-progress__step.is-current {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.shop-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.shop-card__head h2 { margin: 0; }

.shop-meta-count {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.shop-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0 0 0.85rem;
  padding: 0.75rem;
  background: #eef2f7;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.shop-search {
  flex: 1 1 16rem;
  min-width: 12rem;
}

.shop-search input[type="search"] {
  width: 100%;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}

.shop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.shop-search-btn {
  padding: 0.5rem 0.95rem;
  border: 0;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.shop-search-btn:hover { background: var(--primary-dark); }

.shop-clear {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.shop-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  max-height: 7.5rem;
  overflow: auto;
  padding-bottom: 0.15rem;
}

.shop-chip {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.shop-chip:hover {
  border-color: var(--primary);
  text-decoration: none;
}

.shop-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.shop-chip__count {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(0, 51, 102, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.shop-chip.is-active .shop-chip__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.shop-browse-hint {
  margin: -0.35rem 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.shop-product-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.shop-category {
  scroll-margin-top: 5rem;
}

.shop-category__title {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--primary);
  background: linear-gradient(180deg, #eef2f7 0%, #e8eef6 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
}

.shop-empty {
  padding: 1.25rem 0.25rem 0.5rem;
  color: var(--muted);
}

.shop-empty p { margin: 0 0 0.5rem; }

.shop-empty__hints { font-size: 0.92rem; }

.shop-empty__hints a { color: var(--accent); font-weight: 600; }

.shop-load-more-wrap {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.shop-load-more {
  padding: 0.65rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.shop-load-more:hover { border-color: var(--primary); background: #eef2f7; }

.shop-load-more.is-loading,
.shop-load-more:disabled {
  opacity: 0.75;
  cursor: default;
}

.shop-next-step {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.shop-next-step a { color: var(--accent); font-weight: 600; }

@media (max-width: 720px) {

  .grid2 { grid-template-columns: 1fr; }

  .store-nav .nav-login { margin-left: 0; }

  .store-main { padding: 1rem; }

  .shop-progress__step { flex: 1 1 100%; text-align: left; }

  .shop-toolbar { position: static; }

}


