/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1f2a44;
  background-color: #f5f7fb;
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: -webkit-gradient(linear, left top, left bottom, from(#f5f7fb), to(#fff));
  background: -o-linear-gradient(top, #f5f7fb 0%, #fff 100%);
  background: linear-gradient(180deg, #f5f7fb 0%, #fff 100%);
}

.app-shell {
  min-height: 100vh;
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto 1fr;
  grid-template-rows: auto 1fr;
}

.app-main {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.app-main > * {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #2f4858;
  color: #fff;
  font-weight: 600;
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button:not(:disabled):hover {
  -webkit-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  transform: translateY(-1px);
  -webkit-box-shadow: 0 4px 12px rgba(47, 72, 88, 0.25);
  box-shadow: 0 4px 12px rgba(47, 72, 88, 0.25);
}

.radio-button-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-button {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: #edf2fb;
  color: #1f2a44;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.radio-button.selected {
  background: #2f4858;
  color: #fff;
  -webkit-box-shadow: 0 10px 20px rgba(47, 72, 88, 0.25);
  box-shadow: 0 10px 20px rgba(47, 72, 88, 0.25);
}

.radio-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #d9e2ec;
  font-size: 1rem;
  background-color: #fff;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.card {
  background-color: #fff;
  border-radius: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  -webkit-box-shadow: none;
  box-shadow: none;
  width: 100%;
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.5rem;
}

.terms-modal {
  position: fixed;
  inset: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  z-index: 1000;
}

.terms-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.terms-modal__dialog {
  position: relative;
  max-width: min(640px, 90vw);
  max-height: min(80vh, 700px);
  background: #fff;
  border-radius: 16px;
  -webkit-box-shadow: 0 24px 48px rgba(31, 42, 68, 0.2);
  box-shadow: 0 24px 48px rgba(31, 42, 68, 0.2);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}

.terms-modal__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.terms-modal__header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.terms-modal__close {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  cursor: pointer;
}

.terms-modal__content {
  padding: 1.5rem;
  overflow-y: auto;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  color: #1f2a44;
}

.terms-modal__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 1rem;
}

.grid {
  display: -ms-grid;
  display: grid;
  gap: 1.5rem;
}

.grid.two-columns {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-selection-grid {
  display: -ms-grid;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 1rem 1fr;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 20px;
  padding: 1rem 1.25rem;
  background: #fff;
  color: inherit;
  text-align: left;
  border: 2px solid transparent;
  -webkit-box-shadow: 0 12px 24px rgba(31, 42, 68, 0.05);
  box-shadow: 0 12px 24px rgba(31, 42, 68, 0.05);
  -webkit-transition: border-color 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.product-card:hover {
  -webkit-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-box-shadow: 0 18px 36px rgba(31, 42, 68, 0.12);
  box-shadow: 0 18px 36px rgba(31, 42, 68, 0.12);
}

.product-card.active {
  border-color: #2f4858;
  -webkit-box-shadow: 0 20px 40px rgba(47, 72, 88, 0.18);
  box-shadow: 0 20px 40px rgba(47, 72, 88, 0.18);
  background: #f8fafc;
}

.product-card-media {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  overflow: hidden;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: -o-linear-gradient(315deg, #c7d2fe, #f1f5f9);
  background: linear-gradient(135deg, #c7d2fe, #f1f5f9);
}

.product-card-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.product-card-media.small {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.product-card-content {
  display: -ms-grid;
  display: grid;
  gap: 0.35rem;
}

.product-card-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #64748b;
}

.product-card-type.subtle {
  color: #94a3b8;
}

.draggable-product-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.75rem;
}

.game-assign-layout {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(260px, 340px) 1.5rem 1fr;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 1.5rem;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.assign-sidebar {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  -webkit-box-shadow: 0 18px 36px rgba(31, 42, 68, 0.08);
  box-shadow: 0 18px 36px rgba(31, 42, 68, 0.08);
  display: -ms-grid;
  display: grid;
  gap: 1.5rem;
}

.assign-map-wrapper {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
}

.assign-empty {
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
  background: #f8fafc;
  border-radius: 18px;
  padding: 1.25rem;
  color: #475569;
}

.link-button {
  border: none;
  background: transparent;
  color: #2563eb;
  padding: 0;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  text-align: left;
}

.link-button:hover {
  text-decoration: underline;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 999px;
  background-color: #eef2ff;
  color: #2f4858;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.tag-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background-color: #dce8ff;
  color: #1f2a44;
  font-weight: 600;
}

.tag.small {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
}

.status-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-pill.online {
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
}

.status-pill.offline {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.selected-products {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
}

.draggable-product {
  border: 2px dashed #c7d2fe;
  border-radius: 18px;
  padding: 1rem;
  background: #fff;
  cursor: -webkit-grab;
  cursor: grab;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 0.5rem;
  -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.draggable-product.assigned {
  border-style: solid;
  border-color: #2f4858;
  -webkit-box-shadow: 0 12px 24px rgba(47, 72, 88, 0.15);
  box-shadow: 0 12px 24px rgba(47, 72, 88, 0.15);
}

.draggable-product.active {
  border-color: #2563eb;
  -webkit-box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
}

.draggable-product:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}

.draggable-product button {
  -ms-flex-item-align: start;
  align-self: flex-start;
}

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

.map-area {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: -o-linear-gradient(315deg, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.05)),
  #f8fafc;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(15, 23, 42, 0.05)),
  #f8fafc;
  padding: 2rem;
  overflow: hidden;
  isolation: isolate;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 25px 60px rgba(15, 23, 42, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 25px 60px rgba(15, 23, 42, 0.18);
  --map-rotation: 0deg;
  --map-flip: 1;
}

.map-area__background {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: -o-linear-gradient(250deg, rgba(15, 23, 42, 0.12), transparent 45%, rgba(37, 99, 235, 0.12)),
  -o-linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
  -o-linear-gradient(left, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
  url('/public/mapa-bcn.png');
  background-image: linear-gradient(200deg, rgba(15, 23, 42, 0.12), transparent 45%, rgba(37, 99, 235, 0.12)),
  linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
  linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
  url('/public/mapa-bcn.png');
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  background-size: cover, 70px 70px, 70px 70px, cover;
  background-position: center;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transform: scaleX(var(--map-flip)) rotate(var(--map-rotation));
  -ms-transform: scaleX(var(--map-flip)) rotate(var(--map-rotation));
  transform: scaleX(var(--map-flip)) rotate(var(--map-rotation));
  pointer-events: none;
  z-index: 0;
}

.map-route {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.map-markers {
  position: absolute;
  inset: 0;
}

.map-start {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 2;
}

.map-start-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f97316;
  border: 3px solid #fff;
  -webkit-box-shadow: 0 12px 24px rgba(249, 115, 22, 0.3);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.3);
}

.map-start-label {
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.store-marker {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  display: -ms-grid;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  z-index: 3;
}

.store-marker-pin {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #2563eb;
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
  -webkit-transition: border-color 0.2s ease, color 0.2s ease,
  background 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, color 0.2s ease,
  background 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease,
  background 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease,
  background 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease,
  background 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.store-marker-pin:disabled {
  cursor: default;
  opacity: 0.85;
}

.store-marker-pin:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 4px;
}

.store-marker-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  -webkit-box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}

/*.store-marker.active .store-marker-pin,*/
/*.store-marker.info-open .store-marker-pin {*/
/*  transform: scale(1.08);*/
/*  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);*/
/*}*/

.store-marker.filled .store-marker-pin {
  background: #2563eb;
  color: #fff;
  border-color: #1d4ed8;
}

.store-marker.droppable .store-marker-pin {
  border-color: #16a34a;
  background: rgba(74, 222, 128, 0.22);
  color: #166534;
  -webkit-box-shadow: 0 12px 28px rgba(22, 101, 52, 0.2);
  box-shadow: 0 12px 28px rgba(22, 101, 52, 0.2);
}

.store-marker[data-route-order] .store-marker-pin::after {
  content: attr(data-route-order);
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
}

.store-marker-icons {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 0.25rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  pointer-events: none;
}

.store-marker-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37, 99, 235, 0.18);
  -webkit-box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.15);
  -o-object-fit: contain;
  object-fit: contain;
  -webkit-filter: saturate(0.75);
  filter: saturate(0.75);
  -webkit-transition: border-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  transition: border-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  -o-transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
  transition: transform 0.2s ease, border-color 0.2s ease, filter 0.2s ease, -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
}

.store-marker-icon.is-assigned {
  -webkit-filter: saturate(1.05);
  filter: saturate(1.05);
  border-color: #2563eb;
  -webkit-transform: translateY(-2px) scale(1.05);
  -ms-transform: translateY(-2px) scale(1.05);
  transform: translateY(-2px) scale(1.05);
}

.store-marker.info-open .store-marker-icon {
  -webkit-filter: saturate(1.1);
  filter: saturate(1.1);
}

.store-info-panel {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  border-radius: 20px;
  padding: 1.5rem;
  z-index: 4;
  display: -ms-grid;
  display: grid;
  gap: 1rem;
  -webkit-box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.store-info-panel[hidden] {
  display: none;
}

.store-info-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 1rem;
}

.store-info-header h4 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.store-info-close {
  border: none;
  background: rgba(248, 250, 252, 0.14);
  color: #f8fafc;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  -webkit-transition: background 0.2s ease, -webkit-transform 0.2s ease;
  transition: background 0.2s ease, -webkit-transform 0.2s ease;
  -o-transition: background 0.2s ease, transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease;
  transition: background 0.2s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
}

.store-info-close:hover,
.store-info-close:focus-visible {
  background: rgba(248, 250, 252, 0.28);
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

.store-info-close:focus-visible {
  outline: 3px solid rgba(248, 250, 252, 0.5);
  outline-offset: 2px;
}

.store-info-section {
  display: -ms-grid;
  display: grid;
  gap: 0.5rem;
}

.store-info-section h5 {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.75);
}

.store-info-grid {
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.store-info-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 0.6rem 1fr;
  grid-template-columns: auto 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.3);
  -webkit-transition: border-color 0.2s ease, background 0.2s ease, -webkit-transform 0.2s ease;
  transition: border-color 0.2s ease, background 0.2s ease, -webkit-transform 0.2s ease;
  -o-transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, -webkit-transform 0.2s ease;
}

.store-info-item.assigned {
  border-color: rgba(96, 165, 250, 0.9);
  background: rgba(37, 99, 235, 0.22);
  -webkit-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  transform: translateY(-1px);
}

.store-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.25);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.store-info-icon img {
  max-width: 100%;
  max-height: 100%;
}

.store-info-icon-fallback {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  -o-object-fit: contain;
  object-fit: contain;
}

.store-info-hint {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.85);
}

.store-info-panel .tag {
  background: rgba(148, 163, 184, 0.35);
  color: #f8fafc;
}

.store-info-panel .tag.small {
  font-size: 0.75rem;
  text-transform: none;
}

.game-result {
  display: -ms-grid;
  display: grid;
  gap: 2rem;
}

.result-layout {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1.25fr) 2.5rem minmax(0, 1fr);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.map-area--result {
  min-height: 460px;
}

.result-details {
  display: -ms-grid;
  display: grid;
  gap: 1.5rem;
}

.result-metrics {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
}

.result-metrics div {
  display: -ms-grid;
  display: grid;
  gap: 0.25rem;
}

.result-metrics dt {
  font-size: 0.9rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-metrics dd {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2a44;
}

.route-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
}

.route-step {
  position: relative;
  padding-left: 3rem;
  display: -ms-grid;
  display: grid;
  gap: 0.25rem;
}

.route-step::before {
  content: attr(data-step-label);
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: 0 10px 20px rgba(29, 78, 216, 0.25);
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.25);
}

.route-step strong {
  font-size: 1rem;
  color: #1f2a44;
}

.route-step span {
  font-size: 0.9rem;
  color: #475569;
}

.game-result .tag-list {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.game-result .tag {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.game-result .map-area {
  cursor: default;
}

.game-result .store-marker {
  cursor: default;
}

@media (max-width: 900px) {
  .game-assign-layout {
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
  }

  .assign-sidebar {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }

  .map-area--wide {
    min-height: 420px;
  }

  .result-layout {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .store-info-panel {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 1.25rem;
  }

  .store-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

@media (max-width: 640px) {
  .product-card {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-card-content {
    justify-items: center;
  }

  .product-card-media {
    margin: 0 auto;
  }

  .map-area {
    padding: 1.25rem;
  }

  .store-info-panel {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1rem;
    gap: 0.75rem;
  }

  .store-info-header h4 {
    font-size: 1rem;
  }

  .store-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 600px) {
  main {
    padding: 1.5rem 1rem 3rem;
  }

  .card {
    padding: 1.5rem;
  }

  .route-step {
    padding-left: 2.5rem;
  }

  .route-step::before {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.85rem;
  }
}

.main-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(255, 255, 255, 0.95);
  -webkit-box-shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
  box-shadow: 0 10px 30px rgba(31, 42, 68, 0.08);
}

.main-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.main-nav a {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: #1f2a44;
  -webkit-transition: background-color 0.2s ease, color 0.2s ease;
  -o-transition: background-color 0.2s ease, color 0.2s ease;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a.active,
.main-nav a:hover {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.registration-wizard {
  display: -ms-grid;
  display: grid;
  gap: 1.5rem;
}

.step-indicator {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 0.5rem;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d9e2ec;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.step-dot.active {
  width: 32px;
  background: #2f4858;
}

.step-content {
  display: -ms-grid;
  display: grid;
  gap: 1rem;
}

.step-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.step-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 16px;
}

.language-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem;
}

.language-button {
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: #e2e8f0;
  color: #1f2a44;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: border-color 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: border-color 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.language-button.active {
  background: #2f4858;
  color: #fff;
  border-color: #1f2a44;
  -webkit-box-shadow: 0 12px 24px rgba(47, 72, 88, 0.25);
  box-shadow: 0 12px 24px rgba(47, 72, 88, 0.25);
}

.form-field {
  display: -ms-grid;
  display: grid;
  gap: 0.35rem;
}

.checkbox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-weight: 500;
}

.checkbox input {
  width: 20px;
  height: 20px;
}

.checkbox input[type='radio'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 2px solid #94a3b8;
  border-radius: 6px;
  background: #fff;
  display: -ms-grid;
  display: grid;
  place-items: center;
  -webkit-transition: border-color 0.2s ease, background-color 0.2s ease;
  -o-transition: border-color 0.2s ease, background-color 0.2s ease;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checkbox input[type='radio']::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  background: #2563eb;
}

.checkbox input[type='radio']:checked {
  border-color: #2563eb;
  background: #dbeafe;
}

.checkbox input[type='radio']:checked::before {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.checkbox input[type='radio']:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.checkbox-list {
  display: -ms-grid;
  display: grid;
  gap: 0.5rem;
}

.checkbox-list .checkbox {
  margin: 0;
}

.email-status {
  font-size: 0.9rem;
  color: #475569;
}

.email-status[data-status='duplicate'] {
  color: #b91c1c;
}

.email-status[data-status='ok'] {
  color: #15803d;
}

.email-status[data-status='checking'] {
  color: #1d4ed8;
}

.option-button-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.option-button {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #1f2a44;
  font-weight: 600;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
  -o-transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, -webkit-transform 0.2s ease, -webkit-box-shadow 0.2s ease;
}

.option-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.option-button.active {
  background: #2f4858;
  color: #fff;
  -webkit-box-shadow: 0 12px 24px rgba(47, 72, 88, 0.25);
  box-shadow: 0 12px 24px rgba(47, 72, 88, 0.25);
}

.briefing-list {
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
  padding-left: 1.25rem;
}

.briefing-list li {
  color: #475569;
}

.error-banner {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 16px;
}

.button-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem;
}

button.secondary {
  background: transparent;
  color: #2f4858;
  border: 1px solid #94a3b8;
}

button.secondary:hover {
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

button.secondary:disabled {
  opacity: 0.6;
}

.link-button.danger {
  color: #b91c1c;
}

.selection-counter {
  color: #475569;
}

.draggable-product-hint {
  margin: 0.25rem 0 0.75rem;
  color: #475569;
}

.ranking-screen {
  display: -ms-grid;
  display: grid;
  gap: 1.5rem;
}

.ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -ms-grid;
  display: grid;
  gap: 1rem;
}

.ranking-entry {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 1.25rem 1fr 1.25rem auto;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #f8fafc;
  padding: 1rem 1.25rem;
  border-radius: 18px;
}

.ranking-position {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d4ed8;
}

.ranking-meta {
  display: -ms-grid;
  display: grid;
  gap: 0.25rem;
}

.ranking-meta span {
  color: #475569;
  font-size: 0.9rem;
}

.ranking-score {
  display: -ms-grid;
  display: grid;
  gap: 0.15rem;
  text-align: right;
  font-weight: 600;
}

.ranking-score small {
  color: #475569;
  font-size: 0.85rem;
}

.ranking-status {
  font-size: 0.9rem;
  color: #475569;
}

.ranking-status[data-variant='error'] {
  color: #b91c1c;
}

.ranking-status[data-variant='success'] {
  color: #15803d;
}

.greeting-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 1rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.final-screen {
  width: 100%;
}

.final-content {
  display: -ms-grid;
  display: grid;
  gap: 2rem;
}

.final-stepper {
  display: -ms-grid;
  display: grid;
  gap: 3rem;
}

.final-step {
  display: -ms-grid;
  display: grid;
  gap: 2rem;
  text-align: center;
}

.final-step .button-row {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.final-step-header {
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
}

.final-summary-message {
  margin: 0;
  font-weight: 600;
  color: #44025a;
}

.final-subtext {
  margin: 0;
}

.final-rank-highlight {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: #44025a;
}

.final-rank-detail {
  margin: 0;
  font-weight: 600;
  color: #475569;
}

.final-qr {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.qr-placeholder {
  width: clamp(180px, 30vw, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  border: 2px dashed #93c5fd;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.final-status {
  text-align: center;
  font-weight: 500;
  color: #475569;
}

.final-status[data-variant='success'] {
  color: #15803d;
}

.final-status[data-variant='info'] {
  color: #1d4ed8;
}

.final-ranking-actions {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.final-ranking-list {
  max-height: min(60vh, 900px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

@media (max-width: 720px) {
  .main-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .ranking-entry {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .ranking-score {
    text-align: left;
  }
}

/* -- Custom -- */
@charset "UTF-8";
body {
  font-size: 42px;
}

.app-main {
  padding: 0;
  background-color: rgba(182, 127, 247, 0.1);
  min-height: 100vh;
}

.app-main .registration-wizard {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}

.app-main .registration-wizard .step-content {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.app-main .registration-wizard .step-content .step {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.app-main .registration-wizard .step-content .step .contenido {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.app-main .registration-wizard .step-content .step .contenido .left,
.app-main .registration-wizard .step-content .step .contenido .right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.app-main .card {
  background-color: unset;
  padding: 0;
}

.app-main .card .cabecera {
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.app-main .card .contenido {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.app-main .card .contenido .left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 40%;
  padding-right: 150px;
}

.app-main .card .contenido .left img {
  max-width: 100%;
}

.app-main .card .contenido .right {
  padding: 0 100px;
  text-align: center;
}

.app-main .card .contenido .right p {
  margin: 0;
}

.app-main .card .contenido .right p.emphasis {
  color: #44025a;
  font-size: 1.5em;
}

.app-main .card .contenido .right p b {
  color: #44025a;
}

.app-main .card .contenido .right .language {
  margin-top: 20px;
}

.app-main .card .contenido .right .language .label {
  font-size: 0.8em;
}

.app-main .card .contenido .right .language .option-button-group {
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
}

.app-main .card .contenido .right .language .option-button-group .option-button {
  padding: 0;
  margin: 0;
}

.app-main .card .contenido .right .language .option-button-group .option-button.active {
  background-color: unset;
}

.app-main .card .contenido .right .language .option-button-group .option-button input {
  padding: 0;
  margin: 0;
}

.app-main .card .contenido .right .language .option-button-group .option-button img {
  width: 120px;
}

.app-main [data-step-panel="4"] {
  font-size: 0.5em;
}

.app-main [data-step-panel="4"] .center-first > .field-group {
  margin-top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}

.app-main [data-step-panel="4"] .center-first > .field-group label {
  margin: 0;
}

.app-main [data-step-panel="4"] .center-first > .field-group select {
  width: unset;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset {
  padding: 20px;
  display: block;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding-top: 10px;
}

.app-main [data-step-panel="3"] .contenido {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.app-main [data-step-panel="3"] .contenido .center-first {
  width: 100%;
  max-width: 600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.app-main [data-step-panel="3"] .contenido .center-first [data-email-status] {
  font-size: 0.3em;
  height: unset;
  line-height: unset;
  margin: 0;
  padding: 0;
  display: block;
  color: red;
}

.app-main [data-step-panel="3"] .contenido .center-first [data-email-status][data-status="ok"] {
  color: green;
}

.app-main [data-step-panel="3"] .contenido .center-first .field-group {
  width: 100%;
}

.app-main [data-step-panel="3"] .contenido .center-first label {
  font-size: 0.4em;
  font-weight: 400;
  margin: 0;
  line-height: 1;
  margin-bottom: -10px;
  padding-left: 20px;
}

.app-main [data-step-panel="3"] .contenido .center-first .edad {
  width: 100%;
  max-width: 400px;
}

.app-main [data-step-panel="3"] .contenido .center-first .edad .field-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.app-main [data-step-panel="3"] .contenido .center-first .edad .field-group label {
  margin: 0 0 10px;
  padding: 0;
}

.app-main [data-step-panel="3"] .contenido .center-first .edad .field-group input {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 10px;
}

.app-main [data-step-panel="3"] .contenido .center-first .edad .field-group small {
  font-size: 0.35em;
}

.app-main [data-step-panel="3"] .contenido .center-first .field-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  width: 100%;
}

.app-main [data-step-panel="2"] .contenido {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.app-main [data-step-panel="2"] .contenido .center-first {
  width: 100%;
  max-width: 1200px;
}

.app-main [data-step-panel="2"] .contenido p {
  text-align: center;
}

.app-main [data-step-panel="2"] .contenido p.more-grande {
  line-height: 1;
  font-size: 1.5em;
  margin-bottom: 40px;
  margin-top: 40px;
}

.app-main [data-step-panel="2"] .contenido .footer {
  text-align: center;
  font-size: 0.8em;
}

.app-main [data-step-panel="2"] .contenido .field-group {
  text-align: center;
}

.app-main [data-step-panel="2"] .contenido .field-group span {
  font-size: 0.8em;
}

.app-main [data-step-panel="2"] .contenido .field-group .checkbox-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 60px;
}

.app-main [data-step-panel="2"] .contenido .field-group .checkbox-list .checkbox {
  padding: 0;
  background-color: unset;
}

.app-main [data-step-panel="2"] .contenido .field-group .checkbox-list .checkbox input {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid grey;
  accent-color: #b67ff7 !important;
  border-radius: 2px;
  margin: 0;
}

.app-main [data-step-panel="2"] .contenido .field-group .checkbox-list .checkbox input:checked {
  background-color: #b67ff7 !important;
  border-color: #b67ff7 !important;
}

.app-main [data-step-panel="2"] .contenido .field-group .checkbox-list .checkbox input:checked:before {
  content: none;
}

.app-main [data-step-panel="2"] .contenido .label-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 40px;
}

.app-main [data-step-panel="2"] .contenido .label-container input {
  width: 20px;
  height: 20px;
  margin-right: 20px;
  accent-color: #b67ff7 !important;
}

.app-main [data-step-panel="2"] .contenido .label-container label {
  font-weight: 400;
  font-size: 0.9em;
}

.app-main [data-step-panel="1"] p {
  font-size: 1.5em;
}

.app-main [data-step-panel="1"] .contenido .left {
  width: 45%;
}

.app-main .step-content {
  padding-bottom: 0;
}

.app-main .step-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  padding: 5px;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.app-main .step-nav [data-action="back"] {
  color: #44025a;
  border-radius: unset;
  background-color: unset;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-decoration: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.app-main .step-nav [data-action="back"]:hover {
  -webkit-box-shadow: unset;
  box-shadow: unset;
}

.app-main .step-nav [data-action="back"]:before {
  content: "<";
  font-size: 5em;
  line-height: 1;
  color: #44025a;
}

.app-main .step-nav [data-action="next"] {
  color: #44025a;
  border-radius: unset;
  background-color: unset;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.app-main .step-nav [data-action="next"]:hover {
  -webkit-box-shadow: unset;
  box-shadow: unset;
}

.app-main .step-nav [data-action="next"]:before {
  content: ">";
  font-family: "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  font-size: 5em;
  line-height: 1;
  color: #44025a;
}

.app-main .step-nav [data-action="last"] {

}

.draggable-product.assigned .danger {
  display: block !important;
}

.map-start .map-start-label {
  position: absolute;
  bottom: 30px;
  left: 50%;
  -webkit-transform: translatex(-50%);
  -ms-transform: translatex(-50%);
  transform: translatex(-50%);
  width: 127px;
}

.app-main .card .contenido .right .language .option-button-group .option-button img {
  -webkit-box-shadow: 3px 3px 7px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 3px 3px 7px 3px rgba(0, 0, 0, 0.3);
}

.step-error {
  position: absolute;
  font-size: 2rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  max-width: 80%;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  text-align: center;
  top: 10px;
}

.game-board .store-info-panel {
  display: none;
}

.final-step {
  margin-top: 20px;
  max-width: 90%;
  margin-inline: auto;
}

.final-step h2 {
  font-size: 1.25em;
}

.final-step .final-summary-message {
  font-size: 1.1em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.final-step .final-subtext {
  font-size: 1.1em;
  line-height: 1;
}

.final-step-header p {
  margin: 0;
}

.final-step--position, .final-step--qr, .final-step--ranking, .card[data-view="ranking"] {
  width: 90%;
  margin-inline: auto;
}

.final-step--qr, .final-step--ranking {
  margin-top: 20px;
}

.final-step--qr p, .final-step--ranking p {
  margin: 0;
  font-size: .8em;
  line-height: 1.2;
}

.card[data-view="ranking"] header {
  text-align: center;
}

.card[data-view="ranking"] header p {
  margin: 0;
  font-size: .8em;
  line-height: 1.2;
}

.card[data-view="ranking"] .button-row {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#game-timer {
  position: fixed;
  top: 0;
  left: 0;
  background-color: white;
  padding: 5px 15px;
  border-radius: 0 0 20px;
}

.game-board {
  max-width: 90%;
  margin-inline: auto;
}

.game-board header.grid, .assign-map-wrapper {
  display: block;
}

.game-board h2 {
  text-align: center;
  font-size: 1.5em;
  line-height: 1.2;
}

.game-board p {
  text-align: center;
  font-size: 0.65em;
}

.game-board h3 {
  font-size: 1em;
  text-align: center;
}

.game-board .game-footer {
  margin-block: 20px;
}

.game-board .assign-sidebar {
  -ms-grid-columns: 100%;
  grid-template-columns: 100%;
}

.game-board .game-footer .button-row {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.game-board .game-footer .selection-counter {
  text-align: center;
  font-size: 0.55em;
  margin-top: 10px;
}

.game-board .draggable-product-header > div {
  font-size: .7em;
}

.game-board .store-info-panel .store-info-grid .store-info-item {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  font-size: .55em;
}

.app-main [data-step-panel="2"] .contenido {
  font-size: 2rem;

  .center-first {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .center-first .label-container {
    margin-bottom: 20px;
  }

  .center-first .field-group {
    line-height: 1;
  }

  .center-first .field-group span {
    margin-bottom: 10px;
    display: block;
  }
}

.app-main .step-nav {
  height: 6rem;

  .last-step {
    height: 5.5rem;
    width: 5.5rem;
    position: relative;
  }

  .last-step img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .last-step span {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}

.app-main [data-step-panel="2"] .contenido .footer {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 20px;

  .mensaje {

  }

  .image {
    width: 50vw;
    margin-inline: auto;
  }

  .image img {
    width: 100%;
  }
}

.app-main .card .cabecera {
  max-height: 90px;

  > img {
    height: 100%
  }
}

.app-main [data-step-panel="0"] .contenido, .app-main [data-step-panel="1"] .contenido, .app-main [data-step-panel="5"] .contenido {
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;

  .left {
    width: 80%;
    padding: 0;
  }

  .right {
    padding: 20px 1rem;
    max-width: 700px;
    margin: 0 auto;
  }
}

.app-main .card .contenido .right p {
  font-size: .75em;

  &.emphasis {
    font-size: .85em;
    font-weight: 700;
  }
}

.app-main .card .contenido .right .language .label {
  font-size: .65em;
}

.step[data-step-panel="4"] .center-first {
  width: 100%;
  padding-inline: 2rem;

  .pet-form-list {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1rem 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (max-width: 430px) {
  .final-step h2 {
    font-size: 1.1em;
    line-height: 1.2;
  }

  .final-step .final-summary-message {
    font-size: .75em;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .final-step .final-subtext {
    font-size: .65em;
    line-height: 1;
  }

  .final-step-header p {
    margin: 0;
  }

  .final-step--position, .final-step--qr, .final-step--ranking, .card[data-view="ranking"] {
    width: 90%;
    margin-inline: auto;
  }

  .final-step--qr, .final-step--ranking {
    margin-top: 20px;
  }

  .final-step--position p, .final-step--qr p, .final-step--ranking p {
    margin: 0;
    font-size: .65em;
    line-height: 1.2;
  }

  .card[data-view="ranking"] header {
    text-align: center;
  }

  .card[data-view="ranking"] header p {
    margin: 0;
    font-size: .8em;
    line-height: 1.2;
  }

  .card[data-view="ranking"] .button-row {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .final-rank-detail, .final-status {
    font-size: .75em;
    line-height: 1.1;
  }

  .ranking-entry {
    gap: 0;
  }

  .ranking-entry [data-role="name"], .ranking-entry [data-role="minutes"] {
    font-size: .8em
  }

  .ranking-screen h2 {
    font-size: .8em;
    line-height: 1;
  }

  .app-main .step-nav [data-action="back"]:before, .app-main .step-nav [data-action="next"]:before {
    font-size: 3.5em;
  }

  .game-board .store-info-panel .store-info-grid .store-info-item {
    font-size: .45em;
  }

  .game-board .store-info-panel .store-info-grid .store-info-hint {
    font-size: .55em;
  }

  .game-board .store-info-panel .store-info-grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .app-main .card .contenido .right .language .option-button-group .option-button img {
    width: 80px;
  }

  .app-main .contenido {
    .left {
      width: 60%;
    }
  }

  .app-main .card .contenido .right p {
    font-size: .65em;

    &.emphasis {
      font-size: .7em;
      font-weight: 700;
    }
  }

  .app-main .registration-wizard .step-content .step[data-step-panel="0"] {
    .contenido {
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
    }
  }

  .app-main .registration-wizard .step-content .step[data-step-panel="1"] {
    .contenido {
      gap: 100px;
    }
  }

  .app-main .card .contenido .right .language .label {
    font-size: .55em;
  }

  .app-main [data-step-panel="2"] .contenido {
    font-size: 1.5rem;
  }

  .app-main [data-step-panel="2"] .contenido .footer .image {
    width: 70vw;
  }

  .step-error {
    font-size: 1.5rem;
  }

  .app-main .registration-wizard .step-content .step[data-step-panel="3"] {
    .field-row {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
    }
  }

  .center-first {
    padding-inline: 1rem;
  }

  .step[data-step-panel="4"] .center-first {
    padding-bottom: 6rem;

    .pet-form-list {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      gap: 15px;
    }
  }

  #game-timer {
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    padding: 5px 15px;
    border-radius: 0 0 20px;
    font-size: .75em;
  }

  .game-board {
    max-width: 90%;
    margin-inline: auto;
  }

  .game-board header.grid {
    display: block;
  }

  .game-board header.grid h2 {
    text-align: center;
    font-size: 1.25em;
    line-height: 1.2;
    padding-top: 30px;
  }

  .game-board p {
    text-align: center;
    font-size: 0.65em;
    margin-top: 0;
  }

  .game-board h3 {
    font-size: .9em;
    text-align: center;
    margin-block: 0;
  }

  .game-board .game-footer {
    margin-block: 20px;
  }

  .game-board .game-footer .button-row {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .game-board .game-footer .selection-counter {
    text-align: center;
    font-size: 0.55em;
    margin-top: 10px;
  }
}

.app-main .card .contenido .left {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.app-main .card .contenido .left img {
  max-width: 350px;
  width: 100%;
}

.registration-wizard .img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 20px;
}

.registration-wizard .img img {
  max-width: 300px;
  width: 100%;
}

.app-main .registration-wizard .step-content .step .contenido {
  margin-top: 40px;
  -webkit-box-flex: unset;
  -ms-flex: unset;
  flex: unset;
}

.app-main [data-step-panel="2"] .contenido .footer .image img {
  max-width: 250px;
  margin-top: 80px;
}

label {
  cursor: pointer;
}

.step-error {
  right: 10px;
  left: unset;
  width: unset;
  -webkit-transform: unset;
  -ms-transform: unset;
  transform: unset;
  position: fixed;
  cursor: pointer;
}

.app-main [data-step-panel="3"] .contenido .center-first label {
  font-size: 0.45em;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 40px;
  font-size: 0.6em;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset {
  max-width: 650px;
  width: 100%;
  display: block;
  border-color: #44025a;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset legend {
  color: #44025a;
  font-size: 1em !important;
  font-weight: 700;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset .field-row {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset .field-row select {
  font-size: 1em;
}

.app-main .step-nav .last-step {
  width: calc(100% - 120px);
  max-width: 350px;
  height: 100%;
  max-height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  background-color: #44025a;
  position: absolute;
  left: 50%;
  -webkit-transform: translatex(-50%);
  -ms-transform: translatex(-50%);
  transform: translatex(-50%);
}

.app-main .step-nav .last-step span,
.app-main .step-nav .last-step img {
  position: relative;
  top: unset;
  left: unset;
  width: unset;
  height: unset;
  float: unset;
  -webkit-transform: unset;
  -ms-transform: unset;
  transform: unset;
}

.app-main .step-nav .last-step img {
  height: 50px;
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

.game-board header h2 {
  font-size: 1em;
  margin-top: 80px;
  color: #44025a;
}

.game-board header p {
  display: none;
}

.game-board .selection-stage [data-selection-intro] {
  gap: 5px;
  margin-bottom: 20px;
}

.game-board .selection-stage [data-selection-intro] h3 {
  font-size: 0.75em;
  margin: 0;
}

.game-board .selection-stage [data-selection-intro] p {
  font-size: 0.6em;
  margin: 0;
}

.product-card {
  padding: 10px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.product-card .product-card-media {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.product-card .product-card-media img {
  aspect-ratio: 1;
}

.product-card .product-card-type {
  font-size: 1em;
}

.product-card [data-role="name"] {
  font-size: 1.5em;
  line-height: 1;
}

.product-card small {
  font-size: 0.8em;
  line-height: 1;
}

.map-start {
  z-index: 999;
}

.app-main .card .contenido .left {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.app-main .card .contenido .left img {
  max-width: 350px;
  width: 100%;
}

.registration-wizard .img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 20px;
}

.registration-wizard .img img {
  max-width: 300px;
  width: 100%;
}

.app-main .registration-wizard .step-content .step .contenido {
  margin-top: 40px;
  -webkit-box-flex: unset;
  -ms-flex: unset;
  flex: unset;
}

.app-main [data-step-panel="2"] .contenido .footer .image img {
  max-width: 250px;
  margin-top: 80px;
}

label {
  cursor: pointer;
}

.step-error {
  right: 10px;
  left: unset;
  width: unset;
  -webkit-transform: unset;
  -ms-transform: unset;
  transform: unset;
  position: fixed;
  cursor: pointer;
}

.app-main [data-step-panel="3"] .contenido .center-first label {
  font-size: 0.45em;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 40px;
  font-size: 0.6em;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset {
  max-width: 650px;
  width: 100%;
  display: block;
  border-color: #44025a;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset legend {
  color: #44025a;
  font-size: 1em !important;
  font-weight: 700;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset .field-row {
  margin-top: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.app-main [data-step-panel="4"] .center-first .pet-form-list fieldset .field-row select {
  font-size: 1em;
}

.app-main .step-nav .last-step {
  width: calc(100% - 120px);
  max-width: 350px;
  height: 100%;
  max-height: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  background-color: #44025a;
  position: absolute;
  left: 50%;
  -webkit-transform: translatex(-50%);
  -ms-transform: translatex(-50%);
  transform: translatex(-50%);
}

.app-main .step-nav .last-step span,
.app-main .step-nav .last-step img {
  position: relative;
  top: unset;
  left: unset;
  width: unset;
  height: unset;
  float: unset;
  -webkit-transform: unset;
  -ms-transform: unset;
  transform: unset;
}

.app-main .step-nav .last-step img {
  height: 50px;
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

.final-step-header h2,
.game-board header h2 {
  font-size: 1em;
  margin-top: 80px;
  color: #44025a;
}

.game-board header p {
  display: none;
}

.game-board .selection-stage [data-selection-intro] {
  gap: 5px;
  margin-bottom: 20px;
}

.game-board .selection-stage [data-selection-intro] h3 {
  font-size: 0.75em;
  margin: 0;
}

.game-board .selection-stage [data-selection-intro] p {
  font-size: 0.6em;
  margin: 0;
}

.product-card {
  padding: 10px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.product-card .product-card-media {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.product-card .product-card-media img {
  aspect-ratio: 1;
}

.product-card .product-card-type {
  font-size: 1em;
}

.product-card [data-role="name"] {
  font-size: 1.5em;
  line-height: 1;
}

.product-card small {
  font-size: 0.8em;
  line-height: 1;
}

.map-start {
  z-index: 999;
}

.ranking-entry {
  font-size: 0.5em;
}

.ranking-entry .ranking-meta {
  text-align: left;
  font-weight: 200;
}

[data-action="refresh-final-ranking"],
[data-action="open-full-ranking"] {
  display: none;
}

.final-step-header h2 {
  margin-bottom: 10px;
}

.final-step-header p {
  font-size: 0.75em;
  line-height: 1.1;
}

.assign-map-wrapper > .grid {
  display: none;
}

.game-timer {
  z-index: 9999;
}

.assign-sidebar h3 {
  font-size: 0.8em;
  margin-bottom: 0;
  margin-top: 0;
}

.assign-sidebar > .grid p {
  font-size: 0.6em;
  margin-top: 0;
  display: none;
}

.selected-products {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.selected-products .draggable-product {
  gap: 0;
  padding: 5px;
  width: calc(20% - 13px);
}

.selected-products .draggable-product .draggable-product-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.selected-products .draggable-product .draggable-product-header .product-card-type.subtle {
  display: none;
}

.selected-products .draggable-product .draggable-product-header [data-role="name"] {
  font-size: 0.6em;
  line-height: 1 !important;
  display: block;
  text-align: center;
}

.selected-products .draggable-product .draggable-product-hint {
  display: none;
}

.map-start .map-start-label {
  display: none;
}

.store-marker-pin {
  color: #44025a;
  border-color: #44025a;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.store-info-section[data-role="info-assigned-section"] {
  display: none;
}

.store-info-panel {
  padding: 10px;
  max-width: 280px;
  left: unset;
  z-index: 9999;
}

.store-info-section .store-info-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.store-info-section .store-info-grid .store-info-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.store-info-section .store-info-grid .store-info-item [data-role="label"] {
  font-size: 0.7em;
  display: none;
}

p.store-info-hint {
  font-size: 0.3em;
}

.draggable-product.assigned .danger {
  width: 100%;
  padding-top: 10px;
  text-align: center;
}

[data-assignment-stage]:not([hidden]) + section + footer .selection-counter {
  display: none !important;
}

button.secondary[data-action="reset"],
button.secondary[data-action="restart"] {
  position: absolute;
  top: 10px;
  right: 10px;
  border: unset;
}

.game-board {
  width: 100%;
  max-width: calc(100% - 40px);
}

.final-step {
  max-width: calc(100% - 40px);
}

.product-selection-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

button {
  background-color: #44025a;
}

.game-board .error-banner {
  position: fixed;
  opacity: 0.8;
  right: 10px;
  top: 10px;
  max-width: calc(100% - 180px);
  z-index: 1;
  font-size: 0.5em;
  pointer-events: none;
}

.map-start-dot {
  width: 30px;
  height: 30px;
  background-color: red;
}

.map-start-dot:before {
  content: '+';
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 0.5em;
  font-weight: 700;
  line-height: 1;
  color: white;
  width: 100%;
  height: 100%;
}

.store-marker.filled .store-marker-pin {
  background-color: #44025a;
  border-color: white;
}

.store-marker.filled .store-marker-pin:after {
  display: none;
}

.store-marker {
  -webkit-transform: translate(-50%, calc(-50%));
  -ms-transform: translate(-50%, calc(-50%));
  transform: translate(-50%, calc(-50%));
}

.store-marker-icon.is-assigned {
  border-color: #44025a;
  border-width: 2px;
}

.selected-products .draggable-product .draggable-product-header [data-role="name"] {
  font-size: 0.5em;
}

.final-step .final-summary-message {
  font-size: 0.6em;
  margin-top: 40px;
}

.final-step .final-subtext {
  font-size: 0.65em;
  margin: 20px 0;
}

.final-status {
  display: none;
}

.final-rank-highlight {
  margin-top: 20px;
  font-size: 1.2em;
}

.final-rank-detail {
  margin-bottom: 40px;
  font-size: 0.7em;
}

.final-step.final-step--position {
  gap: 0;
}

.qr-placeholder {
  width: unset;
}

.final-ranking-list {
  max-height: unset;
  padding-bottom: 20px;
}

.terms-modal__content {
  font-size: 0.3em;
}

@media only screen and (max-width: 600px) {
  body {
    font-size: 26px;
  }
}

.app-main [data-step-panel="3"] .contenido .center-first label {
  margin-bottom: 0;
}

input {
  font-size: 0.6em
}

.product-card .product-card-type {
  display: none;
}

@media only screen and (max-width: 640px) {
  .pet-form-list {
    font-size: 1em !important;
  }

  .app-main [data-step-panel="4"] .center-first .pet-form-list fieldset .field-row {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .app-main .step-nav .last-step {
    left: unset;
    right: 10px;
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
  }

  .product-card {
    -ms-grid-columns: auto 5px 1fr;
    grid-template-columns: auto 1fr;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 5px;
    gap: 5px
  }

  .product-card-content {
    justify-items: baseline;
    font-size: .8em;

  }

  .product-selection-grid {
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-card-media {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .product-card [data-role="name"] {
    font-size: 1.2em;
  }

  .game-board {
    max-width: 95%;
  }

  .product-card-media.small {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .map-area--wide {
    min-height: unset;
  }

  .game-board .assign-sidebar {
    padding: 10px;
  }

  .selected-products {
    gap: 5px;
  }

  .selected-products .draggable-product {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .store-marker-pin {
    width: 24px;
    height: 24px;
  }

  .store-marker-icon {
    width: 16px;
    height: 16px;
    padding: 0;
  }

  .store-marker-icons {
    gap: 2px;
  }

  .final-step * {
    max-width: 100%;
  }

  .final-step .button-row {
    margin-top: 20px;
  }

  .ranking-entry {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 0.7em;
    gap: 10px;
  }

  .ranking-meta {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }

  .ranking-meta [data-role="email"] {
    display: none;
  }
}

.qr-placeholder {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.final-ranking-actions {
  margin: 0px !important;
}

@media (max-width: 640px) {
  .app-main [data-step-panel="2"] .contenido p.more-grande,
  .app-main .card .contenido .right p {
    font-size: .8em;
  }

  .app-main [data-step-panel="2"] .contenido .label-container label {
    font-size: .7em;
    line-height: 1;
  }

  .app-main [data-step-panel="2"] .contenido .field-group span {
    font-size: .7em;
  }

  .app-main [data-step-panel="2"] .contenido .field-group .checkbox-list .checkbox {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .app-main [data-step-panel="2"] .contenido .field-group .checkbox-list .checkbox span {
    margin: 0;
  }

  .app-main [data-step-panel="2"] .footer .mensaje {
    font-size: .8em;
  }
}