/* Space Craft: cantos em pixels e relevo discreto sobre a identidade original. */
.sc-site {
  --sc-pixel-edge: #54336f;
  --sc-pixel-base: #29113f;
  --sc-pixel-shadow: #090313;
}

/* Sombras sem desfoque desenham os degraus sem recortar conteúdo ou foco. */
.sc-site :is(.btn-primary, .btn-secondary, .btn-outline, :where(#support-button)) {
  --sc-button-edge: #68428e;
  --sc-button-base: #28103e;
  --sc-button-light: #e0d0fc24;
  --sc-button-depth: 3px;
  border: 0;
  border-radius: 0;
  background: #29163f;
  box-shadow: inset 1px 1px 0 var(--sc-button-light), inset -1px -1px 0 #10062140,
    0 -2px 0 var(--sc-button-edge), 2px 0 0 var(--sc-button-edge),
    -2px 0 0 var(--sc-button-edge), 0 2px 0 var(--sc-button-base),
    2px 2px 0 var(--sc-button-base), -2px 2px 0 var(--sc-button-base),
    0 var(--sc-button-depth) 0 var(--sc-button-base);
  transition: translate 100ms steps(2, end), background-color 120ms, box-shadow 100ms;
  text-shadow: none;
}
.sc-site .btn-primary {
  --sc-button-edge: #cdaffb;
  --sc-button-base: #6331a3;
  --sc-button-light: #f7f0ffb3;
  background: #cdaffb;
  color: #271042;
  font-weight: 750;
}
.sc-site .sc-header :is(.btn-primary, .btn-secondary, #support-button) { border-radius: 0; }
.sc-site :is(.btn-primary, .btn-secondary, .btn-outline, :where(#support-button)):focus-visible {
  outline: 2px solid #f6f0ff;
  outline-offset: 8px;
}
@media (hover: hover) {
  .sc-site :is(.btn-primary, .btn-secondary, .btn-outline, :where(#support-button)):not(:disabled):not([aria-disabled="true"]):hover {
    background: #39204f;
    translate: 0 -1px;
    --sc-button-depth: 4px;
  }
  .sc-site .btn-primary:not(:disabled):not([aria-disabled="true"]):hover { background: #e0d0fc; }
}
.sc-site :is(.btn-primary, .btn-secondary, .btn-outline, :where(#support-button)):not(:disabled):not([aria-disabled="true"]):active {
  translate: 0 2px;
  --sc-button-depth: 1px;
}
.sc-site :is(.btn-primary, .btn-secondary, .btn-outline, :where(#support-button)):is(:disabled, [aria-disabled="true"]) {
  opacity: .5;
  cursor: not-allowed;
  translate: none;
}

.sc-site :is(.sc-feature-main, .sc-portal-card, .sc-category-card, .sc-account-strip,
  .sc-community-panel, .sc-product-card, .account-credits-dialog, .faq-item) {
  border: 0;
  border-radius: 0;
  box-shadow: inset 1px 1px 0 #e0d0fc24, inset -1px -1px 0 #09031380,
    0 -2px 0 var(--sc-pixel-edge), 2px 0 0 var(--sc-pixel-edge),
    -2px 0 0 var(--sc-pixel-edge), 0 2px 0 var(--sc-pixel-base),
    2px 2px 0 var(--sc-pixel-base), -2px 2px 0 var(--sc-pixel-base),
    0 4px 0 var(--sc-pixel-shadow), 2px 4px 0 var(--sc-pixel-shadow);
}
.sc-site :is(.sc-feature-main, .sc-category-card, .sc-product-card) { background: #211033; }
.sc-site :is(.sc-category-card, .sc-product-card):hover {
  --sc-pixel-edge: #aa73f9;
  --sc-pixel-base: #4c0ea5;
  transform: translateY(-2px);
}
.sc-site .sc-product-card::before { border-radius: 0; }
.sc-site .sc-product-card.ring-yellow-500 { --sc-pixel-edge: #eab308; }
.sc-site .faq-item + .faq-item { margin-top: 18px; }
.sc-feature-grid { gap: 26px; }
.sc-category-grid { gap: 30px; }
.sc-site :is(.sc-catalog .grid, .package-list) { gap: 24px 20px; }
.sc-site .sc-feature-main { padding: 18px; }
.sc-site .sc-portal-card { padding: 28px; }
.sc-portal-card::before { border-radius: 0; border-width: 1px; transform: rotate(0); }

/* Rebaixo interno para as artes; a textura fica somente nos placeholders. */
.sc-site :is(.sc-hero-frame, .sc-category-art, .sc-detail-image, .sc-product-image),
.sc-site .sc-category-card:nth-child(even) .sc-category-art {
  border-radius: 0;
  border: 1px solid;
  border-color: #12071f #49305e #49305e #12071f;
  box-shadow: 0 0 0 1px #090313;
}
.sc-site .sc-placeholder {
  background-color: #27133c;
  background-image: linear-gradient(#cdaffb05 1px, transparent 1px),
    linear-gradient(90deg, #cdaffb05 1px, transparent 1px);
  background-size: 16px 16px;
}
.sc-site .sc-placeholder::before {
  inset: 10px;
  border-radius: 0;
  border: 0;
  background:
    linear-gradient(#aa73f94d, #aa73f94d) left top / 16px 3px no-repeat,
    linear-gradient(#aa73f94d, #aa73f94d) left top / 3px 16px no-repeat,
    linear-gradient(#aa73f94d, #aa73f94d) right bottom / 16px 3px no-repeat,
    linear-gradient(#aa73f94d, #aa73f94d) right bottom / 3px 16px no-repeat;
}
.sc-site .sc-placeholder::after { content: none; }
.sc-site :is(.sc-placeholder-symbol, .sc-portal-icon, .sc-account-emblem, .sc-category-info > span) {
  border-radius: 0;
  border: 0;
  background: #3b2156;
  box-shadow: inset 1px 1px 0 #cdaffb38, inset -1px -1px 0 #14082180,
    0 -2px 0 #69438f, 2px 0 0 #69438f, -2px 0 0 #69438f, 0 4px 0 #140821;
}
.sc-site .sc-universe-badge { border-radius: 0; border-width: 1px; box-shadow: 3px 3px 0 #10062180; }
.sc-site input:not([type=checkbox]):not([type=radio]),
.sc-site select, .sc-site textarea, .sc-site #search-bar {
  border-radius: 0;
  border-width: 1px;
  border-color: #140821 #69438f #69438f #140821;
  box-shadow: inset 1px 1px 0 #09031360;
}
.sc-site :is(.package-wrapper, .sc-checkout) .bg-muted.border {
  border-radius: 0;
  border: 2px solid;
  border-color: #69438f #29113f #29113f #69438f;
  box-shadow: 2px 3px 0 #090313, inset 1px 1px 0 #e0d0fc0d;
}
@media (max-width: 767px) {
  .sc-feature-grid { gap: 24px; }
  .sc-category-grid { gap: 28px; }
  .sc-site .sc-feature-main { padding: 12px; }
  .sc-site .sc-hero-frame { width: 100%; min-width: 0; }
  .sc-site .sc-portal-card { padding: 24px; }
}
/* Categorias primeiro: imagens 20% mais baixas (8:5 passa a 2:1). */
.sc-site .sc-universe-hero { padding-top: 28px; }
.sc-site .sc-universe-intro { padding-bottom: 12px; }
.sc-site .sc-wordmark { width: min(420px, 80%); margin-block: 18px 12px; }
.sc-site .sc-categories { padding-block: 24px 36px; scroll-margin-top: 110px; }
.sc-site .sc-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sc-site .sc-category-top { padding: 13px 16px; }
.sc-site .sc-category-info { padding: 17px; gap: 10px; }
.sc-site .sc-category-info h3 { font-size: 21px; }
.sc-site .sc-category-info > span { width: 30px; height: 30px; flex-shrink: 0; }
.sc-site .sc-category-art,
.sc-site .sc-category-card:nth-child(even) .sc-category-art { aspect-ratio: 2 / 1; max-height: none; }
.sc-site .sc-category-art .sc-placeholder { gap: 8px; }
.sc-site .sc-category-art .sc-placeholder-label { font-size: 12px; }
.sc-feature-section { padding-block: 10px 42px; }

/* Sugestões não dependem de medidas de um carrossel nem de escala nos cartões. */
.sc-related { margin-block: 44px 12px; }
.sc-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.sc-related-item { display: flex; min-width: 0; }
.sc-site .sc-related .sc-product-card { height: auto; flex: 1; min-width: 0; transform: none; }
.sc-related .sc-product-image { flex-shrink: 0; width: 100%; }
.sc-site .sc-related .sc-product-body { height: auto; min-width: 0; padding: 16px; }
.sc-site .sc-related .sc-product-name { overflow-wrap: anywhere; }
.sc-site .sc-related .sc-product-pricing { flex-wrap: wrap; gap: 8px; }
.sc-site .sc-related .sc-product-cta { white-space: normal; }
@media (min-width: 768px) and (max-width: 1050px) {
  .sc-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sc-site .sc-category-info h3 { font-size: 18px; }
}
@media (max-width: 767px) {
  .sc-site .sc-wordmark { width: min(340px, 90%); }
  .sc-site .sc-category-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .sc-site .sc-category-info { padding: 15px 17px; }
  .sc-site .sc-category-info h3 { font-size: 21px; }
  .sc-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .sc-site .sc-related .sc-product-body { padding: 12px; }
  .sc-site .sc-related .sc-product-price { font-size: 19px; }
  .sc-related .sc-section-heading h2 { font-size: 25px; }
}
@media (max-width: 359px) {
  .sc-related-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Navegação: abas de inventário, ícones por categoria e seleção visível. */
.sc-site .sc-header { padding-block: 20px; border-bottom-color: #aa73f926; }
.sc-site .sc-category-nav {
  background: #170b29;
  border-bottom: 1px solid #4d2d6c;
  box-shadow: 0 2px 0 #090313;
}
.sc-site .sc-category-nav-inner {
  gap: 28px;
  overflow: visible;
  padding-block: 16px 18px;
}
.sc-site .sc-nav-all {
  gap: 10px;
  padding: 12px 0;
  color: #b9a3cf;
  font-size: 12px;
  border: 0;
}
.sc-nav-categories { display: flex; flex-wrap: wrap; flex: 1; min-width: 0; gap: 12px; }
.sc-site .sc-nav-category {
  flex: 1 1 160px;
  min-width: 0;
  min-height: 52px;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid;
  border-color: #735094 #38204f #38204f #735094;
  background: #25113b;
  color: #e0d0fc;
  font-size: 13px;
  font-weight: 600;
  box-shadow: inset 2px 2px 0 #e0d0fc0c, 0 3px 0 #090313;
  transition: background-color 120ms, border-color 120ms;
}
.sc-nav-category > span:nth-child(2) { overflow-wrap: anywhere; }
.sc-nav-icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; color: #cdaffb; background: #aa73f914; }
.sc-nav-icon svg { width: 19px; height: 19px; }
.sc-nav-arrow { width: 14px; height: 14px; margin-left: auto; color: #9671b8; flex-shrink: 0; }
.sc-site .sc-nav-category:hover { background: #361b50; border-color: #aa73f9; color: #f6f0ff; }
.sc-site .sc-nav-category[aria-current=page] {
  background: #452268;
  border-color: #cdaffb #8854be #8854be #cdaffb;
  box-shadow: inset 0 -2px 0 #cdaffb, 0 3px 0 #090313;
  color: #fff;
}
.sc-nav-category[aria-current=page] .sc-nav-icon { background: #cdaffb; color: #2b1044; }
.sc-site .sc-nav-category:focus-visible { outline-offset: 3px; }
@media (max-width: 767px) {
  .sc-site .sc-header { padding-block: 14px; }
  .sc-site .sc-category-nav-inner { padding-block: 12px 15px; }
  .sc-site .sc-nav-all { display: none; }
  .sc-nav-categories { gap: 8px; }
  .sc-site .sc-nav-category {
    flex: 1 1 75px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 9px 5px 11px;
    min-height: 68px;
    font-size: 11px;
    text-align: center;
    line-height: 1.35;
  }
  .sc-nav-icon { width: 24px; height: 24px; background: transparent; }
  .sc-nav-icon svg { width: 18px; height: 18px; }
  .sc-site .sc-nav-arrow { display: none; }
}
@media (max-width: 359px) {
  .sc-site .sc-nav-category { font-size: 10px; padding-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-site :is(.btn-primary, .btn-secondary, .btn-outline, :where(#support-button), .sc-category-card, .sc-product-card) {
    transition: none;
    translate: none;
    transform: none;
  }
  .sc-site :is(.btn-primary, .btn-secondary, .btn-outline, :where(#support-button), .sc-category-card, .sc-product-card):is(:hover, :active) {
    translate: none;
    transform: none;
  }
}

/* Checkout: a seleção permanece visível sem depender do ring do Tailwind. */
.sc-site #checkout [data-payment-method] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25px;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid #674582;
  background: #20102f;
  color: #e0d0fc;
  box-shadow: inset 1px 1px 0 #e0d0fc14, 0 2px 0 #090313;
  transition: background-color 120ms, border-color 120ms, box-shadow 120ms;
}
.sc-site #checkout [data-payment-method] > div { min-width: 0; }
.sc-site #checkout [data-payment-method] > div > div:last-child { min-width: 0; }
.sc-site #checkout [data-payment-method] .flex.gap-2 { flex-wrap: wrap; }
.sc-site #checkout [data-payment-method]::after {
  content: '';
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #86649f;
  background: #100621;
  color: #271042;
  font-size: 16px;
  font-weight: 900;
}
.sc-site #checkout [data-payment-method]:hover { background: #321944; border-color: #aa73f9; }
.sc-site #checkout [data-payment-method][data-selected="true"] {
  border-color: #e0d0fc;
  background: #472365;
  color: #fff;
  box-shadow: inset 4px 0 0 #cdaffb, inset 0 1px 0 #ffffff30, 0 3px 0 #180925;
}
.sc-site #checkout [data-payment-method][data-selected="true"]::after {
  content: '✓';
  background: #e0d0fc;
  border-color: #f6f0ff;
}
.sc-site #checkout [data-payment-method]:focus-visible {
  outline: 2px solid #f6f0ff;
  outline-offset: 3px;
}
.sc-site #checkout [data-upsell-add] {
  min-height: 36px;
  padding: 8px 13px;
  margin: 3px 2px 5px;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}
.sc-site #checkout [data-upsell-id] { flex-wrap: wrap; gap: 12px; }
.sc-site #checkout [data-upsell-id] > .flex-1 { flex-basis: 110px; }
.sc-site #checkout [data-upsell-id] .truncate { white-space: normal; overflow-wrap: anywhere; }
.sc-site #checkout [data-upsell-id] [data-controls] { gap: 8px; margin-block: 3px; }
.sc-site #checkout [data-upsell-id] [data-controls] > div { height: 34px; border-radius: 0; border-color: #68428e; }
.sc-site #checkout [data-upsell-id] [data-cart-action] { min-height: 32px; height: 32px; border-radius: 0; }
.sc-site #checkout [data-upsell-id] button[data-cart-action] { min-width: 32px; box-shadow: inset 1px 1px 0 #e0d0fc20; }
.sc-site #checkout [data-upsell-id] button[data-cart-action]:hover { background: #aa73f930; }
.sc-site #checkout [data-upsell-id] button[data-cart-action]:focus-visible { outline: 2px solid #e0d0fc; outline-offset: 2px; }
.sc-site #checkout div:has(> [data-upsell-type="ALTERNATIVE"]) { flex-wrap: wrap; }
.sc-site #checkout div:has(> [data-upsell-type="ALTERNATIVE"]) > div { min-width: 0; flex: 1 1 150px; }
@media (max-width: 479px) {
  .sc-site #checkout [data-upsell-add] { flex: 1 0 calc(100% - 4px); justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-site #checkout [data-payment-method] { transition: none; }
}

/* Faixa de cupons: lavanda, cantos retos e profundidade discreta. */
.sc-site #top-announce.sc-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 20px;
  background: linear-gradient(90deg, #1d0d30, #38204f 50%, #1d0d30);
  border-bottom: 1px solid #9665bf66;
  box-shadow: inset 0 1px 0 #e0d0fc14, inset 0 -3px 0 #10062140;
  color: #e8d9fc;
  text-align: center;
  text-decoration: none;
}
.sc-announcement-icon {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 24px;
  color: #d8baff;
  background: #aa73f91a;
  box-shadow: 0 -1px 0 #aa73f94d, 1px 0 0 #aa73f94d, -1px 0 0 #aa73f94d, 0 2px 0 #100621;
}
.sc-announcement-icon svg { width: 18px; height: 18px; }
.sc-announcement-text { margin: 0; min-width: 0; font-size: 12px; font-weight: 500; line-height: 1.7; letter-spacing: .35px; overflow-wrap: anywhere; }
.sc-site #top-announce .sc-announcement-highlight {
  display: inline;
  padding: 3px 9px;
  background: #cdaffb;
  color: #271042;
  font-weight: 750;
  border-radius: 0;
  box-shadow: 0 -1px 0 #ebdcff, 1px 0 0 #bc97eb, -1px 0 0 #bc97eb, 0 2px 0 #754a9b;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.sc-announcement-arrow { width: 15px; height: 15px; flex-shrink: 0; color: #cdaffb; }
.sc-site #top-announce[href]:hover { background: linear-gradient(90deg, #27123e, #46275f 50%, #27123e); }
.sc-site #top-announce[href]:focus-visible { outline: 2px solid #f6f0ff; outline-offset: -4px; }
@media (max-width: 479px) {
  .sc-site #top-announce.sc-announcement { gap: 10px; padding: 8px 16px; min-height: 42px; }
  .sc-announcement-text { font-size: 11px; letter-spacing: .2px; }
}