:root {
  --cream: #fbf6f0;
  --cream-deep: #efe6d6;
  --ink: #141414;
  --brand: #6db33f;
  --brand-dark: #3e8a22;
  --brand-deep: #2f6b1c;
  --belly: #c6e05c;
  --accent: #6db33f;
  --accent-hover: #3e8a22;
  --text: #141414;
  --muted: #5c574e;
  --surface: #fffdf8;
  --border: #e4dcce;
  --shadow: 0 12px 32px rgba(20, 20, 20, 0.08);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Nunito", sans-serif !important;
}

h1, h2, h3, h4,
.title,
.navbar-brand,
.hero-kicker {
  font-family: "Fredoka", "Nunito", sans-serif !important;
}

.navbar-custom {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--cream) !important;
  padding: 0.45rem 6%;
  border-bottom: 3px solid var(--brand);
  box-shadow: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  will-change: transform;
}

.navbar-custom.is-stuck {
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.08);
}

.navbar-custom.is-hidden {
  transform: translateY(-110%);
  pointer-events: none;
}

.navbar-custom .navbar-brand {
  padding: 0;
}

.navbar-custom .navbar-nav {
  flex-wrap: wrap;
  gap: 2px 6px;
}

.navbar-custom .nav-link {
  color: var(--ink) !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--brand-dark) !important;
}

.navbar-custom .navbar-toggler {
  border: 1px solid var(--border);
  padding: 8px 10px;
  box-shadow: none;
}

.navbar-custom .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(62, 138, 34, 0.2);
}

.navbar-custom .nav-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding: 6px 10px !important;
  text-decoration: none;
}

.navbar-custom .nav-logout i {
  line-height: 1;
}

.brand-logo {
  display: block;
  width: min(340px, 78vw);
  height: auto;
}

.brand-logo-nav {
  width: auto;
  height: 72px;
}

.public-top {
  padding: 10px 6%;
  background: var(--cream);
  border-bottom: 3px solid var(--brand);
}

.public-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.page-wrap {
  width: min(1180px, 92%);
  margin: 32px auto 64px;
  min-height: 60vh;
}

.hero {
  text-align: center;
  padding: 12px 0 8px;
}

.hero-logo {
  width: min(380px, 86%);
  margin: 0 auto 8px;
  display: block;
}

.hero-kicker {
  margin: 4px 0 8px;
  color: var(--ink);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
}

.hero .subtitle {
  max-width: 520px;
  margin: 0 auto 8px;
}

.title {
  color: var(--ink);
  font-weight: 600;
  text-align: center;
}

.subtitle,
p,
li {
  color: var(--muted);
  font-weight: 500;
}

button {
  display: block;
  margin: 16px auto 0;
  padding: 11px 28px;
  border-radius: 100px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
}

button:hover,
button:active {
  background: var(--accent-hover);
}

.login-card {
  width: min(440px, 100%);
  margin: 8px auto 0;
  padding: 28px 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.login-card .title {
  margin-bottom: 8px;
}

.login-input {
  display: block;
  width: min(420px, 90%);
  margin: 16px auto 0;
  height: 45px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.form-feedback {
  min-height: 24px;
  text-align: center;
  margin-top: 8px;
}

.panel-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.site-footer {
  text-align: center;
  padding: 24px 16px 40px;
  color: var(--muted);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.shop-footer {
  text-align: center;
  padding: 28px 16px 40px;
  color: var(--muted);
}

.shop-footer-mark {
  margin: 0 0 12px;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.shop-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0 0 12px;
}

.shop-footer-nav a {
  color: var(--brand-deep);
  font-weight: 800;
  text-decoration: none;
}

.shop-footer-nav a:hover {
  color: var(--brand-dark);
}

.shop-footer-copy {
  margin: 0;
  font-size: 13px;
}

.not-found-path {
  display: block;
  text-align: center;
  margin: 12px 0 20px;
  color: var(--muted);
}

h1 { font-size: 28px; color: var(--ink); }
h2 { font-size: 22px; color: var(--ink); }
h4 { font-size: 18px; color: var(--ink); }

.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.product-toolbar .title {
  margin-bottom: 4px;
}

.product-toolbar p {
  margin: 0;
}

.product-toolbar button,
.prod-modal button,
.modal-footer button,
.toolbar-actions button {
  margin: 0;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pack-size-libre {
  width: 90px;
  height: 36px;
}

.pack-size-btn,
.mode-toggle .btn-small {
  min-width: 88px;
}

.pack-size-btn.is-on,
.mode-toggle .btn-small.is-on,
.pack-size-libre.is-on {
  background: var(--brand-dark);
  color: #fff;
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px rgba(62, 138, 34, 0.25);
}

.mode-toggle {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
}

.th-sort {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sort-btn {
  margin: 0;
  padding: 2px 7px;
  font-size: 11px;
  min-width: 28px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.sort-btn.is-on,
.sort-btn:hover {
  background: var(--brand);
  color: #fff;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.pager-label {
  font-weight: 700;
}

.monto-pos {
  color: var(--brand-deep);
  font-weight: 800;
}

.monto-neg {
  color: #8a3a32;
  font-weight: 800;
}

.pagado-no {
  color: #8a3a32;
  font-weight: 700;
}

.stat-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.stat-grid-caja {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
}

.stat-card span {
  display: block;
  text-transform: capitalize;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  color: var(--ink);
}

.stat-card-total {
  background: var(--belly);
  border-color: transparent;
}

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

.filter-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.product-group {
  margin-top: 22px;
}

.product-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-group-title {
  margin: 0;
  text-transform: capitalize;
}

.product-group-stock {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  margin-top: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.thumb-cell {
  width: 64px;
}

.product-thumb,
.product-thumb-empty {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--cream-deep);
  display: block;
}

.prod-image-block {
  margin-top: 18px;
}

.prod-image-block label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.prod-preview {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}

.prod-preview-empty {
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--cream-deep);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.prod-upload {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  font-weight: 700;
}

.btn-ghost {
  background: var(--cream-deep);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:active {
  background: var(--border);
}

.prod-modal .modal-content {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
}

.modal-busy {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 253, 248, 0.86);
  border-radius: inherit;
}

.busy-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: busy-spin 0.7s linear infinite;
}

.busy-label {
  font-weight: 800;
  color: var(--ink);
}

@keyframes busy-spin {
  to {
    transform: rotate(360deg);
  }
}

button:disabled,
.btn-small:disabled,
.btn-icon:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.tipo-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.tipo-mercaderia,
.tipo-ingreso {
  background: var(--belly);
  color: var(--ink);
}

.tipo-gasto,
.tipo-salida {
  background: var(--cream-deep);
  color: var(--ink);
}

.estado-creado {
  background: #e8e4dc;
  color: var(--ink);
}

.estado-confirmado {
  background: #d7e8f7;
  color: #1d4e7a;
}

.estado-entregado {
  background: var(--belly);
  color: var(--ink);
}

.estado-cancelado {
  background: #f4e4e0;
  color: #8a3a32;
}

.pack-completo {
  background: var(--belly);
  color: var(--ink);
}

.pack-incompleto {
  background: #f7e3b8;
  color: #7a4b00;
}

.pack-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.pack-detalle {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.product-table th,
.product-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.product-table th {
  background: var(--cream-deep);
  font-weight: 700;
  color: var(--ink);
}

.product-table tr:last-child td {
  border-bottom: 0;
}

.sku-cell {
  font-size: 12px;
  word-break: break-all;
}

.stock-cell {
  font-weight: 700;
  white-space: nowrap;
}

.stock-cell.is-ok {
  color: var(--brand-deep);
}

.stock-cell.is-zero {
  color: var(--muted);
}

.actions-cell {
  width: 1%;
  white-space: nowrap;
  padding-top: 6px;
  padding-bottom: 6px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.hub-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 22px 20px;
  text-decoration: none;
  color: var(--ink);
  min-height: 140px;
}

.hub-card:hover {
  border-color: var(--brand);
}

.hub-card h3 {
  margin: 0 0 8px;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 22px;
}

.hub-card p {
  margin: 0;
}

.form-heading {
  margin: 0 0 12px;
  text-align: left;
}

.pago-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px 16px;
  align-items: end;
  margin: 12px 0 16px;
}

.pago-fields-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  grid-template-columns: unset;
}

.pago-fields-2 .filter-field:first-child {
  flex: 0 1 auto;
}

.pago-fields-2 .filter-field:last-child {
  flex: 1 1 160px;
  min-width: 160px;
}

.pago-check {
  padding-bottom: 4px;
  margin: 0;
}

.pack-add-row,
.pack-close-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: end;
  margin: 8px 0 12px;
}

.pack-close-row {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.pack-add-row .btn-small,
.pack-close-row .btn-small {
  margin: 0;
  height: 42px;
}

.form-grid,
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  align-items: center;
}

.form-grid label,
.form-grid-2 label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.form-input {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.form-textarea {
  min-height: 96px;
  height: auto;
  resize: vertical;
}

.form-dropdown {
  margin: 8px 0 14px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}

.form-actions button,
.btn-small,
.pack-sizes button,
.product-actions button {
  display: inline-block;
  margin: 0;
}

.btn-small {
  padding: 7px 14px;
  font-size: 13px;
}

.btn-danger {
  background: #8a3a32;
}

.btn-danger:hover,
.btn-danger:active {
  background: #6e2c26;
}

.product-table tr.is-inactive td {
  color: var(--muted);
}

.product-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-top: 0;
  justify-content: flex-end;
  align-items: center;
}

.btn-icon,
.product-actions button.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-size: 13px;
}

.contact-link {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.contact-link:hover {
  color: var(--brand-deep);
  text-decoration: underline;
}

.pack-sizes {
  display: flex;
  gap: 8px;
  margin: 8px 0 14px;
}

.pack-progress {
  font-weight: 700;
  color: var(--ink);
}

.pack-line,
.pack-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 8px 0;
}

.pack-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0;
}

.venta-total {
  text-align: right;
  margin-top: 12px;
}

.page-wrap:has(.dash-home) {
  width: min(1240px, 94%);
  margin-top: 24px;
}

.dash-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 22px;
}

.dash-kicker {
  margin: 0 0 4px;
  color: var(--brand-dark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.dash-home .title {
  text-align: left;
  margin: 0;
  font-size: 32px;
}

.dash-insight {
  margin: 8px 0 0;
  max-width: 640px;
  color: var(--muted);
}

.dash-when {
  text-align: right;
  flex: 0 0 auto;
}

.dash-date {
  display: block;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  color: var(--ink);
}

.dash-date-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

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

.dash-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 16px 14px;
  min-height: 108px;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
}

.dash-kpi:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  color: inherit;
}

.dash-kpi span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-kpi strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
  font-family: "Fredoka", "Nunito", sans-serif;
}

.dash-kpi small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 600;
}

.dash-kpi.is-hero {
  background: var(--belly);
  border-color: transparent;
}

.dash-kpi.is-hero:hover {
  border-color: transparent;
  filter: brightness(0.97);
}

.dash-kpi.is-warn {
  background: #f7ece8;
  border-color: #edd5d0;
}

.dash-kpi.is-warn strong {
  color: #8a3a32;
}

.dash-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 22px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.dash-strip-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 2px 4px;
  border-radius: 10px;
}

.dash-strip-item:hover {
  background: var(--cream);
  color: inherit;
}

.dash-strip-item small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-strip-item strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink);
}

.dash-charts,
.dash-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.dash-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 18px 8px;
  box-shadow: none;
}

.dash-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.dash-panel-head h3,
.dash-alert-group h4 {
  margin: 0;
  font-size: 18px;
}

.dash-panel-head p,
.dash-panel-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.dash-inline {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-dark);
  text-decoration: none;
}

.dash-inline:hover {
  color: var(--brand-deep);
}

.dash-chart {
  margin: 4px 0 10px;
}

.dash-chart .js-plotly-plot,
.dash-chart .plot-container,
.dash-chart .svg-container {
  height: 100% !important;
}

.dash-rows {
  margin-top: 8px;
}

.dash-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.dash-row:hover {
  color: inherit;
}

.dash-row:hover .dash-row-main strong {
  color: var(--brand-dark);
}

.dash-row:last-child {
  border-bottom: 0;
}

.dash-row-main strong {
  display: block;
  color: var(--ink);
}

.dash-row-main span,
.dash-row-meta {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.dash-row-side {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dash-row-amt {
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.dash-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: var(--cream-deep);
  color: var(--ink);
}

.dash-pill.is-ok {
  background: var(--belly);
}

.dash-pill.is-warn {
  background: #f4e4e0;
  color: #8a3a32;
}

.dash-alert-link {
  text-decoration: none;
  color: inherit;
}

.dash-alert-link h4 {
  margin: 0;
  font-size: 18px;
}

.dash-alert-link:hover h4 {
  color: var(--brand-dark);
}

.dash-alert-group {
  margin-bottom: 16px;
}

.dash-alert-group:last-child {
  margin-bottom: 8px;
}

.dash-alerts {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.dash-alerts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.dash-alerts li:last-child {
  border-bottom: 0;
}

.dash-alerts span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.dash-alerts .is-warn {
  color: #8a3a32;
  font-weight: 800;
}

.dash-ok {
  margin: 12px 0 8px;
}

.dash-go-wrap {
  margin-top: 8px;
  padding-top: 8px;
}

.dash-go-label {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.dash-go-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.dash-go {
  display: block;
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  min-height: 0;
}

.dash-go:hover {
  border-color: var(--brand);
  border-style: solid;
  background: var(--surface);
}

.dash-go strong {
  display: block;
  font-size: 14px;
  font-family: "Fredoka", "Nunito", sans-serif;
}

.dash-go span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .navbar-custom .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 8px 0 12px;
    gap: 0;
  }

  .navbar-custom .nav-link {
    padding: 10px 4px;
  }

  .navbar-custom .nav-logout {
    justify-content: flex-start;
    width: fit-content;
  }
}

@media (max-width: 1100px) {
  .dash-kpis,
  .dash-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .form-grid,
  .form-grid-2,
  .filter-grid,
  .pago-fields:not(.pago-fields-2),
  .pack-add-row,
  .pack-close-row {
    grid-template-columns: 1fr;
  }

  .product-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-hero,
  .dash-when {
    display: block;
    text-align: left;
  }

  .dash-when {
    margin-top: 10px;
  }

  .dash-home .title {
    font-size: 26px;
  }

  .dash-kpis,
  .dash-strip,
  .dash-charts,
  .dash-split,
  .dash-go-row {
    grid-template-columns: 1fr 1fr;
  }

  .dash-charts,
  .dash-split {
    grid-template-columns: 1fr;
  }

  .dash-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .dash-row-side {
    justify-content: flex-start;
  }
}

.shop-page {
  min-height: 100vh;
  background: var(--cream);
}

.shop-page button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.shop-top {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 6%;
  background: var(--cream);
  border-bottom: 3px solid var(--brand);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  will-change: transform;
}

.shop-top-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.shop-top-logo {
  display: block;
  height: 56px;
  width: auto;
}

.shop-top-links {
  display: flex;
  align-items: center;
  gap: 8px 14px;
}

.shop-top-wa,
.shop-top-team {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  text-decoration: none;
}

.shop-top-wa {
  color: var(--brand-deep);
}

.shop-top-wa:hover {
  color: var(--brand-dark);
}

.shop-top-link {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.shop-top-link:hover {
  color: var(--brand-dark);
}

.shop-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
}

.shop-skip:focus {
  top: 12px;
}

.shop-top-team {
  color: var(--muted);
  font-size: 13px;
}

.shop-top-team:hover {
  color: var(--ink);
}

.shop-intro {
  padding: 22px 6% 8px;
}

.shop-intro-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px 36px;
}

.shop-intro-mascot {
  grid-area: mascot;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 28px;
  background: var(--surface);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--belly);
  transform: rotate(-4deg);
  animation: shop-mascot-bob 3.6s ease-in-out infinite;
}

.shop-intro-logo {
  display: block;
  width: 132px;
  height: auto;
}

.shop-intro-copy {
  grid-area: copy;
  min-width: 0;
  flex: 1;
}

.shop-intro-reel {
  grid-area: reel;
  flex: 0 0 168px;
  width: 168px;
  height: 280px;
  overflow: hidden;
  border-radius: 22px;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--belly);
  background: var(--cream-deep);
}

.shop-intro-reel.is-empty {
  display: none;
}

.shop-intro-reel-track {
  display: flex;
  flex-direction: column;
  animation: shop-reel 22s linear infinite;
}

.shop-intro-reel-track.is-one {
  animation: none;
}

.shop-intro-reel:hover .shop-intro-reel-track {
  animation-play-state: paused;
}

.shop-intro-reel-img {
  display: block;
  width: 168px;
  height: 140px;
  object-fit: contain;
  background: var(--cream-deep);
  flex: 0 0 140px;
}

@keyframes shop-reel {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.shop-intro-kicker {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-deep);
}

.shop-intro-title {
  margin: 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-intro-slogan {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.shop-intro-h1-sub {
  font-family: "Nunito", sans-serif;
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--ink);
}

.shop-intro-lead {
  max-width: 34rem;
  margin: 0 0 16px;
  font-size: 17px;
}

.shop-intro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-intro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.shop-intro-pill .bi {
  color: var(--brand-dark);
}

@keyframes shop-mascot-bob {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-intro-mascot {
    animation: none;
  }

  .shop-intro-reel-track {
    animation: none;
  }
}

.shop-catalog {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 20px 0 24px;
  scroll-margin-top: 88px;
}

.shop-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.shop-heading {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  text-align: left;
}

.shop-lead {
  margin: 0 0 28px;
}

.shop-empty {
  text-align: center;
  padding: 24px 8px;
}

.shop-carousel {
  position: relative;
}

.shop-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  scrollbar-width: none;
}

.shop-track::-webkit-scrollbar {
  display: none;
}

.shop-card {
  flex: 0 0 min(78vw, 300px);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shop-card-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--cream-deep);
}

.shop-card-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1;
  background: var(--cream-deep);
  color: var(--muted);
  font-weight: 700;
}

.shop-card-fallback-logo {
  width: 42%;
  height: auto;
  opacity: 0.85;
}

.shop-card-body {
  padding: 16px 16px 18px;
}

.shop-card-title {
  margin: 0 0 12px;
  font-size: 18px;
  text-transform: capitalize;
}

.shop-card-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.shop-size {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.shop-size:hover,
.shop-size:active {
  background: var(--cream-deep);
  color: var(--ink);
}

.shop-size.is-on {
  background: var(--belly);
  border-color: transparent;
  color: var(--ink);
}

.shop-size.is-on:hover,
.shop-size.is-on:active {
  background: var(--belly);
}

.shop-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.shop-wa:hover {
  background: var(--brand-dark);
  color: #fff;
}

.shop-nav {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.shop-nav:hover,
.shop-nav:active {
  background: var(--belly);
  color: var(--ink);
}

.shop-nav-prev {
  left: -8px;
}

.shop-nav-next {
  right: -8px;
}

.shop-pack {
  padding-top: 12px;
  padding-bottom: 48px;
}

.shop-pack-label {
  margin: 18px 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-pack-step {
  color: var(--brand-deep);
}

.shop-pack-guide {
  margin: -4px 0 16px;
  font-weight: 800;
  color: var(--brand-deep);
}

.shop-pack-cue {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--belly);
  color: var(--ink);
  font-weight: 800;
}

.shop-pack-cue .bi {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.shop-pack-cue span {
  min-width: 0;
  flex: 1;
}

@keyframes shop-pack-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(109, 179, 63, 0.35);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(109, 179, 63, 0);
  }
}

.shop-pack-models {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.shop-pack-model {
  display: grid;
  grid-template-columns: minmax(96px, 180px) 1fr;
  grid-template-areas:
    "img copy"
    "img chips";
  gap: 10px 14px;
  align-items: start;
  padding: 10px;
  background: #fff;
  border: 2px dashed var(--brand);
  border-radius: 22px;
  animation: shop-pack-pulse 1.8s ease-in-out 3;
}

.shop-pack-model.is-on {
  animation: none;
  border-style: solid;
  border-color: var(--brand);
  box-shadow: 8px 8px 0 var(--belly);
  background: #fff;
}

.shop-pack-model-photo {
  grid-area: img;
  align-self: start;
  min-width: 0;
}

.shop-pack-model-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 16px;
  background: transparent;
}

.shop-pack-model-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 4px 4px 0 0;
}

.shop-pack-model-name {
  margin: 0;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.shop-pack-model-status {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-deep);
}

.shop-pack-model:not(.is-on) .shop-pack-model-status {
  color: var(--ink);
}

.shop-pack-chips {
  grid-area: chips;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
  align-self: end;
}

.shop-pack-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 10px 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--ink);
  text-align: left;
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.shop-pack-chip strong {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 15px;
}

.shop-pack-chip:hover,
.shop-pack-chip:active {
  background: var(--cream-deep);
  color: var(--ink);
}

.shop-pack-chip.is-on {
  background: var(--belly);
  border-color: transparent;
}

.shop-pack-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.shop-pack-old {
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.shop-pack-now {
  color: var(--brand-deep);
  font-size: 16px;
  font-family: "Fredoka", "Nunito", sans-serif;
}

.shop-pack-tallas {
  display: grid;
  gap: 8px;
}

.shop-pack-talla-label {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-pack-tallas .shop-sizes {
  margin-bottom: 0;
}

.shop-pack-talla-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.shop-pack-talla {
  min-width: 52px;
  font-size: 13px;
  font-weight: 800;
  text-transform: lowercase;
}

.shop-pack-qty-input {
  width: 72px !important;
  max-width: 72px;
  height: 36px;
  padding: 4px 8px !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  font-weight: 800;
  box-shadow: none !important;
}

.shop-pack-talla-note {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.shop-pack-progress {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--muted);
}

.shop-pack-progress.is-full {
  color: var(--brand-deep);
}

.shop-pack-note {
  margin: 0;
  color: var(--muted);
}

.shop-pack-work {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.8fr);
  gap: 20px;
  align-items: start;
  margin-top: 8px;
}

.shop-pack-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
}

.shop-pack-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.shop-pack-tab strong {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 16px;
}

.shop-pack-tab-prog {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
}

.shop-pack-tab.is-on {
  background: var(--belly);
  border-color: transparent;
}

.shop-pack-tab.is-on .shop-pack-tab-prog {
  color: var(--brand-deep);
}

.shop-pack-designs .shop-pack-progress {
  margin-bottom: 10px;
}

.shop-pack-block {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.shop-pack-subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.shop-pack-sub {
  margin: 0;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 20px;
}

.shop-pack-grid {
  display: grid;
  gap: 12px;
}

.shop-pack-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  grid-template-areas:
    "img title"
    "img body";
  gap: 8px 14px;
  align-items: start;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.shop-pack-photo {
  grid-area: img;
  align-self: start;
  width: 100%;
  max-width: 180px;
  min-width: 0;
}

.shop-pack-thumb {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: var(--cream-deep);
}

.shop-pack-thumb.is-empty {
  min-height: 140px;
  background: var(--cream-deep);
}

.shop-pack-item-title {
  grid-area: title;
  margin: 0;
  font-weight: 800;
  text-transform: capitalize;
  align-self: end;
}

.shop-pack-item-body {
  grid-area: body;
  min-width: 0;
  align-content: start;
  align-items: start;
}

.shop-pack-item .shop-size {
  align-self: start;
  height: auto;
  line-height: 1;
}

.shop-pack-add,
.shop-pack-del {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.shop-pack-add {
  background: var(--belly);
  border-color: transparent;
}

.shop-pack-add:hover:not(:disabled),
.shop-pack-del:hover,
.shop-pack-add:active:not(:disabled),
.shop-pack-del:active {
  background: var(--brand);
  color: #fff;
}

.shop-pack-add:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.shop-pack-bag {
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--border);
}

.shop-pack-bag-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.shop-pack-bag-pack {
  margin: 0 0 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.shop-pack-bag-pack:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.shop-pack-bag-sum {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.shop-pack-bag-sum::-webkit-details-marker,
.shop-pack-bag-sum::marker {
  display: none;
  content: none;
}

.shop-pack-bag-sum::after {
  content: "▾";
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.shop-pack-bag-pack[open] .shop-pack-bag-sum::after {
  content: "▴";
}

.shop-pack-bag-name {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 16px;
}

.shop-pack-bag-sum .shop-pack-progress {
  margin: 0;
  font-size: 12px;
}

.shop-pack-bag-sum .shop-pack-now {
  font-size: 16px;
}

.shop-pack-bag-title {
  margin: 0;
  font-weight: 800;
}

.shop-pack-bag-title .shop-pack-now {
  font-size: 18px;
}

.shop-pack-total {
  margin: 8px 0 0;
  font-weight: 800;
}

.shop-pack-total .shop-pack-now {
  font-size: 22px;
}

.shop-pack-lines {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.shop-pack-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shop-pack-line-name {
  font-size: 14px;
  font-weight: 700;
}

.shop-pack-checkout {
  width: min(480px, 100%);
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.shop-pack-checkout .form-input {
  max-width: 100%;
}

.shop-pack-distrito {
  margin-bottom: 4px;
}

.shop-pack-pedir {
  margin-top: 4px;
}

.shop-pack-pedir:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-pack-error {
  margin: 4px 0 0;
  color: #9a2f2f;
  font-weight: 700;
}

.shop-pack-ok {
  margin: 8px 0 4px;
  font-weight: 700;
}

.shop-pack-ok-link {
  font-weight: 800;
  color: var(--brand-deep);
}

@media (max-width: 1100px) {
  .shop-pack-models {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .shop-top-logo {
    height: 46px;
  }

  .shop-top-link {
    display: none;
  }

  .shop-intro {
    padding: 16px 5% 4px;
  }

  .shop-intro-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "mascot . reel"
      "copy copy copy";
    align-items: center;
    gap: 12px 14px;
  }

  .shop-intro-mascot {
    padding: 8px;
    border-radius: 22px;
    box-shadow: 6px 6px 0 var(--belly);
    justify-self: start;
  }

  .shop-intro-logo {
    width: 88px;
  }

  .shop-intro-slogan {
    font-size: 36px;
  }

  .shop-intro-lead {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .shop-intro-reel {
    width: 104px;
    height: 124px;
    flex: none;
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--belly);
    justify-self: end;
  }

  .shop-intro-reel-img {
    width: 104px;
    height: 104px;
    flex-basis: 104px;
  }

  .shop-card {
    flex-basis: min(52vw, 210px);
  }

  .shop-card-body {
    padding: 10px 10px 12px;
  }

  .shop-card-title {
    margin-bottom: 8px;
    font-size: 15px;
  }

  .shop-card-label {
    margin-bottom: 6px;
  }

  .shop-sizes {
    gap: 6px;
    margin-bottom: 10px;
  }

  .shop-size {
    padding: 5px 10px;
    font-size: 12px;
  }

  .shop-wa {
    padding: 8px 12px;
    font-size: 14px;
  }

  .shop-catalog {
    padding-top: 16px;
  }

  .shop-nav-prev {
    left: 0;
  }

  .shop-nav-next {
    right: 0;
  }

  .shop-pack-work {
    grid-template-columns: 1fr;
  }

  .shop-pack-models {
    grid-template-columns: 1fr;
  }

  .shop-pack-model {
    grid-template-columns: minmax(72px, 34vw) 1fr;
    grid-template-areas:
      "img copy"
      "chips chips";
    gap: 8px 10px;
    padding: 8px;
  }

  .shop-pack-model-photo,
  .shop-pack-model-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }

  .shop-pack-model-copy {
    padding: 0;
    justify-content: center;
  }

  .shop-pack-model-name {
    font-size: 18px;
    line-height: 1.1;
  }

  .shop-pack-hint,
  .shop-pack-model-status {
    font-size: 12px;
    margin: 0;
  }

  .shop-pack-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .shop-pack-chip {
    align-items: center;
    text-align: center;
    padding: 8px 4px 6px;
    gap: 1px;
  }

  .shop-pack-chip-unit,
  .shop-pack-chip .shop-pack-old {
    display: none;
  }

  .shop-pack-chip strong {
    font-size: 14px;
  }

  .shop-pack-chip .shop-pack-now {
    font-size: 13px;
  }

  .shop-pack-item {
    grid-template-columns: minmax(120px, 0.95fr) minmax(0, 1.1fr);
    grid-template-areas:
      "title title"
      "img body";
    gap: 8px 10px;
    padding: 8px;
    align-items: stretch;
  }

  .shop-pack-item-title {
    align-self: start;
  }

  .shop-pack-item .shop-sizes {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 6px;
  }

  .shop-pack-item .shop-size {
    flex: 1 1 0;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    line-height: 1;
  }

  .shop-pack-photo,
  .shop-pack-thumb {
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
  }

  .shop-pack-tabs {
    position: sticky;
    top: 66px;
    z-index: 4;
    background: var(--cream);
    padding: 6px 0;
  }
}

.shop-zoom {
  cursor: zoom-in;
}

.shop-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 20, 20, 0.78);
}

.shop-zoom-overlay[hidden] {
  display: none;
}

.shop-zoom-full {
  display: block;
  max-width: min(96vw, 920px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: var(--cream);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.shop-zoom-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
}

body.shop-zoom-open {
  overflow: hidden;
}
