/* ============================================================
🔥 FRIALTO — MY ACCOUNT APP (FINAL VERSION CLEAN)
============================================================ */

/* BASE */
body.woocommerce-account{
  background:#f4f5f7;
}

/* CONTAINER */
.fr-account-page{
  max-width:1200px;
  margin:40px auto;
  padding:0 16px;
}

/* ============================================================
🔥 DASHBOARD HERO
============================================================ */

.fr-dashboard-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:24px;
  border-radius:26px;
  background:linear-gradient(135deg,#E4100E,#C30E0C);
  color:#fff;
  box-shadow:0 12px 30px rgba(228,16,14,.18);
  margin-bottom:24px;
}

.fr-hero-left{
  display:flex;
  align-items:center;
  gap:16px;
}

.fr-dashboard-hero h1{
  margin:0;
  font-size:26px;
  font-weight:700;
}

.fr-user-name{
  font-weight:900;
}

.fr-kicker{
  font-size:12px;
  opacity:.7;
  letter-spacing:.08em;
  text-transform:uppercase;
}

/* STATS */
.fr-hero-stats{
  display:flex;
  gap:14px;
}

.fr-stat{
  background:rgba(255,255,255,.12);
  padding:12px 16px;
  border-radius:16px;
  text-align:center;
}

.fr-stat strong{
  display:block;
  font-size:16px;
}

.fr-stat span{
  font-size:12px;
}

/* ============================================================
🔥 CARDS
============================================================ */

.fr-account-cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-bottom:30px;
}

.fr-card{
  background:#fff;
  border-radius:26px;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:6px;
  text-decoration:none;
  color:#111827;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
  border:1px solid rgba(0,0,0,.04);
  transition:.25s;
}

.fr-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,.1);
}

.fr-card-top{
  display:flex;
  justify-content:space-between;
}

.fr-card .icon{
  width:56px;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  background:#fff1f1;
  color:#E4100E;
}

.fr-badge{
  background:#E4100E;
  color:#fff;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
}

.fr-card strong{
  font-size:16px;
  font-weight:800;
}

.fr-card span{
  font-size:13px;
  color:#6b7280;
}

/* ============================================================
🔥 CONTENT BOX
============================================================ */

.fr-account-content{
  background:#fff;
  border-radius:26px;
  padding:26px;
  box-shadow:0 15px 40px rgba(0,0,0,.05);
}

.woocommerce-MyAccount-navigation{
  display:none;
}

/* ============================================================
🔥 ORDERS → CARDS
============================================================ */

.woocommerce table.shop_table{
  border:none!important;
}

.woocommerce table.shop_table thead{
  display:none;
}

.woocommerce table.shop_table tbody{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.woocommerce table.shop_table tr{
  background:#fff;
  padding:18px;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.woocommerce table.shop_table td{
  border:none!important;
  padding:4px 0!important;
}

/* botão */
.woocommerce table.shop_table .button{
  width:100%;
  margin-top:10px;
  border-radius:14px;
  padding:12px;
  background:linear-gradient(135deg,#E4100E,#C30E0C);
  color:#fff;
}

/* ============================================================
🔥 FORM (CORRIGIDO)
============================================================ */

/* INPUTS NORMAIS */
.woocommerce input:not([type="password"]),
.woocommerce select,
.woocommerce textarea{
  border-radius:14px!important;
  border:1px solid #e5e7eb!important;
  padding:14px!important;
  background:#f9fafb;
}

/* SENHA FIX */
.woocommerce .password-input{
  background:#f9fafb !important;
  border-radius:14px !important;
  border:1px solid #e5e7eb !important;
  display:flex;
  align-items:center;
}

.woocommerce .password-input input{
  background:transparent !important;
  border:none !important;
  padding:14px !important;
  width:100%;
}

/* focus */
.woocommerce input:focus{
  border-color:#E4100E!important;
  box-shadow:0 0 0 3px rgba(228,16,14,.1);
}

/* REMOVE FORÇA SENHA (OPCIONAL LIMPO) */
.woocommerce-password-strength,
.woocommerce-password-hint{
  display:none !important;
}

/* ============================================================
🔥 LOGIN BOX
============================================================ */

body.woocommerce-account:not(.logged-in) .woocommerce{
  max-width:480px!important;
  margin:80px auto!important;
  padding:30px!important;
  background:#fff;
  border-radius:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.08);
}

body.woocommerce-account:not(.logged-in) .u-columns{
  display:flex!important;
  flex-direction:column!important;
  gap:20px;
}

/* ============================================================
🔥 MOBILE
============================================================ */

@media(max-width:768px){

  .fr-account-cards{
    grid-template-columns:1fr 1fr;
  }

  .fr-dashboard-hero{
    flex-direction:column;
    align-items:flex-start;
  }

}