/* ========================================================
   PRUMO - Streetwear & Custom Prints
   Estilo Visual Premium / Dark Streetwear
   ======================================================== */

:root {
  --bg-main: #0c0d11;
  --bg-card: #14171f;
  --bg-card-hover: #1c212c;
  --bg-surface: #1e2330;
  --accent: #ff5722;
  --accent-hover: #ff7043;
  --accent-light: rgba(255, 87, 34, 0.15);
  --neon-blue: #00d2ff;
  --text-main: #f0f2f7;
  --text-muted: #8b92a5;
  --border: #232838;
  --border-focus: #ff5722;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --font-title: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 13, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  background: linear-gradient(135deg, var(--accent), #ff9100);
  color: #0c0d11;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.4);
}

.brand-title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-subtitle {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.search-box {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 16px 10px 42px;
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

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

.btn-cart {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.35);
}

.btn-cart:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.cart-count {
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 999px;
}

.btn-admin-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.btn-admin-link:hover {
  color: var(--text-main);
  background: var(--bg-card);
}

/* ================= HERO BANNER ================= */
.hero {
  background: radial-gradient(circle at 50% 0%, rgba(255, 87, 34, 0.12) 0%, transparent 70%);
  padding: 32px 24px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(255, 87, 34, 0.3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-title);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.15;
}

.hero p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto;
}

/* VITRINE DE CAMISETAS ESTAMPADAS NO HERO (MASCULINO & FEMININO MOCKUP) */
.hero-header-content {
  max-width: 780px;
  margin: 0 auto 28px;
}

.hero-mockup-showcase {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 8px 4px 16px;
}

.showcase-card {
  position: relative;
  background: #11131a;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-align: left;
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 87, 34, 0.5);
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.16), 0 4px 12px rgba(0,0,0,0.4);
}

.showcase-card-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-bottom: 8px;
}

.showcase-badge-trend {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.12);
  color: #00e676;
  border: 1px solid rgba(0, 230, 118, 0.32);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.showcase-badge-cut {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 87, 34, 0.15);
  color: #ff8a65;
  border: 1px solid rgba(255, 87, 34, 0.35);
  text-transform: uppercase;
}

.showcase-badge-cut.female {
  background: rgba(233, 30, 99, 0.15);
  color: #f48fb1;
  border-color: rgba(233, 30, 99, 0.35);
}

.showcase-print-dtf {
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
}

.showcase-shirt-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.14;
  background: radial-gradient(circle at 50% 32%, #1b1e2a 0%, #0a0b0f 100%);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.showcase-floor-shadow {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 12px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  filter: blur(5px);
}

.showcase-shirt-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-shirt-img {
  transform: scale(1.03);
}

.showcase-print-zone {
  position: absolute;
  width: 38%;
  height: 48%;
  top: 24%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.showcase-print-zone.female {
  width: 36%;
  height: 44%;
  top: 26%;
}

.showcase-print-img {
  max-width: 92%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: transparent !important;
  transition: transform 0.3s ease;
}

.showcase-card:hover .showcase-print-img {
  transform: scale(1.06);
}

.showcase-fabric-creases {
  display: none !important;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.showcase-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.btn-showcase-try {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.showcase-card:hover .btn-showcase-try {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ================= CATEGORIAS E FILTROS ================= */
.filters-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 24px 8px;
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.category-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-btn:hover {
  color: var(--text-main);
  border-color: var(--border-focus);
}

.category-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.category-badge {
  font-size: 11px;
  opacity: 0.75;
}

.secondary-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.formats-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.format-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.format-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.format-btn:hover, .format-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.catalog-actions-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-hero-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.14), rgba(120, 0, 255, 0.22));
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 8px;
  color: #00f0ff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.12);
}

.btn-hero-upload:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.28), rgba(120, 0, 255, 0.38));
  border-color: #00f0ff;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.3);
}

.btn-hero-upload svg {
  stroke: #00f0ff;
  transition: stroke 0.2s ease;
}

.btn-hero-upload:hover svg {
  stroke: #ffffff;
}

.stats-counter {
  font-size: 13px;
  color: var(--text-muted);
}

.stats-counter b {
  color: var(--text-main);
}

/* ================= GRID DE ESTAMPAS ================= */
.main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 24px 80px;
}

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

.art-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  cursor: pointer;
}

.art-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 87, 34, 0.5);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.85);
}

.art-preview-wrap, .art-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: #141721;
  background-image: 
    linear-gradient(45deg, #0e1017 25%, transparent 25%), 
    linear-gradient(-45deg, #0e1017 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #0e1017 75%), 
    linear-gradient(-45deg, transparent 75%, #0e1017 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

.art-preview-wrap img, .art-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  box-sizing: border-box;
  display: block;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.art-card:hover .art-preview-wrap img, .art-card:hover .art-img-wrap img {
  transform: scale(1.08);
}

.art-badge-format, .format-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(12, 13, 17, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--neon-blue);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  z-index: 3;
}

.btn-quick-preview {
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 17, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  gap: 6px;
  z-index: 2;
}

.art-card:hover .btn-quick-preview {
  opacity: 1;
}

.art-info {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.art-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.art-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}

.art-actions, .card-action-bar {
  display: flex;
  margin-top: auto;
}

.btn-add-choice, .btn-preview-card {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
}

.art-card:hover .btn-add-choice,
.art-card:hover .btn-preview-card,
.btn-add-choice:hover,
.btn-preview-card:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}

.btn-test-shirt {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-test-shirt:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  background: rgba(0, 210, 255, 0.1);
}

/* Paginação */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.btn-page {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-page:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-indicator {
  font-size: 13px;
  color: var(--text-muted);
}

/* ================= MODAL DE SIMULADOR DE CAMISETA ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 9, 12, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.modal-mockup-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 95vw;
  max-width: 1180px;
  height: 92vh;
  max-height: 840px;
  display: flex;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mockup-preview-side {
  flex: 1.15;
  background: radial-gradient(circle at 50% 40%, #1e2433 0%, #0c0e14 78%);
  padding: 12px 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  user-select: none;
  box-sizing: border-box;
}

/* PALCO 3D COM PERSPECTIVA REALISTA */
.mockup-stage-3d {
  width: 100%;
  max-width: 460px;
  flex: 1;
  min-height: 250px;
  max-height: 400px;
  position: relative;
  perspective: 1200px;
  margin: 4px auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tshirt-rotator-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.tshirt-rotator-3d.smooth-spin {
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tshirt-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  transform-origin: center center;
  display: block;
}

.tshirt-card-face.face-side-left .tshirt-real-photo {
  transform: scaleX(-1);
}

/* FOTO REALISTA DA CAMISETA (MOCKUP STUDIO GHOST MANNEQUIN) */
.tshirt-real-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.7));
  transition: opacity 0.2s ease, filter 0.2s ease;
}

/* SOMBRA 3D NO PISO DO ESTÚDIO */
.mockup-floor-shadow {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  filter: blur(5px);
  z-index: 1;
  transition: transform 0.15s ease-out;
}

/* ZONA DE ESTAMPA COM TOUCH NATIVO SEGURO - SEM LINHAS DE IMPRESSÃO */
.tshirt-print-zone {
  position: absolute;
  width: 146px;
  height: 190px;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  border: none !important;
  outline: none !important;
  border-radius: 6px;
  pointer-events: auto;
  touch-action: none; /* Previne scroll indevido no celular durante arrasto */
  overflow: visible;
  z-index: 5;
}

.tshirt-print-zone:hover {
  border: none !important;
  outline: none !important;
}

.tshirt-print-zone img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 0 !important;
  filter: none !important;
  background: transparent !important;
}

/* DESATIVADO PARA NÃO CRIAR RETÂNGULO OU AURÉOLA BRANCA EM ESTAMPAS PNG */
.fabric-texture-overlay {
  display: none !important;
}

/* NAVEGAÇÃO DE ABAS NO MODAL DO PROVADOR */
.mobile-tabs-nav {
  display: none;
}

.mockup-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* MICRO D-PAD COMPACTO HORIZONTAL */
.micro-dpad-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.micro-dpad-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.micro-dpad-buttons .btn-dpad {
  width: 34px;
  height: 34px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.micro-dpad-buttons .btn-dpad:hover, .micro-dpad-buttons .btn-dpad:active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.micro-dpad-buttons .btn-dpad-center {
  width: auto;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 87, 34, 0.15);
  color: var(--accent);
  border-color: rgba(255, 87, 34, 0.35);
}

.mockup-controls-side {
  flex: 1;
  padding: 16px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}

.btn-close-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-close-modal:hover {
  color: #fff;
  border-color: var(--accent);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* Seletor de Cores da Camiseta */
.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.color-circle:hover {
  transform: scale(1.1);
}

.color-circle.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* Seletor de Posição */
.position-options, .size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.choice-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.choice-chip:hover {
  border-color: var(--accent);
}

.choice-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-confirm-selection {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  position: sticky;
  bottom: 0;
  z-index: 20;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4), 0 -8px 18px rgba(10, 12, 16, 0.9);
  transition: all 0.2s ease;
}

.btn-confirm-selection:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

/* ================= MODAL / DRAWER DO CARRINHO ================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(8, 9, 12, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: flex-end;
}

.drawer-overlay.active {
  display: flex;
}

.drawer-content {
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  width: 100%;
  max-width: 460px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 800;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.drawer-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #10121a;
  border-radius: 6px;
  padding: 4px;
}

.drawer-item-details {
  flex: 1;
  min-width: 0;
}

.drawer-item-title {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-item-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: #ff5252;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: #0f1118;
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-whatsapp-order {
  width: 100%;
  background: #25d366;
  color: #072e15;
  border: none;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  transition: all 0.2s ease;
}

.btn-whatsapp-order:hover {
  background: #20ba59;
}

.btn-save-order {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 11px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.15s ease;
}

.btn-save-order:hover {
  color: var(--text-main);
  border-color: var(--border-focus);
}

/* ================= PAINEL ADMIN ================= */
.admin-container {
  max-width: 1300px;
  margin: 30px auto;
  padding: 0 24px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-val {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-top: 6px;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.orders-table th, .orders-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}

.orders-table th {
  background: #11141c;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}

.badge-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-novo { background: rgba(0, 210, 255, 0.15); color: var(--neon-blue); }
.status-producao { background: rgba(255, 152, 0, 0.15); color: #ff9800; }
.status-impresso { background: rgba(76, 175, 80, 0.15); color: #4caf50; }
.status-entregue { background: rgba(158, 158, 158, 0.15); color: #9e9e9e; }

/* ================= RESPONSIVO MOBILE DE ALTA PERFORMANCE ================= */
/* ================= RESPONSIVO MOBILE DE ALTA PERFORMANCE ================= */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
    width: 100%;
    position: relative;
  }

  /* HEADER MOBILE SEM OVERFLOW */
  .header {
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
  }
  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 0;
    width: 100%;
  }
  .brand {
    flex: 0 0 auto;
    min-width: 0;
    gap: 6px;
  }
  .brand-badge {
    font-size: 15px;
    padding: 5px 12px;
    letter-spacing: 0.1em;
  }
  .brand-title {
    display: none;
  }
  .brand-subtitle {
    display: none;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .btn-tour-guide {
    padding: 6px 9px;
    font-size: 11px;
    min-height: 32px;
  }
  .btn-tour-guide .tour-text {
    display: none;
  }
  .btn-user-auth {
    padding: 6px 10px;
    font-size: 11.5px;
    min-height: 32px;
    gap: 4px;
  }
  .btn-admin-link {
    display: none;
  }
  .btn-cart {
    padding: 6px 10px;
    font-size: 11.5px;
    min-height: 32px;
    white-space: nowrap;
    border-radius: 999px;
    gap: 4px;
  }
  .btn-cart .cart-btn-text {
    display: none;
  }
  .search-box {
    order: 3;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-top: 6px;
    box-sizing: border-box;
  }
  .search-box svg {
    left: 12px;
    width: 16px;
    height: 16px;
  }
  .search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 14px 9px 36px;
    font-size: 14px;
  }

  /* HERO MOBILE */
  .hero {
    padding: 22px 14px 16px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-tag {
    font-size: 11px;
    padding: 3px 12px;
    margin-bottom: 8px;
  }
  .hero h1 {
    font-size: 21px;
    line-height: 1.25;
    word-break: break-word;
    margin-bottom: 8px;
  }
  .hero p {
    font-size: 13px;
    line-height: 1.45;
  }

  .hero-header-content {
    margin-bottom: 16px;
  }

  .hero-mockup-showcase {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 6px 2px 14px;
    -webkit-overflow-scrolling: touch;
    margin: 0 -6px;
  }

  .showcase-card {
    flex: 0 0 210px;
    scroll-snap-align: start;
    padding: 10px 10px 12px;
  }

  .showcase-title {
    font-size: 13px;
  }

  .showcase-desc {
    font-size: 10.5px;
    margin-bottom: 6px;
  }

  .btn-showcase-try {
    padding: 6px 10px;
    font-size: 11px;
  }

  /* BARRA DE FILTROS MOBILE */
  .filters-bar {
    padding: 10px 14px 4px;
    width: 100%;
    box-sizing: border-box;
  }
  .category-scroll {
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .category-btn {
    padding: 6px 14px;
    font-size: 12.5px;
    flex-shrink: 0;
  }
  .secondary-filters {
    margin-top: 8px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .formats-list {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 0;
  }
  .formats-list::-webkit-scrollbar { display: none; }
  .format-btn {
    padding: 4px 9px;
    font-size: 11.5px;
    flex-shrink: 0;
  }
  .catalog-actions-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .btn-hero-upload {
    justify-content: center;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
  }
  .stats-counter {
    width: 100%;
    font-size: 12px;
    text-align: center;
  }

  /* GRADE EM 2 COLUNAS NO CELULAR */
  .main-content {
    padding: 8px 12px 100px;
    width: 100%;
    box-sizing: border-box;
  }
  .art-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 8px;
    width: 100%;
  }
  .art-card {
    border-radius: 12px;
  }
  .art-badge-format {
    font-size: 9px;
    padding: 2px 6px;
    top: 6px;
    right: 6px;
  }
  .art-info {
    padding: 8px;
    gap: 4px;
  }
  .art-title {
    font-size: 12px;
    line-height: 1.3;
  }
  .art-category {
    font-size: 10px;
  }
  .art-actions {
    margin-top: 2px;
    gap: 4px;
  }
  .btn-add-choice {
    padding: 7px 4px;
    font-size: 11px;
    font-weight: 700;
  }
  .btn-test-shirt {
    padding: 7px 8px;
    font-size: 13px;
  }

  /* MODAL SIMULADOR NO SMARTPHONE (BOTTOM-SHEET OTIMIZADO PARA TOUCH) */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .modal-mockup-box {
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    height: 96vh;
    max-height: 96vh;
    border-radius: 20px 20px 0 0;
    margin: 0;
    border: none;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.95);
    display: flex;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background: #0f1118;
  }
  .btn-close-modal-float {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(22, 26, 38, 0.90);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 70;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    touch-action: manipulation;
  }
  .btn-close-modal-float:active {
    transform: scale(0.92);
    background: rgba(255, 87, 34, 0.85);
  }
  .mockup-preview-side {
    width: 100%;
    min-height: auto;
    height: auto;
    padding: 8px 10px 6px;
    background: radial-gradient(circle at 50% 40%, rgba(38, 50, 78, 0.95) 0%, rgba(18, 22, 34, 0.98) 65%, rgba(10, 12, 18, 1) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: none;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }
  /* Oculta o painel de rotação redundante no preview superior em celulares */
  .mockup-preview-side .rotation-control-panel {
    display: none !important;
  }
  .mockup-model-selector {
    margin: 0 auto 6px;
    width: 100%;
    max-width: 280px;
    padding: 2px;
    gap: 3px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
  }
  .btn-model-tab {
    padding: 5px 8px;
    font-size: 11px;
    min-height: 28px;
    border-radius: 999px;
  }
  .vista-switcher-container {
    margin: 0 auto 6px;
    width: 100%;
    max-width: 350px;
    padding: 2px;
    gap: 3px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
  }
  .vista-tab-btn {
    padding: 5px 6px;
    min-height: 32px;
    gap: 3px;
    flex: 1;
    border-radius: 8px;
  }
  .vista-icon {
    font-size: 12px;
  }
  .vista-title {
    font-size: 9.5px;
    font-weight: 800;
  }
  .vista-badge {
    display: none !important;
  }
  .mockup-stage-3d {
    width: 100%;
    max-width: 100%;
    height: 42vh;
    min-height: 320px;
    max-height: 420px;
    margin: 0 auto;
    position: relative;
    touch-action: none;
  }
  .threejs-container {
    width: 100%;
    height: 100%;
    position: relative;
    touch-action: none;
  }
  .threejs-overlay-controls {
    top: auto;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    pointer-events: none;
  }
  .threejs-tool-group {
    display: flex;
    gap: 4px;
    background: rgba(14, 16, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 3px 6px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
  }
  .btn-3d-tool {
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 700;
    min-height: 28px;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: var(--text-muted);
  }
  .btn-3d-tool.active {
    background: var(--accent);
    color: #fff;
  }
  .btn-mini-3d {
    padding: 4px 8px;
    font-size: 10.5px;
    min-height: 28px;
    border-radius: 999px;
    background: rgba(14, 16, 24, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
  }
  .threejs-hint-banner {
    display: none !important;
  }
  .pinch-scale-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(14, 16, 24, 0.94);
    border: 1.5px solid var(--accent);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
    pointer-events: none;
    z-index: 50;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .mockup-controls-side {
    padding: 8px 12px 100px;
    gap: 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    flex: 1;
    min-height: 0;
    box-sizing: border-box;
    position: relative;
  }
  .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-bottom: 2px;
    padding-right: 40px;
  }
  .modal-header .btn-close-modal {
    display: none;
  }
  .modal-title {
    font-size: 15px;
    line-height: 1.25;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .modal-subtitle {
    font-size: 10.5px;
  }
  .btn-close-modal {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  /* ABAS DE NAVEGAÇÃO STICKY NO CELULAR */
  .mobile-tabs-nav {
    display: flex;
    gap: 6px;
    background: rgba(14, 16, 23, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    position: sticky;
    top: 0;
    z-index: 20;
    margin: -8px -12px 8px;
    padding: 6px 12px;
  }

  .m-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    min-height: 36px;
    touch-action: manipulation;
    transition: all 0.2s ease;
  }

  .m-tab-btn.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 10px rgba(255, 87, 34, 0.4);
  }

  .mockup-tab-pane {
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .mockup-tab-pane.active {
    display: flex;
  }

  /* BOTÕES DE ESCOLHA NO CELULAR */
  .side-choice-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .btn-side-choice {
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 800;
    min-height: 44px;
    justify-content: center;
    border-radius: 10px;
    touch-action: manipulation;
  }
  .btn-open-bg-remover {
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 12px;
    touch-action: manipulation;
  }

  /* CONTROLE DE ESCALA NO CELULAR */
  .scale-control-box {
    padding: 10px 12px;
    border-radius: 12px;
  }
  .btn-nudge-scale {
    width: 44px;
    height: 44px;
    font-size: 20px;
    font-weight: 800;
    border-radius: 10px;
    touch-action: manipulation;
  }
  .custom-range-slider {
    height: 8px;
  }
  .custom-range-slider::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
  }

  /* PRESETS DE POSICIONAMENTO EM GRID NO CELULAR */
  .pos-preset-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .pos-preset-btn {
    min-height: 38px;
    padding: 8px 4px;
    font-size: 10.5px;
    font-weight: 700;
    border-radius: 8px;
    touch-action: manipulation;
  }

  /* MICRO-AJUSTE D-PAD NO CELULAR */
  .micro-dpad-compact {
    padding: 8px 12px;
    border-radius: 12px;
  }
  .btn-dpad {
    width: 44px;
    height: 44px;
    font-size: 15px;
    border-radius: 10px;
    touch-action: manipulation;
  }
  .btn-dpad-center {
    width: auto;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 800;
  }

  /* BOTÃO FINAL FIXO NA BASE DO CELULAR COM ÁREA SEGURA */
  .btn-confirm-selection {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 60;
    margin: 0;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    font-size: 15px;
    font-weight: 800;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #ff5722 0%, #ff1744 100%);
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.90);
    width: 100%;
    box-sizing: border-box;
    touch-action: manipulation;
    border: 1px solid rgba(255, 87, 34, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* OCULTA BOTÃO DE WHATSAPP E BARRA DE CARRINHO QUANDO MODAL ESTIVER ABERTO NO CELULAR */
  body.has-active-modal .floating-whatsapp-btn,
  body.has-active-modal .floating-cart-bar {
    display: none !important;
  }

  /* MODAL REMOVEDOR DE FUNDO NO CELULAR */
  .modal-bg-remover {
    padding: 0;
    align-items: flex-end;
  }
  .bg-remover-card {
    max-height: 94vh;
    height: 94vh;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .bg-remover-header {
    padding: 12px 16px;
  }
  .bg-remover-body {
    flex-direction: column;
    overflow-y: auto;
    flex: 1;
  }
  .bg-canvas-container {
    min-height: 210px;
    max-height: 250px;
    padding: 8px;
    flex: none;
    touch-action: none;
  }
  #bgRemoverCanvas {
    max-height: 230px;
    touch-action: none;
  }
  .bg-remover-controls {
    padding: 12px 14px;
    gap: 10px;
    flex: none;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .btn-bg-action {
    padding: 11px 12px;
    font-size: 12px;
    min-height: 42px;
    touch-action: manipulation;
  }
  .bg-remover-footer {
    position: sticky;
    bottom: 0;
    background: #10121a;
    padding: 10px 14px 18px;
    display: flex;
    gap: 8px;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .btn-bg-primary {
    flex: 2;
    min-height: 46px;
    font-size: 13px;
    font-weight: 800;
    touch-action: manipulation;
  }
  .btn-bg-secondary {
    flex: 1;
    min-height: 46px;
    font-size: 12px;
    touch-action: manipulation;
  }

  /* MODAL SELETOR DE ACERVO NO CELULAR */
  .art-picker-modal {
    padding: 0;
    align-items: flex-end;
  }
  .art-picker-box {
    max-height: 92vh;
    height: 92vh;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .picker-header {
    padding: 12px 14px;
  }
  .picker-title {
    font-size: 16px;
  }
  .picker-search-bar {
    padding: 10px 14px;
    gap: 8px;
  }
  .picker-input {
    font-size: 16px !important; /* Previne zoom automático do iPhone / Safari */
    padding: 10px 12px;
  }
  .picker-art-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
    padding: 10px 14px;
  }
  .picker-card {
    padding: 8px;
    touch-action: manipulation;
  }
  .picker-card-title {
    font-size: 11.5px;
  }
  .picker-footer {
    padding: 10px 14px 18px;
  }
  .btn-page {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    min-height: 42px;
    touch-action: manipulation;
  }

  /* DRAWER DO CARRINHO MOBILE */
  .drawer-content {
    max-width: 100%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
  .drawer-header {
    padding: 14px 16px;
  }
  .drawer-items {
    padding: 12px 14px;
  }
  .drawer-footer {
    padding: 14px 16px 24px;
  }
  .drawer-footer .form-input {
    font-size: 16px; /* Evita zoom automático no iOS/Safari */
  }
  .btn-whatsapp-order {
    padding: 13px;
    font-size: 14px;
  }

  /* PAINEL ADMIN NO CELULAR */
  .admin-container {
    padding: 0 12px;
    margin: 14px auto 36px;
    width: 100%;
    box-sizing: border-box;
  }
  .admin-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
    width: 100%;
  }
  .admin-header h1 {
    font-size: 20px !important;
    line-height: 1.25;
  }
  .admin-header p {
    font-size: 12.5px !important;
  }
  .admin-header > div:last-child {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: stretch !important;
    gap: 8px !important;
  }
  .admin-header > div:last-child > div {
    width: 100%;
  }
  .admin-header > div:last-child input {
    font-size: 15px !important;
  }
  .admin-header > div:last-child button {
    width: 100% !important;
    margin-top: 4px !important;
    padding: 10px !important;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
  }
  .stat-card {
    padding: 12px;
    border-radius: 12px;
  }
  .stat-card span {
    font-size: 10px !important;
  }
  .stat-val {
    font-size: 22px;
    margin-top: 4px;
  }
  .orders-table {
    min-width: 660px;
  }
  #modalFicha {
    padding: 0;
    align-items: flex-end;
  }
  #modalFicha .modal-mockup-box {
    width: 100%;
    max-width: 100%;
    max-height: 88vh;
    border-radius: 20px 20px 0 0;
    padding: 16px;
    box-sizing: border-box;
  }
}

/* BOTÃO FLUTUANTE DE PEDIDO NO MOBILE */
.mobile-bottom-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(14, 16, 22, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 10px 14px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    box-sizing: border-box;
  }
  .mobile-bottom-btn {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(255, 87, 34, 0.4);
    cursor: pointer;
  }
}

/* ================= SIMULADOR FRENTE & COSTAS E LIVRE POSICIONAMENTO ================= */
.mockup-model-selector {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px;
  box-sizing: border-box;
  z-index: 10;
}

.btn-model-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-model-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.btn-model-tab.active {
  background: var(--bg-card);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.25);
}

.model-tab-icon {
  font-size: 14px;
}

.vista-switcher-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 480px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px;
  box-sizing: border-box;
  z-index: 10;
}

.vista-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  min-width: 0;
}

.vista-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.vista-tab-btn.active {
  background: var(--bg-card);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.25);
}

.vista-icon {
  font-size: 16px;
}

.vista-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.vista-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.vista-badge {
  font-size: 9.5px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-top: 1px;
}

.vista-badge.has-art {
  background: rgba(76, 175, 80, 0.25);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.4);
}

.vista-badge.is-empty {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

/* GUIAS DE ALINHAMENTO DINÂMICAS */

.align-guide {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 5;
}

.align-guide {
  display: none !important;
}

.mockup-drag-box {
  position: absolute;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.05s linear;
  z-index: 8;
  border: none !important;
  outline: none !important;
}

.mockup-drag-box:active, .mockup-drag-box.dragging {
  cursor: grabbing;
}

.mockup-drag-box img {
  max-width: 160px;
  max-height: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
  filter: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.drag-bounding-frame {
  display: none !important;
}

.mockup-drag-box:hover .drag-bounding-frame,
.mockup-drag-box.dragging .drag-bounding-frame {
  display: none !important;
}

.drag-hint-badge {
  display: none !important;
}

.empty-side-placeholder {
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  z-index: 6;
}

.empty-side-placeholder {
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 6;
}

.placeholder-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
  max-width: 140px;
}

.btn-ph-choice {
  padding: 6px 10px;
  font-size: 10.5px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  display: block;
  box-sizing: border-box;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-ph-catalog {
  background: var(--accent);
  color: #fff;
  border: none;
}

.btn-ph-upload {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* PAINEL DE CONTROLE DE ROTAÇÃO 360 GRAUS */
.rotation-control-panel {
  margin-top: 4px;
  width: 100%;
  max-width: 440px;
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}

.rotation-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rotation-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rotation-angle-badge {
  background: rgba(255, 87, 34, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
}

.rotation-slider-wrapper {
  width: 100%;
}

.rotation-range-slider {
  width: 100%;
  accent-color: var(--accent);
  cursor: ew-resize;
  height: 6px;
  border-radius: 4px;
  background: #252a38;
}

.rotation-quick-buttons {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-rot-preset {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-rot-preset:hover,
.btn-rot-preset.active {
  background: rgba(255, 87, 34, 0.15);
  border-color: var(--accent);
  color: #fff;
}

.btn-rot-preset.btn-spin {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.btn-rot-preset.btn-spin:hover {
  background: rgba(0, 210, 255, 0.15);
  color: #fff;
}

/* CARDS E CONTROLES LADO DIREITO */
.side-custom-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-custom-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.active-side-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.active-art-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.btn-clear-side {
  background: transparent;
  border: 1px solid rgba(255, 82, 82, 0.35);
  color: #ff8a80;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-clear-side:hover {
  background: rgba(255, 82, 82, 0.15);
  border-color: #ff5252;
}

/* BOTÕES DE ESCOLHA (ACERVO DO SITE OU FOTO DO CLIENTE) */
.side-choice-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.btn-side-choice {
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-align: center;
}

.btn-choose-catalog {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.22) 0%, rgba(255, 87, 34, 0.08) 100%);
  border: 1px solid var(--accent);
  color: #fff;
}

.btn-choose-catalog:hover {
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}

.btn-choose-upload {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  color: var(--text-main);
}

.btn-choose-upload:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(255, 87, 34, 0.08);
}

.upload-status-msg {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.4;
}

.upload-status-msg.success {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.35);
  color: #81c784;
}

.upload-status-msg.error {
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.35);
  color: #ff8a80;
}

.scale-control-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.btn-nudge-scale {
  width: 28px;
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-nudge-scale:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* CONTROLE DIRECIONAL D-PAD TOUCH (IDEAL PARA CELULAR) */
.mobile-dpad-container {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.dpad-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dpad-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dpad-sub {
  font-size: 10px;
  color: var(--text-muted);
}

.dpad-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
}

.dpad-cross {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  grid-template-rows: repeat(3, 36px);
  gap: 4px;
}

.btn-dpad {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.1s ease;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.btn-dpad:active {
  transform: scale(0.92);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-dpad-center {
  background: rgba(255, 87, 34, 0.15);
  border-color: rgba(255, 87, 34, 0.4);
  color: var(--accent);
  font-size: 14px;
}

.pos-preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 4px;
}

.pos-preset-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 3px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pos-preset-btn:hover {
  border-color: var(--accent);
  color: #fff;
  background: rgba(255, 87, 34, 0.1);
}

/* ================= MODAL SELETOR DE ESTAMPA DO ACERVO ================= */
.art-picker-modal {
  z-index: 220;
}

.art-picker-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 760px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.picker-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.picker-target-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.picker-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
}

.picker-search-bar {
  padding: 12px 20px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.picker-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-main);
  font-size: 13.5px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
}

.picker-input:focus {
  border-color: var(--accent);
}

.picker-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.picker-pills::-webkit-scrollbar {
  display: none;
}

.picker-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.picker-pill:hover,
.picker-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.picker-art-grid {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.picker-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.picker-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.25);
}

.picker-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #0b0c10;
  border-radius: 6px;
}

.picker-card-title {
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.picker-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface);
}

/* BOTÕES DE DOWNLOAD DIRETO DAS ARTES NA TABELA DE PEDIDOS */
.art-download-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 87, 34, 0.12);
  color: #ff8a65;
  border: 1px solid rgba(255, 87, 34, 0.35);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.art-download-pill:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.art-download-pill.costas {
  background: rgba(0, 210, 255, 0.12);
  color: #00d2ff;
  border-color: rgba(0, 210, 255, 0.35);
}

.art-download-pill.costas:hover {
  background: #00d2ff;
  color: #000;
  border-color: #00d2ff;
}

.art-download-pill.upload {
  background: rgba(76, 175, 80, 0.15);
  color: #81c784;
  border-color: rgba(76, 175, 80, 0.35);
}

.art-download-pill.upload:hover {
  background: #4caf50;
  color: #fff;
  border-color: #4caf50;
}

/* =========================================================================
   ESTILOS DE IMPRESSÃO PROFISSIONAL (A4 & TÉRMICA) - FICHA DE PRODUÇÃO PRUMO
   ========================================================================= */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  /* Ocultar elementos desnecessários na folha de impressão */
  body, html {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Ocultar cabeçalho, tela de login, estatísticas, botões e controles */
  .header,
  #loginSection,
  .admin-header,
  .admin-stats-grid,
  .admin-container > div:nth-child(3),
  .admin-table-wrap,
  .btn-save-order,
  .btn-cart,
  #btnCloseFicha,
  #btnPrintFicha,
  .mobile-bottom-bar,
  .filters-bar,
  .search-hero,
  .main-content,
  .pagination {
    display: none !important;
  }

  /* O modal de ficha se torna a página inteira de impressão */
  #modalFicha {
    display: block !important;
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    inset: auto !important;
  }

  #modalFicha .modal-mockup-box {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    padding: 0 !important;
  }

  #fichaContent {
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    color: #111111 !important;
    font-family: Arial, Helvetica, sans-serif !important;
  }

  .print-page {
    page-break-after: always;
  }

  /* Estilização nítida para impressora */
  .ficha-header-print {
    border-bottom: 2px solid #000 !important;
    padding-bottom: 12px !important;
    margin-bottom: 14px !important;
  }

  .ficha-item-card {
    border: 1.5px solid #000 !important;
    border-radius: 6px !important;
    padding: 10px !important;
    margin-bottom: 12px !important;
    background: #fafafa !important;
    page-break-inside: avoid !important;
  }

  .ficha-img-thumb {
    border: 1px solid #333 !important;
    background: #fff !important;
  }
}


/* ==========================================================================
   ESTILOS 3D WEBGL REAL (THREE.JS) & REMOVEDOR DE FUNDO DTF
   ========================================================================== */

/* Seletor de Modo 3D vs Studio 2D */
.viewer-mode-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px auto 10px auto;
  padding: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  max-width: 380px;
  width: 95%;
}

.btn-mode-toggle {
  flex: 1;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-mode-toggle:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.btn-mode-toggle.active {
  background: var(--accent);
  color: #000;
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.35);
}

/* Container 3D WebGL Three.js */
.threejs-container {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  touch-action: none;
  z-index: 15;
  cursor: grab;
  border-radius: 12px;
  overflow: hidden;
}

.threejs-container:active {
  cursor: grabbing;
}

.threejs-container canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;
}

/* BARRA DE FERRAMENTAS 3D EXTERNA (FORA DO MODELO) */
.threejs-mode-toolbar,
.threejs-overlay-controls {
  width: 100%;
  max-width: 440px;
  margin: 6px auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px;
  background: rgba(14, 18, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  position: static;
  transform: none;
  pointer-events: auto;
  z-index: 25;
}

.btn-mode-tool,
.btn-3d-tool {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-mode-tool:hover,
.btn-3d-tool:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-mode-tool.active,
.btn-3d-tool.active {
  background: linear-gradient(135deg, #ff5722, #ff1744);
  color: #fff;
  border-color: #ff5722;
  box-shadow: 0 0 14px rgba(255, 87, 34, 0.5);
}

.btn-mode-tool.btn-tool-reset,
.btn-3d-tool-reset {
  flex: 0 0 auto;
  min-width: 65px;
}

.stage-corner-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(14, 18, 28, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.stage-corner-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.stage-corner-right {
  right: 10px;
}

@media (max-width: 480px) {
  .stage-corner-btn {
    padding: 6px 10px;
    font-size: 10px;
    gap: 4px;
  }
}

.threejs-tool-group {
  display: flex;
  gap: 6px;
  pointer-events: auto;
}

.btn-3d-tool {
  background: rgba(15, 18, 25, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-3d-tool:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(25, 30, 42, 0.95);
}

.btn-3d-tool.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.4);
}

.btn-3d-tool.btn-3d-tool-bg {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(120, 0, 255, 0.18));
  border-color: rgba(0, 240, 255, 0.35);
  color: #00f0ff;
}

.btn-3d-tool.btn-3d-tool-bg:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(120, 0, 255, 0.35));
  border-color: #00f0ff;
  color: #fff;
}

.threejs-hint-banner {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  background: rgba(10, 12, 18, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  color: #e2e8f0;
  text-align: center;
  pointer-events: none;
  z-index: 25;
  transition: opacity 0.3s ease;
}

.threejs-hint-badge {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: auto;
}

.btn-mini-3d {
  background: rgba(20, 20, 28, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--accent);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
}

.btn-mini-3d:hover {
  background: var(--accent);
  color: #000;
}

/* Botão Abrir Removedor de Fundo */
.bg-removal-tool-box {
  margin: 10px 0;
}

.btn-open-bg-remover {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(120, 0, 255, 0.12));
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.btn-open-bg-remover:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(120, 0, 255, 0.22));
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.25);
  transform: translateY(-1px);
}

.bg-tool-icon {
  font-size: 22px;
}

.bg-tool-text {
  display: flex;
  flex-direction: column;
}

.bg-tool-text strong {
  font-size: 13px;
  color: var(--accent);
}

.bg-tool-text span {
  font-size: 11px;
  color: var(--text-muted);
}

/* Modal Removedor de Fundo */
.modal-bg-remover {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-bg-remover.active {
  display: flex;
}

.bg-remover-card {
  background: #14161f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  max-width: 820px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

.bg-remover-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #10121a;
}

.bg-remover-badge {
  display: inline-block;
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(0, 240, 255, 0.3);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 4px;
}

.bg-remover-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.bg-remover-header p {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #999;
}

.bg-remover-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 380px;
}

@media (max-width: 768px) {
  .bg-remover-body {
    flex-direction: column;
    overflow-y: auto;
  }
}

.bg-canvas-container {
  flex: 1.3;
  background: repeating-conic-gradient(#20222e 0% 25%, #151620 0% 50%) 50% / 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
  overflow: auto;
  min-height: 280px;
}

#bgRemoverCanvas {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
  cursor: crosshair;
}

.bg-remover-loading {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 26, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  z-index: 10;
}

.bg-remover-controls {
  flex: 1;
  padding: 18px;
  background: #181a24;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}

.bg-control-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bg-control-label {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bg-quick-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-bg-action {
  padding: 10px 12px;
  background: #202433;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #eee;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  text-align: left;
}

.btn-bg-action:hover, .btn-bg-action.active {
  background: #283044;
  border-color: var(--accent);
  color: #fff;
}

.btn-bg-action.active {
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.bg-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #ccc;
}

.bg-slider-header b {
  color: var(--accent);
}

.bg-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #bbb;
  cursor: pointer;
  line-height: 1.4;
  margin-top: 4px;
}

.bg-checkbox-label input {
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.bg-remover-footer {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #10121a;
}

.btn-bg-secondary {
  padding: 10px 16px;
  background: #232635;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #eee;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-bg-secondary:hover {
  background: #2d3145;
  color: #fff;
}

.btn-bg-primary {
  padding: 10px 20px;
  background: var(--accent);
  border: none;
  color: #000;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.35);
}

.btn-bg-primary:hover {
  background: #38f5ff;
  transform: translateY(-1px);
}

/* =========================================================================
   SISTEMA DE AUTENTICAÇÃO E ÁREA DO CLIENTE FIDELIZADO (LOGIN, GOOGLE, ORDENS)
   ========================================================================= */

.user-header-area {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-user-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-user-auth:hover {
  background: rgba(255, 87, 34, 0.15);
  border-color: rgba(255, 87, 34, 0.5);
  color: #ff8a65;
  transform: translateY(-1px);
}

.btn-user-logged {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid rgba(255, 87, 34, 0.35);
  color: #fff;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-user-logged:hover {
  background: rgba(255, 87, 34, 0.22);
  border-color: rgba(255, 87, 34, 0.6);
}

.user-avatar-img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #ff7043;
}

.user-avatar-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ff5722;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: #11131a;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  display: none;
  flex-direction: column;
  animation: fadeIn 0.2s ease-out;
}

.user-dropdown-menu.active {
  display: flex;
}

.dropdown-user-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-user-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-email {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.dropdown-item.text-danger {
  color: #ff5252;
}

.dropdown-item.text-danger:hover {
  background: rgba(255, 82, 82, 0.12);
}

/* Modais de Autenticação */
.modal-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-auth-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-auth-card {
  position: relative;
  background: #11131a;
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.btn-close-auth {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-close-auth:hover {
  background: rgba(255, 82, 82, 0.2);
  color: #ff5252;
}

.auth-header {
  text-align: center;
  margin-bottom: 20px;
}

.auth-brand-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 87, 34, 0.15);
  color: #ff8a65;
  border: 1px solid rgba(255, 87, 34, 0.35);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.auth-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 18px;
}

.auth-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 10px 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: #202434;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.auth-google-wrapper {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.google-btn-slot {
  display: flex;
  justify-content: center;
}

.btn-google-custom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-google-custom:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 12px 0 18px;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider span {
  padding: 0 12px;
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.auth-form.active {
  display: flex;
}

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

.auth-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.auth-field input {
  width: 100%;
  background: #090a0e;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  font-size: 13px;
  transition: border-color 0.2s;
}

.auth-field input:focus {
  outline: none;
  border-color: #ff5722;
  box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.2);
}

.auth-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-link-forgot {
  font-size: 11.5px;
  color: #ff8a65;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-link-forgot:hover {
  text-decoration: underline;
  color: #ffab91;
}

.input-password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-password-wrapper input {
  padding-right: 42px;
}

.btn-toggle-pwd {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.btn-toggle-pwd:hover {
  opacity: 1;
}

.btn-auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff5722 0%, #e91e63 100%);
  border: none;
  color: #fff;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.35);
  margin-top: 6px;
}

.btn-auth-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

.btn-auth-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-auth-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.auth-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.auth-alert.error {
  background: rgba(255, 82, 82, 0.15);
  border: 1px solid rgba(255, 82, 82, 0.35);
  color: #ff8a80;
}

.auth-alert.success {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: #b9f6ca;
}

/* Modal Meus Pedidos */
.modal-orders-card {
  position: relative;
  background: #11131a;
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 780px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.orders-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.orders-header p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.orders-list-container {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 4px;
}

.order-card-client {
  background: #171a24;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s;
}

.order-card-client:hover {
  border-color: rgba(255, 87, 34, 0.4);
}

.order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.order-code-badge {
  font-family: monospace;
  font-size: 14px;
  font-weight: 800;
  color: #ff8a65;
  background: rgba(255, 87, 34, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 87, 34, 0.3);
}

.order-status-badge {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.order-status-badge.novo {
  background: rgba(33, 150, 243, 0.15);
  color: #90caf9;
  border: 1px solid rgba(33, 150, 243, 0.35);
}

.order-status-badge.producao {
  background: rgba(255, 193, 7, 0.15);
  color: #ffe082;
  border: 1px solid rgba(255, 193, 7, 0.35);
}

.order-status-badge.enviado {
  background: rgba(156, 39, 176, 0.15);
  color: #ce93d8;
  border: 1px solid rgba(156, 39, 176, 0.35);
}

.order-status-badge.concluido {
  background: rgba(76, 175, 80, 0.15);
  color: #a5d6a7;
  border: 1px solid rgba(76, 175, 80, 0.35);
}

.order-items-preview {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0;
}

.order-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #0d0e14;
  border: 1px solid var(--border);
  object-fit: contain;
  flex-shrink: 0;
}

.order-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* ================= VISITA GUIADA / TOUR INTERATIVO ================= */
.btn-tour-guide {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid rgba(255, 87, 34, 0.4);
  color: #ff9e80;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}

.btn-tour-guide:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.45);
  transform: translateY(-1px);
}

.tour-icon {
  font-size: 14px;
  animation: pulseLight 2s infinite ease-in-out;
}

@keyframes pulseLight {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 171, 0, 0.6)); }
  50% { transform: scale(1.18); filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9)); }
}

.hero-actions-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}

.btn-hero-tour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 22, 32, 0.85);
  border: 1.5px solid rgba(0, 240, 255, 0.4);
  color: #e0f7fa;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.15);
}

.btn-hero-tour:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: #00f0ff;
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 240, 255, 0.35);
  transform: translateY(-2px);
}

.hero-tour-sparkle {
  color: #ffd700;
  font-size: 15px;
}

/* MODAL OVERLAY TOUR */
.modal-tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 10, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-tour-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-tour-card {
  background: #12141c;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 87, 34, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: tourCardIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes tourCardIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.btn-close-tour {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.btn-close-tour:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.tour-header {
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tour-badge-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tour-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(255, 87, 34, 0.15);
  border: 1px solid rgba(255, 87, 34, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.tour-step-counter {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.tour-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.tour-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff9100, #00f0ff);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tour-body {
  padding: 22px 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 280px;
}

.tour-step-content {
  animation: tourStepIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@keyframes tourStepIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.tour-step-hero {
  background: radial-gradient(circle at 50% 50%, #1e2434 0%, #0d0f16 85%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

.tour-hero-icon {
  font-size: 48px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8));
}

.tour-hero-visual {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tour-visual-badge {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tour-visual-badge.accent {
  background: rgba(255, 87, 34, 0.2);
  border-color: var(--accent);
  color: #ff9e80;
}

.tour-visual-badge.cyan {
  background: rgba(0, 240, 255, 0.18);
  border-color: #00f0ff;
  color: #00f0ff;
}

.tour-step-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.tour-step-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.tour-step-desc {
  font-size: 14px;
  color: #b0b4c2;
  line-height: 1.55;
  margin: 0;
}

.tour-step-tips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
}

.tour-tip-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #c4c8d4;
  line-height: 1.4;
}

.tour-tip-check {
  color: #4caf50;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.tour-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f1017;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.tour-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tour-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.tour-dot.active {
  width: 22px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 87, 34, 0.5);
}

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

.btn-tour-skip {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.2s ease;
}

.btn-tour-skip:hover {
  color: #fff;
}

.btn-tour-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tour-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
}

.btn-tour-secondary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-tour-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--accent), #ff7043);
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}

.btn-tour-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
  transform: translateY(-1px);
}

/* FLOATING WELCOME TOAST */
.welcome-tour-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(18, 20, 28, 0.96);
  border: 1.5px solid rgba(255, 87, 34, 0.45);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(255, 87, 34, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 150;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: toastSlideUp 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 380px;
}

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

.welcome-toast-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.welcome-toast-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.welcome-toast-text strong {
  font-size: 13px;
  color: #fff;
}

.welcome-toast-text span {
  font-size: 11.5px;
  color: #a8adb8;
}

.btn-toast-start {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-toast-start:hover {
  filter: brightness(1.1);
}

.btn-toast-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.btn-toast-close:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .btn-tour-guide {
    padding: 7px 11px;
    font-size: 12px;
    gap: 5px;
  }
  .modal-tour-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .modal-tour-card {
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    width: 100%;
    margin: 0;
  }
  .tour-header {
    padding: 14px 18px 12px;
  }
  .tour-body {
    padding: 16px 18px;
    min-height: 250px;
  }
  .tour-step-hero {
    min-height: 120px;
    padding: 14px;
  }
  .tour-step-title {
    font-size: 17px;
  }
  .tour-step-desc {
    font-size: 13px;
  }
  .tour-footer {
    padding: 12px 18px 24px;
  }
  .welcome-tour-toast {
    bottom: 70px;
    left: 12px;
    right: 12px;
    max-width: none;
  }
}



/* ================= PROMOÇÃO SUAVE NO CANTINHO (R$ 59,90 • 2 POR R$ 100) ================= */

/* TOP BADGES NO HERO */
.hero-badges-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
  transition: all 0.2s ease;
}

.hero-price-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  transform: translateY(-1px);
}

.hero-price-pill .hero-price-sub {
  color: #6ee7b7;
  font-weight: 600;
  font-size: 11px;
}

/* HEADER DA VITRINE E TAGS DE PREÇO SUAVE */
.showcase-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.showcase-price-tag-corner {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.38);
  color: #10b981;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.showcase-price-tag-corner small {
  color: #a7f3d0;
  font-size: 9px;
  font-weight: 600;
}
  font-weight: 600;
}

.showcase-price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 10px;
}

.showcase-price-line .price-val {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-title);
}

.showcase-price-line .price-combo-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

/* FERRAMENTA DE INSERIR NOME/TEXTO NO SIMULADOR */
.btn-choose-text {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(120, 0, 255, 0.2));
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: #00f0ff;
}

.btn-choose-text:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25), rgba(120, 0, 255, 0.35));
  border-color: #00f0ff;
  color: #fff;
}

.text-customizer-box {
  background: #0f121b;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 14px;
  padding: 12px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeIn 0.25s ease;
}

.text-cust-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #00f0ff;
}

.btn-close-text {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.text-cust-input {
  width: 100%;
  background: #06080e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 9px 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-sizing: border-box;
}

.text-cust-input:focus {
  border-color: #00f0ff;
  outline: none;
}

.text-cust-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.text-cust-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.font-style-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.font-chip {
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ccc;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.font-chip:hover, .font-chip.active {
  background: rgba(0, 240, 255, 0.2);
  border-color: #00f0ff;
  color: #fff;
}

.text-color-swatches {
  display: flex;
  gap: 8px;
  align-items: center;
}

.text-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform 0.15s ease;
}

.text-color-dot:hover, .text-color-dot.active {
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.btn-apply-text {
  background: linear-gradient(135deg, #00f0ff, #00b0ff);
  border: none;
  color: #000;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.35);
}

.btn-apply-text:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* CARD DE PARÂMETROS DA PROMOÇÃO NO SIMULADOR (COMPACTO PARA 100% ZOOM) */
.promo-spec-card {
  background: rgba(25, 20, 30, 0.7);
  border: 1px solid rgba(255, 87, 34, 0.35);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.promo-spec-badge {
  font-size: 11px;
  font-weight: 800;
  color: #ffab40;
  letter-spacing: 0.04em;
}

.promo-spec-intro {
  font-size: 10.5px;
  color: var(--text-muted);
}

.promo-preset-grid-spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.promo-combo-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.promo-combo-btn:hover, .promo-combo-btn.active {
  background: rgba(255, 87, 34, 0.18);
  border-color: var(--accent);
}

.combo-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.combo-txt strong {
  display: block;
  font-size: 10.5px;
  color: #fff;
  line-height: 1.2;
}

.combo-txt span {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  line-height: 1.1;
  margin-top: 1px;
}

.combo-txt span {
  display: block;
  font-size: 10.5px;
  color: #a2a8b8;
}

.promo-extra-note {
  font-size: 10.5px;
  color: #ff9e80;
  line-height: 1.4;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* RESUMO DA PROMOÇÃO NO CARRINHO */
.cart-promo-summary {
  background: rgba(14, 16, 23, 0.95);
  border: 1px solid rgba(255, 87, 34, 0.35);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-promo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.cart-promo-row.discount {
  color: #4caf50;
  font-weight: 800;
}

.cart-promo-row.total {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 6px;
  margin-top: 4px;
}

.cart-promo-row.total .price-val {
  color: #ffab40;
}

.cart-promo-note {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* MODAL DE SUCESSO DO CADASTRO */
.modal-success-card {
  text-align: center;
  align-items: center;
  max-width: 440px;
  padding: 28px 24px 24px;
}

.success-icon-badge {
  font-size: 46px;
  margin-bottom: 6px;
  animation: bounce 0.6s ease;
}

.modal-success-card h2 {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.modal-success-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.45;
}

.success-promo-box {
  background: rgba(255, 87, 34, 0.1);
  border: 1.5px dashed var(--accent);
  border-radius: 14px;
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 18px;
}

.success-promo-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.success-promo-prices {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  color: #fff;
  margin-bottom: 6px;
}

.success-promo-prices .highlight {
  color: #ffab40;
}

.success-promo-desc {
  font-size: 11px !important;
  color: #b0b5c4 !important;
  margin: 0 !important;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn-whatsapp-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.2s ease;
}

.btn-whatsapp-direct:hover {
  background: #20ba5a;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.6);
  transform: translateY(-1px);
}

/* BOTÃO FLUTUANTE DE WHATSAPP NO SITE */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 140;
  background: #25d366;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: zapPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes zapPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-label-badge {
  display: none;
}

@media (max-width: 768px) {
  .hero-badges-row {
    flex-direction: column;
    gap: 6px;
  }
  .hero-price-pill {
    font-size: 11px;
    padding: 4px 10px;
  }
  .floating-whatsapp-btn {
    bottom: 80px;
    left: 14px;
    width: 48px;
    height: 48px;
  }
  .floating-whatsapp-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* =========================================================================
   PALCO 3D EM TELA CHEIA (FULLSCREEN REAL)
   ========================================================================= */
.mockup-stage-3d.is-fullscreen-stage {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  z-index: 100020 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: radial-gradient(circle at 50% 40%, rgba(38, 50, 78, 0.98) 0%, rgba(18, 22, 34, 1) 70%, rgba(10, 12, 18, 1) 100%) !important;
}

.mockup-stage-3d.is-fullscreen-stage .btn-exit-fullscreen-3d {
  display: flex !important;
}

.btn-exit-fullscreen-3d {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 100030;
  background: rgba(15, 20, 30, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
  align-items: center;
  gap: 6px;
}

.btn-exit-fullscreen-3d:hover {
  background: #ff1744;
  border-color: #ff1744;
  transform: scale(1.05);
}

/* =========================================================================
   ABAS DO ADMIN E GESTÃO DE ARTES & DEMONSTRAÇÕES
   ========================================================================= */
.admin-tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.admin-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  border-color: rgba(255, 87, 34, 0.4);
  color: var(--text-main);
  background: var(--bg-surface);
}

.admin-tab-btn.active {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.18) 0%, rgba(255, 112, 67, 0.08) 100%);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.25);
}

.admin-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: all 0.25s ease;
}

.admin-dropzone:hover, .admin-dropzone.dragover {
  border-color: var(--accent);
  background: rgba(255, 87, 34, 0.06);
}

.checkerboard-bg {
  background-color: #1a1c23;
  background-image: 
    linear-gradient(45deg, #242834 25%, transparent 25%), 
    linear-gradient(-45deg, #242834 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #242834 75%), 
    linear-gradient(-45deg, transparent 75%, #242834 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
}

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

.admin-art-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.admin-art-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 87, 34, 0.5);
}

.admin-art-thumb-wrap {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.admin-art-thumb-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.admin-art-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-art-title {
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.admin-art-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.admin-art-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.admin-art-actions button {
  flex: 1;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.admin-art-actions button:hover {
  border-color: var(--accent);
  color: #fff;
}

/* Vitrine de Demonstração no Admin */
.admin-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.admin-showcase-slot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.admin-showcase-slot-card.is-custom {
  border-color: rgba(255, 87, 34, 0.4);
  box-shadow: 0 4px 20px rgba(255, 87, 34, 0.12);
}

.admin-showcase-badge-status {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.admin-showcase-badge-status.auto {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.5);
  color: #81c784;
}

.admin-showcase-badge-status.custom {
  background: rgba(255, 87, 34, 0.2);
  border: 1px solid rgba(255, 87, 34, 0.5);
  color: #ff8a65;
}

.admin-showcase-stage-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 35%, #1d212d 0%, #0e1017 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.admin-showcase-stage-preview img.admin-shirt-bg {
  width: 82%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
}

.admin-showcase-stage-preview img.admin-print-overlay {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  height: 34%;
  object-fit: contain;
  pointer-events: none;
}

.admin-color-picker-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.admin-color-dot-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
  position: relative;
}

.admin-color-dot-btn:hover {
  transform: scale(1.15);
}

.admin-color-dot-btn.active {
  border-color: #ff5722;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.4);
  transform: scale(1.15);
}

.pos-preset-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 4px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.pos-preset-btn:hover {
  background: rgba(255, 87, 34, 0.15);
  border-color: var(--accent);
  color: #fff;
}

.btn-nudge-pos {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-nudge-pos:hover {
  border-color: var(--accent);
  color: #fff;
}

/* Destaque para Guia Artes Novas no catálogo do cliente */
.category-btn.cat-destaque-novas {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.25) 0%, rgba(255, 152, 0, 0.15) 100%) !important;
  border-color: rgba(255, 87, 34, 0.6) !important;
  color: #ffcc80 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(255, 87, 34, 0.25);
  animation: pulseNovas 2.5s infinite;
}

@keyframes pulseNovas {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(255, 87, 34, 0); }
}

