/* ===== Sign-in — estilo Amazon-like ===== */
:root{
  --au-bg:#f5f6f6;
  --au-card:#ffffff;
  --au-border:#d5d9d9;
  --au-text:#111;
  --au-muted:#565959;
  --au-link:#007185;
  --au-btn:#ffd814;          /* amarillo */
  --au-btn-hover:#f7ca00;
  --au-focus:#007185;
}

*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif;
  background:var(--au-bg);
  color:var(--au-text);
}

/* Layout principal */
.au-auth{
  background: #ffffff;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:24px 12px 40px;
}

.mz-cart-empty{
  padding:24px 16px 80px;
  text-align:center;
}

.mz-cart-hero{
  margin:16px auto 24px;
  max-width:260px;
}

.mz-cart-hero img{
  width:100%;
  max-width:220px;
  height:auto;
}

.mz-cart-title{
  font-size:22px;
  font-weight:700;
  color:#111;
  margin:0 0 4px;
}

.mz-cart-sub{
  margin:4px 0 8px;
  font-size:14px;
  color:#555;
}

.mz-cart-link{
  display:inline-block;
  margin-bottom:20px;
  font-size:14px;
  color:#007185;
  text-decoration:none;
}

.mz-cart-link:hover{
  text-decoration:underline;
}

.mz-cart-actions{
  max-width:400px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mz-cart-btn{
  display:block;
  width:100%;
  padding:10px 14px;
  border-radius:999px;
  font-size:14px;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
}

/* Botón amarillo */
.mz-cart-btn-primary{
  background:#ffd814;
  border:1px solid #fcd200;
  color:#111;
}

/* Botón blanco borde gris */
.mz-cart-btn-secondary{
  background:#fff;
  border:1px solid #d5d9d9;
  color:#111;
}


/* Logo superior */
.au-logo img{
  display:block;
  height:38px;
  margin:8px auto 16px;
}

/* Card */
.au-card{
  width:100%;
  max-width: 420px;
  background:var(--au-card);
  border:1px solid #ddd;
  border-radius:8px;
  padding:18px 22px 22px;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}

/* Título */
.au-title{
  font-size:22px;
  font-weight:700;
  margin:0 0 12px;
}

/* Formulario */
.au-label{
  display:block;
  font-size:13px;
  margin:8px 0 6px;
  color:#111;
}
.au-input{
  width:100%;
  height:36px;
  border:1px solid #a6a6a6;
  border-radius:4px;
  padding:6px 10px;
  font-size:14px;
  background:#fff;
}
.au-input:focus{
  outline:2px solid var(--au-focus);
  outline-offset:1px;
  border-color:var(--au-focus);
}

/* Botón */
.au-btn{
  width:100%;
  margin-top:14px;
  height:36px;
  border:1px solid #a88734;
  border-radius:8px;
  background:var(--au-btn);
  font-weight:700;
  cursor:pointer;
}
.au-btn:hover{ background:var(--au-btn-hover); }

/* Texto legal + ayuda */
.au-legal{
  font-size:12px;
  color:var(--au-muted);
  margin:12px 0 8px;
  line-height:1.35;
}
.au-legal a,
.au-help a{
  color:var(--au-link);
  text-decoration:none;
}
.au-legal a:hover,
.au-help a:hover{
  text-decoration:underline;
}
.au-help{
  margin:2px 0 0;
  font-size:13px;
}

/* Separador */
.au-sep{
  border:0; height:1px; background:#e7e7e7; margin:16px 0 12px;
}

/* Bloque empresa */
.au-business{ font-size:14px; }
.au-biz-title{ font-weight:700; margin-bottom:6px; }
.au-biz-link{
  color:var(--au-link); text-decoration:none;
}
.au-biz-link:hover{ text-decoration:underline; }

/* Footer fino */
.au-foot{
  width:100%;
  max-width: 420px;
  margin-top:16px;
  text-align:center;
  color:#666;
}
.au-foot-links{
  display:flex; gap:14px; justify-content:center; flex-wrap:wrap;
  margin-bottom:8px;
}
.au-foot-links a{
  color:var(--au-link); text-decoration:none; font-size:12px;
}
.au-foot-links a:hover{ text-decoration:underline; }
.au-copy{ font-size:12px; }


.mz-acc-btn{display:block;width:100%;padding:10px 12px;border-radius:4px;font-size:16px;text-align:center;text-decoration:none;margin-bottom:8px}
.mz-acc-btn-primary{background:#ffd814;border:1px solid #fcd200;color:#111}
.mz-acc-btn-secondary{background:#f3f3f3;border:1px solid #d5d9d9;color:#111}


/* Desktop ancho: centra la card y agranda logo un poco */
@media (min-width: 768px){
  .au-logo img{ height:42px; margin-top:16px; }
  .au-card{ padding:22px 26px 24px; }
}

/* ===== Country / Region center card ===== */

.cp-page{
  min-height: 100vh;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:24px 12px 40px;
  background:var(--au-bg);
}

.cp-card{
  width:100%;
  max-width:480px;
  background:#fff;
  border:1px solid #d5d9d9;
  border-radius:8px;
  padding:18px 20px 20px;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}

/* títulos y textos */
.cp-title{
  font-size:18px;
  font-weight:700;
  margin:0 0 8px;
  color:#111;
}
.cp-subtitle{
  font-size:14px;
  color:#111;
  margin:0 0 14px;
}
.cp-label{
  display:block;
  font-size:13px;
  color:#111;
  margin:8px 0 4px;
}

/* select */
.cp-select-wrap{
  position:relative;
}
.cp-select{
  width:100%;
  padding:8px 32px 8px 10px;
  border-radius:4px;
  border:1px solid #a6a6a6;
  font-size:14px;
  background:#f0f2f2;
  appearance:none;
}
.cp-select:focus{
  outline:2px solid var(--au-focus);
  outline-offset:1px;
  border-color:var(--au-focus);
}
.cp-select-wrap::after{
  content:"⌵";
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  font-size:12px;
  color:#555;
  pointer-events:none;
}

/* notas */
.cp-note{
  font-size:13px;
  color:#565959;
  line-height:1.4;
  margin:10px 0 0;
}

/* botones */
.cp-actions{
  margin-top:18px;
  display:flex;
  justify-content:center;
  gap:10px;
}
.cp-btn{
  min-width:120px;
  height:32px;
  padding:0 14px;
  border-radius:8px;
  font-size:13px;
  cursor:pointer;
  white-space:nowrap;
}
.cp-btn-secondary{
  background:#e7e9ec;
  border:1px solid #d5d9d9;
  color:#111;
}
.cp-btn-secondary:hover{
  background:#dcdfe3;
}
.cp-btn-primary{
  background:var(--au-btn);
  border:1px solid #a88734;
  color:#111;
  font-weight:700;
}
.cp-btn-primary:hover{
  background:var(--au-btn-hover);
}

/* responsive: móvil apila los botones */
@media (max-width:480px){
  .cp-page{
    align-items:flex-start;
    padding-top:16px;
  }
  .cp-card{
    border-radius:0;
    border-left:0;
    border-right:0;
  }
  .cp-actions{
    flex-direction:column-reverse;
    align-items:stretch;
  }
  .cp-btn{
    width:100%;
  }
}

/* ======= CENTRO PÁGINA COUNTRY ======= */
.cp-page{
  min-height:calc(100vh - 120px);
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:24px 12px 40px;
  background:#f5f6f6;
}
.cp-card{
  width:100%;
  max-width:480px;
  background:#fff;
  border:1px solid #d5d9d9;
  border-radius:8px;
  padding:20px 18px 22px;
  box-shadow:0 2px 4px rgba(0,0,0,.06);
}
.cp-title{
  font-size:18px;
  margin:0 0 4px;
  color:#111;
}
.cp-subtitle{
  font-size:13px;
  color:#555;
  margin:0 0 16px;
}
.cp-form{ margin-top:4px; }

.cp-label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
  color:#111;
}

/* “select” fake */
.cp-trigger{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid #888c8c;
  border-radius:4px;
  padding:8px 10px;
  background:#f0f2f2;
  cursor:pointer;
}
.cp-trigger:hover{ background:#e3e6e6; }
.cp-flag img{
  width:18px;
  height:12px;
  display:block;
}
.cp-trigger-text{
  flex:1;
  margin:0 8px;
  text-align:left;
  font-size:13px;
  color:#111;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.cp-caret{
  font-size:12px;
  color:#555;
}

/* textos */
.cp-note{
  margin:14px 0 12px;
  font-size:12px;
  color:#111;
}
.cp-section-title{
  font-size:13px;
  margin:10px 0 4px;
  color:#111;
}
.cp-text{
  font-size:12px;
  color:#555;
  margin:0 0 18px;
}

/* botones inferiores */
.cp-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}
.cp-btn{
  min-width:120px;
  padding:8px 14px;
  font-size:13px;
  border-radius:8px;
  border:1px solid transparent;
  cursor:pointer;
}
.cp-btn-primary{
  background:#ffd814;
  border-color:#fcd200;
  color:#111;
}
.cp-btn-primary:hover{
  background:#f7ca00;
}
.cp-btn-secondary{
  background:#fff;
  border-color:#d5d9d9;
  color:#111;
}
.cp-btn-secondary:hover{
  background:#f3f3f3;
}

/* ======= PANEL FLOTANTE DE SITIOS ======= */
.cp-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.4);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:1000;
}
.cp-backdrop.show{
  opacity:1;
  pointer-events:auto;
}
.cp-sheet{
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%) scale(.96);
  width:90%;
  max-width:420px;
  max-height:80vh;
  background:#fff;
  border-radius:8px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  display:flex;
  flex-direction:column;
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  z-index:1001;
}
.cp-sheet.show{
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%,-50%) scale(1);
}
.cp-sheet-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 14px;
  border-bottom:1px solid #e3e6e6;
}
.cp-sheet-title{
  font-size:14px;
  font-weight:700;
}
.cp-sheet-close{
  background:transparent;
  border:0;
  font-size:18px;
  cursor:pointer;
}
.cp-sheet-body{
  padding:8px 0;
  overflow-y:auto;
}

/* filas de país */
.cp-site-row{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border:0;
  background:#fff;
  cursor:pointer;
}
.cp-site-row:hover{
  background:#f3f3f3;
}
.cp-site-row.is-active{
  background:#edfdff;
}
.cp-site-row .cp-flag img{
  width:18px;
  height:12px;
}
.cp-site-text{
  flex:1;
  text-align:left;
  font-size:13px;
  color:#111;
}

/* responsive: centrar en desktop también */
@media (min-width:768px){
  .cp-page{
    align-items:flex-start;
  }
}
