:root {
  --bg: #040404;
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.22);
  --text: #f3f3f3;
  --muted: rgba(255,255,255,0.55);
  --muted-strong: rgba(255,255,255,0.72);
  --accent: #f1c232;
  --transition-fast: 190ms ease;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; }

/* Grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Grid */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,0.5) 0%, transparent 68%);
}

/* Ambient */
.site-shell::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 45% at 12% 4%, rgba(241,194,50,0.05), transparent),
    radial-gradient(ellipse 60% 35% at 88% 92%, rgba(255,255,255,0.018), transparent);
}

.site-shell {
  position: relative;
  min-height: 100vh;
  padding: 28px;
}

/* ── CARD ─────────────────────────────────────────────────────── */

.card {
  position: relative;
  min-height: calc(100vh - 56px);
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.022) 0%, rgba(255,255,255,0.005) 100%),
    rgba(0,0,0,0.16);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 50px 140px rgba(0,0,0,0.4);
}

/* ── PORTAL LOGIN (split) ─────────────────────────────────────── */

.split-card {
  display: grid;
  grid-template-columns: minmax(min(400px, 100%), 1fr) minmax(0, 0.9fr);
}

.left-panel {
  min-width: 0;
  position: relative;
  padding: 52px 58px 56px;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 0.93;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 { margin: 0; }

.lead {
  margin: 20px 0 36px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
}
.lead.compact { margin: 8px 0 0; font-size: 0.95rem; }

/* ── FORMS ────────────────────────────────────────────────────── */

.stack-form { display: grid; gap: 12px; }
.compact-form { gap: 12px; }

label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.68);
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 8px;
}

.field-wrap { position: relative; }
.field-wrap::after {
  content: "";
  position: absolute; inset: 1px;
  border-radius: 999px; pointer-events: none;
  background: linear-gradient(90deg, rgba(241,194,50,0.07), transparent 28%, transparent 72%, rgba(255,255,255,0.04));
  opacity: 0; transition: opacity var(--transition-fast);
}
.field-wrap:focus-within::after { opacity: 1; }

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  min-height: 68px;
  padding: 0 24px;
  background: rgba(255,255,255,0.01);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

/* Portal login input pill */
.portal-shell input { border-radius: 999px; min-height: 78px; padding: 0 28px; }

input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.24); }
input:hover, textarea:hover, select:hover { border-color: rgba(255,255,255,0.26); }
input:focus, textarea:focus, select:focus {
  border-color: rgba(241,194,50,0.5);
  background: rgba(255,255,255,0.018);
  box-shadow: 0 0 0 3px rgba(241,194,50,0.06);
}

textarea { min-height: 110px; padding: 16px 24px; border-radius: 20px; resize: vertical; }
select { appearance: none; }

/* ── BUTTONS ──────────────────────────────────────────────────── */

.primary-button {
  position: relative; overflow: hidden;
  margin-top: 8px; min-height: 72px; width: 100%; padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  background: transparent; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.86rem; font-weight: 800; cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.primary-button span { position: relative; z-index: 2; }
.primary-button:hover { background: var(--text); color: #0a0a0a; transform: translateY(-2px); }
.primary-button:active { transform: translateY(0) scale(0.99); }
.primary-button:disabled { opacity: 0.7; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='rgba(255,255,255,0.15)' stroke-width='2.5'/%3E%3Cpath d='M12 3 A9 9 0 0 1 21 12' fill='none' stroke='%23f1c232' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") 12 12, wait; transform: none; }

.mini-button {
  min-height: 48px; border-radius: 999px; padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: transparent; color: var(--text);
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.78rem; font-weight: 700; cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.mini-button:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.32); }

.accent-button { border-color: var(--accent); color: var(--accent); }
.accent-button:hover { background: rgba(241,194,50,0.08); }

/* ── STATUS / HELPER ──────────────────────────────────────────── */

.helper, .status-message {
  color: var(--muted); font-size: 0.88rem; margin: 6px 0 0; line-height: 1.5;
}
.status-message { min-height: 1.5em; }
.status-message.is-error   { color: #f0a0a0; }
.status-message.is-success { color: #b8d4a0; }

/* ── RIGHT PANEL (portal login) ───────────────────────────────── */

.right-panel {
  min-width: 0; position: relative;
  border-left: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 48px; overflow: hidden;
}

.topo-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55; pointer-events: none;
}

/* Hero stage */
.hero-stage {
  position: relative;
  width: min(420px, 100%); aspect-ratio: 0.96;
  display: grid; place-items: center; z-index: 1;
}
.hero-stage__glow {
  position: absolute; inset: 8% 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(241,194,50,0.1), transparent 58%);
  filter: blur(28px);
  animation: glowPulse 6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}
.hero-stage__frame {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center; padding: 28px;
  border: 1px solid rgba(255,255,255,0.09); border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.022), rgba(255,255,255,0.005)), rgba(255,255,255,0.008);
}
.hero-stage__top {
  position: absolute;
  top: 26px; left: 26px; right: 26px;
  display: flex; justify-content: space-between; gap: 12px;
}
.hero-stage__specs {
  position: absolute;
  bottom: 24px; left: 26px; right: 26px;
  display: flex; justify-content: space-between; gap: 12px;
}
.spec-item { display: grid; gap: 3px; }
.spec-item__label {
  color: rgba(255,255,255,0.36); font-size: 0.58rem;
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
.spec-item strong { font-size: 0.88rem; font-weight: 700; }

.hero-logo {
  width: min(270px, 68%); display: block;
  animation: logoBreath 9s ease-in-out infinite;
  filter: drop-shadow(0 0 32px rgba(241,194,50,0.07));
}
@keyframes logoBreath {
  0%, 100% { transform: translateY(0) rotate(-0.3deg); }
  33%       { transform: translateY(-6px) rotate(0.2deg); }
  66%       { transform: translateY(-3px) rotate(-0.1deg); }
}

/* ── DASHBOARD ────────────────────────────────────────────────── */

.dashboard-card, .profile-card {
  padding: 36px 40px;
  min-height: calc(100vh - 56px);
}

.panel-header {
  display: flex; justify-content: space-between; gap: 20px;
  align-items: flex-start;
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
}
.panel-header.simple { align-items: center; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px; padding-top: 24px;
}

.info-block {
  min-width: 0;
  border: 1px solid var(--line); border-radius: 26px;
  padding: 22px; background: rgba(255,255,255,0.008);
}
.full-span { grid-column: 1 / -1; }

.block-head {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
}
.block-head.between { display: flex; justify-content: space-between; align-items: center; }
.block-head h2 {
  font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 700;
}

/* Files */
.file-list, .history-list { display: grid; gap: 0; }
.file-row {
  display: flex; justify-content: space-between; gap: 14px;
  align-items: center; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.file-row:last-child { border-bottom: 0; }
.file-meta { display: grid; gap: 4px; min-width: 0; }
.file-title { font-weight: 700; font-size: 0.92rem; }
.file-sub { color: var(--muted); font-size: 0.84rem; }
.file-link {
  color: var(--text); text-decoration: none;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 10px 14px; font-size: 0.8rem; white-space: nowrap;
  transition: background var(--transition-fast);
}
.file-link:hover { background: rgba(255,255,255,0.04); }

/* Grids */
.grid-two, .grid-three { display: grid; gap: 12px; }
.grid-two   { grid-template-columns: 1fr 1fr; }
.grid-three { grid-template-columns: repeat(3, 1fr); }

/* Drop zone */
.drop-zone {
  border: 2px dashed rgba(255,255,255,0.18); border-radius: 14px;
  padding: 20px 16px; text-align: center; cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
  background: rgba(255,255,255,0.02); user-select: none;
}
.drop-zone:hover, .drop-zone.drag-over {
  border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05);
}
.drop-zone.has-file { border-color: rgba(255,255,255,0.45); border-style: solid; background: rgba(255,255,255,0.04); }
.drop-zone.drop-error { border-color: rgba(220,80,80,0.6); background: rgba(220,80,80,0.05); color: #e07070; }
.drop-label { display: flex; flex-direction: column; gap: 4px; font-size: 0.84rem; color: rgba(255,255,255,0.45); }
.drop-label .drop-hint { font-size: 0.74rem; opacity: 0.6; }
.drop-label .drop-filename { color: rgba(255,255,255,0.9); font-weight: 600; word-break: break-all; }
.drop-label .drop-size { font-size: 0.74rem; opacity: 0.5; }

/* History */
.history-row { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.history-row:last-child { border-bottom: none; }
.history-main { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 520px) {
  .history-main { flex-direction: row; align-items: center; justify-content: space-between; }
}
.history-meta { display: grid; gap: 4px; min-width: 0; }
.history-title { font-weight: 700; font-size: 0.92rem; }
.history-sub { color: var(--muted); font-size: 0.84rem; }
.history-date { font-size: 0.7rem; color: rgba(255,255,255,0.3); margin-left: 8px; font-weight: 400; }
.history-estado { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
@media (min-width: 520px) { .history-estado { align-items: flex-end; } }

/* Estado badges */
.estado-badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 10px;
  border-radius: 999px; border: 1px solid currentColor;
}
.estado-recibido     { color: rgba(255,255,255,0.42); }
.estado-en-proceso   { color: #e0b04a; }
.estado-en-impresión { color: #6ab0f5; }
.estado-listo        { color: #7ee07e; }
.estado-entregado    { color: rgba(255,255,255,0.22); }

.estado-track { display: flex; gap: 4px; }
.estado-step { width: 18px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.1); transition: background 0.3s; }
.estado-step.active  { background: rgba(255,255,255,0.32); }
.estado-step.current { background: #fff; }

/* Urgente badge inline */
.badge-urgent {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 2px 7px;
  border-radius: 999px; border: 1px solid rgba(241,194,50,0.6);
  color: var(--accent); vertical-align: middle; margin-left: 6px;
}

/* ── URGENCY CHECKBOX ─────────────────────────────────────────── */

.urgency-check-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.68);
  margin-top: 4px;
  user-select: none;
}

.urgency-check-label input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}

.urgency-check-box {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 5px;
  background: transparent;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  position: relative;
}
.urgency-check-box::after {
  content: "";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%230a0a0a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
  transition: opacity var(--transition-fast);
}

.urgency-check-label input[type="checkbox"]:checked + .urgency-check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.urgency-check-label input[type="checkbox"]:checked + .urgency-check-box::after {
  opacity: 1;
}
.urgency-check-label:hover .urgency-check-box {
  border-color: rgba(255,255,255,0.5);
}

/* ── DELIVERY OPTIONS ─────────────────────────────────────────── */

.delivery-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 2px;
}

.delivery-option {
  display: block; cursor: pointer;
  text-transform: none; letter-spacing: 0;
  font-size: 1rem; font-weight: 400;
  margin-top: 0;
  color: var(--text);
}

.delivery-option input[type="radio"] {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}

.delivery-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  min-height: 80px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.delivery-option:hover .delivery-card {
  border-color: rgba(255,255,255,0.26);
  background: rgba(255,255,255,0.04);
}

.delivery-option input[type="radio"]:checked + .delivery-card {
  border-color: rgba(241,194,50,0.55);
  background: rgba(241,194,50,0.05);
}

.delivery-top {
  display: flex; justify-content: space-between; align-items: center;
}

.delivery-name {
  font-size: 0.82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text);
}

.delivery-check {
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.delivery-option input[type="radio"]:checked + .delivery-card .delivery-check {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(241,194,50,0.12);
}

.delivery-detail {
  font-size: 0.72rem; color: var(--muted); line-height: 1.45;
  font-weight: 400;
}
.delivery-option input[type="radio"]:checked + .delivery-card .delivery-detail {
  color: rgba(241,194,50,0.7);
}

/* ── PRICE DISPLAY ────────────────────────────────────────────── */

.price-display {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 16px 20px;
  border: 1px solid rgba(241,194,50,0.25);
  border-radius: 16px;
  background: rgba(241,194,50,0.04);
  animation: priceReveal 280ms ease both;
}

@keyframes priceReveal {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.price-inner { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.price-label {
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.18em; font-weight: 700;
  color: rgba(241,194,50,0.65);
}

.price-breakdown {
  font-size: 0.74rem; color: var(--muted); line-height: 1.4;
}
.price-urgent { color: rgba(241,194,50,0.7); }

.price-value {
  font-size: 1.55rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--accent);
  white-space: nowrap; flex-shrink: 0;
}

/* ── MODAL ────────────────────────────────────────────────────── */

.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.78); backdrop-filter: blur(4px);
  z-index: 1000; align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: #0e0e0e; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 28px; width: 100%; max-width: 420px;
  display: flex; flex-direction: column; gap: 18px;
}
.confirm-details { display: flex; flex-direction: column; gap: 6px; }
.confirm-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px; font-size: 0.875rem;
  border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 8px;
}
.confirm-row span { color: rgba(255,255,255,0.38); text-transform: uppercase; font-size: 0.68rem; letter-spacing: 0.08em; flex-shrink: 0; }
.confirm-row strong { color: #fff; font-weight: 700; text-align: right; word-break: break-word; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Confirm price block */
.confirm-price-wrap {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(241,194,50,0.3);
  border-radius: 12px;
  background: rgba(241,194,50,0.05);
}

.confirm-price-wrap.is-visible {
  display: flex;
}

.confirm-price-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}

.confirm-price-label {
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.16em; font-weight: 700;
  color: rgba(241,194,50,0.6);
}

.confirm-price-value {
  font-size: 1.65rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--accent);
}

.confirm-price-note {
  margin: 0; font-size: 0.72rem; color: rgba(255,255,255,0.28); line-height: 1.4;
}

/* ── PROFILE ──────────────────────────────────────────────────── */

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 20px; padding-top: 24px;
}

.identity-card {
  border: 1px solid var(--line); border-radius: 26px;
  display: flex; align-items: center; gap: 24px;
  padding: 28px; background: rgba(255,255,255,0.008);
}
.profile-logo { width: min(110px, 28%); }
.identity-info h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: -0.015em; margin-top: 6px;
}

.profile-data-block, .activity-block, .last-order-block {
  border: 1px solid var(--line); border-radius: 26px;
  padding: 22px 26px; background: rgba(255,255,255,0.008);
}

.block-label {
  margin: 0 0 14px; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.38); font-weight: 700;
}

.data-row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.data-row:last-child { border-bottom: 0; }
.data-row span { color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.data-row strong { font-size: 0.95rem; font-weight: 700; }

.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.stat-item { display: grid; gap: 5px; }
.stat-value { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; display: block; }
.stat-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); display: block; }

.last-order-inner { display: grid; gap: 10px; }
.last-order-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.profile-empty { color: var(--muted); font-size: 0.92rem; }

/* ── SPINNER ──────────────────────────────────────────────────── */

.btn-spinner {
  display: inline-block; width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,0.2); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.7s linear infinite;
  vertical-align: middle; margin-right: 5px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ───────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .split-card { grid-template-columns: 1fr; }
  .right-panel { border-left: 0; border-top: 1px solid var(--line); min-height: 300px; }
  .hero-stage { width: min(480px, 100%); aspect-ratio: 1.3; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-shell { padding: 14px; }
  .left-panel { padding: 26px 18px 28px; }
  .dashboard-card, .profile-card { padding: 20px 16px; }
  .grid-two, .grid-three { grid-template-columns: 1fr; }
  .panel-header { flex-direction: column; gap: 14px; }
  .identity-card { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(3,1fr); }
  .stat-value { font-size: 1.5rem; }
  .delivery-options { grid-template-columns: 1fr; }
  .price-value { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .delivery-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
