*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  background:#f5f5f5;
  color:#222;
}

.header{
  background:#fff;
  border-bottom:1px solid #ececec;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}

.header-inner,
.topbar-inner,
.market-header-inner,
.header-wrap,
.market-topbar-inner{
  max-width:1100px;
  margin:auto;
  padding:14px 16px;
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:12px;
}

.dashboard-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
  margin-left:auto;
}

.market-brand img,
.logo img{
  height:32px;
  width:auto;
  max-width:none;
  object-fit:contain;
  display:block;
}

.seller-cabinet-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background-color:#ef3d2f !important;
  color:#ffffff !important;
  font-weight:700 !important;
  font-size:14px !important;
  border:none !important;
  padding:8px 20px !important;
  border-radius:8px !important;
  transition:all .2s ease !important;
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
  line-height:1.2;
}

.seller-cabinet-btn:hover{
  background-color:#d93628 !important;
  color:#ffffff !important;
  transform:scale(1.03);
}

.seller-cabinet-icon{
  flex-shrink:0;
  display:block;
}

.dashboard-actions .btn{
  min-height:36px !important;
  padding:0 16px !important;
  font-size:14px !important;
  font-weight:700 !important;
  border-radius:10px !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  white-space:nowrap;
  box-sizing:border-box;
  border:1px solid #ddd;
  background:#fff;
  color:#111;
}

.dashboard-actions .btn.outline{
  background:#fff;
  color:#111;
  border-color:#ddd;
}

.dashboard-actions .btn.outline:hover{
  border-color:#c62828;
  color:#c62828;
}

.dashboard-actions .btn.small-btn{
  min-height:36px;
  padding:0 16px;
  font-size:14px;
  border-radius:10px;
}

.logo{
  font-size:24px;
  font-weight:bold;
  color:#c62828;
  text-decoration:none;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.nav a{
  text-decoration:none;
  padding:10px 14px;
  border-radius:10px;
  font-weight:bold;
  font-size:14px;
}

.nav-main{
  background:#eef2f7;
  color:#3478f6;
}

.nav-seller{
  background:#3478f6;
  color:#fff;
}

.nav-home{
  background:#f0f0f0;
  color:#333;
}

@media(max-width:760px){
  .header-inner,
  .topbar-inner,
  .market-header-inner,
  .header-wrap,
  .market-topbar-inner{
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
  }

  .nav{
    width:auto;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .nav a{
    flex:0 0 auto;
    text-align:center;
  }
}

@media (max-width:640px){
  .header-inner,
  .topbar-inner,
  .market-header-inner,
  .header-wrap,
  .market-topbar-inner{
    padding:8px 10px;
    flex-wrap:nowrap;
  }

  .market-brand img,
  .logo img{
    height:24px !important;
    width:auto !important;
  }

  .seller-cabinet-btn{
    padding:8px 12px !important;
    font-size:12px !important;
    gap:6px;
  }

  .seller-cabinet-icon{
    width:14px;
    height:14px;
  }

  .dashboard-actions .btn{
    min-height:32px !important;
    padding:0 10px !important;
    font-size:12px !important;
  }

  .nav{
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .nav a{
    flex:0 0 auto;
    width:auto;
    box-sizing:border-box;
    text-align:center;
  }
}
