.header-buttons a.sideMenuToggler { position: relative; }
.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #eb5812;
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
  font-style: normal;
}
.main-menu li.active > a { color: #76a713 !important; }

.site-toast {
  position: fixed;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  background: #243021;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 100000;
  display: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.page-panel {
  max-width: 1100px;
  margin: 48px auto 80px;
  padding: 0 16px;
}
.page-panel h2 { margin-bottom: 20px; }
.auth-card, .cart-card, .search-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.auth-card label, .apply-form label { display: block; margin: 14px 0 6px; font-weight: 600; }
.auth-card input[type="text"],
.auth-card input[type="password"],
.auth-card input[type="tel"],
.apply-form input[type="text"],
.apply-form input[type="tel"],
.apply-form select,
.apply-form textarea,
.search-card input[type="search"] {
  width: 100%;
  max-width: 420px;
  height: 46px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0 12px;
}
.apply-form textarea { height: 120px; padding: 10px 12px; max-width: 640px; }
.auth-card .vs-btn, .cart-actions .vs-btn, .apply-form .vs-btn { margin-top: 18px; border: 0; cursor: pointer; }
.form-error { color: #c0392b; min-height: 22px; margin-top: 8px; }
.form-ok { color: #76a713; margin-top: 8px; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { border-bottom: 1px solid #eee; padding: 14px 8px; vertical-align: middle; }
.cart-table img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.qty-ctrl { display: inline-flex; align-items: center; gap: 8px; }
.qty-ctrl button {
  width: 28px; height: 28px; border: 1px solid #ddd; background: #fff; border-radius: 4px; cursor: pointer;
}
.cart-summary { display: flex; justify-content: flex-end; gap: 24px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.cart-summary strong { color: #76a713; font-size: 28px; }
.cart-empty { padding: 40px 0; text-align: center; color: #666; }
.link-btn { background: none; border: 0; color: #c0392b; cursor: pointer; padding: 0; }
.checkout-box { margin-top: 24px; padding-top: 16px; border-top: 1px dashed #ddd; display: none; }
.checkout-box.open { display: block; }

.search-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.search-bar input { flex: 1; min-width: 220px; max-width: none; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.result-card { border: 1px solid #eee; border-radius: 12px; overflow: hidden; background: #fff; }
.result-card img { width: 100%; height: 180px; object-fit: cover; background: #f6f6f6; }
.result-card .pad { padding: 12px 14px 16px; }
.result-card h3 { font-size: 16px; line-height: 1.4; min-height: 44px; margin: 0 0 8px; }
.result-card h3 a { color: inherit; }
.result-card .price { color: #76a713; font-size: 20px; font-weight: 700; }

.help-wrap, .apply-mirror { max-width: 1100px; margin: 36px auto 80px; padding: 0 16px; }
.help-wrap img, .apply-mirror img { max-width: 100%; height: auto; }
.help_tit { font-size: 28px; margin: 10px 0 16px; }
.apply-mirror .header, .apply-mirror .footBig { display: none; }
