/* Start Edit by bonz 26/08/2564 */

.flex-item {
  display: flex;
  justify-content: center;
}

/* .error {
  color: red;
  text-align: center;
} */

.error {
  color: #ff4961;
  text-align: center;
  padding-bottom: 10px;
  font-size: 14px;
}

.fa-spin {
  -webkit-animation: fa-spin 2s infinite linear;
  animation: fa-spin 2s infinite linear;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: 14px;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.radio-control-form input[type="radio"] {
  margin-top: 0;
  position: absolute;
  z-index: 5;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
}

.radio-control-form input[type="radio"]:checked ~ .icon::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  border-radius: 50%;
}

.radio-control-form input[type="radio"]:checked ~ .icon {
  /* background-color: #754199; */
  background-color: var(--color-primary);
  border-color: transparent;
}

.radio-control-form .icon {
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-top-color: rgb(204, 204, 204);
  border-right-color: rgb(204, 204, 204);
  border-bottom-color: rgb(204, 204, 204);
  border-left-color: rgb(204, 204, 204);
  background-color: #fff;
  position: absolute;
  top: 10px;
  left: 0;
  border-radius: 50%;
}

.radio-control-form .icon {
  top: 4px;
}

.radio-control-form {
  position: relative;
  display: inline-block !important;
  min-height: 34px;
  padding-left: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  min-height: inherit;
}

.radio-control-form .title {
  margin: 0;
  font-size: 16px;
  font-weight: normal;
  color: #333;
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 20px;
  display: block;
  padding-top: 0;
}

.form-radio-form {
  margin-left: 30px;
}

.btn-uploadfile {
  position: absolute;
  opacity: 0;
}

.error-contact {
  color: red;
  padding-top: 40px;
}

.product-select {
  padding-bottom: 3%;
}

/* Start Edit by bonz 26/08/2564 */

/* Start Edit by bonz 16/09/2564 */

/* ## header name user */

/* .name-box {
    display: flex;
    width: 150px;
}

.name-box .link img {
    margin-top: 7px;
    max-width: 52px;
}

.name-box .text {
    margin-left: 20px;
    width: auto;
}

.name-box .text .welcome {
    color: #9B9B9B;
}

.name-box .text .title {
    color: #FF6600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1em;
} */

/* ## about font */

.detail-page .head-box .date {
  font-family: "db_helvethaica";
}

.detail-page .head-box .title {
  font-family: "db_helvethaica";
}

/* ## user-box dealer */

ul.dealer li {
  list-style: circle;
  color: #ff6600;
}

ul.dealer li .desc {
  color: #ff6600;
}

.dealer-ul .title {
  padding-bottom: 10px;
  color: #333;
  font-weight: bold;
}

.dealer-ul .link {
  padding: 30px 0 !important;
  pointer-events: none;
}

.pointer {
  pointer-events: none;
}

.warning {
  background-color: #f05228;
  color: #fff;
  font-size: 12px;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 999;
  text-align: center;
  padding: 10px 5px;
  pointer-events: none;
}

.warning::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  right: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #f05228 transparent;
}

input:focus ~ .warning {
  opacity: 1;
}

/* ## sweet alertr */

.swal-footer {
  text-align: unset;
}

/* End Edit by bonz 16/09/2564 */

/* G-Edition */

.site-header .top-bar .cart-dropdown .cart-list .link.btn-close {
  z-index: 9;
}

.site-header .bottom-bar .nav-list .link {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.contact-map {
  opacity: 0;
  height: 0;
  pointer-events: none;
  transition: all 400ms ease-out;
}

.contact-map.active {
  opacity: 1;
  height: auto;
  pointer-events: visible;
}

.faq-list {
  padding-top: 20px;
}

.faq-list .card {
  position: relative;
  border-color: #ccc;
  border-radius: 0;
}

.faq-list .card-header {
  padding: 0;
  background-color: transparent;
}

.faq-list .card-header .link {
  padding: 15px 45px 15px 20px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4em;
  display: block;
  cursor: pointer;
}

.faq-list .card-header .link:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.faq-list .card-header .link:before {
  content: "\f067";
  position: absolute;
  top: 15px;
  right: 20px;
  font-family: FontAwesome;
  font-size: 14px;
}

.faq-list .card-header .link.collapsed:before {
  content: "\f068";
}

.faq-list .card-header .link.collapsed {
  background-color: rgba(0, 0, 0, 0.01);
  color: #555555;
}

.faq-list .card-header .link.collapsed:hover {
  /* background-color: rgba(0, 0, 0, 0.05); */
  color: var(--color-primary);
}

.faq-list .card-body {
  color: #707070;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4em;
  padding: 15px 20px;
}

.product-review > .item-list > li {
  width: 100%;
}

.modal-review .inner {
  padding: 40px;
}

.modal-review .rating {
  margin-bottom: 15px;
}

.modal-review .upload-group {
  text-align: left;
}

.modal-review .action {
  padding-top: 20px;
  border-top: 1px solid #ebebeb;
}

.modal-review .action .-L {
  float: left;
}

.modal-review .action .-R {
  float: right;
}

.modal-review .action .-Clear {
  clear: both;
}

.modal-review .action:after {
  content: "";
  display: table;
  clear: both;
}

.modal-review .btn {
  min-width: 140px;
  height: 40px;
  line-height: 38px;
  font-size: 18px;
}

.modal-branch.modal-body {
  padding: 0;
}

.modal-branch .branch-list {
  padding: 20px;
}

.modal-branch .branch-list .item-list {
  margin: -5px;
}

.modal-branch .branch-list .item-list > li {
  width: 50%;
  padding: 5px;
}

/* .modal-branch .action {
  border-top: 1px solid #dee2e6;
  padding: 20px;
} */

/* .modal-branch .action .-L {
  float: left;
}

.modal-branch .action .-R {
  float: right;
}

.modal-branch .action:after {
  content: "";
  display: table;
  clear: both;
}

.modal-branch .btn {
  min-width: 140px;
  height: 40px;
  line-height: 38px;
  font-size: 18px;
} */

/* .product-detail .product-data .select-color .radio-control .icon {
    min-width: 60px;
    width: auto;
    padding: 0 10px;
    border: 1px solid #f9f9f9;
} */

@media (max-width: 991px) {
  .faq-list .card-header .link {
    font-size: 14px;
    padding-left: 15px;
  }
  .faq-list .card-body {
    font-size: 14px;
    padding: 15px;
  }
}

@media (max-width: 767px) {
  /* .service-nav .btn-service {
    top: 6px;
    right: 6px;
  } */
  .service-nav .nav-list .link {
    border-width: 0;
  }
  .service-nav .nav-list li.active .link,
  .service-nav .nav-list.open .link {
    border-width: 1px;
  }
}

/* G-Edition */

/* Edit 20/10/2021 */

.product-select li + li {
  margin-left: 10px;
}

.product-select .select-wrapper {
  width: 140px;
}

.member-userbox .user-profile .nav-list li + li {
  padding-left: 20px;
}

.list-gallery .item-list {
  margin: 0 -5px;
}

.list-gallery .item {
  padding: 0 5px;
  margin-bottom: 10px;
  position: relative;
  width: 25%;
}

.list-gallery .cover {
  padding-top: 100%;
  position: relative;
}

.list-gallery .cover img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.list-gallery .deletealbum {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 5px;
  width: 20px;
  height: 20px;
  background-color: #ea2128;
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 18px;
}

.member-content .card .order-list.-reward .thumb {
  width: auto;
  margin-right: 20px;
}

.member-content .card .order-list.-reward .col-I {
  width: 100px;
}

.member-content .card .action .btn.btn90{
      min-width: 90px!important;
}

html[lang="en"] .member-content .card .action .btn.btn90{
     font-size: 9px!important;
}
@media (max-width: 767px) {
  .list-gallery .item {
    width: calc(100% / 3);
  }
}

.btn.none-disable {
  opacity: 1;
}

/* Edit 20/10/2021 */

/* Edit 20/01/2022 */

html[lang="th"] .whead .desc,
html[lang="th"] .wg-bakeware .content .txt small,
html[lang="th"] .wg-bakeware .content .txt,
html[lang="th"] .wg-cooktools .content .txt small,
html[lang="th"] .wg-cooktools .content .txt,
html[lang="th"] .wg-ingredients .content .txt small,
html[lang="th"] .wg-ingredients .content .txt {
  font-family: "db_helvethaica";
}

html[lang="th"] .wg-bakeware .content .txt span,
html[lang="th"] .wg-cooktools .content .txt span,
html[lang="th"] .wg-ingredients .content .txt span {
  font-family: "db_Narai_X";
}

/* Edit 14/03/2022 */

/* opacity */

.product-box .product-list .item-list:hover .wrapper:before {
  opacity: 0;
}

/* edit 08/08/2022 */

.addon-list .link.btn-action {
  position: absolute;
  color: #cccccc;
  top: 10px;
  right: 10px;
  z-index: 9;
}

.site-header .bundle-list,
.site-header .addon-list {
  margin-top: 5px !important;
}

.bundle-list .link,
.addon-list .link {
  color: #999;
}

.bundle-list span,
.addon-list span {
  color: #ff6600;
  font-weight: bold;
}

.addon-list span.title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.bundle-list del,
.addon-list del {
  color: #999;
}

.bundle-list .txt {
  color: #000;
}

.bundle-list .wrapper,
.addon-list .wrapper {
  background-color: #ffffff;
  padding: 5px 7px;
  border: 1px solid #ff6600;
  border-radius: 8px;
  color: #999;
}

.addon-list .wrapper {
  padding-right: 30px;
}

.addon-list > li:not(.added) .wrapper {
  background-color: #f3f4f5;
  border-color: #cccccc;
}

.addon-list > li:not(.added) .link.btn-action {
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

.cart-dropdown .bundle-list li > .link {
  position: relative;
}
.cart-dropdown .bundle-list li > .link .icon-plus-circle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -8px;
}

.product-detail .addon-list > li:not(:last-child) {
  margin-right: 10px;
}

.product-detail .promotion {
  margin-bottom: 30px;
}

.product-detail .promotion .subtitle {
  color: #ff6600;
  font-size: 20px;
  font-weight: normal;
  margin-right: 10px;
}

.product-detail .promotion .addon-list > li,
.product-detail .promotion .bundle-list > li {
  margin-bottom: 10px;
}

.product-detail .promotion .addon-list .wrapper {
  padding-right: 30px;
}

.product-detail .promotion .addon-list > li .wrapper.more {
  padding: 10px;
  min-height: 76px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
}

.promotionItemsDetail {
  height: 140px;
  overflow: hidden;
}

.showContent {
  height: auto;
}

.see-more {
  background-color: #ffffff;
  border: 1px solid #ff6600;
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
}

.see-more a {
  color: #000;
  font-size: 16px;
}

.see-more a:hover {
  text-decoration: none;
  color: #000;
}

/* edit 20-09-65 */

.product-detail .product-data .input-number-group {
  /* border-top: none; */
  /* padding: 20px 0; */
  /* padding-top: 10px; */
}

/* .free-shipping {
  padding: 20px 0;
  border-top: 1px solid #eae8e8;
  padding-top: 30px;
}

.free-shipping img {
  width: 30px;
}

.free-shipping .txt {
  padding-left: 10px;
  font-size: 20px;
  position: relative;
  top: 4px;
} */

.wg-highlight-slider .slick-dots {
  bottom: -60px;
}

#highlighttabContent .action {
  text-align: center;
  position: relative;
  top: 80px;
}

.promotion-page .product-box .product-list .item {
  width: 25%;
}

.promotion-page .-product-default .content .btn-cart .lazy {
  position: relative;
  top: 7px;
}

/* .pagination .link .feather {
    position: relative;
    top: 4px;
} */

/* Start Edit by ohm2 26/09/2565 */

/* .-product-default .thumb .tag::before {
    content: '';
    display: inline-block;
    padding: 12px 8px;
    background-color: #978282;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    top: 0;
} */

#tab-promotion .-product-default .thumb .tag {
  float: left;
  line-height: 1.2;
  height: 35px;
  padding: 0 4px;
  background: #ff3a3a;
  position: relative;
  left: -10px;
}

#tab-promotion .-product-default .thumb .tag:after {
  content: "";
  position: absolute;
  height: 0px;
  width: 40px;
  top: 0;
}

#tab-promotion .-product-default .thumb .tag:after {
  right: -30px;
  border-top: 35px solid #ff3a3a;
  border-right: 25px solid transparent;
  z-index: -10;
}

.-product-default .thumb .free-shipping-thumbnail {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #ff6600;
  padding: 5px;
}

.-product-default .thumb .free-shipping-thumbnail span {
  padding-right: 10px;
  top: 1px;
  position: relative;
  color: #fff;
  font-size: 20px;
}

.-product-default .thumb .free-shipping-thumbnail img {
  width: 30px;
}

/* @media (max-width: 1440px) {
  .product-detail .promotion {
    margin-bottom: 15px;
  }
} */

/* @media (max-width: 1199px) {
  .mycart-list .addon-list .col-II {
    width: 90px;
  }
  .mycart-list .addon-list .col-III {
    width: 110px;
  }
  .mycart-list .addon-list .col-IV {
    width: 110px;
  }
  .mycart-list .addon-list .col-V {
    width: 40px;
  }
  .mycart-list .body .item-list.bundle-list {
    padding-bottom: 10px;
  }
  .-product-default .thumb .free-shipping-thumbnail {
    padding: 5px 10px;
  }
  .-product-default .thumb .free-shipping-thumbnail span {
    font-size: 16px;
  }
  .-product-default .thumb .free-shipping-thumbnail img {
    width: 20px;
  }
  #tab-promotion .-product-default .thumb .tag {
    line-height: 1.5;
    height: 30px;
  }
  #tab-promotion .-product-default .thumb .tag:after {
    right: -20px;
    border-top: 30px solid #ff3a3a;
    border-right: 20px solid transparent;
  }
} */

.wg-highlight .nav-tabs {
  border: none;
  justify-content: space-evenly;
}

.wg-highlight .nav-tabs .nav-link {
  border: none;
}

.wg-highlight .nav-tabs .nav-link.active {
  border: none;
}

.wg-highlight .nav-tabs .nav-link:not(.active) .whead .title {
  opacity: 0.6;
}

/* @media (max-width: 991px) {
  .mycart-list .body .item-list.addon-list {
    overflow: hidden;
  }
  .mycart-list .addon-list .desc {
    display: none;
  }
  .free-shipping {
    padding: 10px 0;
    padding-top: 20px;
  }
} */

/* @media (max-width: 767px) {
  .product-detail .promotion .subtitle {
    margin-bottom: 10px;
  }
  .promotionItemsDetail {
    height: 207px;
  }
  .showContent {
    height: auto !important;
  }
  .see-more {
    margin-top: 10px;
  }
  .promotion-page .product-box .product-list .item {
    width: 33.3333333333%;
  }
  #tab-promotion .-product-default .thumb .tag {
    line-height: 1.6;
    height: 25px;
  }
  #tab-promotion .-product-default .thumb .tag:after {
    right: -20px;
    border-top: 25px solid #ff3a3a;
  }
} */

/* @media (max-width: 575px) {
  .promotion-page .product-box .product-list .item {
    width: 50%;
  }
} */

/* @media (max-width: 375px) {
  .whead .title {
    font-size: 36px;
  }
  .promotion-page .product-box .product-list .item {
    width: 100%;
  }
} */

/* @media (max-width: 320px) {
  .whead .title {
    font-size: 28px;
  }
} */

.build-list {
  overflow: auto;
  max-height: 276px;
}
ul.item-list,
ul.nav-list {
  margin: 0;
  padding: 0;
}
.build-list li {
  background-color: #f3f4f5;
  padding: 14px 13px;
  position: relative;
}
ul.item-list li,
ul.nav-list li {
  list-style: none;
  float: left;
}

.product-detail-build .item-list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}
.product-detail-build .col-I {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  padding-left: 0;
}
.product-detail-build .col-II {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  max-width: 100%;
  width: 140px;
  text-align: center;
}
.product-detail-build .col-III {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  max-width: 100%;
  width: 90px;
  text-align: center;
}
.product-detail-build .product-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.product-detail-build .product-item .thumb {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}
.product-detail-build .product-item .thumb .cover {
  width: 78px;
  height: 78px;
  position: relative;
  overflow: hidden;
  border: 1px solid #ebebeb;
  -webkit-transition: all 400ms ease-out;
  transition: all 400ms ease-out;
}
.product-detail-build .product-item .thumb .cover .lazy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.product-detail-build .product-item .content {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  padding-left: 15px;
}
.product-detail-build .product-item .content .title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  color: #151d2a;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.product-detail-build .product-item .content .title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  color: #151d2a;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.product-detail-build .product-item .content .varaint {
  margin-top: 5px;
  font-size: 12px;
  color: #333;
}
.product-detail-build .price {
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  color: #ea633c;
}
.product-detail-build .txt-price {
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  color: #ea633c;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 8px #ea633c double;
  border-left-style: solid;
  border-radius: 50%;
  animation: spinner-aib1d7 1.0499999999999998s infinite linear;
}

@keyframes spinner-aib1d7 {
  to {
    transform: rotate(360deg);
  }
}
.no-list {
  width: 100%;
  height: 50px;
  text-align: center;
  /* vertical-align: middle; */
  padding-top: 20px;
}
.autocomplete-items {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
  align-items: center;
}
.autocomplete-items .row {
  margin: 0;
}
.autocomplete-items .title {
  font-size: 12px;
  font-weight: 600;
  color: #333333;
  overflow: hidden;
  padding-right: 25px;
  line-height: 1em;
  /*max-height: 1em;*/
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.autocomplete-items .title {
  /* padding-top: 5px; */
}
.autocomplete-items .title.code {
  padding-top: 8px;
  font-weight: normal;
  padding-left: 0;
}
.autocomplete-items .thumb {
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  margin-right: 10px;
  transition: All 400ms ease;
}
.autocomplete-items img {
  width: 50px;
}
.autocomplete-items code {
  padding-top: 15px;
}
.autocomplete-items .thumb .contain {
  position: relative;
  overflow: hidden;
  width: 60px;
  padding-top: 100%;
}
.autocomplete-items .contain .lazy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
figure.contain img {
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
}
.autocomplete-items:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/* Start Edit by ohm2 07/12/2566 */
.video-container {
  padding-bottom: 48.45%;
}
.top-graphic .youtube .iframe-container {
  padding-bottom: 48.45%;
}

.filters .item-list li .link.active {
  color: #fff;
  background-color: #ea633c;
}

@media (max-width: 767px) {
  .top-graphic .youtube .iframe-container,
  .top-graphic .video-container {
    padding-bottom: 117.3%;
  }

  .warning {
    padding: 8px 5px;
  }
}
#modal-fail {
  z-index: 90000 !important;
}
#modal-success {
  z-index: 90000 !important;
}

.product-detail .product-slider .badge.-II {
  background-color: #000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}
.product-detail .product-slider .badge.-II img {
  filter: brightness(0) invert(1);
}
.product-slider .badge:nth-child(2) {
  top: 40px;
}
.product-slider .badge.-II span {
  width: 10px;
  margin-right: 5px;
}
.price small {
  display: block;
  font-size: 0.7em;
  color: #9b9b9b;
  text-decoration: line-through;
}
.totalpcart small {
  display: block;
  font-size: 1em;
  color: #9b9b9b;
  text-decoration: line-through;
}

.btn-out-of-stock {
  min-width: inherit;
  width: 100%;
}
.btn-out-of-stock span {
  color: #bbb;
}

.cart-dropdown .cart-list .content .price small {
  margin-top: 5px;
}

#time-count {
  font-size: 28px;
  font-weight: bold;
  color: red;
  margin-top: 10px;
  display: block;
}

.product-wrapper-medium .inner .brand .icon-brand {
  background-color: transparent;
}

.search-list {
  padding-top: 0;
}
.search-list .item-list li {
  padding: 5px;
}

.modal-login .form-term .link {
  line-height: 1.5em;
}

.-product-default .data-variant {
  position: absolute;
  bottom: 0;
  right: 0;
  width: max-content;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  background-color: #000;
}

.action-builder .btn {
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .search-list .search-txt {
    font-size: 18px;
  }
  .search-list .item-list li {
    width: calc(100% / 2);
  }
  .nav-menu-mobile-close {
    position: sticky;
    top: 0;
    z-index: 99;
  }
  .product-box .menu-filter {
    top: 60px;
    height: calc(100vh - 130px);
  }


  .site-header .middle-bar .menu-box .nav-list .dropdown .dropdown-menu{
    display: none;
  }
  .site-header .middle-bar .menu-box .nav-list .dropdown:hover .dropdown-menu{
    opacity: 1;
    visibility: visible;
  }
  .site-header .middle-bar .menu-box .nav-list .dropdown.show .dropdown-menu{
    display: block;
    opacity: 1;
    visibility: visible;
  }

  /*.site-header .middle-bar .menu-box .nav-list .dropdown.show .dropdown-menu{
    visibility: visible;
    opacity: 1;
  }
  .site-header .middle-bar .menu-box .dropdown-menu .submenu{
    display: block;
  }
  .site-header .middle-bar .menu-box .dropdown-menu .submenu .wrapper{
    padding: 0 15px;
    overflow: auto;
  }
  .site-header .middle-bar .menu-box .dropdown-menu .submenu .link{
    padding: 10px;
  }
  .site-header .middle-bar .menu-box .dropdown-menu .submenu .link .thumb{
    margin-right: 0;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
  .site-header .middle-bar .menu-box .dropdown-menu .submenu .link .row{
    display: block;
    flex-wrap: inherit;
    width: 100%;
  }
  .site-header .middle-bar .menu-box .dropdown-menu .submenu .link .txt{
    font-size: 14px;
    text-align: center;
  }
  .site-header .middle-bar .menu-box .dropdown-menu .side li{
    position: relative;
  }
  .site-header .middle-bar .menu-box .dropdown-menu .submenu li:nth-child(1),
  .site-header .middle-bar .menu-box .dropdown-menu .submenu li:nth-child(2),
  .site-header .middle-bar .menu-box .dropdown-menu .submenu li:nth-child(3){
    margin-top: 15px;
  }
  .site-header .middle-bar .menu-category-cat-button{
    position: absolute;
    z-index: 20;
    width: 20px;
    height: 20px;
    background-color: #000;
    top: 10px;
    left: 15px;
  }*/
}

@media (max-width: 575px) {
  .product-brand .item-list li .cover img {
    width: 120px;
  }
}

.fancybox-placeholder {
  background-color: #ffffff;
}




/* Content */
.content-landing .topic{font-size: 36px; font-weight: bold; line-height: 1.2em; margin-bottom: 0.8rem; color: #333;}
.content-landing .topic-md{font-size: 26px; font-weight: bold; line-height: 1.2em; margin-bottom: 0.8rem; color: #333;}
.content-landing p{line-height: 1.4em; font-size: 16px;}
.content-landing-section{margin-bottom: 60px; position: relative;}
.content-landing-section.-full{padding: 60px 0;}
.content-landing-section.-banner{padding-top: 40%;}
.content-landing-section .bg{position: absolute; z-index: 1; top: 0; left: 50%; transform: translate(-50%,0); width: 100vw; height: 100%;}
.content-landing-section .bg img{position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}
.content-landing-section .inner{position: relative; z-index: 10;}
.content-landing-section .content-button a{display: block; line-height: 1em; padding: 17px 30px; background-color: var(--color-primary); color: #fff; text-transform: uppercase; font-size: 24px;}
.content-landing-section .content-button a:hover{text-decoration: none;}

@media (max-width: 991px) {
  .content-landing-section .row{margin: 0 -7.5px !important;}
  .content-landing-section .row > div{padding: 0 7.5px !important;}
  .content-landing-section{margin-bottom: 40px; position: relative;}
  .content-landing-section.-full{padding: 40px 0;}
  .content-landing .topic{font-size: 22px;}
  .content-landing .topic-md{font-size: 18px;}
  .content-landing p{font-size: 14px;}
  .content-landing .row > div img{margin-bottom: 15px;}
  .content-landing-section .content-button a{font-size: 18px;}
}


/* Widget Message */
.menu-mobile > ul > li{width: calc(100dvw / 6);}
.menu-mobile .dropdown-menu-chat{width: fit-content; background-color: transparent;
  width: calc(100dvw / 6);
  background-color: transparent;
  padding: 0;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-width: inherit;
  left: auto !important;
  right: 0;
  top: auto !important;
}
.menu-mobile .dropdown-menu-chat.show{display: flex;}
.menu-mobile .dropdown-menu-chat img{filter: brightness(0) invert(1); width: 24px;}
.menu-mobile .dropdown-menu-chat li .link{margin-bottom: 10px; padding: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: #000; border-radius: 50%;}
.menu-mobile .dropdown-menu-chat li:nth-child(1) .link{background-color: #0084FF;}
.menu-mobile .dropdown-menu-chat li:nth-child(2) .link{background-color: #00C300;}

.wg-message{position: fixed; z-index: 100; right: 30px; bottom: 30px;}
.wg-message img{filter: brightness(0) invert(1);}
.wg-message > .link{box-shadow: 0 0 8px rgba(0, 0, 0, 0.4); border: 2px solid var(--color-primary); display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: #000; border-radius: 50%;}
.wg-message.show > .link{background-color: var(--color-primary);}
.wg-message .dropdown-menu{background-color: transparent; min-width: inherit; width: fit-content; padding: 0; box-shadow: none; border: none;}
.wg-message li .link{margin-bottom: 10px; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: #000; border-radius: 50%;}
.wg-message li:nth-child(1) .link{background-color: #0084FF;}
.wg-message li:nth-child(2) .link{background-color: #00C300;}
@media (max-width: 991px) {
  .wg-message{display: none;}
}

.product-box .product-list.product-cate .item-list > .item.brand-list{
  width: 20%!important;
}

.product-box .product-list.product-cate .item-list > .item.brand-list{
  width: 20%!important;
}
.product-box .product-list.product-cate .item-list > .item.brand-list .contain img{
  /* padding: 40px!important; */
  transform: scale(0.4);
  top: -8px;
}
@media (max-width: 767px) {
  .product-box .product-list.product-cate .item-list > .item.brand-list .txt{
    font-size: 8px;
    padding: 0 6px;
  }
}

.member-page {
  /* background-image: url(../img/background/bg-service.jpg); */
}
.service-page {
  background-image: url(../img/background/bg-service.jpg);
}

.checkbox-control.active{
  background-color: #ea633c;
  color:#fff;
}
.checkbox-control.active .title{
  color: #fff!important;
}
/* หัวกลุ่ม bundle (ใช้ทั้งตะกร้าสไลด์และหน้าตะกร้าเต็ม) */
.bundle-group-head {
  padding: 10px 13px;
  border: 1px solid #ea633c;
  background-color: rgba(234, 99, 60, 0.06);
}
.bundle-group-head.-done {
  border-color: #2e7d32;
  background-color: rgba(46, 125, 50, 0.08);
}
/* ทับ padding ของ li.title ในตะกร้าสไลด์ ที่ specificity สูงกว่า */
.cart-dropdown .cart-list li.title.bundle-group-head {
  padding: 10px 13px;
}
/* source.css กำหนด ul.item-list li { float: left } ไว้ หัวข้อที่เป็นลูกตรงของ ul
   จึงต้อง clear ไม่งั้นกรอบ/พื้นหลังจะลอดไปคลุมสินค้าที่ลอยอยู่ด้านบน */
.mycart-list .body .item-list > .bundle-group-head,
.mycart-list .body .item-list > .cart-plain-head {
  clear: both;
}

/* ระยะห่างของหัวกลุ่มในหน้าตะกร้าเต็ม (กลุ่มแรกสุดไม่ต้องเว้นบน) */
.mycart-list .body .bundle-group-head {
  margin-bottom: 12px;
}
.mycart-list .body .row + .row .bundle-group-head {
  margin-top: 28px;
}
/* หน้า sum-cart: li เป็น float และหัวข้อ clear อยู่ margin-top ของหัวข้อจะถูก clearance กลืน
   จึงต้องเว้นระยะจากใบสุดท้ายของกลุ่มแทน (ขอบล่างของ float รวม margin ด้วย) */
.mycart-list .body .item-list > li.-group-end {
  margin-bottom: 32px;
}
.bundle-group-title {
  color: #ea633c;
  font-weight: 600;
}
.bundle-group-head.-done .bundle-group-title {
  color: #2e7d32;
}
.bundle-group-title span {
  font-weight: 700;
}
.bundle-group-bar {
  height: 4px;
  margin: 6px 0 4px;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.bundle-group-bar > span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background-color: #ea633c;
  transition: width 0.3s ease;
}
.bundle-group-head.-done .bundle-group-bar > span {
  background-color: #2e7d32;
}
.bundle-group-note {
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.75;
}

/* ผูกสินค้าเข้ากับหัวกลุ่ม bundle ที่อยู่ด้านบน (สีตามสถานะของกลุ่ม) */
.cart-dropdown .cart-list li.delthis.-in-bundle {
  border-left: 3px solid rgba(234, 99, 60, 0.45);
}
.cart-dropdown .cart-list li.delthis.-in-bundle.-done {
  border-left-color: rgba(46, 125, 50, 0.45);
}
.mycart-list .body .item-list > .row.-in-bundle,
.mycart-list .body .item-list > li.-in-bundle {
  padding-left: 10px;
  border-left: 3px solid rgba(234, 99, 60, 0.45);
}
.mycart-list .body .item-list > .row.-in-bundle.-done,
.mycart-list .body .item-list > li.-in-bundle.-done {
  border-left-color: rgba(46, 125, 50, 0.45);
}

/* หัวข้อคั่นสินค้าทั่วไปในหน้าตะกร้าเต็ม */
.mycart-list .body .item-list .cart-plain-head {
  margin-top: 28px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #151d2a;
}

/* เว้นระยะก่อนขึ้นกลุ่มใหม่ ให้เห็นว่าคนละกลุ่มกัน (หัวข้อแรกสุดไม่ต้องเว้น) */
.cart-dropdown .cart-list li + li.title {
  margin-top: 20px;
}
