:root {
  --arg-blue: #1a1aff;
  --arg-cyan: #00c2ff;
  --arg-yellow: #ffd600;
  --arg-black: #0a0a0a;
  --arg-bg: #f6f7fb;
  --arg-card: #ffffff;
  --arg-border: #e6e8ef;
  --arg-text: #151827;
  --arg-muted: #667085;
  --arg-green: #12b76a;
  --arg-red: #ef4444;
  --radius: 12px;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--arg-text);
  background: var(--arg-bg);
  overflow-x: hidden;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}
.sidebar {
  background: var(--arg-black);
  color: #fff;
  padding: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  text-decoration: none;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--arg-text);
}
.brand::before {
  content: "";
  width: 30px;
  height: 20px;
  flex: 0 0 auto;
  border: 1px solid rgba(15,23,42,.18);
  border-radius: 6px;
  background:
    radial-gradient(circle at center, #f6b40e 0 11%, transparent 12%),
    linear-gradient(to bottom, #75aadb 0 33%, #fff 33% 66%, #75aadb 66% 100%);
  box-shadow: 0 5px 14px rgba(15,23,42,.16);
}
.sidebar .brand::before {
  border-color: rgba(255,255,255,.34);
}
.brand span {
  color: #75aadb;
  text-shadow: 0 0 0 #fff;
}
.sidebar .brand,
.store-powered,
.store-footer .brand {
  color: #fff;
}
.nav-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.nav-list a, .nav-list button {
  width: 100%;
  display: block;
  padding: 11px 12px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  text-align: left;
}
.nav-list a.active, .nav-list a:hover, .nav-list button:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.main {
  padding: 28px;
  min-width: 0;
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.page-title h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.page-title p {
  margin: 8px 0 0;
  color: var(--arg-muted);
}
.grid {
  display: grid;
  gap: 16px;
}
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.demo-links-grid,
.image-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.dashboard-demo-picker summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dashboard-demo-picker summary::-webkit-details-marker { display: none; }
.dashboard-demo-picker summary span {
  display: grid;
  gap: 6px;
}
.dashboard-demo-picker summary strong {
  color: var(--text);
  font-size: 1.25rem;
}
.dashboard-demo-picker summary small {
  color: var(--muted);
  font-weight: 800;
}
.dashboard-demo-picker summary::after {
  content: "+";
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  flex: 0 0 auto;
}
.dashboard-demo-picker[open] summary::after { content: "-"; }
.demo-links-grid a,
.image-spec-grid div {
  min-height: 82px;
  border: 1px solid rgba(26, 26, 255, .14);
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #eef6ff);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}
.image-spec-grid div {
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  flex-direction: column;
  gap: 8px;
}
.image-spec-grid strong {
  color: var(--primary);
  font-size: 1rem;
}
.image-spec-grid span {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.45;
}
.card {
  background: var(--arg-card);
  border: 1px solid var(--arg-border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.stat {
  display: grid;
  gap: 8px;
}
.stat strong {
  font-size: 30px;
  letter-spacing: -0.04em;
}
.stat span { color: var(--arg-muted); }
.access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--arg-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}
.access-card p {
  margin: 4px 0 0;
  color: var(--arg-muted);
}
.plan-summary-card,
.plan-usage-card,
.plan-lock-card {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid var(--arg-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at right top, rgba(26,26,255,.08), transparent 36%),
    #fff;
  box-shadow: var(--shadow);
}
.plan-summary-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
}
.plan-summary-card.compact {
  max-width: 760px;
  display: block;
}
.plan-summary-card h2 {
  margin: 10px 0 6px;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.plan-summary-card p,
.plan-lock-card p,
.plan-usage-card p {
  margin: 4px 0 0;
  color: var(--arg-muted);
  line-height: 1.5;
}
.plan-summary-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}
.plan-summary-card li {
  padding-left: 24px;
  position: relative;
}
.plan-summary-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--arg-green);
  font-weight: 900;
}
.plan-usage-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.access-trial {
  border-color: #fde68a;
  background: #fffbeb;
}
.access-active {
  border-color: #bbf7d0;
  background: #ecfdf3;
}
.access-pending_payment {
  border-color: #bfdbfe;
  background: #eff6ff;
}
.access-suspended,
.access-cancelled,
.access-expired {
  border-color: #fecdd3;
  background: #fff1f2;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(26,26,255,.18), transparent 30%),
    radial-gradient(circle at 20% 90%, rgba(0,194,255,.18), transparent 28%),
    var(--arg-bg);
}
.auth-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--arg-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.onboarding-card {
  width: min(920px, 100%);
}
.auth-card h1 { margin: 18px 0 8px; font-size: 32px; letter-spacing: -0.05em; }
.auth-card p { color: var(--arg-muted); margin: 0 0 22px; }
.auth-note {
  margin: -8px 0 18px;
  padding: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 14px;
  line-height: 1.45;
}
.message-link {
  display: inline-flex;
  margin-top: 8px;
  color: inherit;
  font-weight: 900;
}
.setup-section {
  display: grid;
  gap: 12px;
}
.setup-section h2 {
  margin: 4px 0 0;
  font-size: 18px;
}
.section-note {
  margin: 0;
  color: var(--arg-muted);
  line-height: 1.45;
}
.plan-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.plan-choice {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--arg-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 7px 0 #dfe5f0, 0 18px 34px rgba(15,23,42,.08);
  cursor: pointer;
}
.plan-choice.recommended {
  border-color: var(--arg-blue);
  box-shadow: 0 7px 0 #0711a8, 0 18px 34px rgba(26,26,255,.14);
}
.plan-choice input {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
}
.plan-choice strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}
.plan-choice span {
  color: var(--arg-blue);
  font-weight: 900;
}
.plan-choice small {
  color: var(--arg-muted);
  line-height: 1.35;
}
.form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 14px;
  font-weight: 700;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--arg-border);
  border-radius: 9px;
  padding: 12px;
  background: #fff;
}
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.asset-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: 16px;
}
.upload-box {
  min-height: 94px;
  display: grid;
  place-items: center;
  border: 1px dashed #b9c0d4;
  border-radius: 12px;
  background: #fbfcff;
  color: var(--arg-muted);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  line-height: 1.5;
}
.upload-box strong {
  display: block;
  color: var(--arg-text);
}
.upload-box:hover {
  border-color: var(--arg-blue);
  color: var(--arg-blue);
}
.upload-box:hover strong {
  color: var(--arg-blue);
}
.upload-box img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}
.banner-upload {
  min-height: 126px;
  aspect-ratio: 16 / 7;
}
.banner-upload img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.asset-meta {
  color: var(--arg-muted);
  line-height: 1.45;
}
.color-field input[type="color"] {
  min-height: 48px;
  padding: 5px;
}
.toggle-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}
.toggle-row input {
  width: 18px;
  height: 18px;
}
.advanced-settings {
  display: grid;
  gap: 14px;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid var(--arg-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at right top, rgba(117,170,219,.16), transparent 34%),
    #fbfcff;
}
.advanced-settings h2 {
  margin: 0;
  font-size: 20px;
}
.toggle-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--arg-border);
  border-radius: 14px;
  background: #fff;
}
.toggle-card input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.toggle-card span {
  display: grid;
  gap: 4px;
}
.toggle-card small {
  color: var(--arg-muted);
  line-height: 1.4;
}
.bulk-panel textarea {
  min-height: 150px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
}
.store-preview {
  min-height: 170px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border: 3px solid var(--arg-yellow);
  border-radius: 14px;
  padding: 22px;
  overflow: hidden;
}
.preview-content {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.preview-content img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  padding: 8px;
}
.store-preview span {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.store-preview h3 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: .95;
  letter-spacing: -0.04em;
}
.store-preview p {
  margin: 8px 0 0;
  color: inherit;
  opacity: .8;
}
.preview-button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  white-space: nowrap;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  border: 0;
  border-radius: 9px;
  padding: 12px 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn.primary { background: var(--arg-blue); color: #fff; }
.btn.dark { background: var(--arg-black); color: #fff; }
.btn.ghost {
  background: #fff;
  color: var(--arg-text);
  border: 1px solid var(--arg-border);
}
.btn.success {
  background: #25D366;
  color: #fff;
  border: 1px solid #25D366;
  box-shadow: 0 5px 0 #11833d, 0 16px 24px rgba(37,211,102,.18);
}
.share-store-card {
  margin: 16px 0;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(26,26,255,.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 12%, rgba(26,26,255,.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f3f8ff);
  box-shadow: 0 8px 0 #d6deeb, 0 22px 40px rgba(15,23,42,.08);
}
.share-store-card h2 {
  margin: 8px 0 4px;
}
.share-store-card p {
  margin: 0;
  color: var(--arg-blue);
  font-weight: 900;
  word-break: break-word;
}
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.message {
  border-radius: 10px;
  padding: 12px;
  background: #eef4ff;
  color: #1d4ed8;
}
.message.error { background: #fff1f2; color: var(--arg-red); }
.message.success { background: #ecfdf3; color: #027a48; }
.table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.table th, .table td {
  text-align: left;
  border-bottom: 1px solid var(--arg-border);
  padding: 12px 8px;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.product-list-cell {
  min-width: 240px;
}
.product-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.product-row-thumb,
.product-row-empty {
  width: 74px;
  height: 64px;
  border-radius: 10px;
  border: 1px solid #dbe4f0;
  background: #f8fafc;
}
.product-row-thumb {
  display: block;
  object-fit: cover;
}
.product-row-empty {
  display: grid;
  place-items: center;
  color: var(--arg-muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.product-row-copy {
  min-width: 0;
}
.product-row-copy strong,
.product-row-copy small {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}
.product-row-copy small {
  margin-top: 4px;
  color: var(--arg-muted);
  font-size: 13px;
  line-height: 1.35;
}
.badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
  background: #eef2ff;
  color: var(--arg-blue);
}
.status-trial { background: #fffbeb; color: #b45309; }
.status-pending_payment { background: #eff6ff; color: #1d4ed8; }
.status-active { background: #ecfdf3; color: #027a48; }
.status-suspended,
.status-cancelled { background: #fff1f2; color: #be123c; }
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-heading h2 {
  margin: 0;
  font-size: 26px;
}
.section-heading p {
  margin: 6px 0 0;
  color: var(--arg-muted);
}
.superadmin-panel {
  margin-top: 18px;
}
.platform-social-panel {
  margin-top: 18px;
}
.reserved-access {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 18px;
}
.reserved-access h2 {
  margin: 12px 0 6px;
}
.reserved-access p {
  color: var(--arg-muted);
  margin: 0;
}
.admin-store-list {
  display: grid;
  gap: 14px;
}
.admin-store-card {
  border: 1px solid var(--arg-border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  padding: 18px;
  box-shadow: var(--shadow);
}
.admin-store-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}
.admin-store-head h3 {
  margin: 10px 0 4px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
}
.admin-store-head a {
  color: var(--arg-blue);
  font-weight: 800;
  text-decoration: none;
}
.admin-store-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.admin-store-metrics span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  background: #f1f5ff;
  color: var(--arg-muted);
  font-size: 12px;
}
.admin-store-metrics strong {
  color: var(--arg-text);
  font-size: 16px;
}
.export-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.billing-badge {
  background: #fff7ed;
  color: #c2410c;
}
.admin-billing-summary {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.admin-store-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.admin-store-quick-actions .btn {
  min-height: 46px;
  padding-inline: 18px;
}
.admin-billing-summary span,
.admin-billing-summary a {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: var(--arg-text);
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 4px 0 #dfe5f0;
}
.admin-billing-summary b {
  color: var(--arg-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-billing-summary a {
  color: #027a48;
  font-weight: 900;
  text-align: center;
  border-color: #bbf7d0;
  background: #ecfdf3;
}
.admin-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-edit-grid label,
.admin-reason {
  display: grid;
  gap: 6px;
  color: var(--arg-muted);
  font-size: 13px;
  font-weight: 800;
}
.admin-edit-grid input,
.admin-edit-grid select,
.admin-reason input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--arg-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--arg-text);
}
.admin-edit-grid input[readonly] {
  background: #f8fafc;
}
.admin-reason {
  margin-top: 12px;
}
.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.btn.danger {
  background: #be123c;
  color: #fff;
}
.btn.ghost-danger {
  background: #fff;
  color: #be123c;
  border: 1px solid #fecdd3;
}
.product-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  max-width: 100%;
}
.product-row img,
.product-row-empty {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--arg-border);
  background: #f8fafc;
  object-fit: cover;
  box-shadow: 0 4px 0 #dfe5f0;
}
.product-row-empty {
  display: grid;
  place-items: center;
  color: var(--arg-muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}
.product-upload > img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}
.product-photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
  padding: 8px;
}
.product-photo-list img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}
.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
}
.kanban-col {
  background: #eef0f5;
  border-radius: 12px;
  padding: 10px;
  min-height: 360px;
}
.kanban-col h3 {
  margin: 4px 4px 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.kanban-col h3 span {
  min-width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--arg-muted);
  font-size: 12px;
}
.order-card {
  background: #fff;
  border: 1px solid var(--arg-border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 8px 20px rgba(15,23,42,.06);
}
.order-items {
  margin: 8px 0;
  padding-left: 18px;
  color: var(--arg-muted);
  font-size: 13px;
}
.order-items li {
  margin: 3px 0;
}
.notify-btn {
  width: 100%;
  margin: 8px 0;
}
.mobile-status-control {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  color: var(--arg-muted);
  font-size: 12px;
  font-weight: 900;
}
.mobile-status-control select {
  width: 100%;
  border: 1px solid var(--arg-border);
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
  color: var(--arg-text);
  font-weight: 800;
}
.empty-state {
  grid-column: 1 / -1;
}
.launcher-page {
  min-height: 100vh;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(26,26,255,.11), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.launcher-hero {
  width: min(1120px, 100%);
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.launcher-hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
}
.launcher-hero p {
  margin: 0;
  color: var(--arg-muted);
}
.flag-mark {
  width: 48px;
  height: 32px;
  display: inline-block;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 7px;
  background: linear-gradient(#75aadb 0 33%, #fff 33% 66%, #75aadb 66%);
  position: relative;
}
.flag-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f6b40e;
  position: absolute;
  inset: 0;
  margin: auto;
}
.launcher-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.launcher-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--arg-border);
  border-radius: 12px;
  background: #fff;
  color: var(--arg-text);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.launcher-card:hover {
  border-color: var(--arg-blue);
  transform: translateY(-1px);
}
.launcher-card strong {
  font-size: 22px;
}
.launcher-card span {
  color: var(--arg-muted);
  line-height: 1.4;
}
.launcher-card.super {
  background: #080a12;
  color: #fff;
}
.launcher-card.super span {
  color: rgba(255,255,255,.72);
}
.launcher-notes {
  width: min(1120px, 100%);
  margin: 16px auto 0;
}
.launcher-notes h2 {
  margin-top: 0;
}
.storefront {
  min-height: 100vh;
  background: #fff;
}
.store-hero {
  background: var(--store-hero-bg, linear-gradient(135deg, var(--arg-blue), var(--arg-cyan)));
  color: #fff;
  min-height: 310px;
  padding: 64px 5% 56px;
  position: relative;
  overflow: hidden;
}
.store-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 22%, rgba(255,255,255,.18), transparent 26%),
    linear-gradient(90deg, rgba(2,6,23,.82), rgba(2,6,23,.44) 48%, rgba(2,6,23,.20));
  pointer-events: none;
}
.store-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -42px;
  height: 95px;
  background: rgba(255,255,255,.9);
  transform: rotate(-2deg);
}
.store-powered {
  position: absolute;
  top: 12px;
  right: 5%;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(5, 15, 34, .42);
  backdrop-filter: blur(8px);
  font-size: 12px;
  letter-spacing: 0;
}
.store-powered::before {
  width: 22px;
  height: 14px;
  border-radius: 4px;
}
.store-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 18px;
}
.store-logo {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.94), rgba(255,255,255,.72) 42%, rgba(255,255,255,.9)),
    linear-gradient(135deg, rgba(255,255,255,.86), rgba(255,228,240,.86));
  padding: 10px;
  border: 2px solid rgba(255,255,255,.78);
  box-shadow: 0 9px 0 rgba(255,255,255,.34), 0 28px 58px rgba(0,0,0,.28);
}
.store-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: .95;
  letter-spacing: -0.04em;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}
.store-hero p {
  margin: 8px 0 0;
  max-width: 680px;
  color: rgba(255,255,255,.88);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0,0,0,.24);
}
.store-content {
  padding: 34px 5% 96px;
  background:
    radial-gradient(circle at 5% 0%, color-mix(in srgb, var(--arg-yellow) 16%, transparent), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.98));
}
.store-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 5%;
  background: linear-gradient(90deg, #75aadb, #ffffff 48%, #75aadb);
  color: #0f172a;
  font-weight: 800;
  font-size: 13px;
}
.store-footer .brand {
  font-size: 14px;
}
.store-footer .brand::before {
  width: 24px;
  height: 16px;
}
.store-footer .brand {
  color: #0f172a;
}
.store-footer span {
  color: rgba(15,23,42,.72);
}
.store-legal-note {
  width: min(760px, 100%);
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}
.store-legal-note a {
  color: #0f172a;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.store-socials {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.store-socials a {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 999px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
  min-height: 30px;
  padding: 6px 10px;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(15,23,42,.12);
}
.store-socials a:hover {
  transform: translateY(-1px);
}
.store-share-panel {
  margin: -6px 0 24px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(117, 170, 219, .42);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 10%, rgba(117,170,219,.26), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(255,214,0,.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #edf8ff 48%, #ffffff 100%);
  box-shadow: 0 8px 0 #dbe7f4, 0 24px 44px rgba(15,23,42,.10);
}
.store-share-panel[hidden] {
  display: none;
}
.store-share-panel span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--arg-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.store-share-panel h2 {
  margin: 0 0 5px;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.store-share-panel p {
  margin: 0;
  color: var(--arg-blue);
  font-weight: 900;
  overflow-wrap: anywhere;
}
.store-share-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}
.store-share-actions .btn {
  min-height: 46px;
  border-radius: 999px;
  box-shadow: 0 5px 0 #cfd8e6, 0 14px 24px rgba(15,23,42,.10);
}
.store-share-actions .btn.success {
  box-shadow: 0 5px 0 #11833d, 0 16px 24px rgba(37,211,102,.18);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.demo-guide {
  margin: -8px 0 24px;
  display: grid;
  gap: 16px;
}
.demo-guide-head {
  max-width: 780px;
}
.demo-guide-head span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff1f8;
  color: #be123c;
  border: 1px solid #fecdd3;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 4px 0 #fbcfe8;
}
.demo-guide-head h2 {
  margin: 14px 0 6px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.demo-guide-head p {
  margin: 0;
  color: var(--arg-muted);
  line-height: 1.55;
}
.demo-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.demo-tip {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 18px;
  border: 1px solid #e8dff0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255,122,182,.22), transparent 36%),
    linear-gradient(180deg, #ffffff, #fff8fc);
  box-shadow: 0 8px 0 #ead7e6, 0 24px 42px rgba(134, 39, 91, .11);
}
.demo-tip strong {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff7ab6, #e11d48);
  color: #fff;
  box-shadow: 0 5px 0 #9f1239, 0 12px 22px rgba(225,29,72,.18);
}
.demo-tip h3 {
  margin: 14px 0 6px;
  font-size: 19px;
  line-height: 1.15;
}
.demo-tip p {
  margin: 0;
  color: #667085;
  line-height: 1.48;
}
.product-card {
  border: 1px solid var(--arg-border);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 8px 0 #dfe5f0, 0 22px 42px rgba(15,23,42,.09);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover {
  transform: translateY(-4px) scale(1.025);
  border-color: color-mix(in srgb, var(--arg-blue) 50%, #fff);
  box-shadow: 0 12px 0 #d4ddea, 0 30px 54px rgba(15,23,42,.14);
}
.product-photo {
  position: relative;
  height: 236px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.88), transparent 28%),
    linear-gradient(135deg, color-mix(in srgb, var(--arg-blue) 16%, #fff), color-mix(in srgb, var(--arg-yellow) 22%, #fff)),
    #f1f3f8;
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--arg-blue) 74%, #111827);
  overflow: hidden;
  cursor: zoom-in;
  outline: none;
}
.product-photo:focus-visible {
  box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--arg-blue) 72%, #fff);
}
.product-photo-fallback {
  z-index: 0;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 10px 24px rgba(15,23,42,.12);
  font-size: 38px;
}
.product-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  opacity: 0;
  transition: opacity .55s ease, transform .3s ease;
  pointer-events: none;
}
.product-photo img.is-active {
  opacity: 1;
}
.product-card:hover .product-photo img.is-active,
.product-card.is-expanded .product-photo img.is-active {
  transform: scale(1.13);
}
.product-card.is-expanded {
  position: relative;
  z-index: 4;
  transform: scale(1.035);
  box-shadow: 0 16px 0 #d4ddea, 0 38px 70px rgba(15,23,42,.2);
}
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-photo img {
    transition: none;
  }
}
.product-body { padding: 18px; }
.product-body h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.14; letter-spacing: -0.015em; }
.product-body p { color: var(--arg-muted); min-height: 62px; line-height: 1.45; margin: 0 0 12px; }
.product-body strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.025em;
}
.stock-pill {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  font-size: 12px;
  font-weight: 900;
}
.stock-pill.out {
  background: #fff1f2;
  color: #be123c;
}
.product-body .btn {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 0 rgba(0,0,0,.28), 0 16px 22px rgba(15,23,42,.14);
  transition: transform .16s ease, box-shadow .16s ease;
}
.product-body .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0,0,0,.28), 0 20px 26px rgba(15,23,42,.16);
}
.cart {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--arg-border);
  padding: 14px 5%;
  box-shadow: 0 -7px 0 rgba(223,229,240,.72), 0 -18px 38px rgba(15,23,42,.10);
}
.cart-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.cart-summary p {
  margin: 4px 0 0;
  color: var(--arg-muted);
}
.cart-items {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--arg-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 4px 0 #e1e6ef;
}
.cart-item span {
  display: block;
  margin-top: 3px;
  color: var(--arg-muted);
  font-size: 13px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.qty-control button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--arg-border);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 3px 0 #d9deea;
}
.checkout-form {
  display: grid;
  gap: 12px;
}
.checkout-review {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #dbe2f0;
  border-radius: 18px;
  background:
    radial-gradient(circle at right top, rgba(26,26,255,.08), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 7px 0 #dfe5f0, 0 20px 34px rgba(15,23,42,.09);
}
.review-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--arg-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.checkout-review strong {
  display: block;
  font-size: clamp(20px, 4vw, 30px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.checkout-review p {
  margin: 9px 0 0;
  color: var(--arg-muted);
  line-height: 1.45;
}
.checkout-review ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}
.checkout-review li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #edf0f6;
}
.checkout-review li:last-child {
  border-bottom: 0;
}
.checkout-review li strong {
  flex: 0 0 auto;
  font-size: 15px;
  letter-spacing: 0;
}
.checkout-form .btn {
  justify-self: start;
}
.checkout-form .btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.status-catalog-mode .store-hero {
  padding-bottom: 28px;
}
.status-catalog-mode .store-content {
  padding-bottom: 28px;
}
.status-catalog-mode .product-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.status-catalog-mode .product-card {
  border-radius: 16px;
}
.status-catalog-mode .product-photo {
  height: 150px;
}
.status-catalog-mode .product-body p {
  min-height: 0;
}
.btn:disabled,
.qty-control button:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}
.offline-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 18%, rgba(117,170,219,.26), transparent 28%),
    radial-gradient(circle at 86% 78%, rgba(26,26,255,.14), transparent 30%),
    #f6f7fb;
}
.offline-card {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--arg-border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 0 #dfe5f0, 0 32px 60px rgba(15,23,42,.14);
}
.offline-pill {
  display: inline-flex;
  margin-top: 22px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--arg-blue);
  font-size: 12px;
  font-weight: 900;
}
.offline-card h1 {
  margin: 14px 0 8px;
  font-size: clamp(34px, 9vw, 56px);
  line-height: .92;
  letter-spacing: -0.05em;
}
.offline-card p {
  margin: 0 0 20px;
  color: var(--arg-muted);
  line-height: 1.5;
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px;
    box-shadow: 0 12px 28px rgba(15,23,42,.18);
  }
  .sidebar .brand {
    font-size: 18px;
  }
  .nav-list {
    margin: 12px -4px 0;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 4px 4px;
    scroll-snap-type: x proximity;
  }
  .nav-list li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .nav-list a,
  .nav-list button {
    min-height: 42px;
    white-space: nowrap;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
  }
  .main {
    padding: 18px 14px 28px;
  }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .demo-links-grid,
  .image-spec-grid { grid-template-columns: 1fr; }
  .plan-choice-grid,
  .plan-summary-card { grid-template-columns: 1fr; }
  .asset-grid { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .access-card { align-items: flex-start; flex-direction: column; }
  .share-store-card {
    align-items: stretch;
    flex-direction: column;
    padding: 16px;
  }
  .share-actions,
  .share-actions .btn {
    width: 100%;
  }
  .share-actions {
    justify-content: stretch;
  }
  .store-share-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .store-share-actions,
  .store-share-actions .btn {
    width: 100%;
  }
  .store-share-actions {
    justify-content: stretch;
  }
  .reserved-access { align-items: flex-start; flex-direction: column; }
  .section-heading {
    flex-direction: column;
  }
  .card {
    padding: 16px;
    overflow-x: auto;
  }
  .table {
    min-width: 0;
  }
  .admin-store-head,
  .admin-edit-grid {
    grid-template-columns: 1fr;
  }
  .admin-billing-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-store-metrics {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    overflow-x: auto;
  }
  .kanban {
    grid-template-columns: repeat(6, minmax(250px, 78vw));
    padding-bottom: 8px;
  }
  .launcher-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .launcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .launcher-page {
    padding: 16px;
  }
  .launcher-grid {
    grid-template-columns: 1fr;
  }
  .launcher-card {
    min-height: 132px;
  }
  .demo-tips {
    grid-template-columns: 1fr;
  }
  .demo-tip {
    min-height: 0;
  }
  .auth-page {
    place-items: start center;
    padding: 12px;
  }
  .auth-card {
    border-radius: 14px;
    padding: 20px;
  }
  .auth-card h1 {
    font-size: 30px;
    line-height: 1;
  }
  .plan-choice {
    min-height: 0;
  }
  .store-preview {
    align-items: flex-start;
    flex-direction: column;
  }
  .preview-content,
  .store-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .store-logo {
    width: 92px;
    height: 92px;
  }
  .preview-button {
    width: 100%;
  }
  .cart {
    max-height: 82vh;
    overflow-y: auto;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
  }
  .cart-summary,
  .cart-item {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-photo {
    height: 218px;
  }
  .store-content {
    padding: 22px 14px 90px;
  }
  .store-hero {
    padding: 42px 14px 38px;
  }
  .admin-billing-summary {
    grid-template-columns: 1fr;
  }
  .checkout-form .btn {
    width: 100%;
  }
  .checkout-review {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   BOTÓN DE ARREPENTIMIENTO (Ley 24.240)
   ============================================================ */
.arrepentimiento-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.arrepentimiento-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.arrepentimiento-text { flex: 1; min-width: 220px; }
.arrepentimiento-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 8px;
}
.arrepentimiento-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 8px;
}
.arrepentimiento-text p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
}

/* Botón 3D */
.btn-arrepentimiento {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 18px 28px;
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow:
    0 6px 0 #7f1d1d,
    0 8px 20px rgba(239,68,68,.4),
    inset 0 1px 0 rgba(255,255,255,.2);
  transform: translateY(0);
  transition: transform .12s ease, box-shadow .12s ease;
  user-select: none;
}
.btn-arrepentimiento:hover {
  background: linear-gradient(180deg, #f87171 0%, #dc2626 100%);
  box-shadow:
    0 8px 0 #7f1d1d,
    0 12px 28px rgba(239,68,68,.5),
    inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(-2px);
}
.btn-arrepentimiento:active {
  box-shadow:
    0 2px 0 #7f1d1d,
    0 4px 12px rgba(239,68,68,.3),
    inset 0 2px 4px rgba(0,0,0,.2);
  transform: translateY(4px);
}
.btn-arrepentimiento-icon { font-size: 28px; line-height: 1; }
.btn-arrepentimiento-text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.btn-arrepentimiento-sub {
  font-size: 11px;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}

/* Modal */
.arrepentimiento-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.arrepentimiento-modal[hidden] { display: none !important; }
.arrepentimiento-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
}
.arrepentimiento-modal-box {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  animation: arrModal .22s ease;
}
@keyframes arrModal {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.arrepentimiento-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.arrepentimiento-modal-close:hover { background: #f1f5f9; color: #374151; }
.arrepentimiento-modal-header { text-align: center; margin-bottom: 24px; }
.arrepentimiento-modal-icon { font-size: 40px; display: block; margin-bottom: 8px; }
.arrepentimiento-modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
}
.arrepentimiento-modal-header p { font-size: 14px; color: #6b7280; margin: 0; }
.arrepentimiento-modal-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.arrepentimiento-modal-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.arrepentimiento-modal-fields input,
.arrepentimiento-modal-fields textarea {
  padding: 10px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background: #f9fafb;
  transition: border-color .15s;
  font-family: inherit;
  resize: vertical;
}
.arrepentimiento-modal-fields input:focus,
.arrepentimiento-modal-fields textarea:focus {
  outline: none;
  border-color: #6366f1;
  background: #fff;
}
.arrepentimiento-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 14px;
}
.arrepentimiento-msg.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.arrepentimiento-msg.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.arrepentimiento-modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-arr-submit {
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 0 #7f1d1d, 0 4px 12px rgba(239,68,68,.3);
  transform: translateY(0);
  transition: transform .1s, box-shadow .1s;
}
.btn-arr-submit:hover { transform: translateY(-1px); box-shadow: 0 4px 0 #7f1d1d, 0 6px 16px rgba(239,68,68,.4); }
.btn-arr-submit:active { transform: translateY(2px); box-shadow: 0 1px 0 #7f1d1d; }
.btn-arr-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-arr-cancel {
  padding: 12px 20px;
  background: #f1f5f9;
  color: #374151;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn-arr-cancel:hover { background: #e2e8f0; }
.arrepentimiento-modal-legal {
  margin-top: 16px;
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .arrepentimiento-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .btn-arrepentimiento { width: 100%; }
  .arrepentimiento-modal-box { padding: 24px 18px 20px; }
}

/* Footer legal en páginas de autenticación (señal de confianza anti-flag Safe Browsing) */
.auth-legal{
  max-width:420px;
  margin:24px auto 0;
  padding:16px;
  text-align:center;
  font-size:12px;
  line-height:1.5;
  color:#6b7280;
}
.auth-legal a{
  color:#1A1AFF;
  text-decoration:underline;
  white-space:nowrap;
}
.auth-legal p{margin:0 0 8px;}

/* Kanban bloqueado (plan Básico): se muestra como lista, sin drag */
.kanban-locked{display:block}
.kanban-locked .kanban-col{width:100%;max-width:none;margin:0 0 12px}
.kanban-locked .order-card{cursor:default}
.kanban-lock-banner{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:13px;margin-bottom:14px}

/* Configurador de horario (settings) */
.hours-grid{display:flex;flex-direction:column;gap:8px;margin:10px 0}
.hours-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hours-row .hours-day{display:flex;align-items:center;gap:8px;min-width:150px;font-size:14px}
.hours-row input[type="time"]{padding:6px 8px;border:1px solid #d0d5dd;border-radius:8px}
.hours-row .hours-sep{color:#6b7280}
.hours-row input:disabled{opacity:.5}

/* Badge Abierto/Cerrado (tienda pública) */
.store-open-status{display:inline-block;margin-top:6px;padding:3px 12px;border-radius:9999px;font-size:13px;font-weight:600}
.store-open-status.is-open{background:#dcfce7;color:#166534}
.store-open-status.is-closed{background:#fee2e2;color:#991b1b}
