    *{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, sans-serif;
}

body{
    background:#f1f1f1;
    overflow-x: hidden;
}

.property-detail-actions .property-delete-btn{
    background:#111 !important;
    border:1px solid rgba(255,255,255,.7) !important;
    border-radius:50% !important;
    color:#fff !important;
    flex:0 0 42px !important;
    height:42px !important;
    width:42px !important;
}

.property-detail-actions .property-delete-btn:hover{
    background:#b42318 !important;
    border-color:#b42318 !important;
    color:#fff !important;
}

/* HEADER */
.header{
    position: fixed; /* deixa estático */
    top:0;
    left:0;
    width:100%;
    height:70px;
    background:#000000;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.3);
}

/* LOGO */
.logo{
    display:flex;
    align-items:center;
    gap:12px;
    color:#8c7e20;
    font-family:"Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
    font-size:28px;
    font-weight:700;
    letter-spacing:.02em;
}

.logo img{
    width:55px;
    height:55px;
    object-fit:cover;
}

/* DROPDOWN DO MENU */
.header-dropdown{
    position: relative;
    list-style: none;
}

.header-nav-item{
    display:flex;
    align-items:center;
    list-style:none;
}

.header-dropdown-btn{
    background: none;
    border: none;
    color: #8c7e20;
    font-family: Arial, sans-serif;
    font-size:18px;
    font-weight:700;
    line-height:1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    text-decoration: none;
    transition:.3s;
}

.header-dropdown-btn:hover{
    color:#ffffff;
}

/* Seta abaixo do texto */
.header-dropdown-arrow{
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: 0.3s;
}

/* Quando o menu abrir, a seta gira */
.header-dropdown-btn.active .header-dropdown-arrow{
    transform: rotate(180deg);
}

/* Menu dropdown */
.header-dropdown-menu{
    position: absolute;
    top: calc(100% + 15px);
    left: 20%;
    transform: translateX(-50%);
    width: 260px;
    background: #0b0b0b;
    border:1px solid rgba(140,126,32,.45);
    border-radius: 10px;
    padding: 14px 18px;
    display: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    scale: 0.8;
}

.header-dropdown-menu.active{
    display: block;
}

/* Triângulo superior */
.header-dropdown-menu::before{
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #0b0b0b;
}

/* Links do menu */
.header-dropdown-menu a{
    display: block;
    text-align: center;
    color: #8c7e20;
    text-decoration: none;
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(140,126,32,0.35);
}

.header-dropdown-menu a:last-child{
    border-bottom: 0;
}

.header-dropdown-menu a:hover{
    color: #ffffff;
}

/* MENU */
.menu{
    margin-top: 15px;
    display:flex;
    align-items:center;
    gap:35px;
}

.menu a{
    text-decoration:none;
    color:#8c7e20;
    font-size:18px;
    font-weight:700;
    transition:.3s;
}

.menu a:hover{
    color:#ffffff;
}

/* LADO DIREITO */
.right-side{
    display:flex;
    align-items:center;
    gap:20px;
}

/* BOTÃO ADMIN */
.admin-btn{
    background:#8c7e20;
    border:none;
    padding:12px 25px;
    border-radius:10px;
    font-weight:bold;
    cursor:pointer;
}

/* BANDEIRAS */
.flags{
    display:flex;
    align-items:center;
    flex-direction:row;
    gap:8px;
}

.flags img{
    width:28px;
    height:20px;
    border-radius:3px;
    cursor:pointer;
    object-fit:cover;
}
    
.flags {
  position: relative;
  cursor: pointer;
  justify-content: center;
}

.flags-language-label{
  color:#8c7e20;
  font-size:13px;
  font-weight:700;
}

.flags-list{
  align-items:center;
  display:flex;
  flex-direction:row;
  gap:8px;
}

.flag-option{
  align-items:center;
  background:transparent;
  border:0;
  color:#ffffff;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  font-size:9px;
  font-weight:700;
  gap:2px;
  line-height:1;
  padding:2px;
  text-transform:lowercase;
  transition:.2s ease;
}

.flag-option:hover,
.flag-option.active{
  color:#8c7e20;
  transform:translateY(-1px);
}

.flags-current-label{
  color:#fff;
  font-size:11px;
  font-weight:700;
  line-height:1;
  text-transform:lowercase;
}

body.admin-has-header .header{
    background:#090909;
}

.flags [data-lang].active img,
.flags [data-lang][aria-pressed="true"] img{
  outline:2px solid #8c7e20;
  outline-offset:2px;
}

.mobile-menu-toggle{
    display:none;
}

@media(max-width:900px){
    body{
        padding-top:70px;
    }

    body.admin-has-header{
        padding-top:0;
    }

    body.mobile-menu-is-open{
        overflow:hidden;
    }

    .header{
        height:70px;
        padding:0 14px;
    }

    .logo{
        flex:1 1 auto;
        min-width:0;
        gap:8px;
    }

    .logo img{
        height:44px;
        width:44px;
    }

    .logo span{
        font-size:20px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .mobile-menu-toggle{
        align-items:center;
        background:transparent;
        border:0;
        cursor:pointer;
        display:flex;
        flex-direction:column;
        gap:5px;
        height:42px;
        justify-content:center;
        order:3;
        padding:0 6px;
        width:42px;
    }

    .mobile-menu-toggle span{
        background:#8c7e20;
        border-radius:999px;
        display:block;
        height:2px;
        transition:.25s;
        width:24px;
    }

    .mobile-menu-toggle.active span:nth-child(1){
        transform:translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2){
        opacity:0;
    }

    .mobile-menu-toggle.active span:nth-child(3){
        transform:translateY(-7px) rotate(-45deg);
    }

    .right-side{
        flex:0 0 auto;
        gap:8px;
        order:2;
    }

    .flags img{
        height:16px;
        width:24px;
    }

    .menu{
        align-items:stretch;
        background:#000;
        box-shadow:0 18px 35px rgba(0,0,0,.28);
        display:none !important;
        flex-direction:column;
        gap:0;
        left:0;
        margin-top:0;
        max-height:calc(100vh - 70px);
        overflow:auto;
        padding:10px 16px 18px;
        position:fixed;
        right:0;
        top:70px;
        z-index:999;
    }

    .menu.mobile-open{
        display:flex !important;
    }

    .menu a,
    .header-dropdown-btn{
        border-bottom:1px solid rgba(255,255,255,.10);
        justify-content:flex-start;
        min-height:46px;
        padding:0 6px;
        width:100%;
    }

    .header-nav-item,
    .header-dropdown{
        display:block;
        width:100%;
    }

    .header-dropdown-menu{
        background:#1d1d1d;
        border-radius:8px;
        box-shadow:none;
        left:auto;
        margin:0 0 8px;
        padding:6px 12px;
        position:static;
        scale:1;
        transform:none;
        width:100%;
    }

    .header-dropdown-menu::before{
        display:none;
    }

    .header-dropdown-menu a{
        border-bottom:1px solid rgba(255,255,255,.10);
        font-size:15px;
        padding:12px 0;
        text-align:left;
    }
}

