.scry-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--scry-space-4);
  flex-wrap: wrap;
}

.scry-page-heading {
  min-width: 0;
}

.scry-page-title {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
}

.scry-page-subtitle {
  margin: 0.35rem 0 0;
  color: var(--scry-text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.scry-page-actions {
  display: flex;
  align-items: center;
  gap: var(--scry-space-3);
  flex-wrap: wrap;
}

.scry-surface-card {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
  box-shadow: var(--scry-shadow-sm);
}

.scry-surface-card-soft {
  border-color: var(--scry-border-soft);
  background: linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
}

.scry-surface-card-accent {
  border-color: var(--scry-border-strong);
  background:
    radial-gradient(circle at top right, rgba(var(--scry-accent-primary-soft-rgb), 0.24) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 42%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%) padding-box;
}

.scry-surface-card-body {
  padding: 1rem 1.05rem;
}

.scry-section-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-xl);
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.24) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 42%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%) padding-box;
  box-shadow: var(--scry-shadow-md);
}

.scry-section-card-body {
  padding: 1rem 1.05rem;
}

.scry-metric-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.scry-metric-card {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: linear-gradient(180deg, var(--scry-surface-0) 0%, var(--scry-surface-1) 100%);
  box-shadow: var(--scry-shadow-sm);
  padding: 1rem 1.05rem;
  height: 100%;
}

.scry-metric-card.is-primary {
  border-color: var(--scry-border-strong);
  background: linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
}

.scry-metric-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(31, 41, 55, 0.58);
}

[data-bs-theme="dark"] .scry-metric-label,
body[data-bs-theme="dark"] .scry-metric-label {
  color: rgba(229, 237, 245, 0.58);
}

.scry-metric-value {
  margin: 0;
  color: var(--scry-text-primary);
  font-size: 1.7rem;
  line-height: 1.05;
  font-weight: 800;
}

.scry-metric-value.is-money {
  font-size: 2rem;
}

.scry-metric-copy {
  margin: 0.4rem 0 0;
  color: var(--scry-text-secondary);
  line-height: 1.4;
  font-size: 0.88rem;
}

.scry-note-card {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
  box-shadow: var(--scry-shadow-sm);
  padding: 0.9rem 1rem;
}

.scry-note-card p:last-child,
.scry-note-card .small:last-child {
  margin-bottom: 0;
}

.scry-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--scry-space-3);
  flex-wrap: wrap;
}

.scry-toolbar-group {
  display: flex;
  align-items: center;
  gap: var(--scry-space-3);
  flex-wrap: wrap;
  min-width: 0;
}

.scry-toolbar-label {
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: nowrap;
}

.scry-toolbar-control {
  min-width: 0;
}

.scry-toolbar-control.is-search {
  width: 220px;
}

.scry-toolbar-control.is-length {
  width: 90px;
}

.scry-table-shell {
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  background: var(--scry-surface-0);
  box-shadow: var(--scry-shadow-sm);
  overflow: hidden;
}

.scry-table-shell .table {
  margin-bottom: 0;
}

.scry-table-shell .table thead th {
  border-top: 0;
  color: var(--scry-table-head-text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.scry-table-shell .table tbody tr > * {
  background-color: transparent;
}

.scry-table-shell .table tbody tr:nth-child(even) {
  background: var(--scry-table-row-alt);
}

.scry-table-shell .table tbody tr:hover {
  background: var(--scry-table-row-hover);
}

.scry-table-shell .col-action {
  width: 1%;
  white-space: nowrap;
}

.scry-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--scry-accent-primary-soft);
  color: var(--scry-text-secondary);
  text-decoration: none;
  line-height: 1.2;
}

/* Home shared blocks */
.scry-top10-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 12px;
}

.scry-top10-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.scry-top10-card:hover {
  transform: translateY(-2px);
}

.scry-top10-cover {
  height: 68px;
  margin: -1rem -1rem 0;
  border-radius: 1rem 1rem 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f2f4f7;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.scry-top10-cover.is-empty {
  background-image: linear-gradient(135deg, rgba(63, 193, 178, 0.14) 0%, rgba(15, 23, 42, 0.03) 100%);
}

.scry-top10-card-body {
  padding-top: 0.75rem;
}

.scry-top10-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #fff;
  flex-shrink: 0;
  margin-top: -26px;
  position: relative;
  z-index: 1;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.scry-top10-rank {
  min-width: 44px;
  text-align: center;
  font-weight: 600;
}

.scry-top10-rating {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}

.scry-top10-meta {
  font-size: 13px;
  line-height: 1.25;
}

.home-new-store-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex: 0 0 52px;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.home-new-store-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
  min-height: 2.6em;
}

.hv-grid-wrap {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.hv-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.hv-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.feature-logo__label {
  color: inherit;
}

@media (max-width: 575.98px) {
  .scry-top10-cover {
    height: 58px;
  }

  .scry-top10-logo {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }

  .hv-grid-wrap {
    max-height: 70vh;
  }

  .hv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hv-img {
    height: 160px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .hv-grid-wrap {
    max-height: 70vh;
  }

  .hv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .scry-top10-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hv-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .scry-top10-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hv-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Home foundations */
.home-sections {
  --scry-home-accent: #39c6bd;
  --scry-home-accent-strong: #0f9b96;
  --scry-home-accent-soft: #edfdfa;
  --scry-home-ink: #1f2937;
  --scry-home-muted: #5f6c7b;
  --scry-home-border: rgba(57, 198, 189, 0.22);
  --scry-home-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  --scry-home-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.05);
  background: transparent;
}

.scry-defer-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px 700px;
}

.scry-lazy-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-panel {
  border: 1px solid transparent;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 42%) padding-box,
    linear-gradient(180deg, #fbfffe 0%, #f6fffd 44%, #ffffff 100%) padding-box,
    linear-gradient(135deg, rgba(123, 229, 222, 0.78) 0%, rgba(218, 250, 246, 0.98) 48%, rgba(123, 229, 222, 0.56) 100%) border-box;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
  background-clip: padding-box, padding-box, border-box;
  overflow: hidden;
}

.home-panel-section {
  position: relative;
  overflow: hidden;
}

.home-panel-section::before {
  display: none;
}

.home-panel-soft {
  background:
    radial-gradient(circle at top right, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 44%) padding-box,
    linear-gradient(180deg, #fcfffe 0%, #f7fffd 40%, #ffffff 100%) padding-box,
    linear-gradient(135deg, rgba(123, 229, 222, 0.72) 0%, rgba(221, 250, 247, 0.98) 50%, rgba(123, 229, 222, 0.5) 100%) border-box;
}

.home-sections .hero-stat {
  min-width: 150px;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(57, 198, 189, 0.18);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(10px);
}

.home-sections .hero-stat strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.1;
  color: var(--scry-home-ink);
}

.home-sections .hero-stat span {
  display: block;
  margin-top: 0.18rem;
  color: var(--scry-home-muted);
  font-size: 0.8rem;
  line-height: 1.25;
}

.home-sections .hero-note {
  color: var(--scry-home-accent-strong);
  font-weight: 600;
}

.home-hero-proof {
  position: relative;
  overflow: hidden;
}

.home-hero-proof::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(57, 198, 189, 0.10) 0%, rgba(57, 198, 189, 0) 42%);
  pointer-events: none;
}

.home-hero-proof-item {
  position: relative;
  z-index: 1;
}

.home-hero-proof-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--scry-home-accent-soft) !important;
  border-color: rgba(57, 198, 189, 0.24) !important;
  color: var(--scry-home-accent-strong);
}

.home-sections .btn-scry-primary,
.home-sections .btn-scry {
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(57, 198, 189, 0.18);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-sections .btn-scry-primary,
.home-sections .btn-scry {
  background: linear-gradient(135deg, #3ecbbd 0%, #1bb3ad 100%);
  border-color: #1bb3ad;
  color: #071018 !important;
}

.home-sections .btn-scry:hover,
.home-sections .btn-scry:focus,
.home-sections .btn-scry-primary:hover,
.home-sections .btn-scry-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(57, 198, 189, 0.24);
}

.home-sections .feature-badge,
.home-sections .badge.feature-badge,
.home-sections .home-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: var(--scry-home-accent-soft);
  border: 1px solid rgba(57, 198, 189, 0.20);
  color: #156f71;
  font-weight: 600;
}

.home-sections .feature-panel,
.home-side-cta {
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 44%),
    linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
  border: 1px solid rgba(123, 229, 222, 0.58);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-sections .feature-logo {
  min-height: 86px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(57, 198, 189, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
}

.home-sections .feature-logo img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.home-sections .feature-footnote {
  color: var(--scry-home-muted) !important;
}

.home-link-reset {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-card-surface {
  border-color: rgba(123, 229, 222, 0.48) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.06) 0%, rgba(57, 198, 189, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-card-title {
  color: var(--scry-home-ink) !important;
  line-height: 1.25;
}

.home-card-meta {
  color: var(--scry-home-muted) !important;
  line-height: 1.35;
}

.home-badge-soft {
  background: var(--scry-home-accent-soft) !important;
  border: 1px solid rgba(57, 198, 189, 0.18) !important;
  color: #156f71 !important;
  font-weight: 600;
}

.home-pill-positive {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  color: #f8fffc !important;
  border: 0 !important;
  font-weight: 700;
}

.home-cta-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
}

.home-brand-pill {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(57, 198, 189, 0.18) !important;
}

.home-sections .scry-top10-card {
  border-color: rgba(57, 198, 189, 0.18) !important;
  box-shadow: var(--scry-home-shadow-soft);
  background: linear-gradient(180deg, #ffffff 0%, #fbfffe 100%) !important;
}

.home-sections .scry-top10-card:hover {
  box-shadow: var(--scry-home-shadow);
}

.home-new-store-card {
  padding: 1rem;
  border: 1px solid rgba(123, 229, 222, 0.52);
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.07) 0%, rgba(57, 198, 189, 0) 46%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  min-height: 100%;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-new-store-card .flex-grow-1,
.home-mini-store-card .flex-grow-1,
.scry-top10-card .min-w-0 {
  min-width: 0;
}

.home-new-store-card .home-card-title,
.home-mini-store-card .home-card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-new-store-card:hover,
.home-new-store-card:focus {
  transform: translateY(-2px);
  box-shadow: var(--scry-home-shadow-soft);
  border-color: rgba(57, 198, 189, 0.28);
}

.home-mini-store-card {
  padding: 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(123, 229, 222, 0.48);
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.06) 0%, rgba(57, 198, 189, 0) 42%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-mini-store-card:hover,
.home-mini-store-card:focus {
  transform: translateY(-1px);
  box-shadow: var(--scry-home-shadow-soft);
}

.home-testimonial-card {
  background:
    radial-gradient(circle at top right, rgba(57, 198, 189, 0.08) 0%, rgba(57, 198, 189, 0) 44%) padding-box,
    linear-gradient(180deg, #ffffff 0%, #f8fffe 100%) padding-box,
    linear-gradient(135deg, rgba(123, 229, 222, 0.72) 0%, rgba(221, 250, 247, 0.98) 50%, rgba(123, 229, 222, 0.48) 100%) border-box;
  border-color: transparent !important;
}

.home-point-card {
  border-radius: 18px;
  border-color: rgba(123, 229, 222, 0.52) !important;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.07) 0%, rgba(57, 198, 189, 0) 44%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-point-card .badge,
.home-point-badge {
  width: max-content;
  margin: 0.75rem 0 0 0.75rem;
  background: var(--scry-home-accent-soft) !important;
  color: #156f71 !important;
  border-color: rgba(57, 198, 189, 0.18) !important;
  border-radius: 999px;
  font-weight: 600;
}

.home-sections .bd-grid > a,
.home-sections .hv-grid > a,
.home-sections .staple-card {
  transition: transform 0.15s ease;
}

.home-sections .bd-grid > a:hover,
.home-sections .hv-grid > a:hover,
.home-sections .staple-card:hover {
  transform: translateY(-2px);
}

.home-sections .bd-grid > a .rounded.border,
.home-sections .hv-grid > a .rounded.border,
.home-sections .staple-card > div,
.home-card-surface {
  border-color: rgba(123, 229, 222, 0.48) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at top left, rgba(57, 198, 189, 0.06) 0%, rgba(57, 198, 189, 0) 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfffe 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.home-sections .bd-grid > a .badge.bg-success {
  background: linear-gradient(135deg, #23b7a5 0%, #169c96 100%) !important;
}

.home-set-card {
  border-radius: 18px !important;
  border-color: rgba(123, 229, 222, 0.52) !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.home-sections a.small,
.home-sections .small.fw-semibold.text-decoration-none {
  color: #0f7f82;
  text-decoration-color: rgba(15, 127, 130, 0.28);
  text-underline-offset: 0.14em;
}

.home-hero-mark {
  height: 37px;
  margin: 0;
  margin-top: -6px;
}

.home-grid-card-link {
  display: block;
  color: inherit;
}

.home-grid-card-media,
.home-scroll-card-media {
  height: 195px;
}

.home-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-grid-deal-badge {
  left: 8px;
  top: 8px;
}

.home-grid-meta-caption {
  font-size: 12px;
}

.home-scroll-card {
  min-width: 140px;
  max-width: 140px;
  flex: 0 0 auto;
  color: inherit;
}

.home-staple-card {
  min-width: 160px;
  max-width: 160px;
  color: inherit;
}

.home-store-thumb-sm {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.home-verified-icon {
  font-size: 12px;
}

.bd-grid-wrap {
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.bd-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.home-set-card-shell {
  min-height: 100px;
  border-radius: 14px;
  background-color: #1b1b1b;
}

.home-set-card-shell.has-bg {
  background-size: cover;
  background-position: center;
}

.home-set-icon-frame {
  width: 44px;
  height: 44px;
}

.home-set-icon {
  max-height: 40px;
  max-width: 40px;
}

.home-set-icon-on-dark {
  filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}

.home-set-code-fallback {
  display: none;
}

.home-set-name {
  line-height: 1.1;
}

.home-testimonial-avatar {
  width: 80px;
  height: 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.home-point-logo {
  height: 52px;
  width: auto;
}

.home-point-location {
  max-width: 340px;
}

.home-feature-image {
  max-height: 260px;
  object-fit: cover;
}

.home-youtube-banner {
  max-width: 100%;
}

.home-banner-commander {
  max-width: 100%;
}

.home-inline-cover {
  background-position: center;
  background-size: cover;
}

.home-register-hero {
  background-image: url("../img/img-head-registro.jpg");
}

@media (max-width: 575.98px) {
  .bd-grid-wrap {
    max-height: 70vh;
  }

  .bd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bd-img {
    height: 160px !important;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .bd-grid-wrap {
    max-height: 70vh;
  }

  .bd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .bd-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .bd-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .home-panel {
    border-radius: 20px;
  }

  .home-sections .hero-stat {
    min-width: calc(50% - 0.5rem);
  }

  .home-hero-proof {
    padding: 1.1rem !important;
  }

  .home-sections .feature-logo {
    min-height: 74px;
  }
}

.home-folder-card {
  position: relative;
  min-height: 118px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background-color: #17212b;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.10);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.home-folder-card:hover,
.home-folder-card:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.home-folder-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.60) 58%, rgba(15, 23, 42, 0.38) 100%);
}

.home-folder-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.9rem;
}

.home-folder-store {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.78);
}

.home-folder-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.home-folder-count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  font-size: 0.9rem;
}

.home-folder-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.home-folder-meta {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.home-folder-mana {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-folder-mana-pill {
  width: 19px;
  height: 19px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.home-folder-mana-pill img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

@media (max-width: 767.98px) {
  .home-folder-card {
    min-height: 108px;
  }

  .home-folder-card-body {
    padding: 0.75rem;
  }

  .home-folder-title {
    font-size: 0.92rem;
  }

  .home-folder-footer {
    align-items: flex-end;
  }

  .home-folder-meta {
    white-space: normal;
    line-height: 1.15;
  }
}

.scry-pill-link:hover,
.scry-pill-link:focus {
  color: var(--scry-text-primary);
  text-decoration: none;
}

.scry-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid var(--scry-border-soft);
  border-radius: 999px;
  background: var(--scry-accent-primary-soft);
  color: var(--scry-accent-primary-strong);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.scry-icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--scry-border-default);
  border-radius: 999px;
  background: var(--scry-surface-0);
  color: var(--scry-text-secondary);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.scry-icon-button:hover,
.scry-icon-button:focus {
  background: var(--scry-surface-1);
  border-color: var(--scry-border-soft);
  color: var(--scry-text-primary);
}

.scry-btn-semibold {
  font-weight: 600;
}

.scry-link-muted {
  color: var(--scry-text-secondary);
  text-decoration: none;
}

.scry-link-muted:hover,
.scry-link-muted:focus {
  color: var(--scry-text-primary);
  text-decoration: none;
}

.scry-table-compact {
  font-size: 0.92rem;
}

.scry-th-compact {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.scry-col-message {
  width: 28px;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

.scry-col-check {
  width: 44px;
}

.scry-col-action-sm {
  width: 84px;
}

.scry-col-stock {
  width: 90px;
}

.scry-col-price {
  width: 120px;
}

.scry-scale-checkbox {
  transform: scale(1.15);
}

.scry-card-thumb {
  width: 56px;
  height: auto;
}

.scry-commission-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--scry-border-default);
  border-radius: 999px;
  background: var(--scry-surface-1);
  color: var(--scry-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
}

.scry-commission-pill:hover,
.scry-commission-pill:focus {
  color: var(--scry-text-primary);
  text-decoration: none;
}

.scry-settings-sidebar {
  border-radius: 16px;
}

.scry-settings-sidebar .card-body {
  padding: 0.5rem;
}

.scry-settings-sidebar .list-group-item {
  border-radius: 12px;
  margin: 2px 0;
  border-width: 0;
}

.scry-settings-sidebar .list-group-item:hover,
.scry-settings-sidebar .list-group-item:focus {
  background: var(--scry-surface-2);
  color: var(--scry-text-primary);
}

.scry-settings-sidebar .list-group-item.active {
  background:
    radial-gradient(circle at top left, rgba(var(--scry-accent-primary-soft-rgb), 0.2) 0%, rgba(var(--scry-accent-primary-soft-rgb), 0) 48%) padding-box,
    linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-1) 100%) padding-box;
  color: var(--scry-text-primary);
  border: 1px solid var(--scry-border-strong);
  box-shadow: inset 0 0 0 1px rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

.scry-settings-sidebar .list-group-item.active .text-truncate,
.scry-settings-sidebar .list-group-item.active .scry-settings-sidebar-item-icon {
  color: var(--scry-text-primary);
}

.scry-settings-sidebar .list-group-item.active .badge.bg-success {
  background-color: #16a34a !important;
}

.scry-settings-sidebar-item-content {
  min-width: 0;
}

.scry-settings-sidebar-item-icon {
  width: 22px;
  text-align: center;
}

.admin-topnav-left {
  gap: 0.35rem;
}

.admin-topnav-action-disabled {
  pointer-events: none;
  opacity: 0.65;
  cursor: no-drop;
}

.sb-nav-section-label {
  padding: 0.65rem 1rem 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6c757d;
}

.sb-nav-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.sb-nav-section-store-link {
  color: #6c757d;
  text-decoration: none;
  line-height: 1;
}

.sb-nav-section-store-link:hover {
  color: #212529;
}

.sb-nav-section-store-link.disabled {
  opacity: 0.45;
  cursor: no-drop;
  pointer-events: none;
}

.sb-sidenav-quick-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.sb-sidenav-quick-action {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dee3;
  border-radius: 999px;
  background: #fff;
  color: #495057;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sb-sidenav-quick-action:hover {
  background: #f8f9fa;
  color: #212529;
  border-color: #cfd4da;
}

.sb-sidenav-quick-action.logout {
  color: #dc3545;
}

.sb-sidenav-user-email {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #495057;
  word-break: break-word;
  text-align: center;
}

.sb-sidenav-store-qr {
  padding: 0.25rem 0.75rem 0.15rem;
}

.sb-sidenav-store-qr-title {
  margin-bottom: 0.35rem;
  font-size: 12px;
  color: #303030;
}

.sb-sidenav-store-qr-box {
  padding: 0.35rem;
}

.sb-sidenav-store-qr-image {
  max-width: 116px;
  height: auto;
}

.sb-sidenav-store-qr-link {
  font-size: 11px;
}

.sb-sidenav-footer-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 12px;
  color: #0d6efd;
  text-decoration: underline;
}

.scry-nav-disabled {
  cursor: no-drop;
  opacity: 0.6;
}

.scry-danger-icon {
  color: #dc3545;
}

.scry-fixed-toast {
  top: 10%;
  right: 5%;
  z-index: 999;
}

@media (max-width: 767.98px) {
  .admin-topnav-left {
    gap: 0.65rem;
  }

  .admin-topnav-brand {
    margin-right: 0.1rem;
  }

  .admin-mobile-nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
  }

  .admin-mobile-nav-toggle i {
    font-size: 1.05rem;
  }
}

.selected-store-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.selected-store-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.social-label svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
  opacity: 0.9;
}

.form-switch.form-switch-lg .form-check-input {
  width: 3.25em;
  height: 1.75em;
  margin-left: 0;
}

.form-switch.form-switch-lg .form-check-input:checked {
  background-position: right center;
}

.repricing-card {
  border: 1px solid var(--scry-border-soft);
  border-radius: var(--scry-radius-md);
  background: linear-gradient(180deg, var(--scry-surface-2) 0%, var(--scry-surface-0) 100%);
  box-shadow: var(--scry-shadow-md);
}

.repricing-card .card-body {
  padding: 0.95rem 1rem;
}

.repricing-card .repricing-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--scry-accent-primary-strong);
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12);
  border: 1px solid var(--scry-border-strong);
}

.repricing-card .repricing-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--scry-text-primary);
}

.repricing-card .repricing-copy {
  color: var(--scry-text-secondary);
  line-height: 1.45;
  font-size: 0.88rem;
  margin: 0.45rem 0 0;
}

.repricing-card .repricing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.repricing-card .repricing-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--scry-surface-0);
  border: 1px solid var(--scry-border-default);
}

.repricing-card .repricing-meta-label {
  display: inline;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(31, 41, 55, 0.55);
}

[data-bs-theme="dark"] .repricing-card .repricing-meta-label,
body[data-bs-theme="dark"] .repricing-card .repricing-meta-label {
  color: rgba(229, 237, 245, 0.55);
}

.repricing-card .repricing-meta-value {
  color: var(--scry-text-primary);
  font-weight: 600;
  line-height: 1.2;
}

.repricing-card .repricing-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.repricing-card .repricing-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 0.7rem;
}

.repricing-card .repricing-state {
  color: var(--scry-text-secondary);
  font-size: 0.82rem;
  white-space: nowrap;
}

.repricing-card .repricing-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.repricing-card .repricing-actions .btn {
  min-width: 164px;
}

.repricing-card .repricing-note {
  color: var(--scry-text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
}

.repricing-card .repricing-note a {
  color: var(--bs-link-color);
  font-weight: 600;
  text-decoration: none;
}

.repricing-card .repricing-note a:hover,
.repricing-card .repricing-note a:focus {
  text-decoration: underline;
}

.repricing-card .repricing-estimate {
  margin-top: 0.35rem;
  color: var(--scry-text-secondary);
  font-size: 0.92rem;
}

.repricing-card .repricing-estimate strong {
  color: var(--scry-text-primary);
}

.repricing-card .repricing-progress {
  margin-top: 0.7rem;
}

.repricing-card .repricing-progress .progress {
  height: 8px;
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.12);
}

.repricing-card .repricing-progress .progress-bar {
  background-color: var(--scry-accent-primary);
}

.repricing-card .repricing-progress-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.45rem;
  color: var(--scry-text-secondary);
  font-size: 0.8rem;
}

.repricing-card .repricing-report {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--scry-border-default);
  color: var(--scry-text-secondary);
  font-size: 0.8rem;
  line-height: 1.45;
}

.repricing-card .repricing-report strong {
  color: var(--scry-text-primary);
}

.repricing-card .repricing-report.repricing-report-hint {
  color: var(--scry-text-muted);
  font-size: 0.74rem;
}

.catalog-toolbar {
  background: var(--scry-surface-2);
  border: 1px solid var(--scry-border-default);
  border-radius: var(--scry-radius-md);
  padding: 0.95rem;
}

.catalog-toolbar .filter-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(31, 41, 55, 0.72);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

[data-bs-theme="dark"] .catalog-toolbar .filter-label,
body[data-bs-theme="dark"] .catalog-toolbar .filter-label {
  color: rgba(229, 237, 245, 0.72);
}

.catalog-toolbar .toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: flex-end;
}

.catalog-toolbar .toolbar-search {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 380px;
}

.catalog-toolbar .toolbar-select {
  flex: 0 0 118px;
  min-width: 118px;
}

.catalog-toolbar .toolbar-select.toolbar-set {
  flex-basis: 170px;
  min-width: 170px;
}

.catalog-toolbar .toolbar-select.toolbar-show {
  flex-basis: 82px;
  min-width: 82px;
}

.scry-detail-backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--scry-accent-primary-soft);
}

.scry-detail-backlink .bi {
  flex: 0 0 auto;
}

.scry-chat-container {
  max-height: 360px;
  overflow-y: auto;
}

.scry-min-w-0 {
  min-width: 0;
}

.scry-detail-note-xs {
  margin-top: 6px;
  font-size: 12px;
}

.scry-order-code-box {
  min-width: 56px;
}

.codigo-entrega-digit {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 2px solid #ced4da;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0;
}

.codigo-entrega-digit:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.modal-approve-info p.text-small {
  margin-bottom: 0.4rem;
}

.modal-approve-info p.text-small:last-child {
  margin-bottom: 0;
}

#modalRetiroTienda .list-group-item {
  cursor: pointer;
}

#modalRetiroTienda .list-group-item[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

#modalRetiroTienda .list-group-item .form-check-input {
  float: none;
  margin-left: 0;
}

#modalRetiroTienda .form-check-input[type="radio"] {
  appearance: auto !important;
  -webkit-appearance: radio !important;
  opacity: 1 !important;
  position: static !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: 2px;
  accent-color: #0d6efd;
}

#modalRetiroTienda .list-group-item.rt-selected {
  border-color: rgba(13, 110, 253, 0.55);
  background: rgba(13, 110, 253, 0.06);
}

#modalRetiroTienda .list-group-item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.nav-tabs .nav-link.tab-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.nav-tabs .nav-link.disabled {
  pointer-events: auto;
}

.venta-resumen-item {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.venta-resumen-thumb-link {
  display: inline-block;
}

.venta-resumen-thumb {
  width: 96px;
  max-width: 100%;
  height: auto;
  border: 1px solid #ced4da;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.venta-resumen-titulo {
  font-size: 1rem;
  line-height: 1.35;
}

.venta-resumen-item.is-checked {
  background-color: #f3fbf6;
  border-color: #198754 !important;
}

.venta-resumen-item.is-checked .venta-resumen-titulo {
  text-decoration: line-through;
  opacity: 0.75;
}

.venta-resumen-check-wrap {
  margin-top: 0.9rem;
}

.venta-resumen-check-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid #ced4da;
  border-radius: 999px;
  background: #fff;
  color: #495057;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.venta-resumen-check-pill:hover {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.08);
}

.venta-resumen-check-pill.is-checked {
  background: #eaf7ef;
  border-color: #198754;
  color: #146c43;
}

.venta-resumen-check-pill .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0;
  cursor: pointer;
  flex: 0 0 auto;
}

.venta-resumen-check-pill-text {
  font-size: 0.95rem;
  line-height: 1.2;
}

.scry-sort-select-sm {
  min-width: 210px;
}

.scry-col-card-sm {
  width: 70px;
}

.scry-col-original {
  width: 120px;
}

.scry-col-new {
  width: 140px;
}

.scry-col-subtotal {
  width: 160px;
}

.scry-inline-thumb-sm {
  width: 50px;
  height: auto;
}

.scry-input-qty {
  max-width: 120px;
  margin: 0 auto;
}

.scry-config-card {
  border-radius: 16px;
}

.scry-config-copy {
  max-width: 900px;
}

.scry-label-clickable {
  cursor: pointer;
}

.scry-hidden-init {
  display: none;
}

.scry-panel-soft {
  background: #fafafa;
}

.scry-alert-soft-warning {
  background: rgba(255, 214, 0, 0.18);
}

.scry-alert-soft-info {
  background: rgba(13, 202, 240, 0.14);
  color: #0c5460;
}

.scry-section-lead {
  font-size: 1.05rem;
}

.scry-readonly-input {
  cursor: no-drop;
  pointer-events: none;
  background-color: rgba(118, 118, 118, 0.3);
}

.scry-control-max-date {
  max-width: 220px;
}

.scry-control-max-hour {
  max-width: 120px;
}

.scry-select-full {
  width: 100%;
}

.scry-alert-icon-lg {
  font-size: 18px;
  line-height: 1;
}

.scry-doc-preview-frame {
  height: 150px;
}

.scry-doc-preview-image {
  max-height: 140px;
}

.scry-doc-current-image {
  max-height: 150px;
}

.store-cover-preview-grid {
  width: 100%;
  max-width: 520px;
}

.store-cover-preview-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(48, 48, 48, 0.68);
}

.store-cover-preview,
.store-cover-preview-crop {
  position: relative;
  width: 100%;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.store-cover-preview {
  aspect-ratio: 1200 / 630;
  border: 1px solid rgba(48, 48, 48, 0.12);
}

.store-cover-preview-crop {
  aspect-ratio: 1600 / 420;
  border: 1px solid rgba(48, 48, 48, 0.1);
}

.store-cover-safe-area {
  position: absolute;
  inset: 18% 13%;
  border: 2px dashed rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(8, 15, 30, 0.14);
  pointer-events: none;
}

.store-cover-safe-area.is-live {
  inset: 16% 11%;
}

.store-cover-safe-label {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 15, 30, 0.62);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.store-cover-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.store-cover-remove-btn.is-active {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
}

.pe-store-card {
  cursor: pointer;
  border-radius: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.pe-store-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.pe-store-card.is-selected {
  border-color: #ffc107;
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.35), 0 10px 24px rgba(255, 193, 7, 0.14);
  background: #fffdf6;
}

.pe-store-logo,
.pe-selected-store-logo {
  border: 1px solid #e9ecef;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.pe-store-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.pe-selected-store-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}

.pe-store-logo img,
.pe-selected-store-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pe-store-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #495057;
  background: #f8f9fa;
}

@media (max-width: 575.98px) {
  .venta-resumen-thumb {
    width: 84px;
  }

  .venta-resumen-check-pill {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    padding: 0.7rem 0.9rem;
  }
}

.catalog-toolbar .toolbar-control {
  min-height: 35px;
  border-radius: 0.55rem;
  border-color: rgba(48, 48, 48, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  font-size: 0.88rem;
}

.catalog-toolbar .toolbar-meta-row,
.catalog-toolbar .toolbar-active-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.catalog-toolbar .quick-filters,
.catalog-toolbar .active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.catalog-toolbar .filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 30px;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid var(--scry-border-default);
  background: rgba(255, 255, 255, 0.82);
  color: var(--scry-text-primary);
  font-size: 0.78rem;
  line-height: 1;
  white-space: nowrap;
}

[data-bs-theme="dark"] .catalog-toolbar .filter-chip,
body[data-bs-theme="dark"] .catalog-toolbar .filter-chip {
  background: rgba(23, 33, 50, 0.82);
}

.catalog-toolbar button.filter-chip {
  appearance: none;
  cursor: pointer;
}

.catalog-toolbar button.filter-chip.is-active,
.catalog-toolbar .filter-chip.is-active {
  background: rgba(var(--scry-accent-primary-soft-rgb), 0.16);
  border-color: var(--scry-border-strong);
  color: var(--scry-accent-primary-strong);
  font-weight: 700;
}

.catalog-toolbar .toolbar-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.catalog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.catalog-card-meta .badge {
  font-weight: 500;
}

.catalog-collections-card {
  border-radius: 0.9rem;
}

.catalog-collections-card .card-body {
  padding: 0.95rem;
}

.catalog-collections-card .card-title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.catalog-collections-card .list-group-item {
  padding: 0.58rem 0.8rem;
  font-size: 0.92rem;
}

.catalog-collections-card .list-group-item .badge {
  font-size: 0.72rem;
}

.catalog-collections-card .modal-edit-cole {
  padding: 0.16rem 0.52rem;
  font-size: 0.78rem;
  line-height: 1.25;
}

.catalog-collections-card .add-collection-btn {
  min-height: 34px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

.catalog-collections-card #colecciones_list .list-group-item + .list-group-item {
  margin-top: 0.38rem;
}

.catalog-collections-card #colecciones_list .coleccion {
  border-radius: 0.6rem;
}

.catalog-collections-card #colecciones_list {
  margin-bottom: 0.3rem;
}

.catalog-collections-card #colecciones_list .coleccion.active {
  background: #1f6feb;
  border-color: #1f6feb;
  color: #fff;
}

.catalog-collections-card #colecciones_list .coleccion.active a,
.catalog-collections-card #colecciones_list .coleccion.active #nb_cole-0,
.catalog-collections-card #colecciones_list .coleccion.active span {
  color: #fff !important;
}

.catalog-collections-card #colecciones_list .coleccion.active .badge {
  background: rgba(255, 255, 255, 0.18) !important;
  color: #fff !important;
}

.catalog-collections-card #colecciones_list .coleccion.active .modal-edit-cole {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  color: #1f6feb;
}

.catalog-collections-card #colecciones_list .coleccion.active .modal-edit-cole:hover,
.catalog-collections-card #colecciones_list .coleccion.active .modal-edit-cole:focus {
  background: rgba(255, 255, 255, 0.92);
  color: #195ecc;
}

@media (max-width: 991.98px) {
  .scry-metric-grid {
    grid-template-columns: 1fr;
  }

  .repricing-card .repricing-summary {
    align-items: flex-start;
  }

  .repricing-card .repricing-actions {
    width: 100%;
    margin-left: 0;
  }

  .catalog-toolbar .toolbar-search,
  .catalog-toolbar .toolbar-select,
  .catalog-toolbar .toolbar-select.toolbar-set,
  .catalog-toolbar .toolbar-select.toolbar-show {
    min-width: calc(50% - 0.45rem);
    flex-basis: calc(50% - 0.45rem);
    max-width: none;
  }

  .catalog-toolbar .toolbar-tools {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  .scry-page-title {
    font-size: 1.75rem;
  }

  .scry-toolbar,
  .scry-toolbar-group,
  .scry-page-actions {
    width: 100%;
  }

  .scry-toolbar-control,
  .scry-toolbar-control.is-search,
  .scry-toolbar-control.is-length {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .repricing-card .card-body {
    padding: 0.85rem 0.85rem 0.9rem;
  }

  .repricing-card .repricing-copy {
    font-size: 0.89rem;
  }

  .repricing-card .repricing-actions,
  .repricing-card .repricing-actions .btn {
    width: 100%;
  }

  .catalog-toolbar .toolbar-search,
  .catalog-toolbar .toolbar-select,
  .catalog-toolbar .toolbar-select.toolbar-set,
  .catalog-toolbar .toolbar-select.toolbar-show {
    min-width: 100%;
    flex-basis: 100%;
  }

  .catalog-toolbar #tx_name_catalogo_admin {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .catalog-toolbar .input-group.input-group-sm {
    width: 100% !important;
  }
}
