.navbar .nav-link:hover{
  color: #ff0000 !important;
}
.hero-title{
    font-size: clamp(48px, 10vw, 140px);
    line-height: 0.85;
    letter-spacing: -3px;
}

.navbar{
  position: relative;
  z-index: 99999;
  overflow: visible !important;
}

.navbar .dropdown-menu{
  border: 2px solid #dc3545;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 12px 25px rgba(220,53,69,0.16);
  z-index: 100000;
}

.navbar .dropdown-item{
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 14px;
}

.navbar .dropdown-item:hover{
  background: #dc3545;
  color: white;
}

.cart-nav-btn{
  width: 44px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.balance-badge{
  white-space: nowrap;
}

.hero-heading{
  font-size: clamp(44px, 8vw, 100px);
  line-height: 0.95;
}

.hero-img{
  max-height: 420px;
  object-fit: contain;
}

.account-placeholder{
  background: #fff5f5;
  border-bottom: 1px solid #dc3545;
  color: #dc3545;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.account-placeholder div{
  font-size: 36px;
}

.account-placeholder span{
  font-size: 14px;
}

@media(max-width: 991px){
  .navbar .dropdown-menu{
    border: 1px solid #dc3545;
    box-shadow: none;
  }

  .user-menu,
  .user-menu .btn{
    width: 100%;
  }

  .cart-nav-btn{
    width: 100%;
  }
}

@media(max-width: 576px){
  .hero-card{
    text-align: center;
  }

  .hero-img{
    max-height: 280px;
  }

  .account-id{
    min-height: auto !important;
  }
}

.chat-widget{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
}

.chat-open-btn{
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  background: #dc3545;
  color: white;
  font-size: 26px;
  box-shadow: 0 10px 25px rgba(220,53,69,0.35);
}

.chat-box{
  display: none;
  width: 340px;
  height: 430px;
  background: white;
  border: 2px solid #dc3545;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
  position: absolute;
  right: 0;
  bottom: 75px;
}

.chat-box.show{
  display: flex;
  flex-direction: column;
}

.chat-header{
  background: #dc3545;
  color: white;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header button{
  border: none;
  background: transparent;
  color: white;
  font-size: 20px;
}

.chat-small{
  font-size: 12px;
  opacity: .9;
}

.chat-messages{
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  background: #fffafa;
}

.chat-line{
  margin-bottom: 10px;
  max-width: 82%;
}

.chat-line span{
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #777;
  margin-bottom: 3px;
}

.chat-line p{
  margin: 0;
  padding: 9px 12px;
  border-radius: 12px;
  background: #f1f1f1;
}

.chat-line.user{
  margin-left: auto;
}

.chat-line.user p{
  background: #dc3545;
  color: white;
}

.chat-line.support p{
  background: #eeeeee;
  color: #222;
}

.chat-form{
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #f0c2c7;
}

.chat-form input{
  flex: 1;
  border: 1px solid #dc3545;
  border-radius: 10px;
  padding: 0 12px;
}

.chat-form button{
  width: 44px;
  border: none;
  border-radius: 10px;
  background: #dc3545;
  color: white;
}

@media(max-width: 576px){
  .main-title{
    font-size: 42px !important;
  }

  .chat-widget{
    right: 12px;
    bottom: 12px;
  }

  .chat-box{
    width: calc(100vw - 24px);
    right: 0;
  }
}
