input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

@keyframes fade-in {
  from {
      background-color: rgba(0, 0, 0, 0);
  }
  to {
      background-color: rgba(0, 0, 0, 0.8);
  }
}

@keyframes fade-out {
  from {
      background-color: rgba(0, 0, 0, 0.8);
  }
  to {
      background-color: rgba(0, 0, 0, 0);
  }
}

@keyframes slide-in {
  from {
      transform: translateX(500px);
  }
  to {
      transform: translateX(0px);
  }
}

@keyframes slide-out {
  from {
      transform: translateX(0px);
  }
  to {
      transform: translateX(500px);
  }
}

body.cart-open {
  overflow: hidden;
  padding-right: var(--scrollbar-width, 0px);
}

body.cart-open header.fixed {
  padding-right: var(--scrollbar-width, 0px);
}

/* Cart drawer — modal de baixo para cima (igual RedeScreen; sem slide lateral) */
#cart-drawer {
  pointer-events: none;
}

#cart-drawer[data-state="open"] {
  pointer-events: auto;
}

#cart-drawer #cart-backdrop {
  opacity: 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: opacity 0.5s ease-out;
}

#cart-drawer[data-state="open"] #cart-backdrop {
  opacity: 1;
}

#cart-drawer #cart-content {
  opacity: 0;
  transform: scale(0.95) translateY(12rem);
  transition:
    transform 0.5s cubic-bezier(0.32, 0.72, 0, 1) 75ms,
    opacity 0.5s cubic-bezier(0.32, 0.72, 0, 1) 75ms;
  animation: none !important;
}

#cart-drawer[data-state="open"] #cart-content {
  opacity: 1;
  transform: scale(1) translateY(0);
  animation: none !important;
}

#cart-drawer[data-state="closed"] #cart-content {
  animation: none !important;
}

.category-drawer[data-state="open"] {
  pointer-events: auto;
}
.category-drawer[data-state="open"] #category-drawer-overlay {
  opacity: 1;
}
.category-drawer[data-state="open"] #category-drawer-panel {
  transform: translateX(0);
}
body.category-drawer-open {
  overflow: hidden;
}

#category-drawer details[open],
#category-drawer details[open] summary {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}
#category-drawer details[open]:hover,
#category-drawer details[open] summary:hover {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.dialog[data-state="open"] {
  animation: fade-in 0.4s forwards;
}

.dialog[data-state="closed"] {
  animation: fade-out 0.4s forwards;
}

.dialog[data-state="open"] > div {
  animation: dialog-in 0.2s forwards;
}

.dialog[data-state="closed"] > div {
  animation: dialog-out 0.2s forwards;
}

@keyframes dialog-in {
  from {
      opacity: 0;
      scale: 50%;
  }
  to {
      opacity: 1;
      scale: 100%;
  }
}

@keyframes dialog-out {
  from {
      opacity: 1;
      scale: 100%;
  }
  to {
      opacity: 0;
      scale: 50%;
  }
}

.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.centralcart-content iframe {
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

.custom-bg-mask {
	mask-image: linear-gradient(hsl(var(--background)), rgba(0, 0, 0, 0.3), rgb(0, 0, 0, 0));
}

@keyframes loading {
  0% {
      left: -50%;
  }
  to {
      left: 100%;
  }
}

.detail-dash {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 50%, hsl(var(--foreground) / 0) 0%);
  background-position: center bottom;
  background-size: 16px;
  background-repeat: repeat-x;
  width: 100%;
  height: 1px;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: hsl(var(--primary));
  border-radius: 0.25rem;
}

.animate-float {
  animation: floatRandom 15s ease-in-out infinite;
}

@keyframes floatRandom {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-6px, -10px) rotate(-1deg); }
  40% { transform: translate(4px, -5px) rotate(1deg); }
  60% { transform: translate(-4px, -12px) rotate(-1.5deg); }
  80% { transform: translate(3px, -7px) rotate(1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  background: linear-gradient(
    45deg,
    hsl(var(--primary)),
    hsl(var(--primary) / 0.8),
    hsl(var(--primary) / 0.6),
    hsl(var(--primary) / 0.9),
    hsl(var(--primary)),
    hsl(var(--primary) / 0.7),
    hsl(var(--primary) / 0.5),
    hsl(var(--primary) / 0.8)
  );
  background-size: 400% 400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes neon-glow {
  0%, 100% {
    box-shadow:
      0 0 16px hsl(var(--primary) / 0.22),
      0 0 32px hsl(var(--primary) / 0.14),
      0 0 48px hsl(var(--primary) / 0.08),
      0 0 0 1px hsl(var(--primary) / 0.35);
    border-color: hsl(var(--primary) / 0.35);
  }
  50% {
    box-shadow:
      0 0 20px hsl(var(--primary) / 0.28),
      0 0 40px hsl(var(--primary) / 0.18),
      0 0 60px hsl(var(--primary) / 0.1),
      0 0 0 1px hsl(var(--primary) / 0.45);
    border-color: hsl(var(--primary) / 0.45);
  }
}

@keyframes neon-glow-inner {
  0%, 100% {
    box-shadow: inset 0 0 25px hsl(var(--primary) / 0.1);
  }
  50% {
    box-shadow: inset 0 0 35px hsl(var(--primary) / 0.15);
  }
}

.featured-card-neon {
  border: 1px solid hsl(var(--primary) / 0.35);
  animation: neon-glow 2.5s ease-in-out infinite;
}

.featured-card-neon__image {
  animation: neon-glow-inner 2.5s ease-in-out infinite;
}

.featured-badge {
  animation: featured-badge-pulse 2.5s ease-in-out infinite;
}

.featured-badge__icon {
  animation: featured-badge-spin 3s ease-in-out infinite;
}

@keyframes featured-badge-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 hsl(var(--primary) / 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px hsl(var(--primary) / 0);
  }
}

@keyframes featured-badge-spin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-10deg) scale(1.1); }
  75% { transform: rotate(10deg) scale(1.1); }
}

.featured-section-header__wrap {
  position: relative;
}

.featured-section-header__line {
  width: 100%;
  height: 1px;
  margin: 0;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    hsl(var(--primary) / 0.8),
    hsl(var(--primary)),
    hsl(var(--primary) / 0.8),
    transparent
  );
  background-size: 200% 100%;
  animation: featured-line-shine 2.5s ease-in-out infinite;
}

@keyframes featured-line-shine {
  0%, 100% {
    background-position: 100% 0;
    opacity: 0.7;
  }
  50% {
    background-position: 0% 0;
    opacity: 1;
  }
}

.faq-item .faq-content {
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:not([open]) .faq-content {
  height: 0;
}

.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: '';
}

#search-bar,
#search-bar:focus,
#search-bar:focus-visible,
#search-bar:active,
#search-bar-mobile,
#search-bar-mobile:focus,
#search-bar-mobile:focus-visible,
#search-bar-mobile:active,
#category-search-bar,
#category-search-bar:focus,
#category-search-bar:focus-visible,
#category-search-bar:active {
  outline: none !important;
  box-shadow: none !important;
}

.pagination-dot {
  display: block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.pagination-dot--active {
  width: 18px;
  height: 18px;
  background: hsl(var(--primary)) !important;
}

@keyframes ghost-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.animate-ghost-float {
  animation: ghost-float 4s ease-in-out infinite;
}

#dialog-terms { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
#dialog-terms[data-state="open"] { opacity: 1; pointer-events: auto; }
#dialog-terms .dialog-inner {
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}
#dialog-terms[data-state="open"] .dialog-inner { transform: translateY(0) scale(1); }

#dialog-terms.dialog[data-state="open"] > .dialog-inner,
#dialog-terms.dialog[data-state="closed"] > .dialog-inner {
  animation: none !important;
}

#dialog-terms .dialog-body,
#dialog-terms .centralcart-content {
  font-family: 'Montserrat', sans-serif;
}

#dialog-terms .centralcart-content h1,
#dialog-terms .centralcart-content h2,
#dialog-terms .centralcart-content h3,
#dialog-terms .centralcart-content h4 {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgb(113 113 122);
  margin: 0 0 0.75rem;
}

#dialog-terms .centralcart-content p {
  color: rgb(212 212 216);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 0.75rem;
}

#dialog-terms .centralcart-content a {
  color: hsl(var(--primary));
  font-weight: 700;
}

.terms-dialog-scroll::-webkit-scrollbar {
  width: 4px;
}

.terms-dialog-scroll::-webkit-scrollbar-thumb {
  background: rgb(255 255 255 / 0.12);
  border-radius: 2px;
}

.terms-dialog-scroll::-webkit-scrollbar-thumb:hover {
  background: rgb(255 255 255 / 0.2);
}

#dialog-quick-view { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
#dialog-quick-view[data-state="open"] { opacity: 1; pointer-events: auto; }

#dialog-gift-confirm { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
#dialog-gift-confirm[data-state="open"] { opacity: 1; pointer-events: auto; }

#dialog-play { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
#dialog-play[data-state="open"] { opacity: 1; pointer-events: auto; }
#dialog-play .dialog-inner {
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}
#dialog-play[data-state="open"] .dialog-inner { transform: translateY(0) scale(1); }

#dialog-voice { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
#dialog-voice[data-state="open"] { opacity: 1; pointer-events: auto; }
#dialog-voice .dialog-inner {
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}
#dialog-voice[data-state="open"] .dialog-inner { transform: translateY(0) scale(1); }

.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.custom-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.4);
}

.custom-select-wrapper.open .custom-select-trigger i {
  transform: rotate(180deg);
}

.custom-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 200px;
  overflow-y: auto;
  pointer-events: none;
}

.custom-options.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 100005;
}

.custom-option {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #a1a1aa;
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.custom-option.selected {
  background-color: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  font-weight: 600;
  border-left: 2px solid hsl(var(--primary));
}

.custom-options::-webkit-scrollbar {
  width: 4px;
}

.custom-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.footer-bg {
  width: 100%;
  height: 600px;
  background: radial-gradient(ellipse at center, hsl(var(--primary) / 0.08) 0%, transparent 70%);
}

.footer-watermark-zone {
  padding-bottom: clamp(5rem, 23vw, 9rem);
}

@media (min-width: 1024px) {
  .footer-watermark-zone {
    padding-bottom: 16rem;
  }
}

.footer-card {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.55);
}

.footer-card--full {
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
}

.footer-inner {
  max-width: none;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-col-left,
.footer-col-center,
.footer-col-right {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.footer-col-left {
  align-items: flex-start;
  justify-content: center;
}

.footer-brand-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  max-width: 28rem;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 26rem;
  margin-left: clamp(0.375rem, 1.5vw, 1rem);
}

.footer-brand-logo {
  height: clamp(5rem, 8vw, 7.5rem);
  width: auto;
  max-width: min(320px, 90%);
  object-fit: contain;
  object-position: center center;
  align-self: center;
  margin: 0 auto;
}

.footer-brand-fallback {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
  line-height: 1;
  text-align: center;
  align-self: center;
}

.footer-brand-desc {
  margin: 0.875rem 0 0;
  padding-left: clamp(0.625rem, 2vw, 1.125rem);
  color: rgb(161 161 170);
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.65;
  max-width: 26rem;
  text-align: center;
  width: 100%;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-left: clamp(0.375rem, 1.5vw, 1rem);
}

.footer-social-icon {
  width: 1.125rem;
  height: 1.125rem;
  background: rgb(161 161 170);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  transition: background-color 0.2s;
}

.footer-social-btn:hover .footer-social-icon {
  background: hsl(var(--primary));
}

.footer-col-center {
  gap: 1.25rem;
}

.footer-nav-block {
  width: 100%;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  width: 100%;
  margin-top: 0.875rem;
}

.footer-col-right {
  align-items: stretch;
}

@media (min-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: stretch;
    min-height: 17.5rem;
  }

  .footer-col-left {
    justify-content: center;
    padding-right: 0.5rem;
  }

  .footer-col-center {
    justify-content: flex-start;
  }

  .footer-col-right {
    justify-content: flex-start;
  }
}

.footer-pay-align {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

.footer-pay-align-gap {
  margin-top: 0.875rem;
}

@media (max-width: 1023px) {
  .footer-pay-align {
    display: none;
  }
}

.footer-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(113 113 122);
  margin: 0;
}

.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.06);
  transition: background-color 0.2s, border-color 0.2s;
}

.footer-social-btn:hover {
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.12);
}

.footer-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.875rem 1rem;
  border-radius: 2px;
  background: rgb(26 26 26);
  border: 1px solid rgb(255 255 255 / 0.06);
  color: rgb(228 228 231);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s, box-shadow 0.2s;
  text-align: center;
  width: 100%;
}

.footer-link-card:hover {
  border-color: hsl(var(--primary) / 0.45);
  color: #fff;
  background: rgb(255 255 255 / 0.03);
  box-shadow: 0 0 20px hsl(var(--primary) / 0.08);
}

.footer-ip-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.125rem;
  border-radius: 2px;
  background: rgb(26 26 26);
  border: 1px solid rgb(255 255 255 / 0.06);
}

.footer-ip-value {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
  word-break: break-word;
}

.footer-ip-meta {
  margin: 0.375rem 0 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(113 113 122);
}

.footer-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  padding: 0 1.125rem;
  border-radius: 2px;
  background: hsl(var(--primary));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.footer-copy-btn:hover {
  opacity: 0.92;
}

.footer-copy-btn:active {
  transform: scale(0.98);
}

.footer-copy-btn.is-copied {
  background: rgb(22 163 74);
}

.footer-pay-card {
  width: 100%;
  margin-top: 0.875rem;
  padding: 1.125rem 1.25rem;
  border-radius: 2px;
  background: linear-gradient(180deg, rgb(26 26 26) 0%, rgb(18 18 18) 100%);
  border: 1px solid rgb(255 255 255 / 0.06);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.03);
}

@media (min-width: 1024px) {
  .footer-pay-card {
    margin-top: 0;
  }
}

.footer-pay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .footer-pay-head--mobile {
    display: none;
  }
}

.footer-pay-badge {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.625rem;
  border-radius: 2px;
  background: hsl(var(--primary) / 0.15);
  border: 1px solid hsl(var(--primary) / 0.35);
  color: hsl(var(--primary));
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.footer-pay-pix {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.125rem;
  border-radius: 2px;
  background: rgb(0 0 0 / 0.28);
  border: 1px solid rgb(255 255 255 / 0.05);
}

.footer-pay-pix-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
  flex-shrink: 0;
}

.footer-pay-pix-icon img {
  height: 2rem;
  width: auto;
}

.footer-pay-pix-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}

.footer-pay-pix-sub {
  margin: 0.375rem 0 0;
  font-size: 11px;
  font-weight: 600;
  color: rgb(161 161 170);
}

.footer-pay-secure {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(255 255 255 / 0.06);
}

.footer-pay-secure p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgb(161 161 170);
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}

@media (min-width: 1024px) {
  .footer-bottom-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-width: 42rem;
}

.footer-bottom-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .footer-bottom-actions {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}

#screen-text-reveal {
  will-change: opacity;
}

@media (max-width: 639px) {
  #screen-text-reveal {
    transform: translate(0.625rem, 78%);
  }
}

@media (max-width: 1023px) {
  .footer-top-grid {
    gap: 1.125rem;
  }

  .footer-brand-stack {
    gap: 0.75rem;
    max-width: 100%;
  }

  .footer-brand-logo {
    height: clamp(3.25rem, 12vw, 4.25rem);
    max-width: min(220px, 78%);
  }

  .footer-brand-desc {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    padding-left: 0.5rem;
  }

  .footer-social-row {
    gap: 0.5rem;
  }

  .footer-social-btn {
    width: 2.25rem;
    height: 2.25rem;
  }

  .footer-social-icon {
    width: 1rem;
    height: 1rem;
  }

  .footer-col-center {
    gap: 0.75rem;
  }

  .footer-nav-grid {
    margin-top: 0.5rem;
    gap: 0.5rem;
  }

  .footer-link-card {
    min-height: 2.625rem;
    padding: 0.5rem 0.625rem;
    font-size: 10px;
    gap: 0.375rem;
  }

  .footer-link-card [data-lucide] {
    width: 0.875rem;
    height: 0.875rem;
  }

  .footer-ip-card {
    padding: 0.75rem 0.875rem;
    gap: 0.625rem;
  }

  .footer-ip-value {
    font-size: 0.9375rem;
  }

  .footer-ip-meta {
    font-size: 9px;
    margin-top: 0.25rem;
  }

  .footer-copy-btn {
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 9px;
  }

  .footer-pay-card {
    margin-top: 0.5rem;
    padding: 0.75rem 0.875rem;
  }

  .footer-pay-head {
    margin-bottom: 0.625rem;
  }

  .footer-pay-pix {
    padding: 0.625rem 0.75rem;
    gap: 0.625rem;
  }

  .footer-pay-pix-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .footer-pay-pix-icon img {
    height: 1.5rem;
  }

  .footer-pay-pix-title {
    font-size: 0.9375rem;
  }

  .footer-pay-pix-sub {
    font-size: 10px;
    margin-top: 0.25rem;
  }

  .footer-pay-secure {
    margin-top: 0.625rem;
    padding-top: 0.625rem;
    gap: 0.5rem;
  }

  .footer-pay-secure p {
    font-size: 10px;
    line-height: 1.4;
  }

  .footer-bottom-bar {
    margin-top: 1.25rem;
    padding-top: 1rem;
    gap: 0.875rem;
  }

  .footer-bottom-actions {
    gap: 0.625rem;
  }
}

/* ── Mobile: modais e overlays ── */
@media (max-width: 639px) {
  .dialog[data-state="open"] > div,
  .dialog[data-state="closed"] > div {
    animation: none !important;
  }

  .dialog--sheet {
    align-items: flex-end;
    padding: 0;
  }

  .dialog--sheet .dialog-inner {
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
  }

  .dialog--sheet[data-state="open"] .dialog-inner {
    animation: modal-sheet-in 0.28s ease-out forwards;
    transform: none;
    transition: none;
  }

  #dialog-play .dialog-inner,
  #dialog-voice .dialog-inner,
  #dialog-terms .dialog-inner {
    transform: none;
    transition: none;
  }

  .dialog:not(.dialog--sheet) {
    padding: 0.75rem;
    align-items: center;
  }

  .dialog:not(.dialog--sheet) .dialog-inner {
    width: 100%;
    max-height: 88dvh;
  }

  .dialog-inner {
    max-height: 92dvh;
    overflow: hidden;
  }

  .dialog-body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .dialog-footer-safe {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }

  .dialog-close-btn {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
}

@keyframes modal-sheet-in {
  from {
    opacity: 0.85;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#play-copy-ip-btn.is-copied {
  background-color: hsl(var(--primary));
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.35);
  filter: brightness(1.08);
  transform: scale(0.98);
}

#voice-download-btn.is-copied {
  background-color: hsl(var(--primary));
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px hsl(var(--primary) / 0.35);
  filter: brightness(1.08);
  transform: scale(0.98);
}

#copy-toast,
#pix-copy-toast,
#payment-approved-toast,
#voice-download-toast {
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}

#email-wrapper {
  overflow: visible;
}

#email-wrapper .autocomplete-list {
  z-index: 100010;
}

#login-email-wrapper {
  overflow: visible;
}

/* Checkout — controles de quantidade (mobile-safe) */
.checkout-qty-controls {
  display: grid;
  grid-template-columns: 2rem minmax(2.25rem, 1fr) 2rem;
  gap: 0.25rem;
  width: 8.5rem;
  min-width: 8.5rem;
  max-width: 8.5rem;
  height: 2rem;
  flex-shrink: 0;
}

.checkout-qty-controls--locked {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8.5rem;
  min-width: 8.5rem;
  height: 2rem;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.05);
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgb(113 113 122);
  cursor: not-allowed;
  user-select: none;
}

.checkout-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  border-radius: 2px;
  transition: background-color 0.2s, opacity 0.2s;
  flex-shrink: 0;
}

.checkout-qty-btn--minus {
  background: rgb(39 39 42);
  color: #fff;
}

.checkout-qty-btn--minus:hover:not(:disabled) {
  background: rgb(63 63 70);
}

.checkout-qty-btn--minus:disabled {
  opacity: 0.5;
}

.checkout-qty-btn--plus {
  background: hsl(var(--primary));
  box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.2);
}

.checkout-qty-input {
  width: 100%;
  min-width: 0;
  height: 2rem;
  background: rgb(24 24 27);
  border: 1px solid rgb(39 39 42);
  border-radius: 2px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
}

.checkout-qty-input:focus {
  outline: none;
  border-color: rgb(255 255 255 / 0.2);
}

#packages-list {
  min-width: 0;
}

#packages-list > [data-package-id] {
  min-width: 0;
}

/* Termos — tipografia alinhada ao site */
.terms-content .terms-section-title,
.terms-content h4 {
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.05);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.terms-content .terms-paragraph,
.terms-content p {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgb(161 161 170);
}

.terms-content .terms-discord-card {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  padding: 0.875rem;
  background: rgb(255 255 255 / 0.03);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 2px;
  transition: background-color 0.2s, border-color 0.2s;
}

.terms-content .terms-discord-card:hover {
  background: rgb(255 255 255 / 0.06);
  border-color: hsl(var(--primary) / 0.3);
}

.terms-content .terms-callout {
  margin-bottom: 1.5rem;
  padding: 0.875rem;
  background: rgb(255 255 255 / 0.03);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 2px;
}

.terms-content .terms-callout-title {
  margin: 0 0 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgb(212 212 216);
}

.terms-content .terms-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-content .terms-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgb(161 161 170);
}

.terms-content .centralcart-content h1,
.terms-content .centralcart-content h2,
.terms-content .centralcart-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

.terms-content .centralcart-content a {
  color: hsl(var(--primary));
  font-weight: 700;
}

.terms-content .centralcart-content a:hover {
  text-decoration: underline;
}

/* Afiliados — modal de saque no mobile */
#dialog-withdraw-settings .dialog-body,
#dialog-withdraw .dialog-body {
  -webkit-overflow-scrolling: touch;
}

#dialog-withdraw-settings input,
#dialog-withdraw-settings select,
#dialog-withdraw input {
  max-width: 100%;
}

#dialog-withdraw-settings,
#dialog-withdraw {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#dialog-withdraw-settings[data-state="open"],
#dialog-withdraw[data-state="open"] {
  opacity: 1;
  pointer-events: auto;
}

#dialog-withdraw-settings .dialog-inner,
#dialog-withdraw .dialog-inner {
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}

#dialog-withdraw-settings[data-state="open"] .dialog-inner,
#dialog-withdraw[data-state="open"] .dialog-inner {
  transform: translateY(0) scale(1);
}

@media (max-width: 639px) {
  #dialog-withdraw-settings[data-state="open"] .dialog-inner,
  #dialog-withdraw[data-state="open"] .dialog-inner {
    transform: none;
    transition: none;
  }
}

#withdraw-settings-form,
#withdraw-form {
  min-width: 0;
}