/* ══════════════════════════════════════════════════════════════════════
   URSO — modais: kit (ukcm) + avise-me (uam)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Kit modal "Monte o seu kit" ───────────────────────────────────── */
.ukcm {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  visibility: hidden;
  pointer-events: none;
}
.ukcm.is-open {
  visibility: visible;
  pointer-events: auto;
}
.ukcm__fundo {
  position: fixed;
  inset: 0;
  background: rgba(5, 4, 3, 0.72);
  opacity: 0;
  transition: opacity .25s ease;
}
.ukcm.is-open .ukcm__fundo { opacity: 1; }

.ukcm__painel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(.97);
  width: min(560px, 94vw);
  max-height: 90vh;
  background: #090707;
  border: 1px solid #262424;
  border-radius: 20px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, opacity .25s ease;
  opacity: 0;
}
.ukcm.is-open .ukcm__painel {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.ukcm__x {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  background: none;
  border: 0;
}
.ukcm__x:hover { color: #f6c500; }

.ukcm__rolagem {
  overflow-y: auto;
  padding: 30px 26px 26px;
  scrollbar-width: thin;
  scrollbar-color: #3f3b37 transparent;
}
.ukcm__olho {
  font-family: var(--font-subtitle-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.64px;
  text-transform: uppercase;
  color: #f6c500;
  margin-bottom: 6px;
}
.ukcm__titulo {
  font-family: var(--font-heading-family);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.ukcm__sub {
  font-family: var(--font-body-family);
  font-size: 13px;
  color: #9c9488;
  margin-bottom: 18px;
}

.ukcm__itens { display: flex; flex-direction: column; gap: 12px; }
.ukcm__item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #1a1715;
  border-radius: 14px;
  padding: 12px 14px;
}
.ukcm__cimg {
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 10px;
  flex: 0 0 auto;
  background: #12100e;
}
.ukcm__cinfo { flex: 1 1 auto; min-width: 0; }
.ukcm__cnome {
  font-family: var(--font-body-family);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.ukcm__sel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 12px;
  background: #262424;
  border: 1px solid #3f3b37;
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.ukcm__sel:hover { border-color: #f6c500; }
.ukcm__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  background: #3f3b37;
  flex: 0 0 auto;
}
.ukcm__chev {
  margin-left: auto;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #9c9488;
  transition: transform .2s ease;
}
.ukcm__sel[aria-expanded="true"] .ukcm__chev { transform: rotate(180deg); }
.ukcm__opts {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  background: #1a1715;
  border: 1px solid #3f3b37;
  border-radius: 10px;
  overflow: hidden;
  display: none;
}
.ukcm__sel[aria-expanded="true"] + .ukcm__opts,
.ukcm__opts.is-open { display: block; }
.ukcm__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  color: #fff;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
}
.ukcm__opt:hover { background: #262424; }
.ukcm__opt.is-selected { color: #f6c500; }

/* Preço + parcelamento */
.ukcm__precobox { margin: 20px 0 4px; }
.ukcm__prow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ukcm__preco {
  font-family: var(--font-body-family);
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -.5px;
}
.ukcm__off {
  font-family: var(--font-body-family);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #090707;
  background: #f6c500;
  border-radius: 999px;
  padding: 4px 10px;
}
.ukcm__cap {
  font-family: var(--font-body-family);
  font-size: 15px;
  color: #6b6358;
  text-decoration: line-through;
}
.ukcm__parc {
  font-family: var(--font-body-family);
  font-size: 13px;
  color: #f6c500;
  margin-top: 4px;
}

/* Rodapé do modal */
.ukcm__rodape {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.ukcm__qtd {
  display: inline-flex;
  align-items: center;
  border: 1px solid #3f3b37;
  border-radius: 999px;
  height: 48px;
  overflow: hidden;
  flex: 0 0 auto;
}
.ukcm__qbtn {
  width: 40px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  background: none;
  border: 0;
  cursor: pointer;
}
.ukcm__qbtn:hover { color: #f6c500; }
.ukcm__qin {
  width: 42px;
  height: 48px;
  text-align: center;
  border: 0;
  background: none;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.ukcm__cta {
  flex: 1 1 auto;
  height: 48px;
  border-radius: 999px;
  background: #f6c500;
  color: #090707;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
}
.ukcm__cta:hover { filter: brightness(.92); }
.ukcm__cta[disabled] { opacity: .5; cursor: not-allowed; }

.ukcm__esgotado {
  font-family: var(--font-body-family);
  font-size: 13px;
  color: #ff5a4a;
  margin-top: 10px;
}
.ukcm__link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-body-family);
  font-size: 12px;
  color: #9c9488;
  text-decoration: underline;
}
.ukcm__link:hover { color: #f6c500; }

/* ── Avise-me (uam) ────────────────────────────────────────────────── */
.uam-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000002;
  background: rgba(5, 4, 3, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.uam-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.uam-box {
  position: relative;
  width: min(420px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #1a1715;
  border: 1px solid #262424;
  border-radius: 16px;
  padding: 30px 26px 26px;
  color: #ffffff;
}
.uam-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9c9488;
  font-size: 22px;
  background: none;
  border: 0;
  cursor: pointer;
}
.uam-close:hover { color: #fff; }
.uam-title {
  font-family: var(--font-heading-family);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: .4px;
  margin-bottom: 8px;
  padding-right: 28px;
}
.uam-subtitle {
  font-family: var(--font-body-family);
  font-size: 13px;
  color: #9c9488;
  line-height: 1.5;
  margin-bottom: 16px;
}
.uam-product {
  font-family: var(--font-body-family);
  font-size: 12px;
  font-weight: 700;
  color: #f6c500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.uam-field { margin-bottom: 12px; }
.uam-field label {
  display: block;
  font-family: var(--font-body-family);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9c9488;
  margin-bottom: 6px;
}
.uam-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #3f3b37;
  background: #090707;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}
.uam-field input::placeholder { color: #6b6358; }
.uam-field input:focus { border-color: #f6c500; }
.uam-submit {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  background: #f6c500;
  color: #090707;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .8px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 6px;
}
.uam-submit:hover { filter: brightness(.92); }
.uam-error {
  font-family: var(--font-body-family);
  font-size: 12px;
  color: #ff5a4a;
  margin-top: 8px;
  min-height: 1em;
}

/* Estado de sucesso */
.uam-ok { text-align: center; padding: 10px 0 4px; }
.uam-ok__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #f6c500;
  color: #090707;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
}
.uam-ok__title {
  font-family: var(--font-heading-family);
  font-size: 22px;
  margin-bottom: 6px;
}
.uam-ok__text {
  font-family: var(--font-body-family);
  font-size: 13px;
  color: #9c9488;
  line-height: 1.5;
}

/* ── Botão avise-me (reutilizado) ──────────────────────────────────── */
.urso-avise-open { cursor: pointer; }

/* ═══ Checkout / Pagamento PIX (uco) ═══════════════════════════════════ */
.uco-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.uco-modal.is-open { display: flex; }
.uco-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,4,3,.75);
}
.uco-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  max-height: 92vh;
  overflow: auto;
  background: #1a1715;
  border: 1px solid rgba(246,197,0,.3);
  border-radius: 16px;
  padding: 26px 24px;
  color: #fff;
}
.uco-x {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #9c9488;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.uco-title {
  font-family: var(--font-heading-family);
  font-size: 22px;
  margin: 0 0 4px;
}
.uco-sub {
  font-family: var(--font-body-family);
  font-size: 13px;
  color: #9c9488;
  margin: 0 0 18px;
}
.uco-field { margin-bottom: 12px; }
.uco-field label {
  display: block;
  font-family: var(--font-body-family);
  font-size: 12px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #9c9488;
  margin-bottom: 5px;
}
.uco-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: #252525;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body-family);
  font-size: 14px;
}
.uco-field input:focus {
  outline: none;
  border-color: #f6c500;
}
.uco-error {
  font-family: var(--font-body-family);
  font-size: 13px;
  color: #ff5a4a;
  min-height: 1em;
  margin: 2px 0 8px;
}
.uco-submit {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  border: none;
  border-radius: 999px;
  background: #f6c500;
  color: #090707;
  font-family: var(--font-body-family);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
}
.uco-submit:disabled { opacity: .6; cursor: not-allowed; }

/* PIX gerado */
.uco-pix { text-align: center; }
.uco-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.uco-qr__fallback { color: #090707; font-size: 13px; padding: 8px; }
.uco-copy {
  display: inline-block;
  margin-bottom: 8px;
  padding: 10px 20px;
  border: 1px solid #f6c500;
  border-radius: 999px;
  background: transparent;
  color: #f6c500;
  font-family: var(--font-body-family);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
}
.uco-code {
  width: 100%;
  height: 72px;
  resize: none;
  background: #252525;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #c4bdb1;
  font-size: 11px;
  padding: 10px;
  font-family: monospace;
  word-break: break-all;
}
.uco-msg {
  font-family: var(--font-body-family);
  font-size: 13px;
  color: #f6c500;
  margin: 12px 0 4px;
  min-height: 1em;
}
.uco-status {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 24px;
  border: none;
  border-radius: 999px;
  background: #090707;
  color: #f6c500;
  font-family: var(--font-body-family);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
}

@media screen and (max-width: 480px) {
  .ukcm__painel { width: 96vw; }
  .ukcm__cimg { width: 84px; height: 84px; }
  .ukcm__preco { font-size: 24px; }
}

/* ═══════════════ Conta do cliente ═══════════════ */
.uc-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 16px 16px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(3px);
}
.uc-overlay.is-open { display: flex; }

.uc-box {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 30px 26px 8px;
  border: 1px solid rgba(246, 197, 0, .18);
  border-radius: 14px;
  background: #14110e;
  color: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}

.uc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.uc-close:hover { border-color: #f6c500; color: #f6c500; }

.uc-title {
  margin: 0 40px 20px 0;
  font-size: 21px;
  line-height: 1.25;
}

.uc-sub {
  margin: -10px 0 18px;
  font-size: 14px;
  color: var(--color-urso-muted, #9c9488);
}
.uc-sub strong { color: #fff; }

.uc-campo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  background: #252525;
}
.uc-campo:focus-within { border-color: #f6c500; }

.uc-campo input {
  flex: 1;
  min-width: 0;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.uc-campo input::placeholder { color: rgba(255, 255, 255, .42); }

#conta-codigo {
  letter-spacing: .5em;
  font-weight: 700;
}

.uc-seta {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease;
}
.uc-seta:hover { background: #f6c500; color: #0d0b09; }
.uc-seta:disabled { opacity: .45; cursor: default; }

.uc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 4px;
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--color-urso-cream, #c4bdb1);
  cursor: pointer;
}
.uc-check input { margin-top: 2px; accent-color: #f6c500; }

.uc-voltar {
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-urso-muted, #9c9488);
  font-family: inherit;
  font-size: 13.5px;
  text-decoration: underline;
  cursor: pointer;
}
.uc-voltar:hover { color: #f6c500; }

.uc-erro {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(220, 60, 60, .12);
  color: #ff8b8b;
  font-size: 13.5px;
}

.uc-links {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.uc-links li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.uc-links a {
  display: block;
  padding: 15px 2px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}
.uc-links a:hover { color: #f6c500; }

.header__account.is-logado { color: #f6c500; }

@media (max-width: 480px) {
  .uc-overlay { padding: 0; align-items: stretch; }
  .uc-box { max-width: none; border-radius: 0; border: 0; padding-top: 56px; }
}
