:root {
  --black: #0b0b0d;
  --dark: #121216;
  --white: #f7f7f2;
  --stone: #d9d9d2;
  --muted: #7b7b83;
  --gold: #d4af37;
  --card: rgba(255, 255, 255, 0.85);
  --card-dark: rgba(18, 18, 22, 0.8);
  --radius: 18px;
  --border: 1px solid var(--border-color);
  --border-strong: 1px solid rgba(12, 12, 14, 0.16);
  --shadow: var(--card-shadow);
  --max-width: 1200px;
  --font-display: 'Cinzel', serif;
  --font-body: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  --surface: #ffffff;
  --surface-strong: #f5f5f9;
  --border-color: rgba(12, 12, 14, 0.08);
  --text-color: #0b0b0d;
  --muted-color: var(--muted);
  --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 25%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.25), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f1f2f6 40%, #e7e7ef 100%);
  color: var(--text-color);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body[data-theme="dark"] {
  /* Paleta Premium Dark */
  --surface: #0b0e14;
  /* Azul noturno profundo */
  --surface-strong: #151922;
  /* Um tom acima para destaque */
  --border-color: rgba(255, 255, 255, 0.08);
  --text-color: #e5e7ef;
  /* Branco off-white para leitura */
  --muted-color: #94a3b8;
  /* Cinza azulado suave */
  --card-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --accent-glow: rgba(212, 175, 55, 0.15);
  /* Brilho dourado sutil */

  /* Background sofisticado com profundidade */
  background:
    radial-gradient(circle at 15% 25%, rgba(21, 25, 34, 1) 0%, transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(20, 24, 32, 1) 0%, transparent 40%),
    linear-gradient(135deg, #050608 0%, #0b0e14 100%);
  background-attachment: fixed;
  /* Fixa o fundo para efeito parallax sutil */
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 32px));
}

.page-shell {
  padding: 0 0 80px;
  min-height: calc(100vh - 200px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface-strong);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

body[data-theme="dark"] .site-header {
  background: rgba(11, 14, 20, 0.85);
  /* Translúcido sobre o fundo escuro */
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  /* Blur mais intenso */
}

body[data-theme="dark"] .card,
body[data-theme="dark"] .product-card,
body[data-theme="dark"] .contact-card,
body[data-theme="dark"] .market-card,
body[data-theme="dark"] .mini-card,
body[data-theme="dark"] .tile {
  background: linear-gradient(145deg, rgba(21, 25, 34, 0.6), rgba(11, 14, 20, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
}

body[data-theme="dark"] .product-card:hover,
body[data-theme="dark"] .tile:hover {
  border-color: rgba(212, 175, 55, 0.3);
  /* Brilho dourado no hover */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

body[data-theme="dark"] .tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e5e7ef;
}

body[data-theme="dark"] .tab-btn.active {
  background: rgba(212, 175, 55, 0.16);
  border-color: rgba(212, 175, 55, 0.6);
  color: #fefce8;
}

body[data-theme="dark"] .per-page-controls {
  background: linear-gradient(135deg, rgba(20, 22, 32, 0.9), rgba(13, 17, 26, 0.9));
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

/* Modo de Acessibilidade Aprimorado (WCAG AAA) */
body.accessibility-mode {
  font-size: 19px;
  /* Aumento significativo da fonte base */
  line-height: 1.8;
  letter-spacing: 0.02em;

  /* Forçar Alto Contraste */
  --surface: #ffffff !important;
  --surface-strong: #f0f0f0 !important;
  --text-color: #000000 !important;
  --muted-color: #222222 !important;
  --border-color: #000000 !important;
  --card-shadow: none !important;
  background: #ffffff !important;
  color: #000000 !important;
}

body.accessibility-mode[data-theme="dark"] {
  /* Alto Contraste Dark */
  --surface: #000000 !important;
  --surface-strong: #111111 !important;
  --text-color: #ffffff !important;
  --muted-color: #dddddd !important;
  --border-color: #ffffff !important;
  background: #000000 !important;
  color: #ffffff !important;
}

/* Elementos em Acessibilidade */
body.accessibility-mode .card,
body.accessibility-mode .product-card,
body.accessibility-mode .contact-card,
body.accessibility-mode .market-card,
body.accessibility-mode .mini-card,
body.accessibility-mode .tile,
body.accessibility-mode .modal-card {
  background: var(--surface) !important;
  border: 2px solid var(--text-color) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Links Sublinhados para Identificação Clara */
body.accessibility-mode a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

body.accessibility-mode .nav-link {
  text-decoration: none !important;
  /* Exceção para botões de navegação */
  border: 2px solid var(--text-color) !important;
}

/* Foco Exagerado para Navegação por Teclado */
body.accessibility-mode *:focus-visible {
  outline: 4px solid #ffeb3b !important;
  /* Amarelo vibrante */
  outline-offset: 2px !important;
  background-color: #000000 !important;
  color: #ffeb3b !important;
  box-shadow: 0 0 0 6px #000000 !important;
  z-index: 9999;
}

/* Remover Animações e Transições */
body.accessibility-mode *,
body.accessibility-mode *::before,
body.accessibility-mode *::after {
  transition: none !important;
  animation: none !important;
}

/* Ajuste de Botões e Inputs */
body.accessibility-mode .btn-primary,
body.accessibility-mode .btn-ghost,
body.accessibility-mode .tab-btn,
body.accessibility-mode .page-btn,
body.accessibility-mode select,
body.accessibility-mode input {
  border-width: 2px !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  padding: 14px 20px !important;
}

body[data-theme="dark"] .page-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #e5e7ef;
}

body[data-theme="dark"] .page-btn:disabled {
  color: rgba(226, 232, 240, 0.4);
}

body[data-theme="dark"] .pagination {
  color: #e5e7ef;
}

body[data-theme="dark"] .pagination #pageInfo {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--muted-color);
}

body[data-theme="dark"] .nav-link {
  color: #e5e7ef;
}

body[data-theme="dark"] .nav-link:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.18);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

body[data-theme="dark"] .modal-card {
  background: #151922;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
  color: #e5e7ef;
}

body[data-theme="dark"] .modal-body {
  color: #e5e7ef;
}

body[data-theme="dark"] .modal-desc {
  color: #d8dcee;
}

body[data-theme="dark"] .modal-card.exclusive .modal-body {
  background: #0b0e14;
}

body[data-theme="dark"] .chip {
  color: #0b0b0d;
}

body[data-theme="dark"] .pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e5e7ef;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.accessibility-mode a:focus-visible,
.accessibility-mode button:focus-visible,
.accessibility-mode select:focus-visible {
  outline: 2px solid #f97316;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

.accessibility-mode .nav-link,
.accessibility-mode .tab-btn,
.accessibility-mode .page-btn,
.accessibility-mode .ghost-btn,
.accessibility-mode .btn-primary,
.accessibility-mode .btn-ghost {
  font-size: 15px;
  border-width: 1.5px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

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

.brand #siteLogo {
  height: 72px;
  width: auto;
}

body[data-theme="dark"] .brand-subtitle {
  color: var(--text-color);
}

.brand-mark img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 22px;
  color: #000000;
}

.brand-subtitle {
  font-size: 13px;
  color: #000000;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: block;
  font-weight: 800;
}

@keyframes subtitlePulse {
  0% {
    opacity: 0.75;
    transform: translateY(1px);
    color: #000000;
  }

  50% {
    opacity: 1;
    transform: translateY(0);
    color: #000000;
  }

  100% {
    opacity: 0.85;
    transform: translateY(1px);
    color: #000000;
  }
}

.main-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-color);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 10px 18px rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.nav-link.active {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.1);
  color: var(--text-color);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-right .theme-toggle,
.header-right .accessibility-toggle {
  position: static;
  margin: 0;
  box-shadow: none;
  background: transparent;
  border: 1px solid rgba(12, 12, 14, 0.08);
  transform: none;
}

body[data-theme="dark"] .header-right .theme-toggle,
body[data-theme="dark"] .header-right .accessibility-toggle {
  background: transparent;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.15);
}

.header-right .theme-toggle:hover,
.header-right .accessibility-toggle:hover {
  background: rgba(12, 12, 14, 0.04);
  transform: translateY(-2px);
}

body[data-theme="dark"] .header-right .theme-toggle:hover,
body[data-theme="dark"] .header-right .accessibility-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.fav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(12, 12, 14, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--text-color);
}

.fav-cta .icon-heart {
  width: 18px;
  height: 18px;
}

.fav-count {
  background: #0f172a;
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.icon-heart {
  width: 18px;
  height: 18px;
  display: block;
}

.icon-heart path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.fav-btn.active .icon-heart path,
.product-card.favorited .icon-heart path {
  fill: currentColor;
}

.instagram-link-mobile {
  display: none;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-100%);
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}


.mobile-nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  background-color: var(--surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
  z-index: 19;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  z-index: 18;
}

.mobile-nav-panel.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.page-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links .nav-link {
  font-size: 1.2rem;
  font-weight: 600;
}

.mobile-nav-controls {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  gap: 16px;
}

.mobile-nav-controls .theme-toggle,
.mobile-nav-controls .accessibility-toggle {
  position: static;
}

.nav-cta .ghost-btn {
  padding: 10px 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-cta .ghost-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.25),
    0 8px 24px rgba(34, 197, 94, 0.22),
    0 0 18px rgba(34, 197, 94, 0.28);
  border-color: rgba(34, 197, 94, 0.35);
  border-radius: 999px;
}

.theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: var(--border);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(255, 255, 255, 0.9));
  color: var(--text-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 30;
}

body[data-theme="dark"] .theme-toggle {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(20, 20, 26, 0.95));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.accessibility-toggle {
  position: fixed;
  top: 16px;
  right: 64px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: var(--border);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(255, 255, 255, 0.92));
  color: var(--text-color);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  z-index: 30;
}

body[data-theme="dark"] .accessibility-toggle {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.3), rgba(20, 20, 26, 0.95));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4);
}

.accessibility-toggle:hover {
  transform: translateY(-1px);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 8px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(32px, 5vw, 46px);
  font-family: var(--font-display);
}

h2 {
  font-size: clamp(26px, 4vw, 32px);
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 18px;
}

p {
  margin: 0 0 12px;
  color: var(--text-color);
  line-height: 1.6;
}

.lead {
  color: var(--muted-color);
  max-width: 720px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.section {
  padding: 32px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.products-title {
  white-space: nowrap;
}

.hero .page-intro {
  margin-bottom: 32px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--black), #1e1e26);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: var(--border);
}

.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-whats {
  background: linear-gradient(135deg, #34e27a 0%, #25d366 50%, #1fa24f 100%);
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.32);
}

.btn-whats:hover {
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.42);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
  background: linear-gradient(135deg, #3df089 0%, #2fda6d 50%, #1a9b49 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--black);
}

.text-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
  color: var(--black);
}

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

.hero-grid {
  margin-top: 12px;
  row-gap: 48px;
}

.tile {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.04), transparent 50%);
  pointer-events: none;
}

.tile.span-2 {
  grid-column: span 2;
}

.tile-headline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  border: var(--border);
  font-weight: 700;
}

.badge-outline {
  font-family: monospace;
  font-size: 0.9em;
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.03);
}

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #1f1f24;
}

.bullet-list li::before {
  content: '•';
  color: var(--gold);
  margin-right: 8px;
}

.tile.accent {
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.1), #fff);
  border-color: rgba(212, 175, 55, 0.3);
}

.tile.dark {
  background: var(--card-dark);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tile.dark p {
  color: #e3e3ea;
}

.tile-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.tile.image {
  background: url('https://images.unsplash.com/photo-1517433456452-f9633a875f6f?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  color: #fff;
}

.tile.image::after {
  background: linear-gradient(160deg, rgba(0, 0, 0, 0.4), transparent 70%);
}

.tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  gap: 6px;
}

.tile-stack {
  display: grid;
  gap: 18px;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.quick-stats strong {
  display: block;
  font-size: 22px;
}

.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.grayscale {
  filter: grayscale(100%);
  opacity: 0.7;
}

.product-card .product-cover.grayscale {
  filter: grayscale(100%) brightness(0.55);
  opacity: 0.45;
}

.dimmed {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.sold-out-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 10;
  pointer-events: none;
}

.mini-card {
  padding: 18px;
  border-radius: var(--radius);
  border: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mini-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* Garante que a imagem seja sempre quadrada */
  object-fit: cover;
  /* Preenche o espaço sem distorcer a imagem */
  border-radius: 14px;
  /* Bordas arredondadas para a imagem */
  margin: 8px 0 12px;
  /* Espaçamento vertical */
  border: 1px solid var(--border-color);
  /* Borda sutil na imagem */
}

.mini-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--black);
  font-weight: 700;
  font-size: 12px;
}

.price {
  font-weight: 700;
  color: var(--text-color);
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
  cursor: default;
}

.price:hover {
  transform: scale(1.1);
  color: var(--gold);
}

.price::before {
  content: 'R$';
  font-size: 0.9em;
  font-weight: 800;
  opacity: 0.9;
}

.section .filters {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 1 auto;
}

@media (max-width: 768px) {
  .section .filters {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .section .filters .search-box,
  .section .filters .sort-select,
  .section .filters .per-page-controls {
    flex: 1 1 100%;
  }

  .section .filters .tab-btn {
    flex: 0 0 auto;
  }
}

.tab-btn {
  border: var(--border);
  background: #fff;
  padding: 10px 14px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tab-btn.active {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
}

.per-page-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  background: linear-gradient(135deg, #ffffff, #f8f8fb);
  margin-left: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.per-page-controls label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  line-height: 1.2;
  white-space: nowrap;
}

.per-page-controls select {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 16px;
  font-weight: 700;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
  min-width: 115px;
}

.filters select.sort-select {
  flex: 1 1 220px;
  min-width: 200px;
}

.sort-select {
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 240, 225, 0.7));
  font-weight: 700;
  color: var(--text-color);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23222222' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
}

.sort-select:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.18);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  justify-content: center;
  gap: 18px;
}

.card-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.card-actions-row .chip,
.card-actions-row .btn-primary {
  flex: 1 1 140px;
}

.card-actions-row .btn-ghost {
  flex: 0 0 auto;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.order-header h3 {
  margin: 0;
}

.order-id {
  color: var(--primary);
}

.order-date {
  font-size: 14px;
  font-weight: normal;
  color: var(--text-secondary);
}

.review-item-row {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.review-item-body {
  flex: 1 1 180px;
  min-width: 0;
}

.review-item-body h4 {
  word-break: break-word;
}

.track-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.track-detail-row > span {
  color: var(--text-secondary);
  font-weight: 600;
}

.track-address {
  word-break: break-word;
}

.track-items {
  display: grid;
  gap: 10px;
}

.track-item-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.track-item-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f4f6;
  flex-shrink: 0;
}

.track-item-info {
  min-width: 0;
}

.track-item-title {
  font-weight: 700;
  overflow-wrap: anywhere;
}

.track-item-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.track-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.track-label {
  font-weight: 600;
}

.track-date {
  color: var(--text-secondary);
  font-size: 12px;
}

.empty-state {
  text-align: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 16px;
  border: 1px dashed var(--border-color);
  color: var(--muted);
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--text-color);
}

.empty-state p {
  margin: 0 0 14px;
}

.empty-state .suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.empty-state .suggestions .pill {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-color);
}

.product-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  content-visibility: auto;
  contain-intrinsic-size: 360px 520px;
}

.product-card[data-exclusive="1"] {
  background: #0b0b0f;
  border-color: rgba(255, 255, 255, 0.08);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
  border-color: rgba(212, 175, 55, 0.35);
}

.card-image {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 18, 22, 0.12), rgba(42, 42, 54, 0.18));
}

.card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  animation: shimmer 1.4s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-image.loading::before {
  opacity: 1;
}

.product-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0;
  transform: scale(1.02);
  filter: blur(6px);
  transition: opacity 0.5s ease, transform 0.6s ease, filter 0.6s ease;
}

.product-cover.is-loaded {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.product-card:hover .product-cover {
  transform: scale(1.05);
}

.capsule-carousel .capsule-carousel-slide img {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(6px);
  transition: opacity 0.55s ease, transform 0.65s ease, filter 0.65s ease;
}

.capsule-carousel .capsule-carousel-slide img.is-loaded {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.product-card .fav-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  min-width: 24px;
  font-size: 18px;
  line-height: 1;
}

.product-card.favorited .fav-btn,
.product-card .fav-btn.active {
  color: var(--text-color);
}

.product-card[data-exclusive="1"] .fav-btn {
  color: #fefefe;
}

.product-card[data-exclusive="1"] .fav-btn.active,
.product-card[data-exclusive="1"].favorited .fav-btn {
  color: #f97316;
}

.fav-btn {
  line-height: 1;
  background: transparent;
}

.product-card[data-exclusive="1"] .card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.1));
}

.modal-media {
  position: relative;
}

.modal-media img {
  background: linear-gradient(135deg, rgba(18, 18, 22, 0.08), rgba(42, 42, 54, 0.14));
  opacity: 0;
  transform: scale(1.02);
  filter: blur(6px);
  transition: opacity 0.5s ease, transform 0.6s ease, filter 0.6s ease;
}

.modal-media img.is-loaded {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.modal-thumbs img {
  opacity: 0;
  filter: blur(6px);
  transition: opacity 0.4s ease, filter 0.5s ease;
}

.modal-thumbs img.is-loaded {
  opacity: 1;
  filter: blur(0);
}

.card-ribbon {
  position: absolute;
  top: 10px;
  left: -32px;
  background: linear-gradient(135deg, #0f172a, #111827);
  color: #ffffff;
  padding: 6px 60px 6px 80px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-40deg);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  text-indent: -45px;
}

.modal-card .card-ribbon {
  display: none;
}

.card-body {
  padding: 16px;
  display: grid;
  gap: 8px;
}

.product-card h3 {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.product-card p {
  font-size: 14px;
  line-height: 1.4;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}

.product-card[data-exclusive="1"] .card-body {
  background: #0b0b0f;
  color: #f7f7fb;
}

.product-card[data-exclusive="1"] h3,
.product-card[data-exclusive="1"] p {
  color: #f7f7fb;
}

.product-card[data-exclusive="1"] .price {
  color: #f97316;
}

.product-card[data-exclusive="1"] .chip {
  background: rgba(249, 115, 22, 0.2);
  color: #ffffff;
}

.product-card[data-exclusive="1"] .mini-tag {
  background: linear-gradient(135deg, #ff7c1f, #ff6a00);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-box {
  position: relative;
  flex: 0 1 220px;
}

.search-box input[type="search"] {
  width: 100%;
}

.search-box input[type="search"] {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  min-width: 180px;
  width: 100%;
}

.search-suggestions {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 5;
  overflow: hidden;
}

.search-suggestions .suggestion-section {
  padding: 8px;
  border-bottom: 1px solid var(--border-color);
}

.search-suggestions .suggestion-section:last-child {
  border-bottom: none;
}

.suggestion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.suggestion-clear {
  text-align: right;
  margin: 0;
}

.suggestion-clear button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
}

.suggestion-row .suggestion-clear-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
}

.search-suggestions .suggestion-title {
  margin: 0 0 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.search-suggestions .suggestion-item {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s ease;
}

.search-suggestions .suggestion-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

.suggestion-pill {
  display: inline-flex !important;
  width: auto !important;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 999px;
  padding: 6px 12px !important;
  font-weight: 700;
}

.suggestion-product {
  align-items: center;
}

.sugg-thumb {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.sugg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sugg-meta {
  display: grid;
  gap: 2px;
  align-items: center;
}

.sugg-meta strong {
  font-size: 14px;
}

.sugg-price {
  font-size: 12px;
  color: var(--muted);
}

.suggestion-empty {
  padding: 12px;
  color: var(--muted);
}

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

.chip {
  justify-self: start;
  border: none;
  background: rgba(212, 175, 55, 0.12);
  color: var(--black);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 8px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.mt-32 {
  margin-top: 32px;
}

.text-block {
  display: grid;
  gap: 12px;
}

.about-content {
  text-align: center;
}

.about-content .text-block {
  text-align: center;
  margin-top: 48px;
}

.about-content .pill-group {
  justify-content: center;
  margin-top: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.contact-card {
  padding: 20px;
  border-radius: var(--radius);
  border: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  text-align: center;
}

.marketplaces {
  margin-top: 32px;
}

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

.market-card {
  padding: 16px;
  border-radius: var(--radius);
  border: var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.market-card img {
  height: 38px;
  object-fit: contain;
}

.market-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(136, 171, 193, 0.4);
}

.market-card.disabled {
  opacity: 0.5;
  pointer-events: none;
  filter: grayscale(1);
}

.insta-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.insta-link svg {
  width: 44px;
  height: 44px;
  color: #000000;
  transition: color 0.2s ease, transform 0.2s ease;
}

.insta-link:hover svg {
  color: #e1306c;
  transform: translateY(-2px);
}

.email-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.email-link svg {
  width: 44px;
  height: 44px;
  color: #000000;
  transition: color 0.2s ease, transform 0.2s ease;
}

.email-link:hover svg {
  color: #007bff;
  transform: translateY(-2px);
}

/* Dark Mode Overrides for Icons and Tags */
body[data-theme="dark"] .insta-link svg,
body[data-theme="dark"] .email-link svg {
  color: #e5e7ef;
  /* Branco para ícones no modo escuro */
}

body[data-theme="dark"] .insta-link:hover svg {
  color: #e1306c;
  /* Mantém cor original no hover */
}

body[data-theme="dark"] .email-link:hover svg {
  color: #007bff;
  /* Mantém cor original no hover */
}

body[data-theme="dark"] .mini-tag,
body[data-theme="dark"] .chip {
  color: #fefce8;
  /* Texto claro para tags */
  background: rgba(212, 175, 55, 0.25);
  /* Fundo um pouco mais forte */
  border: 1px solid rgba(212, 175, 55, 0.3);
}

body[data-theme="dark"] .btn-ghost {
  color: #e5e7ef;
  border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="dark"] .btn-ghost:hover {
  border-color: #d4af37;
  color: #d4af37;
}

body[data-theme="dark"] .modal-close {
  color: #e5e7ef;
  background: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-footer {
  margin-top: 32px;
  background: #0e0e12;
  color: #f2f2f6;
  padding: 32px 0 0;
}

.pagination {
  margin: 18px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #111827;
}

.page-btn {
  border: var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  min-width: 40px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.page-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  border-color: rgba(212, 175, 55, 0.45);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: rgba(75, 85, 99, 0.6);
}

.page-info.muted {
  color: rgba(75, 85, 99, 0.6);
}

.pagination #pageInfo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.site-footer a {
  color: #f2f2f6;
  display: block;
  margin-bottom: 6px;
}

.site-footer p {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  margin-top: 18px;
  color: #c9c9d5;
}

.footer-copy {
  display: inline-block;
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-links a {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.policy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  padding: 16px;
}

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

.policy-modal {
  background: #0e0e12;
  color: #f2f2f6;
  padding: 24px;
  border-radius: 18px;
  max-width: 680px;
  width: 100%;
  position: relative;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 90vh;
}

body[data-theme="light"] .policy-modal {
  background: #ffffff;
  color: #111827;
  border-color: rgba(0, 0, 0, 0.06);
}

.policy-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 1px solid var(--border-color);
  color: inherit;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.policy-modal h3 {
  margin: 0 0 12px;
  font-family: 'Cinzel', serif;
}

.policy-modal-body {
  line-height: 1.7;
  font-size: 14px;
  white-space: pre-line;
  max-height: calc(80vh - 80px);
  overflow: auto;
  padding-right: 6px;
  padding-bottom: 8px;
}

.image-fullscreen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2147483645;
  padding: 12px;
}

.image-fullscreen-overlay.active {
  display: flex;
}

.image-fullscreen-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.image-fullscreen-close,
.image-fullscreen-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.image-fullscreen-close:hover,
.image-fullscreen-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.image-fullscreen-close {
  top: 16px;
  right: 16px;
  font-size: 20px;
  z-index: 2;
}

.image-fullscreen-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  z-index: 2;
}

.image-fullscreen-nav.prev {
  left: 16px;
}

.image-fullscreen-nav.next {
  right: 16px;
}

.footer-social {
  text-align: center;
}

.footer-social-icons {
  display: inline-flex;
  gap: 24px;
  margin-top: 8px;
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f2f2f6;
  transition: transform 0.15s ease, opacity 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.social-circle svg {
  width: 48px;
  height: 48px;
}

.social-circle:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.icone-whatsapp,
.icone-whatsapp-fill {
  color: #f2f2f6;
  transition: all 0.3s ease;
}

.social-circle:hover .icone-whatsapp,
.social-circle:hover .icone-whatsapp-fill {
  color: #25d366;
}

.icone-instagram,
.icone-instagram-fill,
.icone-email {
  color: currentColor;
  transition: all 0.3s ease;
}

.social-circle:hover .icone-insta-gradient {
  stroke: url(#instagram-gradient-footer);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.modal.hidden {
  display: none;
}

.modal-card {
  background: var(--surface);
  border-radius: 18px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  border: var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  overflow: hidden;
  position: relative;
  align-items: stretch;
}

.modal-media {
  min-height: 360px;
  display: grid;
  grid-template-rows: auto auto;
  /* Pack items together */
  align-content: center;
  /* Center the pack vertically */
  gap: 10px;
  position: relative;
  padding-top: 20px;
  /* Slight offset if centering isn't enough */
  z-index: 1;
}

.modal-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--modal-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(20px) brightness(0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 18px;
}

.modal-media.has-bg::before {
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10;
}

.modal-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 18px !important;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.02);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  /* Reset margin */
  align-self: center;
  justify-self: center;
}

.modal-media img.dimmed {
  opacity: 0.35 !important;
  filter: grayscale(100%) saturate(0) brightness(0.7) !important;
  transition: opacity 0.2s ease, filter 0.2s ease;
}


.modal-media video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  /* aspect-ratio: 4 / 5; */
  object-fit: contain;
  display: block;
  border-radius: 12px;
  background: transparent;
}

.modal-ribbon {
  display: none;
}

.modal-body {
  padding: 28px;
  display: grid;
  gap: 14px;
  align-content: start;
  max-height: 90vh;
  /* Fallback */
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.modal-top-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  padding-right: 40px;
}

.modal-badges {
  display: inline-flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

.modal-fav-row {
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.modal-fav-row .fav-btn {
  margin: 0;
}

.modal-top-row .eyebrow {
  margin-bottom: 0;
  white-space: nowrap;
}

#modalTag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #111827);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  margin-top: -4px;
}

.premium-code {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.05);
}

.premium-code:empty,
.eyebrow:empty {
  display: none !important;
}

.premium-code {
  font-weight: 600;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

body[data-theme="dark"] .premium-code {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
  color: #fce7b0;
}

.modal-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.rating-stars {
  display: inline-flex;
  gap: 4px;
}

.rating-star {
  color: #f97316;
  opacity: 0.25;
  font-size: 16px;
  line-height: 1;
  cursor: default;
}

.rating-star.filled {
  opacity: 1;
}

.rating-stars.clickable {
  cursor: pointer;
}

.rating-stars.clickable .rating-star {
  cursor: pointer !important;
}

.rating-stars.clickable .rating-star:hover {
  transform: scale(1.05);
  opacity: 1;
}

.rating-hint {
  font-size: 12px;
  color: #9ca3af;
}

.modal-card.exclusive .modal-body {
  background: #0b0b0f;
  color: #f7f7fb;
}

.modal-card.exclusive .modal-desc,
.modal-card.exclusive .modal-meta .badge,
.modal-card.exclusive .modal-meta .price,
.modal-card.exclusive .modal-actions-label {
  color: #f7f7fb;
}

.hidden {
  display: none !important;
}

.modal-card.exclusive .modal-actions .btn-primary {
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.32);
}

.modal-desc {
  color: #2a2a32;
  white-space: pre-line;
}

.modal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.modal-meta .badge {
  display: inline-flex;
}

.modal-meta .price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #f97316;
  background-color: rgba(249, 115, 22, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.2);
  line-height: 1;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.modal-actions-label {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #8c8c95;
  text-transform: uppercase;
}

.modal-actions .btn-primary {
  background: linear-gradient(135deg, #ff7c1f, #ff6a00);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(255, 106, 0, 0.22);
  min-height: 42px;
}

.modal-actions .btn-primary .icon-external {
  width: 18px;
  height: 18px;
}

.modal-thumbs {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
  padding: 4px 0 14px;
  /* Space for indicator */
  overflow-x: auto;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
  width: 100%;
}

.modal-thumb {
  border: 1px solid transparent;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
  width: 72px;
  /* Fixed width desktop */
  height: 72px;
  flex: 0 0 72px;
  /* No shrink */
  overflow: visible;
  /* Allow indicator */
  position: relative;
}

/* Desktop Indicator Bar */
.modal-thumb::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 35%;
  /* Center nicely */
  width: 30%;
  height: 4px;
  background: #000000;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-2px);
  pointer-events: none;
}

.modal-thumb.active::after {
  opacity: 1;
  transform: translateY(0);
}

body[data-theme="dark"] .modal-thumb::after {
  background: #ffffff;
}

body[data-theme="dark"] .modal-thumb,
body[data-theme="dark"] .modal-media img {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  /* Fix white bg */
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  filter: blur(6px);
  transition: opacity 0.4s ease, filter 0.5s ease;
  border-radius: 12px;
  /* Ensure image inherits radius visual */
}

.modal-thumb img.is-loaded {
  opacity: 1;
  filter: blur(0);
}

.modal-thumb.active {
  border-color: rgba(0, 0, 0, 0.08);
  /* Revert to subtle grey */
  box-shadow: none;
  /* Remove orange glow */
}

.modal-thumb .thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)); */
  background: transparent;
  font-size: 18px;
  border-radius: 12px;
}

.modal-thumbs::-webkit-scrollbar {
  height: 6px;
}

.modal-thumbs::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  padding: 0;
  flex-shrink: 0;
  flex-grow: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  z-index: 100;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease, color 0.2s ease;
}

.whatsapp-fab:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(37, 211, 102, 0.35);
  filter: saturate(1.05);
  color: #ffffff;
  border-color: rgba(37, 211, 102, 0.3);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  display: block;
}

.hidden {
  display: none !important;
}

body.no-scroll {
  overflow: hidden;
}

/* Favorites drawer */
.favorites-drawer {
  position: fixed;
  top: 20%;
  right: 20px;
  width: min(380px, 90vw);
  max-height: 70vh;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  padding: 18px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  border-radius: 16px;
}

.favorites-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.favorites-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.favorites-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: -6px;
}

.drawer-close {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 6px;
}

.favorites-body {
  border: 1px dashed rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.02);
  overflow-y: auto;
}

.favorites-list {
  display: grid;
  gap: 10px;
}

.fav-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 10px;
  background: #fff;
}

.fav-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(18, 18, 22, 0.12), rgba(42, 42, 54, 0.18));
}

.fav-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fav-meta {
  display: grid;
  gap: 4px;
}

.fav-meta .price {
  font-weight: 800;
}

.fav-meta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.favorites-empty {
  text-align: center;
  display: grid;
  gap: 8px;
}

@media (max-width: 960px) {
  .header-right .nav-cta {
    display: none;
  }

  .mobile-fav .fav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

@media (max-width: 720px) {
  .favorites-drawer {
    right: 10px;
    left: 10px;
    width: auto;
    top: auto;
    bottom: 90px;
    max-height: 60vh;
  }
}

@media (max-width: 800px) {
  .main-nav {
    display: none;
  }

  .header-right .nav-cta,
  .header-right .theme-toggle,
  .header-right .accessibility-toggle {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .instagram-link-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .instagram-link-mobile .icone-insta-gradient {
    stroke: currentColor;
  }
}

@media (max-width: 900px) {
  .modal {
    align-items: stretch;
    padding: 0;
    overflow-x: hidden;
    width: 100vw;
  }

  .nav-bar {
    flex-wrap: wrap;
  }

  .tile.span-2 {
    grid-column: span 1;
  }

  .modal-card {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 100vh;
    /* Fallback */
    max-height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }

  .modal-card>* {
    width: 100%;
  }

  .modal-media {
    min-height: auto;
    grid-template-rows: auto auto;
    order: 1;
    width: 100%;
    justify-items: start;
    /* Aligns image and thumbs to the left */
    padding: 0;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    /* overflow: hidden; REMOVED to fix scroll */
    isolation: isolate;
    /* Create stacking context for ::before */
    z-index: 1;
  }

  /* Ensure pseudo-element is visible on mobile */
  .modal-media::before {
    content: '' !important;
    display: block !important;
    border-radius: 0;
    /* Full width on mobile usually */
  }

  .modal-media img {
    height: auto;
    max-height: 40vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 24px 0;
    /* Left aligned (no auto margin), vertical spacing preserved */
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    /* Ensure no background looks like a border */
  }

  .modal-media video {
    max-height: 40vh;
    width: 100%;
    border-radius: 12px !important;
    background: transparent !important;
  }

  /* Container Pseudo-element Killer - BUT keep our new bg! */
  .modal-thumbs::before,
  .modal-thumbs::after {
    display: none !important;
    content: none !important;
  }

  /* We do NOT want to kill .modal-media::before/after anymore if we use it for blur */
  /* .modal-media::before, .modal-media::after { display: none !important; content: none !important; } */

  .modal-thumbs {
    width: 100%;
    margin-top: 12px;
    display: flex !important;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 14px;
    /* Space for the indicator */
    padding-left: 0;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
  }

  .modal-thumbs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari/Edge */
    width: 0;
    height: 0;
  }

  .modal-thumb {
    position: relative;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    width: 60px !important;
    height: 60px !important;
    flex: 0 0 60px !important;
    padding: 0;
    margin: 0;
    display: block;
    overflow: visible !important;
    background: transparent !important;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
  }

  .modal-thumb::before {
    display: none !important;
    content: none !important;
  }

  /* Explicitly hide indicator when not active */
  .modal-thumb::after {
    visibility: hidden;
    opacity: 0;
  }

  .modal-thumb.active::after {
    visibility: visible;
    opacity: 1;
  }

  .modal-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    margin: 0 !important;
    display: block !important;
  }

  .modal-body {
    max-height: none;
    overflow: visible;
    order: 2;
    padding: 12px;
    width: 100%;
    font-size: 14px;
    word-break: break-word;
  }

  #modalTitle {
    font-size: 18px;
  }

  #modalDesc {
    font-size: 13px;
    line-height: 1.5;
  }

  #modalPrice {
    font-size: 18px;
  }

  .modal-actions .btn-primary {
    font-size: 15px;
    padding: 10px 12px;
    width: 100%;
    max-width: 100%;
  }

  .modal-actions .btn-ghost {
    width: 100%;
    max-width: 100%;
  }

  .modal-top-row {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 16px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-cta {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-fab {
    bottom: 16px;
    right: 20px;
    min-width: auto;
    width: auto;
  }

  .cart-fab {
    right: 20px;
    bottom: 90px;
  }

  .tile.image {
    min-height: 280px;
  }

  .product-preview-grid {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 24px;
  }

  .products-title {
    white-space: normal;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 900px) {
  .modal-close {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 10px;
    align-self: flex-end;
    margin-bottom: -32px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    aspect-ratio: 1 / 1;
    font-size: 20px;
    z-index: 1001;
    border: none;
    padding: 0;
    margin-right: 10px;
  }
}

/* Shopping Cart Styles */
.cart-fab {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 64px;
  height: 64px;
  padding: 0;
  background: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.cart-icon {
  width: 28px;
  height: 28px;
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--gold);
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}

.cart-count-badge.hidden {
  display: none;
}

/* Cart Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.cart-header h3 {
  margin: 0;
  font-size: 20px;
}

.cart-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-timer-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-cart-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-color);
  padding: 4px;
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 12px;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Reserva - Modais */
.reserve-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  padding: 16px;
}

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

.reserve-modal__card {
  width: min(460px, 100%);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 244, 255, 0.9));
  border: 1px solid rgba(12, 12, 14, 0.08);
  border-radius: 16px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
  padding: 20px 20px 16px;
  color: #0b0b0d;
  position: relative;
}

body[data-theme="dark"] .reserve-modal__card {
  background: linear-gradient(145deg, rgba(15, 17, 23, 0.95), rgba(20, 24, 32, 0.9));
  border-color: rgba(255, 255, 255, 0.08);
  color: #e5e7ef;
}

.reserve-modal__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.reserve-modal__desc {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 14px;
}

body[data-theme="dark"] .reserve-modal__desc {
  color: #9ca3af;
}

.reserve-modal__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reserve-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  font-size: 14px;
}

.reserve-btn.primary {
  background: linear-gradient(135deg, #0f172a, #1f2937);
  color: #f8fafc;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.reserve-btn.secondary {
  background: #e5e7eb;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.reserve-btn.text {
  background: transparent;
  color: #6b7280;
}

body[data-theme="dark"] .reserve-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7ef;
  border-color: rgba(255, 255, 255, 0.14);
}

.reserve-btn:hover {
  transform: translateY(-1px);
}

.cart-empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--surface-strong);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-details h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.cart-item-price {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.cart-item-controls button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.cart-item-controls span {
  font-size: 14px;
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-controls .remove-btn {
  margin-left: auto;
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: var(--surface);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 700;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-link-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, #f4f4f5, #e5e7eb);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.track-link-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.track-link-btn span {
  font-size: 13px;
}

.track-link-btn svg {
  width: 18px;
  height: 18px;
}

.btn-checkout {
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn-checkout:hover {
  transform: translateY(-1px);
}

.btn-checkout.disabled,
.btn-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.pill-link:disabled,
.pill-link.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.reserve-inline-btn {
  border: 1px solid var(--border-color);
  background: linear-gradient(135deg, #f4f4f5, #e5e7eb);
  color: var(--text-color);
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.reserve-inline-btn.hidden {
  display: none;
}

body[data-theme="dark"] .reserve-inline-btn {
  background: linear-gradient(135deg, #1f2937, #0f172a);
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.12);
}

.reserve-inline-btn:not(:disabled):hover {
  opacity: 1;
  transform: translateY(-1px);
}

.reserve-inline-btn:disabled {
  cursor: not-allowed;
}

/* Checkout Form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.form-group input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--text-color);
  font-family: inherit;
}

.form-group input.input-disabled {
  opacity: 0.6;
  background: #f1f1f1;
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-back {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}

.coupon-section {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--surface);
}

.coupon-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.coupon-row input {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--text-color);
  font-family: inherit;
}

.coupon-row .coupon-apply-btn {
  width: auto;
  padding: 12px 16px;
  font-size: 14px;
}

.coupon-feedback {
  min-height: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

.coupon-feedback.success {
  color: #16a34a;
}

.coupon-feedback.error {
  color: #ef4444;
}

.coupon-remove-btn {
  margin-top: 10px;
  width: auto;
}

.checkout-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--surface);
}

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

.checkout-summary .summary-row strong {
  font-size: 14px;
}

.checkout-summary .summary-row.discount strong {
  color: #16a34a;
}

.checkout-summary .summary-row.total {
  font-weight: 700;
  font-size: 15px;
}

/* Dark Mode Adjustments */
body[data-theme="dark"] .cart-fab {
  background: var(--gold);
  color: var(--black);
}

body[data-theme="dark"] .cart-drawer {
  background: #151922;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .cart-item {
  background: rgba(255, 255, 255, 0.03);
}

body[data-theme="dark"] .btn-checkout {
  background: var(--gold);
  color: var(--black);
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  transform: translateY(10px);
  background: #0f172a;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notice-banner {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translate(-50%, -12px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 245, 225, 0.96));
  border: 1px solid rgba(202, 138, 4, 0.18);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
  z-index: 1200;
  max-width: min(520px, 92vw);
}

.notice-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.notice-banner__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(202, 138, 4, 0.12);
  color: #92400e;
  font-size: 18px;
  font-weight: 700;
}

.notice-banner__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notice-banner__title {
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.notice-banner__text {
  font-size: 13px;
  color: #6b7280;
}

body[data-theme="dark"] .notice-banner {
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.95));
  border-color: rgba(250, 204, 21, 0.25);
  color: #f9fafb;
}

body[data-theme="dark"] .notice-banner__icon {
  background: rgba(250, 204, 21, 0.14);
  color: #fef3c7;
}

body[data-theme="dark"] .notice-banner__title {
  color: #f9fafb;
}

body[data-theme="dark"] .notice-banner__text {
  color: #d1d5db;
}

.free-shipping {
  margin-bottom: 12px;
}

.free-shipping__label {
  font-size: 13px;
  color: var(--muted-color);
  margin-bottom: 4px;
}

.free-shipping__progress {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.free-shipping__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #25d366, #d4af37);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.free-shipping__hint {
  font-size: 12px;
  color: var(--muted-color);
}

.cart-timer {
  font-size: 13px;
  color: var(--muted-color);
  font-weight: 500;
  margin-left: auto;
  margin-right: 12px;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  background: var(--surface-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cart-timer span {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  color: var(--text-color);
  font-weight: 700;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 20px 24px;
  border-radius: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cookie-text {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.5;
  margin: 0;
}

.cookie-btn {
  background: var(--black);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cookie-btn:hover {
  transform: scale(1.05);
  background: #000;
}

body[data-theme="dark"] .cookie-banner {
  background: rgba(21, 25, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .cookie-btn {
  background: #fff;
  color: #000;
}

body[data-theme="dark"] .cookie-btn:hover {
  background: #e0e0e0;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
    padding: 16px;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Variations in Modal */
.var-group {
  margin-bottom: 12px;
}

.var-group h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}

.var-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.var-btn {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  background: var(--surface);
  color: var(--text-color);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
}

.var-btn:hover {
  border-color: var(--gold);
}

.var-btn.selected {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* Product Card Carousel Arrows */
.card-image {
  position: relative;
  /* Ensure absolute children are relative to this */
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  font-size: 16px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.card-image:hover .nav-arrow {
  opacity: 1;
}

/* On mobile/touch, maybe always show or rely on touch? 
   For now, we stick to hover/active or just ensure it works on tap.
   To make it friendlier on mobile where hover isn't continuous: */
@media (max-width: 768px) {
  .nav-arrow {
    opacity: 0.8;
    /* Always visible on mobile */
  }
}

.nav-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

/* Dark mode adjustments if needed */
body[data-theme="dark"] .nav-arrow {
  background: rgba(30, 30, 30, 0.9);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

body[data-theme="dark"] .nav-arrow:hover {
  background: #000;
}

/* Premium alert (CPF, etc.) */
#premiumAlert {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

#premiumAlert.active {
  display: grid;
  place-items: center;
}

#premiumAlert .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

#premiumAlert .modal-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  max-width: 360px;
  width: 90%;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

body[data-theme="dark"] #premiumAlert .modal-card {
  background: var(--card-dark);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
}

#premiumAlert .modal-icon {
  font-size: 26px;
  margin-bottom: 10px;
}

#premiumAlert .modal-title {
  margin: 0 0 8px;
  font-size: 18px;
}

#premiumAlert .modal-text {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

#premiumAlert .modal-action {
  width: auto;
  padding: 10px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

#premiumAlert .modal-card .btn-checkout {
  width: auto;
  min-width: 140px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

.transition-section {
  transition: all 0.3s ease;
}/* 
==========================================================================
   LITHOPHANE GENERATOR STYLES
========================================================================== 
*/

/* Header */
.litho-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(12, 12, 14, 0.12);
    padding: 12px 0;
}

.litho-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.litho-brand img {
    height: 42px;
    width: auto;
}

.litho-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    color: #4b5563;
    font-size: 0.95rem;
    padding-left: 16px;
    border-left: 1px solid #e5e7eb;
    line-height: 1.2;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.cart-drawer .btn-back {
    width: fit-content;
    align-self: center;
    padding: 10px 36px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    display: inline-flex;
    justify-content: center;
    font-size: 14px;
}

/* General Layout */
body {
    background: radial-gradient(circle at top, #f6f7fb 0%, #ecf0f4 40%, #ecf0f4 100%);
    margin: 0;
    min-height: 100vh;
}

.premium-litho {
    padding: 100px 0 60px;
}

/* Panels */
.card-panel {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.08);
    height: 100%;
}

/* Top Row Grid */
.litho-top-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.preview-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.canvas-container {
    position: relative;
    background: #f7f9fc;
    border-radius: 16px;
    border: 1px solid #dfe3eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    /* Maintain aspect ratio */
}

canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Empty State */
.preview-empty-state {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #64748b;
    font-weight: 600;
    background: #f7f9fc;
    z-index: 10;
    border-radius: 16px;
    text-align: center;
    padding: 20px;
}

.preview-empty-state.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

canvas.hidden {
    opacity: 0;
}

.schematic-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #dfe3eb;
    display: block;
}

/* Bottom Row */
.litho-bottom-row {
    width: 100%;
}

/* Form Styles */
.field-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 1200px) {
    .field-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .field-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .field-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.premium-field label {
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: #374151;
}

.premium-field input,
.premium-field select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #dfe3eb;
    background: #f8fafd;
    font-size: 0.9rem;
}

.premium-field input::placeholder {
    color: #9ca3af;
    /* Esmaecido per request */
    opacity: 1;
}

.field-note {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 4px;
}

.checkbox-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-item label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    cursor: pointer;
}

.premium-litho h3,
.modal-defaults h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.premium-cta {
    margin-top: 24px;
    text-align: center;
}

.btn-primary {
    background: #0f172a;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.1s;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary.btn-whats {
    background: linear-gradient(135deg, #34e27a 0%, #25d366 50%, #1fa24f 100%);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.32);
}

.btn-primary.btn-whats:hover {
    background: linear-gradient(135deg, #3df089 0%, #2fda6d 50%, #1a9b49 100%);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.42);
}

#uploadStatus {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 1024px) {
    .litho-top-row {
        grid-template-columns: 1fr;
    }
}

/* PiP Mode Styles */
.canvas-container.pip-mode {
    position: fixed;
    top: 90px;
    left: 24px;
    width: 280px !important;
    height: auto !important;
    aspect-ratio: 16/9;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: #cbd5e1;
    transform: translateY(0);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pip-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 16px;
}

.pip-placeholder.active {
    display: block;
}

.pip-close {
    display: none;
    position: absolute;
    top: 8px;
    /* Moved inside */
    right: 8px;
    /* Moved inside */
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #475569;
    z-index: 20;
    transition: all 0.2s;
}

.pip-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fecaca;
}

.canvas-container.pip-mode .pip-close {
    display: flex;
}

@media (max-width: 600px) {
    .canvas-container.pip-mode {
        width: 160px !important;
        bottom: 16px;
        left: 16px;
    }
}

/* Premium Progress Overlay */
.litho-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.litho-progress-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 90%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
}

.litho-progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    animation: gradientMove 2s linear infinite;
    background-size: 200% 100%;
}

@keyframes gradientMove {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.litho-loader-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.litho-loader-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 32px;
}

.progress-track {
    height: 8px;
    background: #f1f5f9;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 99px;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.progress-percentage {
    margin-top: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3b82f6;
}

/* File Input Premium */
.hidden-input {
    display: none;
}

.premium-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #fff !important;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: normal;
    white-space: nowrap;
}

.premium-file-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.25);
    background: linear-gradient(135deg, #334155, #1e293b);
}

.file-upload-wrapper {
    display: flex;
    align-items: center;
    margin-top: 8px;
}
