:root{
  --bg:#FFFDFA;
  --text:#111;
  --muted:#6b7280;
  --terra:#FFFDFA;
  --granate:#8C1F2D;
  --dorado:#C4962A;
  --btn:#8C1F2D;
  --btnText:#fff;
  --border:#ddd;
  --softBorder:#e6e7eb;
  --shadow: 0 10px 30px rgba(0,0,0,0.10);
}

html,body{
  height:100%;
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ===== Header ===== */
.topbar{
  height:82px;
  background:var(--bg);
  color:#8C1F2D;
  display:flex;
  align-items:center;
  padding:0 16px;
  box-sizing:border-box;
  border:none;
  border-bottom:none !important;
  position:relative;
  z-index:20;
  box-shadow:
    0 1px 0 rgba(140,31,45,0.18),
    0 8px 22px rgba(0,0,0,0.055);
}

.topbarInner{
  width:min(1120px,100%);
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:12px;
  position:relative;
  justify-content:center;
}

.leftGroup{
  position:absolute;
  left:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
}

.menuBtn{
  appearance:none;
  border:none;
  background:transparent;
  padding:0;
  margin:0;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#8C1F2D;
}

.menuBtn svg{
  width:26px;
  height:26px;
  display:block;
}

.menuBtn svg *{
  stroke-width:1.8;
}

.brand{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  text-decoration:none;
  color:#8C1F2D;
  flex:0 0 auto;
}

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600&display=swap');

.brandText{
  margin-top:0;
  color:#8C1F2D;
  font-family:'Raleway','Montserrat',system-ui,sans-serif;
  font-size:43px;
  font-weight:600;
  letter-spacing:0.35em;
  line-height:1;
  text-transform:uppercase;
}

.miniSearch{
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid rgba(255,255,255,0.30);
  background:rgba(255,255,255,0.10);
  border-radius:999px;
  padding:5px 10px;
  min-width:280px;
  max-width:460px;
  margin-left:34px;
  flex:1 1 auto;
}

.miniSearch input{
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font-size:13.5px;
  width:100%;
}

.miniSearch input::placeholder{
  color:rgba(255,255,255,0.80);
}

.miniSearch button{
  border:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
}

.miniIcon{
  width:20px;
  height:20px;
}

.rightGroup{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
  position:relative;
  z-index:1;
  margin-right:20px;
}

.navActionLink{
  color:#8A1F2D;
  text-decoration:none;
  font-size:14px;
  font-weight:400;
  padding:6px 8px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.navActionLink:hover{
  background:rgba(255,255,255,0.14);
}

.navActionIcon{
  color:#8C1F2D;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  line-height:1;
}

.navActionIconSvg{
  width:28px;
  min-width:28px;
  height:28px;
  margin-top:0;
}

.navActionIconSvg svg{
  width:28px;
  height:28px;
  display:block;
}

.navActionIconSvg svg *{
  stroke-width:1.7;
}

.navActionText{
  display:none;
  line-height:1;
  color:#8A1F2D;
}

.navUserArea{
  display:flex;
  align-items:center;
  gap:8px;
}

.navUserBtn,
.navLogoutBtn{
  appearance:none;
  border:0;
  background:transparent;
  color:#8A1F2D;
  cursor:pointer;
  font-size:14px;
  font-weight:400;
  padding:6px 8px;
  border-radius:999px;
}

.navUserBtn:hover,
.navLogoutBtn:hover{
  background:rgba(255,255,255,0.14);
}

.navUserBtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.navAvatar{
  width:28px;
  height:28px;
  border-radius:999px;
  background:transparent;
  border:0;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:800;
  line-height:1;
  margin-top:0;
}

.navAvatarSvg{
  width:28px;
  height:28px;
  background:transparent;
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.navAvatarSvg svg{
  width:28px;
  height:28px;
  display:block;
}

.navAvatarSvg svg *{
  stroke-width:1.7;
}

.navUserLabel,
#navUserLabel,
#navLogoutBtn{
  display:none !important;
}

@media (max-width:720px){
  .topbar{
    height:96px;
    padding:0 14px;
  }

  .topbarInner{
    width:100%;
  }

  .brandText{
    margin-top:0;
    font-size:32px;
    letter-spacing:.24em;
  }

  .rightGroup{
    transform:translateX(-20px);
  }

  .navActionLink,
  .navUserBtn,
  .navLogoutBtn{
    padding:6px 0;
  }

  .navActionIconSvg,
  .navActionIconSvg svg,
  .navAvatar,
  .navAvatarSvg,
  .navAvatarSvg svg{
    width:22px;
    min-width:22px;
    height:22px;
  }

  .navActionIconSvg,
  .navAvatar{
    margin-top:0;
  }

  .navActionIconSvg svg *,
  .navAvatarSvg svg *{
    stroke-width:1.45;
  }
}

@media (max-width:420px){
  .topbar{
    height:94px;
  }

  .brandText{
    font-size:30px;
    letter-spacing:.22em;
  }
}

/* ===== Footer ===== */
.footer{
  padding:12px 12px;
  border-top:1px solid #f0f1f3;
  color:var(--muted);
  font-size:11.5px;
  display:flex;
  justify-content:center;
}

.footerInner{
  width:min(1120px,100%);
  display:flex;
  flex-direction:column;
  gap:4px;
  align-items:center;
  text-align:center;
}

.footerLine2{
  display:flex;
  gap:8px;
  flex-wrap:nowrap;
  justify-content:center;
  align-items:center;
  white-space:nowrap;
}

.footerLine2 a{
  color:inherit;
  text-decoration:none;
}

.footerLine2 a:hover{
  text-decoration:underline;
}

.footerSep{
  opacity:.6;
}

/* ===== Auth modal ===== */
.overlay{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.45);
  padding:24px;
  z-index:9999;
}

.overlay.open{
  display:flex;
}

.modal{
  width:min(760px,100%);
  background:#fff;
  border-radius:16px;
  padding:28px;
  box-shadow:var(--shadow);
  max-height:86vh;
  overflow:auto;
  position:relative;
}

.close{
  position:absolute;
  top:14px;
  right:14px;
  background:transparent;
  border:none;
  font-size:26px;
  cursor:pointer;
}

.bh-brand{
  text-align:center;
  opacity:.8;
  margin-bottom:14px;
}

.bh-title{
  text-align:center;
  font-size:22px;
  margin:0 0 10px;
}

.bh-subtitle{
  text-align:center;
  margin:0 0 18px;
  opacity:.8;
}

.bh-actions{
  width:min(380px,100%);
  margin:0 auto;
}

.bh-btn{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid #d0d0d0;
  background:#fff;
  margin-top:10px;
  font-size:14px;
  cursor:pointer;
  display:flex;
  justify-content:center;
  gap:10px;
}

.bh-primary{
  background:#1f2937;
  color:#fff;
  border:none;
}

.bh-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0 6px;
  font-size:13px;
}

.bh-divider::before,
.bh-divider::after{
  content:"";
  height:1px;
  background:#e5e5e5;
  flex:1;
}

.bh-input{
  width:100%;
  padding:12px;
  border:1px solid #d0d0d0;
  border-radius:10px;
  margin-top:10px;
  font-size:14px;
}

.bh-msg{
  margin-top:14px;
  font-size:13px;
  text-align:center;
}

.bh-hidden{
  display:none !important;
}

.bh-probox{
  margin-top:22px;
  font-size:13px;
  opacity:.9;
  text-align:center;
}

.bh-proline{
  height:1px;
  background:#eee;
  margin-bottom:14px;
}

.bh-linkbtn{
  background:none;
  border:none;
  padding:0;
  font-size:13px;
  text-decoration:underline;
  cursor:pointer;
}

.gBtn{
  border:1px solid #dadce0;
  font-weight:600;
}

.gIcon{
  width:18px;
  height:18px;
}

@media (max-width:520px){
  .modal{
    padding:18px;
    border-radius:14px;
    max-height:92vh;
  }

  .footer{
    padding:10px 8px;
    font-size:9px;
  }

  .footerInner{
    width:100%;
  }

  .footerLine2{
    gap:4px;
    flex-wrap:nowrap;
    white-space:nowrap;
  }

  .footerSep{
    opacity:.45;
  }

  .navUserLabel{
    display:none;
  }
}


/* ===== Ajustes globales solicitados ===== */
#navFavoritos{
  display:none !important;
}

#bhHeader .topbar,
.topbar{
  background:var(--bg) !important;
  border-bottom:none !important;
}

/* ===== HOMYO HEADER FINAL COMMON SETTINGS ===== */
:root{
  --headerH:107px;
}

#bhHeader .topbar,
.topbar{
  height:107px;
  border:none;
  border-bottom:none !important;
  position:relative;
  z-index:20;
  box-shadow:
    0 1px 0 rgba(140,31,45,0.18),
    0 8px 22px rgba(0,0,0,0.055);
}

#bhHeader .brandText,
.brandText,
#bhHeader .navActionIconSvg,
.navActionIconSvg,
#bhHeader .navAvatar,
.navAvatar{
  margin-top:0 !important;
}

@media (max-width:720px){
  :root{
    --headerH:96px;
  }

  #bhHeader .topbar,
  .topbar{
    height:96px;
  }
}

@media (max-width:420px){
  :root{
    --headerH:94px;
  }

  #bhHeader .topbar,
  .topbar{
    height:94px;
  }
}



/* ===== HOMYO header final overrides ===== */
:root{ --headerH:82px; }
.topbar{ height:82px; }
.rightGroup{ margin-right:20px; transform:none !important; }
.leftGroup{ left:20px; }
.menuBtn{ width:28px; height:28px; }
.menuBtn svg{ width:26px; height:26px; }

@media (max-width:720px){
  :root{ --headerH:56px; }
  .topbar{ height:56px; padding:0 14px; }
  .leftGroup{ left:12px; }
  .rightGroup{ margin-right:12px; transform:none !important; }
  .menuBtn{ width:24px; height:24px; }
  .menuBtn svg{ width:22px; height:22px; }
  .brandText{ font-size:32px; letter-spacing:.24em; }
  .navActionIconSvg,
  .navActionIconSvg svg,
  .navAvatar,
  .navAvatarSvg,
  .navAvatarSvg svg{
    width:22px;
    min-width:22px;
    height:22px;
  }
}

@media (max-width:420px){
  :root{ --headerH:54px; }
  .topbar{ height:54px; }
  .brandText{ font-size:30px; letter-spacing:.22em; }
}


/* ===== HOMYO SIDE MENU ===== */

body.bhMenuOpen{
  overflow:hidden;
}

.bhSideOverlay{
  position:fixed;
  inset:0;
  background:rgba(17,17,17,.34);
  opacity:0;
  pointer-events:none;
  transition:opacity .24s ease;
  z-index:9997;
}

.bhSideOverlay.open{
  opacity:1;
  pointer-events:auto;
}

.bhSideMenu{
  position:fixed;
  top:0;
  left:0;
  width:min(360px,88vw);
  height:100vh;
  background:#FFFDFA;
  border-right:1px solid rgba(140,31,45,.12);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
  transform:translateX(-100%);
  transition:transform .28s ease;
  z-index:9998;
  display:flex;
  flex-direction:column;
}

.bhSideMenu.open{
  transform:translateX(0);
}

.bhSideMenuTop{
  height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 24px;
  border-bottom:1px solid #efe7d8;
}

.bhSideMenuBrand{
  font-family:'Raleway','Montserrat',system-ui,sans-serif;
  font-size:28px;
  letter-spacing:.28em;
  font-weight:600;
  color:#8C1F2D;
}

.bhSideClose{
  appearance:none;
  border:none;
  background:transparent;
  color:#8C1F2D;
  font-size:38px;
  line-height:1;
  cursor:pointer;
  padding:0;
}

.bhSideNav{
  display:flex;
  flex-direction:column;
  padding:18px 14px;
  gap:4px;
}

.bhSideLink{
  text-decoration:none;
  color:#241f1b;
  font-family:'Raleway',sans-serif;
  font-size:14px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:16px 14px;
  border-radius:14px;
  transition:all .18s ease;
}

.bhSideLink:hover{
  background:#f8f0df;
  color:#8C1F2D;
}

.bhSideFooter{
  margin-top:auto;
  padding:24px 28px;
  border-top:1px solid #efe7d8;
  color:#8f8578;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

@media (max-width:720px){
  .bhSideMenuTop{
    height:56px;
    padding:0 18px;
  }

  .bhSideMenuBrand{
    font-size:22px;
    letter-spacing:.22em;
  }

  .bhSideClose{
    font-size:32px;
  }
}
