* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.site-header {
  width:100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 12px 15px;
  position: relative;
  z-index: 99;
}
.header-container {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-img {
  width: 230px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.mobile-header-top {
  display: none;
  text-align: center;
  margin-bottom: 10px;
}
.logo-img-mobile {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.header-search {
  flex: 1;
  max-width: 700px;
}
.header-search form {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 30px;
  overflow: hidden;
}
.header-search input {
  flex: 1;
  border: none;
  padding: 12px 20px;
  outline: none;
  font-size: 16px;
}
.header-search button {
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  cursor: pointer;
}

.pc-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mobile-bottom-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.mobile-menu-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 5px;
}
.mobile-menu-btn span {
  width: 26px;
  height: 3px;
  background: #000;
  border-radius: 2px;
}

.header-cart {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-total {
  font-size: 18px;
  color:#69727d;
  font-weight: 500;
}
.cart-trigger {
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 5px;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: #fff;
  font-size: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.account-btn {
  color: #000;
  display: flex;
  align-items: center;
}

.cart-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  z-index: 9999;
  display: none;
}
.cart-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: 420px;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}
.cart-sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.cart-sidebar-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
.cart-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  color: #333;
}
.cart-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.mini-cart-empty,
.mini-cart-item,
.mini-cart-item-name,
.mini-cart-item-qty-price,
.mini-cart-subtotal {
  color: #333 !important;
}

.mini-cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.mini-cart-item-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}
.mini-cart-item-info {
  flex: 1;
}
.mini-cart-item-name {
  font-weight: 500;
  margin-bottom: 4px;
  display: block;
  text-decoration: none;
  color: #333 !important;
}
.mini-cart-item-qty-price {
  font-size: 14px;
  color: #333 !important;
}

.mini-cart-item-remove {
  background: none;
  border: none;
  color: #333 !important;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}
.mini-cart-item-remove:hover {
  color: #000 !important;
}

.mini-cart-footer {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.mini-cart-subtotal {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333 !important;
}
.mini-cart-cart-btn,
.mini-cart-checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  margin-bottom: 8px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}
.mini-cart-checkout-btn {
  background: #000;
  color: #fff !important;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  display: none;
}
.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.mobile-menu-header {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}
.menu-logo-img {
  width: 120px !important;
  height: 30px !important;
  object-fit: contain !important;
}

.mobile-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}
.mobile-nav {
  list-style: none;
  padding: 0;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav li {
  border-bottom: 1px solid #eee;
}
.mobile-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mobile-nav li a i {
  font-style: normal;
  font-size: 18px;
  transition: transform 0.2s;
}
.mobile-nav li.menu-parent.active > a i {
  transform: rotate(180deg);
}
.sub-menu {
  list-style: none;
  padding-left: 0;
  background: #fff;
  display: none;
}
.sub-menu li a {
  padding: 12px 30px;
  font-size: 16px;
  text-transform: none;
  border-bottom: none;
  color: #333;
}
.login-item a {
  gap: 10px;
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  .pc-logo, .pc-actions {
    display: none !important;
  }
  .mobile-header-top, .mobile-bottom-bar {
    display: flex !important;
  }
  .header-search {
    order: 2;
    flex: 1 1 100%;
    margin-top: 10px;
  }
  .cart-sidebar {
    width: 100%;
  }
}