/* =========================================================
   AZAZUU — style.azazuu.css
   Refactor do style.css original, alinhado ao design system:
   - Background: #000 puro
   - Surface:    #0D0D0D
   - Accents:    #05F2F2 turquesa, #05DBF2 teal, #05F2DB aqua
   - Text:       #FFFFFF / #A0A0A0
   - Type:       Barlow (display, marca) + Montserrat (UI, body)
   - Corners:    afiados / 2px / 4px / max 8px em cards grandes
   - Gradientes: mesh turquesa→teal→aqua nas superfícies-chave
   ========================================================= */

/* Inter carregado via Google Fonts no HTML */

:root {
  /* Cores base Azazuu */
  --bg:        #000000;
  --bg-soft:   #050505;
  --surface:   #0D0D0D;
  --surface-2: #141414;
  --line:      rgba(5, 242, 242, 0.14);
  --line-soft: rgba(255, 255, 255, 0.06);

  --text:      #FFFFFF;
  --muted:     #A0A0A0;

  --accent:     #05F2F2; /* turquesa */
  --accent-2:   #05DBF2; /* teal     */
  --accent-3:   #05F2DB; /* aqua     */
  --accent-ink: #001414; /* texto sobre accent fill */

  --danger:  #FF5C5C;
  --success: #05F2DB;

  /* Elevação — sombras frias para combinar com ciano */
  --shadow:    0 24px 60px rgba(0, 0, 0, 0.6);
  --glow:      0 0 0 1px rgba(5, 242, 242, 0.35), 0 0 24px rgba(5, 242, 242, 0.15);
  --glow-soft: 0 0 0 1px rgba(5, 242, 242, 0.18);

  /* Raios — sharp corners da marca */
  --radius-xl: 8px;
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 2px;

  --sticky-label-width: 220px;

  /* Tipografia */
  --font-display: "Barlow", sans-serif;
  --font-body:    "Montserrat", system-ui, sans-serif;
}

/* ===== Light theme ===== */
[data-theme="light"] {
  --bg:        #F2F2F2;
  --bg-soft:   #EBEBEB;
  --surface:   #FFFFFF;
  --surface-2: #F5F5F5;
  --line:      rgba(0, 153, 153, 0.2);
  --line-soft: rgba(0, 0, 0, 0.1);

  --text:      #0A0A0A;
  --muted:     #5A5A5A;

  --accent:     #009999;
  --accent-2:   #0088AA;
  --accent-3:   #009988;
  --accent-ink: #FFFFFF;

  --danger:  #D94040;
  --success: #009988;

  --shadow:    0 24px 60px rgba(0, 0, 0, 0.1);
  --glow:      0 0 0 1px rgba(0, 153, 153, 0.35), 0 0 24px rgba(0, 153, 153, 0.12);
  --glow-soft: 0 0 0 1px rgba(0, 153, 153, 0.18);
}

[data-theme="light"] body {
  background-image:
    radial-gradient(60% 40% at 15% 0%, rgba(0, 200, 200, 0.07), transparent 70%),
    radial-gradient(50% 40% at 85% 0%, rgba(0, 180, 200, 0.05), transparent 70%),
    radial-gradient(70% 50% at 50% 120%, rgba(0, 200, 180, 0.04), transparent 70%);
}

[data-theme="light"] .footer-bar {
  background: rgba(245, 245, 245, 0.94);
  border-color: rgba(0, 153, 153, 0.2);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.07);
}

.brand-mark--light { display: none; }

[data-theme="light"] .brand-mark--dark  { display: none; }
[data-theme="light"] .brand-mark--light { display: block; }

/* ===== Theme toggle button ===== */
.topbar-end {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.12s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.theme-toggle:hover {
  border-color: rgba(5, 242, 242, 0.3);
  background: rgba(5, 242, 242, 0.06);
  color: var(--accent);
  transform: translateY(-1px);
}

[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(0, 153, 153, 0.3);
  background: rgba(0, 153, 153, 0.06);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(60% 40% at 15% 0%, rgba(5, 242, 242, 0.10), transparent 70%),
    radial-gradient(50% 40% at 85% 0%, rgba(5, 219, 242, 0.08), transparent 70%),
    radial-gradient(70% 50% at 50% 120%, rgba(5, 242, 219, 0.05), transparent 70%);
  background-attachment: fixed;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* ===== Shell ===== */
.app-shell {
  width: min(1280px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 120px;
}

/* ===== Topbar + brand ===== */
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(5, 242, 242, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--text);
}

.brand-tag {
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ===== Stepper ===== */
.stepper { display: flex; gap: 8px; }

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.step-complete {
  color: var(--accent);
  border-color: rgba(5, 242, 242, 0.35);
  background: rgba(5, 242, 242, 0.06);
}

.step-active {
  color: var(--accent-ink);
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  box-shadow: 0 0 20px rgba(5, 242, 242, 0.35);
}

/* ===== Screens ===== */
.screen { display: none; }
.screen-active { display: block; }

/* ===== Panel ===== */
.panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  position: relative;
  overflow: clip;
}

.panel::before {
  /* fina linha cromática no topo do painel */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 30%, var(--accent-2) 50%, var(--accent-3) 70%, transparent);
  opacity: 0.6;
}

.seller-panel,
.confirmation-panel { padding: 36px 36px 32px; }

.grid-panel { overflow: clip; }

.panel-header { margin-bottom: 28px; }
.panel-header p:last-child { color: var(--muted); margin-bottom: 0; }

.panel-header-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 32px 20px;
}

/* ===== Typography ===== */
h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 3.4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ===== Forms ===== */
.seller-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field > span,
.field > label > span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.field input::placeholder,
.field textarea::placeholder { color: #555; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(5, 242, 242, 0.28); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(5, 242, 242, 0.18);
  background: var(--bg);
}

.field input[readonly] {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line-soft);
  cursor: not-allowed;
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.field textarea { resize: vertical; min-height: 88px; }

.dimension-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 10px;
}

.dimension-part {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dimension-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Error states */
.field-error input,
.field-error select,
.field-error textarea,
.product-cell-error input,
.product-cell-error select,
.product-cell-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 92, 92, 0.15);
}

.error-text {
  color: var(--danger);
  min-height: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ===== Buttons ===== */
.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
}
.confirmation-actions { gap: 12px; flex-wrap: wrap; }

.primary-button,
.secondary-button,
.ghost-button,
.icon-button {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.12s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover { transform: translateY(-1px); }

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.icon-button:active { transform: translateY(0); }

.primary-button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 60%, var(--accent-3) 100%);
  box-shadow: 0 0 24px rgba(5, 242, 242, 0.28);
  border-color: rgba(5, 242, 242, 0.5);
}

.primary-button:hover {
  box-shadow: 0 0 36px rgba(5, 242, 242, 0.5);
}

.primary-button .arrow { font-size: 1.1rem; }

.secondary-button {
  color: var(--accent);
  background: rgba(5, 242, 242, 0.08);
  border-color: rgba(5, 242, 242, 0.32);
}

.secondary-button:hover {
  background: rgba(5, 242, 242, 0.14);
  border-color: var(--accent);
}

.ghost-button,
.icon-button {
  color: var(--text);
  background: transparent;
  border-color: var(--line-soft);
}

.ghost-button:hover,
.icon-button:hover {
  background: rgba(5, 242, 242, 0.06);
  border-color: rgba(5, 242, 242, 0.3);
  color: var(--accent);
}

.icon-button {
  padding: 10px 14px;
  letter-spacing: 0;
}

/* ===== Catalog grid ===== */
.grid-container { padding: 0 20px 20px; }

.catalog-grid {
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.grid-table {
  width: 100%;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.grid-table th,
.grid-table td {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.mobile-hidden { display: none; }

.grid-table tr:last-child td,
.grid-table tr:last-child th { border-bottom: 0; }
.grid-table tr > *:last-child { border-right: 0; }

.sticky-label,
.sticky-top { position: sticky; z-index: 3; }

.sticky-top {
  top: 0;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.sticky-label {
  left: 0;
  z-index: 4;
  min-width: var(--sticky-label-width);
  width: var(--sticky-label-width);
  background: var(--surface-2);
}

.corner-cell {
  z-index: 5;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
}

.field-label-cell {
  min-width: var(--sticky-label-width);
  width: var(--sticky-label-width);
}

.field-title {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.field-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.product-heading strong {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.remove-product {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.remove-product:hover {
  color: var(--danger);
  border-color: rgba(255, 92, 92, 0.4);
  background: rgba(255, 92, 92, 0.08);
}

.remove-product:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.product-cell {
  background: var(--surface);
}

/* ===== Variation section ===== */
.variation-section {
  border: 1px solid rgba(5, 242, 242, 0.24);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(5, 242, 242, 0.04), transparent 80%),
    var(--bg);
  padding: 18px;
}

.variation-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.variation-section-header strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.variation-section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.variation-toggle {
  border: 1px solid rgba(5, 242, 242, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  background: rgba(5, 242, 242, 0.06);
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.18s ease;
}

.variation-toggle:hover {
  background: rgba(5, 242, 242, 0.12);
  border-color: var(--accent);
}

.variation-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.variation-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: all 0.18s ease;
}

.variation-chip:hover {
  border-color: rgba(5, 242, 242, 0.35);
  color: var(--text);
}

.variation-chip.is-active {
  border-color: var(--accent);
  background: rgba(5, 242, 242, 0.1);
  color: var(--accent);
}

.variation-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-sm);
  background: rgba(5, 242, 242, 0.16);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1;
}

.variation-chip.is-active .variation-chip-icon {
  background: var(--accent);
  color: var(--accent-ink);
}

.variation-cards {
  display: grid;
  gap: 14px;
}

.variation-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--surface);
}

.variation-card-title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.variation-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.variation-dim-group { grid-column: 1 / -1; }

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

.variation-dim-field { min-width: 0; }

.variation-empty {
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}

.empty-cell {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== Footer bar ===== */
.footer-bar {
  position: sticky;
  bottom: 16px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(5, 242, 242, 0.2);
  border-radius: var(--radius-md);
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6);
}

.footer-bar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.feedback {
  min-height: 24px;
  padding: 0 32px 20px;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 500;
}

.feedback-success { color: var(--success); }

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(0, 20, 20, 0.2);
  border-top-color: var(--accent-ink);
  display: none;
  animation: spin 0.8s linear infinite;
}

.is-loading .spinner { display: inline-block; }
.is-loading .button-label { opacity: 0.6; }
.is-loading { pointer-events: none; opacity: 0.8; }

/* ===== Product navigation (um produto por vez, mobile + desktop) ===== */
.mobile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px 18px;
}

.mobile-nav-label {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
}

/* ===== Confirmation ===== */
.confirmation-seller {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.confirmation-seller .seller-summary-item,
.confirmation-card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: border-color 0.18s ease;
}

.confirmation-card:hover { border-color: rgba(5, 242, 242, 0.28); }

.summary-label {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.confirmation-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.confirmation-card h3 {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--accent);
}

.confirmation-card p {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.88rem;
}

.confirmation-card strong { color: var(--text); font-weight: 600; }

.variation-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.variation-list li + li { margin-top: 6px; }
.variation-detailed-list li strong { display: block; color: var(--accent); }

.variation-inline-details {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* ===== Scrollbar styling (cromada) ===== */
.catalog-grid::-webkit-scrollbar { height: 10px; width: 10px; }
.catalog-grid::-webkit-scrollbar-track { background: var(--bg); }
.catalog-grid::-webkit-scrollbar-thumb {
  background: rgba(5, 242, 242, 0.24);
  border-radius: var(--radius-sm);
}
.catalog-grid::-webkit-scrollbar-thumb:hover { background: rgba(5, 242, 242, 0.4); }

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .seller-form,
  .confirmation-seller { grid-template-columns: 1fr; }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .topbar-end {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .app-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 20px;
  }

  .seller-panel,
  .confirmation-panel { padding: 24px; }

  .seller-form { grid-template-columns: 1fr; }

  .panel-header-grid {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px 16px;
  }

  .grid-container { padding: 0 12px 12px; }

  .grid-table th,
  .grid-table td { padding: 14px; }

  .field-label-cell,
  .sticky-label,
  .corner-cell {
    min-width: 146px;
    width: 146px;
  }

  .footer-bar {
    bottom: 10px;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .footer-bar-actions { width: 100%; }

  .primary-button,
  .secondary-button,
  .ghost-button { width: 100%; }

  .confirmation-actions { flex-direction: column; }

  .dimension-row { grid-template-columns: 1fr; }
  .variation-card-fields { grid-template-columns: 1fr; }
  .variation-dim-grid { grid-template-columns: 1fr; }
  .variation-section-header { flex-direction: column; }
}
