.social-icon.social-line {
  background-color: #444444;
}
.social-icon.social-youtube {
  background-color: #555555;
}
.form-control {
  font-family: "Prompt", sans-serif !important;
}
.modal-title {
  font-size: 1rem;
}

header .social-icon {
  border-radius: 50%;
  font-size: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
}
header .header-top {
  font-size: 1rem;
}
.badge-circle {
  width: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

.select2-container--default .select2-selection--single {
  height: 30px;
  font-size: 0.875rem;
  border: 1px solid #ced4da !important;
  border-radius: 0.2rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.select2-results__option {
  padding: 5px;
  font-size: 0.875rem;
  color: #495057;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #ced4da;
  height: 30px;
  color: #495057;
}

.select2-search--dropdown .select2-search__field {
  /* padding: .375rem .75rem; */
  border: 1px solid #495057;
  border-radius: 0.25rem;
}

.select2-search--dropdown .select2-search__field {
  padding: 4px;
  width: 100%;
  box-sizing: border-box;
}
.select2-dropdown {
  border: 1px solid #ced4da;
}
.noUi-horizontal .noUi-handle {
  top: -0.5em;
}
.noUi-connect {
  background: #444444;
}
.noUi-horizontal .noUi-handle,
.noUi-vertical .noUi-handle {
  background: #444444;
}
.noUi-target.noUi-horizontal .noUi-tooltip {
  background-color: #444444;
}

.cart-percent {
  width: 63px;
  height: 30px;
  position: absolute;
  background: rgba(50, 50, 50, 0.65);
  color: #fff;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  border-bottom-left-radius: 15px;
  padding: 10px;
}
.cart-title {
  height: 3rem;
  overflow: hidden;
}
.cart-title h3 {
  font-size: 0.875rem;
  line-height: 1rem;
  font-weight: 400;
  word-wrap: break-word;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.cart-title h3:hover {
  color: #333333;
}
.cart-price span {
  font-weight: 600;
  font-size: 1rem;
}

.cart-price sup {
  font-weight: 600;
  font-size: 0.7rem;
  top: -3px;
}

.cart-details {
  border-radius: 20px;
  width: 110px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-wishlist {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #555555;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s all;
  font-size: 1rem;
}

.btn-wishlist:hover {
  color: #f4f4f4;
  background: #555555;
}

.btn-cart {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #444444;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s all;
  margin-left: 5px;
  font-size: 1rem;
}

.btn-cart:hover {
  color: #fff;
  background: #444444;
}

.cart-image {
  width: auto;
  object-fit: cover;
}

.btn-compare {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #444444;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s all;
  font-size: 1rem;
}

.btn-compare:hover {
  color: #f4f4f4;
  background: #444444;
}

.btn-share {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #444444;
  background: #f4f4f4;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.5s all;
  font-size: 1rem;
}

.btn-share:hover {
  background: #ccc;
}

.icon-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  font-size: 1.5rem;
  background: none;
  border: none;
  outline: none;
  border-radius: 50%;
}

.icon-button:hover {
  background: #f4f4f4;
}

.badge_wishlist {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 17px;
  height: 17px;
  background: #444444;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
}

.icon-button_badge {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 17px;
  height: 17px;
  background: #444444;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
}

.product-thumbnail .active img,
.prod-thumbnail img:hover {
  border: 2px solid #e7e7e7;
}

.breadcrumb-item {
  font-size: 0.75rem;
}
.header-icon i {
  font-size: 1.5rem;
}
.header-search-wrapper {
  border: 1px solid #e7e7e7;
}
.badge-sale {
  width: 8rem;
  height: 8rem;
  margin-top: 2.5rem;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  letter-spacing: 0.05em;
}

.badge-sale em {
  font-size: 2rem;
}
.scroll-filter {
  max-height: 250px;
  overflow-y: scroll;
}

.cart-outofstock {
  width: 100px;
  height: 100px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.45);
  color: #fff;
  border-radius: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  padding: 5px;
}

.menu .megamenu {
  webkit-box-shadow: rgba(0, 0, 0, 0.16) 1.95px 1.95px 2.6px;
  box-shadow: rgba(0, 0, 0, 0.16) 1.95px 1.95px 2.6px;
}
.menu-vertical.sf-arrows > li > .sf-with-ul:after {
  right: 1rem;
}

.ui-autocomplete {
  position: absolute;
  max-height: 350px;
  overflow: auto;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}

.ui-autocomplete > li > div {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
  cursor: pointer;
}

.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
.owl-theme .owl-nav.disabled + .owl-dots {
  margin-top: 0.85rem;
}

.owl-carousel.dots-top .owl-dots {
  position: absolute;
  right: 0;
  bottom: 100%;
  margin: 0 0 1.3rem;
}

.spinner-grow-sm {
  margin-bottom: 3px;
}

.spinner-grow {
  margin-bottom: 5px;
}

.outofstock {
  height: 30px;
  position: absolute;
  background: rgb(99 96 96 / 50%);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 0;
  width: 100%;
  padding: 10px;
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  overflow-x: auto;
}

.steps .step:first-child {
  margin-left: auto;
}

.steps .step:last-child {
  margin-right: auto;
}

.step:first-of-type .step-circle::before {
  display: none;
}

.step:last-of-type .step-content {
  padding-right: 0;
}

.step-content {
  box-sizing: content-box;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 10rem;
  min-width: 10rem;
  max-width: 10rem;
  padding-top: 1rem;
  padding-right: 2rem;
}

.step-circle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #adb5bd;
  border: 2px solid #adb5bd;
  border-radius: 100%;
  background-color: #fff;
}

.step-circle::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -2px;
  width: calc(10rem + 1rem - 1.5rem);
  height: 2px;
  transform: translate(-100%, -50%);
  color: #adb5bd;
  background-color: currentColor;
}

.step-text {
  color: #adb5bd;
  word-break: break-all;
  margin-top: 0.25em;
}

.step-active .step-circle {
  color: #fff;
  background-color: #333333;
  border-color: #333333;
}

.step-active .step-circle::before {
  color: #333333;
}

.step-active .step-text {
  color: #333333;
}

.step-error .step-circle {
  color: #fff;
  background-color: #777777;
  border-color: #777777;
}

.step-error .step-circle::before {
  color: #777777;
}

.step-error .step-text {
  color: #777777;
}

.step-success .step-circle {
  color: #555555;
  background-color: #fff;
  border-color: #555555;
}

.step-success .step-circle::before {
  color: #555555;
}

.step-success .step-text {
  color: #555555;
}

/* ================================================================
   ไว้อาลัย — Bootstrap Primary Color Override (โทนขาวดำ)
   หากต้องการกลับสีเดิม: ลบ block นี้ออกทั้งหมด
   ต้นฉบับ (bootstrap.css): --primary: #6079c7
   ================================================================ */
:root {
  --primary: #333333;
  --blue:    #333333;
}
.btn-primary {
  background-color: #333333 !important;
  border-color:     #333333 !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: #111111 !important;
  border-color:     #111111 !important;
}
.btn-primary.disabled,
.btn-primary:disabled {
  background-color: #888888 !important;
  border-color:     #888888 !important;
}
.btn-outline-primary {
  color:        #333333 !important;
  border-color: #333333 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.show > .btn-outline-primary.dropdown-toggle {
  background-color: #333333 !important;
  border-color:     #333333 !important;
  color: #fff !important;
}
.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
  color:        #888888 !important;
  border-color: #888888 !important;
}
.bg-primary {
  background-color: #333333 !important;
}
.text-primary {
  color: #333333 !important;
}
.border-primary {
  border-color: #333333 !important;
}
.badge-primary {
  background-color: #333333 !important;
}
.btn-link {
  color: #333333 !important;
}
.btn-link:hover {
  color: #111111 !important;
}
.page-item.active .page-link {
  background-color: #333333 !important;
  border-color:     #333333 !important;
}
.dropdown-item.active,
.dropdown-item:active {
  background-color: #333333 !important;
}
.list-group-item.active {
  background-color: #333333 !important;
  border-color:     #333333 !important;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #333333 !important;
}
.custom-control-input:checked ~ .custom-control-label::before,
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after,
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
  background-color: #333333 !important;
  border-color:     #333333 !important;
}
.custom-range::-webkit-slider-thumb,
.custom-range::-moz-range-thumb {
  background-color: #333333 !important;
}
/* ================================================================ */

/* ================================================================
   ไว้อาลัย — Bootstrap Info Color Override (โทนขาวดำ)
   ต้นฉบับ: #17a2b8 (info/cyan)
   ================================================================ */
.badge-info,
.bg-info {
  background-color: #555555 !important;
}
.text-info {
  color: #555555 !important;
}
.border-info {
  border-color: #555555 !important;
}
.btn-info,
.btn-info.disabled,
.btn-info:disabled {
  background-color: #555555 !important;
  border-color: #555555 !important;
  color: #fff !important;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info:not(:disabled):not(.disabled):active {
  background-color: #333333 !important;
  border-color: #333333 !important;
}
.btn-outline-info {
  color: #555555 !important;
  border-color: #555555 !important;
}
.btn-outline-info:hover,
.btn-outline-info:not(:disabled):not(.disabled):active,
.btn-outline-info:not(:disabled):not(.disabled).active,
.show > .btn-outline-info.dropdown-toggle {
  background-color: #555555 !important;
  border-color: #555555 !important;
  color: #fff !important;
}
.btn-outline-info.disabled,
.btn-outline-info:disabled {
  color: #888888 !important;
  border-color: #888888 !important;
}
/* ================================================================ */

/* ================================================================
   ไว้อาลัย — Plugin Color Override (โทนขาวดำ)
   ต้นฉบับ: #337ab7 (bg), #2e6da4 (border)
   plugin ไม่ถูกแก้ไข — override ที่นี่แทน
   ================================================================ */

/* icheck-bootstrap */
.icheck-primary > input:first-child:checked + label::before,
.icheck-primary > input:first-child:checked + input[type="hidden"] + label::before {
  background-color: #333333 !important;
  border-color: #222222 !important;
}
.icheck-primary > input:first-child:not(:checked):not(:disabled):hover + label::before,
.icheck-primary > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
  border-color: #222222 !important;
}

/* bootstrap-datepicker */
.datepicker table tr td.active,
.datepicker table tr td.active.highlighted,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.highlighted:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.highlighted.disabled,
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover {
  background-color: #333333 !important;
  border-color: #222222 !important;
}

/* bootstrap-switch */
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
  background: #333333 !important;
}

/* summernote */
.note-modal-footer a,
.note-editor .note-editing-area .note-editable a {
  color: #333333 !important;
}
/* ================================================================ */
