/* ==================================================
   HEADER RESPONSIVO + DRAWER MOBILE 
   ================================================== */

.menu-toggle { display: none !important; }
.drawer-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,.52);
  opacity: 0; visibility: hidden; transition: opacity .25s;
  z-index: 9998;
}
.mobile-drawer{
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 86vw; max-width: 360px; height: 100dvh;
  background: #0f1115;
  border-right: 1px solid rgba(255,255,255,0.08);
  transform: translateX(-100%); transition: transform .28s;
  z-index: 9999; overflow-y: auto; padding-bottom: 16px;
}
body.menu-open .drawer-overlay{ opacity: 1; visibility: visible; }
body.menu-open .mobile-drawer{ transform: translateX(0); }

.mobile-drawer .drawer-head{
  position: sticky; top: 0; height: 56px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px; background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drawer-close{
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: transparent; border: 0; color: #e8e8e8; cursor: pointer;
}
.drawer-close svg{ width: 18px; height: 18px; }
.mobile-drawer .brand img{ display: none !important; }
.mobile-drawer .brand{
  position: absolute; left: 50%; transform: translateX(-50%); pointer-events: none;
}
.mobile-drawer .brand::after{
  content: "Auren";
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 20px; letter-spacing: .3px;
  color: transparent;
  background-image:
    linear-gradient(180deg, #fff4cf 0%, #f0d090 32%, #c08a3a 55%, #f4d99b 72%, #885d26 100%),
    radial-gradient(120% 180% at 20% 0%, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 50%);
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 1px 0 rgba(46,28,11,.9), 0 2px 8px rgba(0,0,0,.45);
}

.drawer-nav ul{ list-style: none; margin: 6px 0 0; padding: 0; }
.drawer-nav li{ border-bottom: 1px solid rgba(255,255,255,0.06); }
.drawer-nav a,
.mobile-drawer nav li.has-sub > .drawer-acc{
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px;
  font-family: 'Merriweather', serif; font-weight: 700; font-size: 15px;
  text-transform: none; letter-spacing: 0; background: none; border: 0; color: #e5e5e5;
}
.mobile-drawer nav li.has-sub > .drawer-acc .chev{ display: none !important; }
.mobile-drawer nav li.has-sub > .drawer-acc::after{
  content: "↗"; font-size: 12px; opacity: .8; margin-left: 10px; line-height: 1;
  transform: translateY(-1px);
}
.drawer-nav .sub{ padding-left: 10px; }
.drawer-nav .sub a{
  font-family: 'Merriweather', serif; font-weight: 400; font-size: 13px;
  color: #b8b8b8; padding: 9px 16px;
}
.mobile-drawer nav li.has-sub > .sub{ display: none; }
.mobile-drawer nav li.has-sub.open > .sub{ display: block; }

.mobile-drawer .action-button.icon-button{ display: none !important; }

.drawer-actions{ padding: 14px 16px 18px; }
.drawer-actions .action-button.primary{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:46px; border-radius:4px; border:0;
  font-family:'Cinzel-Decorative',serif; font-weight:700; font-size:16px;
  letter-spacing:.2px; color:#221a10; text-shadow:0 1px 0 rgba(255,255,255,.4);
  background-image:
    linear-gradient(180deg, rgba(255,248,225,.85) 0%, rgba(244,226,178,.65) 18%, rgba(0,0,0,0) 38%),
    linear-gradient(0deg, rgba(71,51,27,.65) 0%, rgba(71,51,27,0) 40%),
    linear-gradient(135deg, #a37a49 0%, #c8a56e 38%, #e2c890 54%, #ad844f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(90,60,32,.7),
    0 6px 20px rgba(0,0,0,.35),
    0 1px 0 rgba(255,255,255,.08);
  transition: transform .12s ease, filter .2s ease;
}
.drawer-actions .action-button.primary:hover{ filter:brightness(1.06); }
.drawer-actions .action-button.primary:active{ transform:translateY(1px); }

/* ============ BREAKPOINTS ============ */

@media (max-width:1024px){
  .menu-toggle{
    display:inline-flex !important;
    align-items:center; justify-content:center;
    width:36px; height:36px; padding:0;
    background:transparent; border:0; color:#e8e8e8;
  }
  .menu-toggle svg{ width:20px; height:20px; }
  .header-nav{ display:none !important; }
  .header-actions .action-button.primary{ display:none !important; }
  .header-actions .icon-button{
    padding:0 10px; background:transparent; border:0; color:#e8e8e8;
  }
  .header-actions .icon-button svg{ width:20px; height:20px; }
  .header-logo img{ height:34px; }
  .site-header{ height:60px; }
  body{ padding-top:60px; }
}

@media (max-width:768px){
  .site-header{ height:58px; }
  body{ padding-top:58px; }
  .header-logo img{ height:32px; }
}

@media (max-width:560px){
  .menu-toggle{ width:32px; height:32px; }
  .menu-toggle svg{ width:18px; height:18px; }
  .header-logo img{ height:30px; }
  .site-header{ height:56px; }
  body{ padding-top:56px; }
}
