/* ====== FIX: footer colado no fundo ====== */
html, body { height: 100%; }

body.home-body{
  min-height: 100vh;
}

.page-wrapper{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* o seu main da minha conta precisa “esticar” */
main.content{
  flex: 1 0 auto;
}

@media (max-width: 1100px) {
  .footer--trivago .footer2-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer--trivago .footer2-top {
    align-items: flex-start;
  }

  .footer--trivago .footer2-grid {
    grid-template-columns: 1fr;
  }
}


/* Página Minha Conta — baseado no mock do print */

main.content {
  background: #FAEEDF; /* bege claro do print */
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 26px;
  padding: 26px;
  box-sizing: border-box;
  width: 100%;
  align-items: start;
}

.account-sidebar,
.account-main {
  min-width: 0;
}

.account-main {
  width: 100%;
}

/* SIDEBAR */
.account-sidebar {
  background: rgba(255,255,255,0.35);
  border-radius: 14px;
  padding: 18px;
  box-sizing: border-box;
}

.account-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #3a3029;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 10px;
  border-radius: 10px;
}

.account-back:hover {
  background: rgba(255,255,255,0.45);
}

.account-back__icon {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(255,255,255,0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.account-nav {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #3a3029;
  opacity: 0.85;
}

.account-nav__item:hover {
  background: rgba(255,255,255,0.45);
  opacity: 1;
}

.account-nav__item.is-active {
  background: rgba(255,255,255,0.70);
  opacity: 1;
  font-weight: 700;
}

.account-nav__ico {
  width: 26px;
  height: 26px;
  border-radius: 10px;
  background: rgba(255,255,255,0.65);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* MAIN */
.account-main {
  background: transparent;
  border-radius: 14px;
  padding: 8px 6px;
}

.account-header {
  margin-bottom: 10px;
}

.account-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  color: #2b231f;
}

.account-subtitle {
  margin: 6px 0 0;
  color: #6a5b52;
  font-size: 13.5px;
}

.account-card {
  margin-top: 14px;
  background: rgba(255,255,255,0.35);
  border-radius: 14px;
  padding: 8px 0;
  overflow: hidden;
}

.account-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.account-row__label {
  font-size: 12.5px;
  color: #6a5b52;
  margin-bottom: 4px;
}

.account-row__value {
  font-size: 14.5px;
  color: #2b231f;
  font-weight: 600;
}

.account-row__chev {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3a3029;
  transition: transform .18s ease;
}

.account-row[aria-expanded="true"] .account-row__chev {
  transform: rotate(180deg);
}

.account-divider {
  height: 1px;
  background: rgba(58, 48, 41, 0.15);
  margin: 0 16px;
}

/* Painel expansível */
.account-panel {
  padding: 0 16px 16px 16px;
}

.account-form {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.account-field {
  display: grid;
  gap: 6px;
}

.account-field__label {
  font-size: 12px;
  color: #6a5b52;
}

.account-input {
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(58, 48, 41, 0.18);
  background: rgba(255,255,255,0.6);
  padding: 0 12px;
  outline: none;
  color: #2b231f;
}

.account-input:focus {
  border-color: rgba(254,93,3,0.55);
  box-shadow: 0 0 0 3px rgba(254,93,3,0.18);
}

.account-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Botões compatíveis com seu base.css (se já existir) */
.btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(58, 48, 41, 0.18);
  cursor: pointer;
  font-weight: 700;
}

.btn--primary {
  background: #fe5d03;
  border-color: #fe5d03;
  color: #fff;
}

.btn--ghost {
  background: rgba(255,255,255,0.55);
  color: #2b231f;
}

/* Responsivo */
@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .account-sidebar {
    padding: 14px;
  }
}

.btn--danger{
  background: #c62b2b;
  border-color: #c62b2b;
  color: #fff;
}

.btn--danger:hover{
  filter: brightness(1.06);
}

.btn--danger:active{
  transform: translateY(1px);
}

.mc-favs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0 4px;
}

.mc-fav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(58, 48, 41, 0.1);
  transition: box-shadow 0.15s, background 0.15s;
}

.mc-fav-item:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(58, 48, 41, 0.1);
}

.mc-fav-media {
  flex-shrink: 0;
  width: 72px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(58,48,41,0.06);
  border: 1px solid rgba(58, 48, 41, 0.1);
}

.mc-fav-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mc-fav-body {
  flex: 1;
  min-width: 0;
}

.mc-fav-title {
  font-weight: 800;
  color: #2b231f;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-fav-sub {
  color: #8a7368;
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-fav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mc-fav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}

.mc-fav-btn--map {
  background: rgba(58, 48, 41, 0.07);
  color: #3a3029;
}

.mc-fav-btn--map:hover {
  background: rgba(58, 48, 41, 0.13);
}

.mc-fav-btn--remove {
  background: transparent;
  color: #b08070;
  padding: 6px 8px;
}

.mc-fav-btn--remove:hover {
  background: rgba(210, 80, 60, 0.09);
  color: #c0392b;
}

@media (max-width: 520px) {
  .mc-fav-item {
    flex-wrap: wrap;
    gap: 10px;
  }

  .mc-fav-body {
    flex: 1 1 calc(100% - 66px);
  }

  .mc-fav-actions {
    flex: 0 0 100%;
    justify-content: flex-end;
    padding-top: 4px;
    border-top: 1px solid rgba(58, 48, 41, 0.07);
  }
}

.help-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.help-box{
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(58,48,41,0.12);
  border-radius: 14px;
  padding: 12px;
}

.help-box__title{
  font-weight: 900;
  margin-bottom: 8px;
  color: #2b231f;
}

.help-list{
  margin: 0;
  padding-left: 16px;
  color: #6a5b52;
  font-size: 13px;
}

.help-links{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.help-link{
  display: inline-flex;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(58,48,41,0.12);
  text-decoration: none;
  color: #3a3029;
  font-weight: 800;
  font-size: 13px;
}

.help-link:hover{ filter: brightness(1.03); }

@media (max-width: 900px){
  .help-grid{ grid-template-columns: 1fr; }
}

/* =========================================
   HOVER — ITENS DO DROPDOWN DE PERFIL
========================================= */

.header-dropdown .dropdown-item {
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Hover e foco (mouse + teclado) */
.header-dropdown .dropdown-item:hover,
.header-dropdown .dropdown-item:focus-visible {
  background-color: #faeedf;  /* tom claro da identidade */
  color: #002ed6;              /* laranja da marca */
}

/* Remove aparência padrão de botão */
.header-dropdown button.dropdown-item {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

/* =========================
   SIDEBAR / BOTÃO MENU
========================= */

/* No desktop, a sidebar fica visível e o botão menu fica oculto */
@media (min-width: 901px) {
  .account-sidebar {
    display: block !important;
  }
  .account-mobilebar {
    display: none !important;
  }
}

/* No mobile, a sidebar fica oculta (será aberta via drawer) e o botão menu fica visível */
@media (max-width: 900px) {
  .account-sidebar {
    display: none;
  }
  .account-mobilebar {
    display: flex; /* ou block, conforme desejar */
    justify-content: flex-start;
    margin-bottom: 14px;
  }
  .account-menu-btn {
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(58, 48, 41, 0.18);
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    font-weight: 700;
    color: #2b231f;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
}

/* Ajustes gerais para o main (já existentes, mantidos) */
.account-main {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.account-sidebar,
.account-main {
  min-width: 0;
}

.account-sidebar .account-card,
.account-main .account-card {
  width: 100%;
}

.site-header,
.header,
.header--results,
.header--home {
  background: #faeedf;
}

body.minha-conta-page .site-header,
body.minha-conta-page .header,
body.minha-conta-page .header--results,
body.minha-conta-page .header--home {
  background: #faeedf;
}

/* ===== Minha Conta: header ocupa a faixa inteira ===== */
body.home-body,
.page-wrapper,
main.content {
  background: #FAEEDF;
}

header.header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 32px;
  box-sizing: border-box;
  background: #FAEEDF;
}

header.header .header-left,
header.header .header-right {
  position: relative;
  z-index: 2;
}

@media (max-width: 820px) {
  header.header {
    padding: 16px 18px;
  }
}

/* ===== Minha Conta: country/language desabilitados ===== */
body.country-ui-off #lang-button,
body.country-ui-off #country-btn,
body.country-ui-off .footer2-country-btn {
  pointer-events: none !important;
  cursor: not-allowed !important;
  opacity: 0.5 !important;
  filter: grayscale(1) !important;
  user-select: none;
}

body.country-ui-off #language-dropdown,
body.country-ui-off #country-menu,
body.country-ui-off .footer2-country-menu {
  display: none !important;
}