@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --whites: #fff;
  --blacks: #111111;
  --grays: #bbbbbb;
  --grays2: #f1f1f1;
  --grays3: #acacac;
  --grays4: #3e3e3e;
  --main: #1e90ff; /* color changed here  1E90FF 00b900 */
  --main2: #0c168e;
  --red: #ff0000;
  --blue: #56cdf3;
  --promotion: hsl(37, 97%, 51%);
  --limit: #cc99ff;
  --stock: #00ccff;
  --adjust: #ffc000;
  --selling: #00cc00;
  --out: #ff5050;
  --aqa: #17a2b8;
}

#content .box-styleproduct .box-detail-product .title-product-name span, #content #modalproduct .box-product-modal .box-detail-product .title-product-name span, #modalproduct #content .box-product-modal .box-detail-product .title-product-name span, #content .box-product .box-detail-product .title-product-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 1;
}

#content-cart .box-itemtable-responsive .item .btn-edit:hover, #content-cart .box-itemtable-responsive .item .btn-edit, #content-cart .box-itemtable-responsive .item .btn-remove:hover, #content-cart .box-itemtable-responsive .item .btn-remove, #content-cart .table-cart .btn-edit:hover, #content-cart .table-cart .btn-edit, #content-cart .table-cart .btn-remove:hover, #content-cart .table-cart .btn-remove, #content-cart .box-checktransport .btn-buy:hover, #content-cart .box-checktransport .btn-buy, #content-profile .box-changepassword .box-button-save .btn-save:hover, #content-profile .box-changepassword .box-button-save .btn-save, #content-profile .box-changepassword .box-group .inputWithIcon .form-control:focus + svg, #content-profile .box-profile .box-inside .box-button-save .btn-save:hover, #content-profile .box-profile .box-inside .box-button-save .btn-save, .bg-main .inputWithIcon #autocompleteDatalist:focus + svg, .bg-main .inputWithIcon #autocompleteDatalist:focus, #content-login .form-login .btn-login:hover, #content-login .form-login .btn-login, #content-login .form-login .inputWithIcon .form-control:focus + svg, #content-login .form-login .inputWithIcon .form-control:focus, #modalproduct .box-choice .item-choice .order .num-in span, .box-button-product .btn-add-cart:hover, .box-button-product .btn-add-cart, .box-button-product .btn-follow:hover, .box-button-product .btn-follow, #content .box-styleproduct:hover, #content .box-product:hover, #content .box-styleproduct, #content #modalproduct .box-product-modal, #modalproduct #content .box-product-modal, #content .box-product {
  transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif, "Prompt", sans-serif !important;
  position: relative;
  overflow-x: hidden !important;
  font-size: 0.98rem !important;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sticky footer: .page-wrap holds everything except #content-footer  */
/* (see header.php/footer.php) so the footer always sits at the      */
/* bottom of the viewport on short pages, without covering content.  */
.page-wrap {
  flex: 1 0 auto;
}
#content-footer {
  flex-shrink: 0;
}

:focus {
  outline: none !important;
}

.form-control {
  border-radius: 5px !important;
  font-weight: 300 !important;
  height: calc(1.5em + 0.95rem + 2px) !important;
  box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--grays2) !important;
  font-size: 0.9rem !important;
}
.form-control:hover {
  transition: 0.3s ease-in-out;
}
.form-control::-moz-placeholder {
  font-size: 0.9rem;
  font-weight: 300 !important;
  color: var(--grays) !important;
}
.form-control::placeholder {
  font-size: 0.9rem;
  font-weight: 300 !important;
  color: var(--grays) !important;
}
.form-control:focus {
  box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.8) !important;
  border-color: var(--border) !important;
}

.form-check-input:checked {
  background-color: var(--main2) !important;
  border-color: var(--main2) !important;
}

a {
  font-weight: 300 !important;
  text-decoration: none !important;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.dropdown-toggle::after {
  display: none !important;
}

.bg-main-success {
  background-color: var(--main) !important;
}

.bg-white {
  /* box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.8); */
  border-bottom: 1px solid #ccc;
}

.margin-content, #content-cart, #content-history, #content-noti, #content-forgotpassword, #content-login {
  margin-top: 14rem;
  margin-bottom: 12rem;
}
#content-profile {
  margin-top: 8.5rem;
  margin-bottom: 4rem;
}
@media screen and (max-width: 769px) {
  .margin-content, #content-cart, #content-history, #content-noti, #content-forgotpassword, #content-login {
    margin-top: 8rem;
    margin-bottom: 6rem;
  }
  #content-profile {
    margin-top: 6.5rem;
    margin-bottom: 3rem;
  }
}

.mr-5 {
  margin-right: 5px;
}

#content {
  margin-top: 8rem;
  margin-bottom: 8rem;
}
#content::after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 768px) {
  #content {
    margin-top: 4rem;
    margin-bottom: 4rem;
  }
}
#content .box-styleproduct, #content #modalproduct .box-product-modal, #modalproduct #content .box-product-modal, #content .box-product {
  border: 1px solid var(--grays);
  border-radius: 10px;
  /*border-top-left-radius: 10px;*/
  /*border-bottom-right-radius: 10px;*/
  border: 1px solid var(--grays2) !important;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
#content .box-styleproduct:hover, #content #modalproduct .box-product-modal:hover, #modalproduct #content .box-product-modal:hover, #content .box-product:hover {
  box-shadow: 0px 5px 24px -20px rgba(0, 0, 0, 0.8);
}
#content .box-styleproduct .box-image, #content #modalproduct .box-product-modal .box-image, #modalproduct #content .box-product-modal .box-image, #content .box-product .box-image {
  position: relative;
  z-index: 1;
}
#content .box-styleproduct .box-image img, #content #modalproduct .box-product-modal .box-image img, #modalproduct #content .box-product-modal .box-image img, #content .box-product .box-image img {
  margin-top: 2rem;
  padding: 10px;
}
#content .box-styleproduct .box-image .box-sale, #content #modalproduct .box-product-modal .box-image .box-sale, #modalproduct #content .box-product-modal .box-image .box-sale, #content .box-product .box-image .box-sale {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--out);
  width: auto;
  display: inline-block;
  padding: 5px 10px;
  font-weight: 500;
  color: var(--whites);
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
#content .box-styleproduct .box-image .box-tag-icon, #content #modalproduct .box-product-modal .box-image .box-tag-icon, #modalproduct #content .box-product-modal .box-image .box-tag-icon, #content .box-product .box-image .box-tag-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--blacks);
}
#content .box-styleproduct .box-image .box-tag-icon svg, #content #modalproduct .box-product-modal .box-image .box-tag-icon svg, #modalproduct #content .box-product-modal .box-image .box-tag-icon svg, #content .box-product .box-image .box-tag-icon svg {
  font-size: 1.5rem;
}
#content .box-styleproduct .box-image .box-product-out, #content #modalproduct .box-product-modal .box-image .box-product-out, #modalproduct #content .box-product-modal .box-image .box-product-out, #content .box-product .box-image .box-product-out {
  position: absolute;
  top: 40%;
  left: 0;
  text-align: center;
  background-color: var(--out);
  padding: 10px 0;
  width: 100%;
  font-weight: 500;
  color: var(--whites);
  font-size: 1.25rem;
}
#content .box-styleproduct .box-detail-product, #content #modalproduct .box-product-modal .box-detail-product, #modalproduct #content .box-product-modal .box-detail-product, #content .box-product .box-detail-product {
  padding: 20px;
}
#content .box-styleproduct .box-detail-product .title-product-code, #content #modalproduct .box-product-modal .box-detail-product .title-product-code, #modalproduct #content .box-product-modal .box-detail-product .title-product-code, #content .box-product .box-detail-product .title-product-code {
  color: var(--grays);
  margin-bottom: 5px !important;
  font-weight: 400;
}
#content .box-styleproduct .box-detail-product .title-product-name, #content #modalproduct .box-product-modal .box-detail-product .title-product-name, #modalproduct #content .box-product-modal .box-detail-product .title-product-name, #content .box-product .box-detail-product .title-product-name {
  margin-bottom: 5px !important;
  font-weight: 600;
}
#content .box-styleproduct .box-detail-product .title-product-type, #content #modalproduct .box-product-modal .box-detail-product .title-product-type, #modalproduct #content .box-product-modal .box-detail-product .title-product-type, #content .box-product .box-detail-product .title-product-type {
  margin-bottom: 5px !important;
}
#content .box-styleproduct .box-detail-product .title-product-price, #content #modalproduct .box-product-modal .box-detail-product .title-product-price, #modalproduct #content .box-product-modal .box-detail-product .title-product-price, #content .box-product .box-detail-product .title-product-price {
  margin-bottom: 5px !important;
}
#content .box-styleproduct .box-detail-product .title-product-price .price-bold, #content #modalproduct .box-product-modal .box-detail-product .title-product-price .price-bold, #modalproduct #content .box-product-modal .box-detail-product .title-product-price .price-bold, #content .box-product .box-detail-product .title-product-price .price-bold {
  font-weight: 600;
}
#content .box-styleproduct .box-detail-product .title-product-price .text-discount, #content #modalproduct .box-product-modal .box-detail-product .title-product-price .text-discount, #modalproduct #content .box-product-modal .box-detail-product .title-product-price .text-discount, #content .box-product .box-detail-product .title-product-price .text-discount {
  color: var(--red);
  font-weight: 600;
}
#content .box-styleproduct .box-detail-product .title-product-date, #content #modalproduct .box-product-modal .box-detail-product .title-product-date, #modalproduct #content .box-product-modal .box-detail-product .title-product-date, #content .box-product .box-detail-product .title-product-date {
  margin-bottom: 5px !important;
}
#content .box-styleproduct .box-detail-product .title-product-note, #content #modalproduct .box-product-modal .box-detail-product .title-product-note, #modalproduct #content .box-product-modal .box-detail-product .title-product-note, #content .box-product .box-detail-product .title-product-note {
  margin-bottom: 5px !important;
}

.box-button-product {
  text-align: right;
  margin-bottom: 1.5rem;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}
.box-button-product .btn-follow {
  background-color: var(--adjust);
  border: 1px solid var(--adjust) !important;
  font-weight: 400 !important;
  font-size: 0.8rem;
  padding: 5px;
}
.box-button-product .btn-follow:hover {
  background-color: transparent;
  color: var(--adjust);
}
@media screen and (max-width: 576px) {
  .box-button-product .btn-follow {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 1rem;
  }
}
.box-button-product .btn-add-cart {
  background-color: var(--stock);
  border: 1px solid var(--stock) !important;
  font-weight: 400 !important;
  font-size: 0.8rem;
  padding: 5px;
  color: var(--whites);
}
.box-button-product .btn-add-cart:hover {
  background-color: transparent;
  color: var(--stock);
}
@media screen and (max-width: 576px) {
  .box-button-product .btn-add-cart {
    width: 100%;
    font-size: 1rem;
  }
}

.modal .box-button-product .btn-follow {
  padding: 7px 15px;
  font-size: 0.9rem;
}
.modal .box-button-product .btn-add-cart {
  padding: 7px 15px;
  font-size: 0.9rem;
}

.box-product {
  box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.8);
}

#modalproduct .modal-header {
  border-bottom: none;
}
#modalproduct .box-product-modal {
  margin-top: 0 !important;
}
#modalproduct .box-product-modal .box-image {
  position: relative;
  z-index: 1;
}
#modalproduct .box-detail {
  margin-top: 0.5rem;
}
#modalproduct .box-detail .item-detail p {
  display: inline-block;
  width: 30%;
}
#modalproduct .box-detail .item-detail .text-price {
  margin-left: 1rem;
  text-align: left;
}
#modalproduct .box-choice {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 15px;
}
@media screen and (max-width: 768px) {
  #modalproduct .box-choice {
    padding-left: 0;
  }
}
#modalproduct .box-choice .item-choice {
  margin-top: 1.5rem;
}
#modalproduct .box-choice .item-choice p {
  font-weight: 500;
}
#modalproduct .box-choice .item-choice .num-block {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
#modalproduct .box-choice .item-choice .order .num-in {
  width: 100%;
  border: 1px solid var(--grays);
  box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.63);
  border-radius: 4px;
  padding: 2px;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 320px) {
  #modalproduct .box-choice .item-choice .order .num-in {
    height: 45px;
  }
}
#modalproduct .box-choice .item-choice .order input.in-num {
  font-size: 1rem !important;
  height: 38px;
  width: 50px;
  border-left: 1px solid #a4a4a3;
  border-right: 1px solid #a4a4a3;
  background-color: #fff;
  text-align: center;
}
@media screen and (max-width: 320px) {
  #modalproduct .box-choice .item-choice .order input.in-num {
    width: 40px;
    height: 41px;
  }
}
#modalproduct .box-choice .item-choice .order .num-in span {
  font-size: 1.1rem !important;
  text-align: center;
  display: block;
  width: 30px;
  float: left;
  height: 30px;
  background-color: #f4f4f6;
  cursor: pointer;
  color: #000;
  border-radius: 50px;
  line-height: 32px;
  margin: 3px 4px;
}
#modalproduct .box-choice .item-choice .order .num-in span:hover {
  background-color: #d7d7d8;
}
#modalproduct .box-choice .item-choice .order .num-in input {
  border: none;
  float: left;
  width: 80px;
  line-height: 34px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  #modalproduct .box-choice .item-choice .order .num-in input {
    width: 136px;
  }
}
@media screen and (max-width: 576px) {
  #modalproduct .box-choice .item-choice .order .num-in input {
    width: 90px;
  }
}
@media screen and (min-width: 320px) and (max-width: 375px) {
  #modalproduct .box-choice .item-choice .order .num-in input {
    width: 60px;
  }
}
@media screen and (max-width: 320px) {
  #modalproduct .box-choice .item-choice .order .num-in input {
    width: 35px;
  }
}

.box-tag {
  display: flex;
  margin-top: 0.7rem;
}
.box-tag .tag-style {
  color: var(--whites);
  font-size: 0.8rem;
  display: inline-block;
  text-align: center;
  font-weight: 500;
  padding: 5px 5px;
  border-top-right-radius: 10px;
  position: relative;
}
.box-tag .tag-style:first-child::after {
  display: none !important;
}
.box-tag .tag-promotion {
  background-color: var(--promotion);
}
.box-tag .tag-promotion:after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--promotion);
  z-index: -1;
}
.box-tag .tag-limit {
  background-color: var(--limit);
}
.box-tag .tag-limit:after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--limit);
  z-index: -1;
}
.box-tag .tag-flash-sell {
  background-color: var(--red);
}
.box-tag .tag-flash-sell:after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--red);
  z-index: -1;
}
.box-tag .tag-top-sell {
  background-color: var(--selling);
}
.box-tag .tag-top-sell:after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--selling);
  z-index: -1;
}
.box-tag .tag-top-sell svg {
  color: var(--whites);
}
.box-tag .tag-top-stock {
  background-color: var(--stock);
}
.box-tag .tag-top-stock:after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--stock);
  z-index: -1;
}
.box-tag .tag-top-adjust-price {
  background-color: var(--adjust);
}
.box-tag .tag-top-adjust-price:after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--adjust);
  z-index: -1;
}

.popover {
  background-color: rgba(0, 0, 0, 0.8) !important;
}

.popover-body {
  color: var(--whites) !important;
}

p {
  font-weight: 500;
  margin-bottom: 10px !important;
}

#content-login .title-login {
  margin-bottom: 1rem;
}
#content-login .form-login .inputWithIcon {
  position: relative;
}
#content-login .form-login .inputWithIcon .form-control {
  padding-left: 2.25rem;
  border: 1px solid var(--grays);
  color: var(--blacks);
  margin-bottom: 1rem;
}
#content-login .form-login .inputWithIcon .form-control::-moz-placeholder {
  color: var(--grays);
}
#content-login .form-login .inputWithIcon .form-control::placeholder {
  color: var(--grays);
}
#content-login .form-login .inputWithIcon .form-control:focus {
  color: var(--blacks);
  border-color: var(--main) !important;
}
#content-login .form-login .inputWithIcon .form-control:focus + svg {
  color: var(--main);
}
#content-login .form-login .inputWithIcon svg {
  font-size: 14px;
}
#content-login .form-login .inputWithIcon .fa-unlock-keyhole,
#content-login .form-login .inputWithIcon .fa-circle-user {
  position: absolute;
  left: 10px;
  top: 13px;
  color: var(--main2);
}
#content-login .form-login .inputWithIcon .fa-eye,
#content-login .form-login .inputWithIcon .fa-eye-slash {
  position: absolute;
  right: 10px;
  top: 13px;
  color: var(--main2);
}
#content-login .form-login .btn-login {
  width: 100%;
  border-radius: 4px;
  background-color: var(--main);
  color: var(--whites);
  border: 1px solid var(--main) !important;
}
#content-login .form-login .btn-login:hover {
  color: var(--main);
  background-color: transparent;
}
#content-login .form-login .form-check .form-check-label {
  font-weight: 300 !important;
  font-size: 0.85rem;
}
#content-login .form-login .box-btn-forgotpassword {
  text-align: right;
  font-size: 0.85rem;
  margin-top: 2px;
}
#content-login .form-login .box-btn-forgotpassword a {
  color: var(--main);
}
#content-login .form-login .box-btn-register {
  margin-top: 1rem;
  text-align: center;
}
#content-login .form-login .box-btn-register a {
  color: var(--main);
}

#content-forgotpassword .box-qrline {
  text-align: center;
}
#content-forgotpassword .box-qrline .logo-line {
  text-align: left;
  color: var(--main);
  font-weight: 700;
}
#content-forgotpassword .box-qrline .topic-addfriends {
  margin-top: 1.5rem;
}
#content-forgotpassword .box-qrline .detail-addfriends {
  color: var(--grays);
  font-weight: 300;
}
#content-forgotpassword .box-qrline img {
  width: 300px;
  -o-object-fit: contain;
     object-fit: contain;
}

.bg-main {    /* menu color changed here */
 /* background-color: var(--main) !important; */
 background-color: #1e90ff !important;
  min-height: 60px;
}
.bg-main .navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--whites);
  margin-right: 1rem;
}
.bg-main .navbar-brand:hover {
  color: var(--whites);
}
.brand-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 44px;
  min-width: 56px;
  padding: 4px;
  background-color: var(--whites);
  border-radius: 10px;
  overflow: hidden;
}
.brand-logo-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media screen and (min-width: 769px) {
  .bg-main .container {
    max-width: 100%;
    justify-content: flex-start;
  }
  .bg-main .container > .collapse.navbar-collapse {
    margin-left: auto;
  }
  .bg-main .navbar-brand {
    width: 100px;
    flex-shrink: 0;
    margin-right: 1.5rem;
  }
  .brand-logo-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 109px;
    min-width: 0;
    padding: 8px;
    border-radius: 0 0 16px 0;
    z-index: 20;
  }
  .navbar2 .container {
    padding-left: 130px;
  }
}
@media screen and (max-width: 576px) {
  .brand-logo-box {
    width: 48px;
    height: 40px;
    min-width: 48px;
    padding: 3px;
    border-radius: 8px;
  }
}
.navbar-contact {
  display: none;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-right: 1rem;
}
.navbar-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--whites);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}
.navbar-contact-item:hover {
  color: var(--whites);
  opacity: 0.85;
}
.navbar-contact-line-icon {
  width: 16px;
  height: 16px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (min-width: 992px) {
  .navbar-contact {
    display: flex;
  }
}

.bg-main .inputWithIcon {
  position: relative;
}
.bg-main .inputWithIcon #autocompleteDatalist {
  width: 600px;
  padding-left: 2.25rem;
  border: 1px solid var(--grays);
  color: var(--blacks);
}
.bg-main .inputWithIcon #autocompleteDatalist::-moz-placeholder {
  color: var(--grays);
}
.bg-main .inputWithIcon #autocompleteDatalist::placeholder {
  color: var(--grays);
}
.bg-main .inputWithIcon #autocompleteDatalist:focus {
  color: var(--blacks);
  border-color: var(--main) !important;
}
.bg-main .inputWithIcon #autocompleteDatalist:focus + svg {
  color: var(--main);
}
@media screen and (max-width: 1024px) {
  .bg-main .inputWithIcon #autocompleteDatalist {
    width: 400px;
  }
}
@media screen and (max-width: 768px) {
  .bg-main .inputWithIcon #autocompleteDatalist {
    width: 300px;
  }
}
@media screen and (max-width: 768px) {
  .navbar-brand {
    flex-shrink: 0;
  }
  .navbar-search-form {
    flex: 1 1 0%;
    min-width: 40px;
  }
  .mobile-cart {
    flex-shrink: 0;
  }
}
@media screen and (max-width: 576px) {
  .bg-main > .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .bg-main .navbar-brand {
    font-size: 0.9rem;
    white-space: nowrap;
    margin-right: 0.5rem;
    flex-shrink: 0;
  }
  .navbar-search-form {
    margin-right: 0.5rem;
  }
  .bg-main .inputWithIcon {
    width: 100%;
  }
  .bg-main .inputWithIcon #autocompleteDatalist {
    width: 100%;
    min-width: 0;
  }
  .mobile-cart {
    flex-shrink: 0;
  }
}
.bg-main .inputWithIcon .dropdown-menu {
  width: 100%;
  max-width: 100%;
  left: 0 !important;
  top: 90% !important;
  border-radius: 5px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}
.bg-main .inputWithIcon .dropdown-menu li {
  font-size: 15px;
}
.bg-main .inputWithIcon .dropdown-item {
  padding: 5px 10px;
  font-weight: 400 !important;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}
.bg-main .inputWithIcon .dropdown-item:active,
.bg-main .inputWithIcon .dropdown-item:hover,
.bg-main .inputWithIcon .dropdown-item:focus {
  background-color: var(--main) !important;
}
.bg-main .inputWithIcon .fa-magnifying-glass,
.bg-main .inputWithIcon .fa-search {
  position: absolute;
  left: 10px;
  top: 11px;
  color: var(--grays);
}
.bg-main .navbar-nav .username-login {
  color: var(--whites);
  font-weight: 400;
}
.bg-main .navbar-nav .username-login .user-icon {
  color: var(--whites);
}
.bg-main .navbar-nav .personal-user-button {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}
.bg-main .navbar-nav .dropdown .dropdown-menu {
  border: none;
  width: 100%;
  border-radius: 3px;
  border: 1px solid var(--grays2);
}
.bg-main .navbar-nav .dropdown .nav-link {
  font-weight: 400 !important;
}
.bg-main .icon-notification, .bg-main .icon-cart {
  position: relative;
  right: 25px;
  top: 3px;
  margin-left: 10px;
}
.bg-main .icon-notification svg, .bg-main .icon-cart svg {
  color: var(--whites);
  font-size: 1.2rem;
}
.bg-main .icon-notification .box-number, .bg-main .icon-cart .box-number {
  width: 20px;
  height: 20px;
  position: absolute;
  top: -3px;
  right: 0;
  background-color: var(--red);
  font-size: 0.7rem;
  border: 1px solid var(--red);
  border-radius: 50px;
  display: inline-block;
  text-align: center;
  box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.8);
}
.bg-main .icon-notification .box-number span, .bg-main .icon-cart .box-number span {
  color: var(--whites);
  font-weight: 400;
}
.bg-main .icon-logout {
  margin-left: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--grays4);
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.bg-main .icon-logout svg {
  color: var(--whites);
}

.navbar2 {
  width: 100%;
  top: 60px;
  position: absolute;
  height: 50px;
  display: flex;
  align-items: center;
}
.navbar2 .nav-link {
  font-weight: 400 !important;
  margin-right: 30px !important;
}
@media screen and (max-width: 768px) {
  .navbar2 {
    display: none;
  }
}

.mobile-cart {
  display: flex;
  position: relative;
}
.mobile-cart .icon-notification, .mobile-cart .bg-main .icon-cart, .bg-main .mobile-cart .icon-cart {
  margin-right: 10px;
  margin-top: 13px;
  right: 10px;
}
.mobile-cart .icon-notification .box-number, .mobile-cart .bg-main .icon-cart .box-number, .bg-main .mobile-cart .icon-cart .box-number {
  top: -15px;
  right: -5px;
}
.mobile-cart .dropdown-menu[data-bs-popper] {
  left: -60px !important;
}
.mobile-cart .dropdown {
  list-style: none;
  margin-left: 5px;
  margin-right: 30px;
  margin-top: 12px;
}
@media screen and (max-width: 576px) {
  .mobile-cart .dropdown {
    margin-right: 15px;
    margin-left: 0;
  }
}
.mobile-cart .dropdown .nav-item {
  margin-left: 10px;
}
.mobile-cart .dropdown a .username-login svg {
  color: var(--whites);
  font-size: 18px;
}
@media screen and (min-width: 769px) {
  .mobile-cart {
    display: none;
  }
}
@media screen and (max-width: 769px) {
  .navbar-desktop {
    display: none !important;
  }
}

.navbar-mobile {
  background-color: var(--main);
  width: 100%;
  height: 350px;
  padding-top: 1rem;
  padding-bottom: 2rem;
  position: absolute;
  left: 0;
}
.navbar-mobile li {
  margin-top: 0.5rem;
  margin-left: 1.8rem;
}
.navbar-mobile li a {
  color: var(--whites);
}
@media screen and (min-width: 769px) {
  .navbar-mobile {
    display: none !important;
  }
}

.search-box {
  position: relative;
}
.search-box .result-box {
  position: absolute;
  content: "";
  top: 40px;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 250px;
  max-height: 350px;
  z-index: 5;
  background-color: var(--whites);
  overflow-y: scroll;
  overflow-x: hidden;
  box-sizing: border-box;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding-top: 0.5rem;
}
.search-box .result-box ul {
  padding-left: 0;
  list-style: none;
}
.search-box .result-box ul .text-catagory {
  padding-bottom: 0 !important;
  padding-left: 10px;
}
.search-box .result-box ul .text-catagory a {
  font-weight: 500 !important;
  font-size: 13px !important;
  color: var(--grays4);
}
.search-box .result-box ul .text-catagory a span {
  color: var(--main2) !important;
}
.search-box .result-box ul li {
  padding: 15px 1.5rem;
  font-size: 15px !important;
  overflow-wrap: break-word;
  word-break: break-word;
}
.search-box .result-box ul li a {
  color: var(--blacks);
  cursor: pointer;
}
.search-box .result-box ul .hr-menu {
  margin-bottom: 0 !important;
  opacity: 0.15 !important;
}
#content-footer {
  background-color: #1e90ff;
  padding: 3rem 15px 2.5rem;
}
#content-footer .row {
  align-items: center;
  justify-content: center;
}
#content-footer .footer-border {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
#content-footer .footer-border:last-child {
  border-right: none !important;
}
#content-footer .footer-border .box-footer-group1 {
  margin-top: 0;
  text-align: left;
}
#content-footer .footer-border .box-footer-group1 .title-box-footer {
  color: var(--whites);
  font-weight: 600;
  margin-bottom: 1rem;
}
#content-footer .footer-border .box-footer-group1 .detail-box-footer {
  display: flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
#content-footer .footer-border .box-footer-group1 .detail-box-footer:last-child {
  margin-bottom: 0;
}
#content-footer .footer-border .box-footer-group1 .footer-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  margin-right: 10px;
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 13px;
  color: var(--whites) !important;
}
#content-footer .footer-border .box-footer-group1 .icon-line {
  width: 28px;
  margin-right: 8px;
}
#content-footer .footer-border .box-footer-group1 a {
  display: inline-flex;
  align-items: center;
  color: var(--whites) !important;
  font-weight: 400 !important;
  transition: opacity 0.2s ease;
}
#content-footer .footer-border .box-footer-group1 a:hover {
  opacity: 0.75;
}
#content-footer .footer-border .box-footer-group3 {
  margin-top: 0.8rem;
}
#content-footer .footer-border .box-footer-group3 .title-box-footer3 {
  color: var(--whites);
  margin-bottom: 1rem;
}
#content-footer .footer-border .box-footer-group3 .icon-social {
  width: 40px;
}

#content-noti .box-noti {
  background-color: var(--grays2);
  padding: 20px;
}
#content-noti .box-noti .box-inside {
  background-color: var(--whites);
  padding: 25px;
}
#content-noti .box-noti .box-inside .box-item-noti {
  margin-top: 2.5rem;
  text-align: center;
}
@media screen and (max-width: 576px) {
  #content-noti .box-noti .box-inside .box-item-noti {
    margin-top: 1.5rem;
  }
}
#content-noti .box-noti .box-inside .box-item-noti .box-icon {
  background-color: var(--blue);
  width: 60px;
  height: 60px;
  text-align: center;
  padding: 15px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 0.7rem;
}
#content-noti .box-noti .box-inside .box-item-noti .box-icon svg {
  color: var(--whites);
  font-size: 25px;
  margin-top: 0.2rem;
}
@media screen and (max-width: 576px) {
  #content-noti .box-noti .box-inside .box-item-noti .box-icon {
    margin-bottom: 1.5rem;
  }
}
#content-noti .box-noti .box-inside .box-item-noti .title-noti {
  text-align: left;
  margin-bottom: 5px;
  color: var(--blacks);
}
#content-noti .box-noti .box-inside .box-item-noti .detail-noti {
  color: var(--grays);
  font-weight: 400;
  margin-bottom: 0 !important;
  font-size: 0.95rem;
  text-align: left;
}
#content-noti .box-noti .box-inside .box-item-noti .detail-noti .tracking {
  margin-left: 5px;
  margin-right: 5px;
  font-weight: 600;
  color: var(--main2);
}
#content-noti .box-noti .box-inside .box-item-noti .detail-noti span {
  margin-left: 10px;
}

#content-profile .box-profile {
  background-color: var(--grays2);
  padding: 15px;
  border-radius: 6px;
}
#content-profile .box-profile .box-inside {
  padding: 20px;
  border-radius: 6px;
  background-color: var(--whites);
}
#content-profile .box-profile .box-inside .nav-tabs {
  border-bottom: 0;
  margin-bottom: 1.5rem;
}
#content-profile .box-profile .box-inside .nav-link {
  font-weight: 500;
  color: var(--blacks);
}
#content-profile .box-profile .box-inside .nav-link.active {
  border-bottom: 3px solid var(--main) !important;
}
#content-profile .box-profile .box-inside .nav-tabs .nav-link {
  border-top: none;
  border-left: none;
  border-right: none;
}
#content-profile .box-profile .box-inside .box-group {
  border: 1px solid var(--grays2);
  padding: 15px;
  margin-bottom: 1.5rem;
  border-radius: 10px;
}
#content-profile .box-profile .box-inside .box-group label {
  margin-bottom: 0.5rem;
  color: goldenrod;
}
#content-profile .box-profile .box-inside .box-group label .require {
  color: var(--red);
}
#content-profile .box-profile .box-inside .box-group textarea {
  height: 150px !important;
}
#content-profile .box-profile .box-inside .box-group .form-control {
  margin-left: 1rem;
  margin-bottom: 1rem;
  width: 97%;
  box-shadow: none;
  border: none !important;
}
#content-profile .box-profile .box-inside .box-group .form-control:focus {
  box-shadow: none !important;
}
#content-profile .box-profile .box-inside .box-button-save {
  text-align: center;
}
#content-profile .box-profile .box-inside .box-button-save .text-alert {
  margin-top: 3rem;
  color: var(--red);
}
#content-profile .box-profile .box-inside .box-button-save .btn-save {
  background-color: var(--main2);
  border: 1px solid var(--main2) !important;
  font-weight: 400 !important;
  color: var(--whites);
  width: 20%;
}
#content-profile .box-profile .box-inside .box-button-save .btn-save:hover {
  background-color: transparent;
  color: var(--main2);
}
@media screen and (max-width: 576px) {
  #content-profile .box-profile .box-inside .box-button-save .btn-save {
    width: 100%;
    margin-bottom: 1rem;
  }
}
#content-profile .box-changepassword .box-group {
  border: 1px solid var(--grays);
  border-radius: 5px;
}
#content-profile .box-changepassword .box-group .inputWithIcon {
  position: relative;
}
#content-profile .box-changepassword .box-group .inputWithIcon label {
  color: var(--grays);
}
#content-profile .box-changepassword .box-group .inputWithIcon .form-control {
  border: 1px solid var(--grays);
  color: var(--blacks);
  box-shadow: none !important;
  border-radius: 5px;
}
#content-profile .box-changepassword .box-group .inputWithIcon .form-control::-moz-placeholder {
  color: var(--grays);
}
#content-profile .box-changepassword .box-group .inputWithIcon .form-control::placeholder {
  color: var(--grays);
}
#content-profile .box-changepassword .box-group .inputWithIcon .form-control:focus {
  border: none !important;
}
#content-profile .box-changepassword .box-group .inputWithIcon .form-control:focus + svg {
  color: var(--main);
}
#content-profile .box-changepassword .box-group .inputWithIcon svg {
  font-size: 14px;
}
#content-profile .box-changepassword .box-group .inputWithIcon .fa-unlock-keyhole,
#content-profile .box-changepassword .box-group .inputWithIcon .fa-circle-user {
  position: absolute;
  left: 10px;
  top: 13px;
  color: var(--main2);
}
#content-profile .box-changepassword .box-group .inputWithIcon .fa-eye,
#content-profile .box-changepassword .box-group .inputWithIcon .fa-eye-slash {
  position: absolute;
  right: 10px;
  top: 45px;
  color: var(--main2);
}
#content-profile .box-changepassword .box-button-save {
  text-align: center;
}
#content-profile .box-changepassword .box-button-save .btn-save {
  background-color: var(--main2);
  border: 1px solid var(--main2) !important;
  font-weight: 400 !important;
  color: var(--whites);
  width: 20%;
}
#content-profile .box-changepassword .box-button-save .btn-save:hover {
  background-color: transparent;
  color: var(--main2);
}
@media screen and (max-width: 576px) {
  #content-profile .box-changepassword .box-button-save .btn-save {
    width: 100%;
    margin-bottom: 1rem;
  }
}

.form-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upload-files-container {
  background-color: var(--whites);
  width: 100%;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 2px dashed var(--main);
  border-radius: 5px;
  margin: 10px 0 15px;
  padding: 30px 50px;
  width: 100%;
  text-align: center;
}

.drag-file-area svg {
  font-size: 50px;
}

.drag-file-area h3 {
  font-size: 26px;
  margin: 15px 0;
}

.drag-file-area {
  text-align: center;
}

.drag-file-area label {
  font-size: 19px;
}

.drag-file-area label .browse-files-text {
  color: var(--main2);
  font-weight: bolder;
  cursor: pointer;
}

.browse-files span {
  position: relative;
}

.default-file-input {
  opacity: 0;
  display: none;
}

.cannot-upload-message {
  background-color: #ffc6c4;
  font-size: 17px;
  display: flex;
  align-items: center;
  margin: 5px 0;
  padding: 5px 10px 5px 30px;
  border-radius: 5px;
  color: #bb0000;
  display: none;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.cannot-upload-message span,
.upload-button-icon {
  padding-right: 10px;
}

.cannot-upload-message span:last-child {
  padding-left: 20px;
  cursor: pointer;
}

.file-block {
  color: #f7fff7;
  background-color: var(--main);
  transition: all 1s;
  width: 390px;
  position: relative;
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 15px;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
}

.file-info {
  display: flex;
  align-items: center;
  font-size: 15px;
}

.file-icon {
  margin-right: 10px;
}

.file-name,
.file-size {
  padding: 0 3px;
}

.remove-file-icon {
  cursor: pointer;
}

.progress-bar {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 4.5%;
  width: 0;
  height: 5px;
  border-radius: 25px;
  background-color: var(--main);
}

.upload-button {
  background-color: var(--main);
  color: #f7fff7;
  display: flex;
  align-items: center;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  margin: 10px;
  padding: 7.5px 50px;
  cursor: pointer;
}

#content-history .badge {
  font-size: 0.8rem;
  font-weight: 400 !important;
  padding: 10px 15px !important;
}
#content-history #filter-history .btn-info svg {
  color: var(--whites);
}
#content-history .table-history {
  margin-top: 2rem;
}
@media screen and (max-width: 768px) {
  #content-history .table-history {
    display: none;
  }
}
#content-history .table-history thead td {
  font-weight: 500 !important;
}
#content-history .table-history .btn-print {
  background-color: var(--aqa);
  color: var(--whites);
}
#content-history .box-itemtable-responsive {
  display: none;
  margin-top: 2rem;
}
#content-history .box-itemtable-responsive .item {
  font-weight: 500;
  margin-bottom: 2rem;
}
#content-history .box-itemtable-responsive .item .txt-detail {
  margin-bottom: 1rem;
}
#content-history .box-itemtable-responsive .item .txt-detail span {
  float: right;
  font-weight: 400;
}
#content-history .box-itemtable-responsive .item .btn-print {
  background-color: var(--aqa);
  color: var(--whites);
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}
@media screen and (max-width: 768px) {
  #content-history .box-itemtable-responsive {
    display: block;
  }
}

#content-cart .text-alert-title {
  text-align: center;
  color: var(--red);
  font-size: 1.25rem;
}
#content-cart .box-checktransport {
  float: right;
}
#content-cart .box-checktransport .form-check {
  margin-bottom: 0 !important;
  margin-top: 0.3rem;
}
#content-cart .box-checktransport .form-check .form-check-label {
  color: var(--main2);
  font-weight: 500;
}
#content-cart .box-checktransport .btn-buy {
  font-weight: 400 !important;
  font-size: 1rem;
  width: 100%;
  margin-top: 0.5rem;
  color: var(--whites);
  background-color: var(--main);
  border: 1px solid var(--main);
}
#content-cart .box-checktransport .btn-buy:hover {
  background-color: transparent;
  color: var(--main);
}
#content-cart .table-cart {
  font-weight: 500 !important;
  border-top: 1px solid var(--bs-border-color);
}
#content-cart .table-cart thead td {
  padding-top: 0.75rem;
}
@media screen and (max-width: 576px) {
  #content-cart .table-cart {
    display: none;
  }
}
#content-cart .table-cart .img-product {
  width: 120px;
}
#content-cart .table-cart .btn-remove {
  font-weight: 400 !important;
  font-size: 0.9rem;
  width: 70%;
  color: var(--whites);
  background-color: var(--red);
  border: 1px solid var(--red);
}
#content-cart .table-cart .btn-remove:hover {
  background-color: transparent;
  color: var(--red);
}
@media screen and (max-width: 1024px) {
  #content-cart .table-cart .btn-remove {
    width: 100%;
  }
}
#content-cart .table-cart .btn-edit {
  font-weight: 400 !important;
  font-size: 0.9rem;
  width: 70%;
  color: var(--whites);
  background-color: var(--adjust);
  border: 1px solid var(--adjust);
  margin-top: 0.5rem;
}
@media screen and (max-width: 1024px) {
  #content-cart .table-cart .btn-edit {
    width: 100%;
  }
}
#content-cart .table-cart .btn-edit:hover {
  background-color: transparent;
  color: var(--adjust);
}
#content-cart .box-note {
  /* background-color: var(--grays2); */
  /* padding: 15px; */
  border-radius: 6px;
}
#content-cart .box-note .box-inside {
  background-color: var(--whites);
  /* padding: 20px; */
  border-radius: 6px;
}
#content-cart .box-note .box-inside #form-note label {
  margin-bottom: 0.5rem;
}
#content-cart .box-note .box-inside #form-note .note-customer {
  height: 150px !important;
}
#content-cart .short-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--main2);
}
#content-cart .box-result-wrap {
  margin-top: 73px;
}
#content-cart .box-result {
  /* box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.8); */
  box-shadow: 0px 0px 8px 1px rgba(0, 0, 0, 0.5);
  padding: 20px;
}
#content-cart .box-result .title-result {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 3rem;
}
#content-cart .box-result .box-content-result {
  margin-bottom: 1.2rem;
}
#content-cart .box-result .box-content-result .text-start {
  text-align: left;
  font-weight: 500;
}
#content-cart .box-result .box-content-result .text-end {
  font-weight: 500;
  float: right;
}
#content-cart .box-result .transport-type {
  font-size: 1.1rem;
}
#content-cart .box-itemtable-responsive {
  display: none;
  margin-top: 2rem;
}
#content-cart .box-itemtable-responsive .item {
  font-weight: 500;
  margin-bottom: 2rem;
}
#content-cart .box-itemtable-responsive .item .txt-detail {
  margin-bottom: 1rem;
}
#content-cart .box-itemtable-responsive .item .txt-detail span {
  float: right;
  font-weight: 400;
}
#content-cart .box-itemtable-responsive .item .btn-remove {
  font-weight: 400 !important;
  font-size: 1rem;
  width: 100%;
  color: var(--whites);
  background-color: var(--red);
  border: 1px solid var(--red);
}
#content-cart .box-itemtable-responsive .item .btn-remove:hover {
  background-color: transparent;
  color: var(--red);
}
#content-cart .box-itemtable-responsive .item .btn-edit {
  font-weight: 400 !important;
  font-size: 1rem;
  width: 100%;
  color: var(--whites);
  background-color: var(--adjust);
  border: 1px solid var(--adjust);
  margin-top: 0.5rem;
}
#content-cart .box-itemtable-responsive .item .btn-edit:hover {
  background-color: transparent;
  color: var(--adjust);
}
@media screen and (max-width: 576px) {
  #content-cart .box-itemtable-responsive {
    display: block;
  }
}
#content-cart .box-itemtable-responsive .box-resultitem .txt-detail {
  margin-bottom: 1rem;
  font-weight: 600;
}
/* Equal height product cards in the listing grid (scoped to .box-product,
   not .box-product-modal, so the add-to-cart modal image is unaffected) */
.box-product {
  display: flex;
  flex-direction: column;
  height: calc(100% - 2rem);
  overflow: hidden;
}

.box-product .box-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

#content .box-product .box-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100% !important;
  margin-top: 0;
  padding: 0;
  object-fit: contain;
}

.box-product .box-tag {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  margin-top: 0;
  z-index: 2;
}

.box-product .box-detail-product {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.box-product .box-button-product {
  margin-top: auto;
}

#content-cart .box-itemtable-responsive .box-resultitem .txt-detail span {
  float: right;
  font-weight: 400;
}

/* ------------------------------------------------------------------ */
/* Quick-order product card (index_quick_order.php only).             */
/* Namespaced with a "qo-" prefix so it never touches the shared      */
/* .box-product styling used by search/listing/replenishment/etc.     */
/* ------------------------------------------------------------------ */
.qo-card {
  display: flex;
  flex-direction: column;
  height: calc(100% - 2rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
  background: var(--whites);
  border: 1px solid var(--grays2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.8);
  transition: box-shadow 0.2s ease;
}
.qo-card:hover {
  box-shadow: 0px 5px 24px -12px rgba(0, 0, 0, 0.35);
}

.qo-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--whites);
  padding: 20px;
  overflow: hidden;
}
.qo-card-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.qo-out {
  position: absolute;
  top: 40%;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background-color: var(--out);
  color: var(--whites);
  font-weight: 500;
  font-size: 1rem;
}

.qo-bookmark {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: transparent;
  color: #000;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.qo-bookmark:hover {
  background: transparent;
  color: #000;
}
.qo-bookmark--active {
  background: var(--out);
}

.qo-tags {
  display: flex;
  flex-wrap: wrap;
  row-gap: 3px;
  position: absolute;
  left: 0;
  right: 8px;
  bottom: 8px;
  z-index: 2;
}
.qo-tag {
  color: var(--whites);
  font-size: 0.8rem;
  display: inline-block;
  text-align: center;
  font-weight: 500;
  padding: 5px 5px;
  border-top-right-radius: 10px;
  position: relative;
}
.qo-tag:first-child::after {
  display: none !important;
}
.qo-tag--flash {
  background-color: var(--red);
}
.qo-tag--flash::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--red);
  z-index: -1;
}
.qo-tag--promotion {
  background-color: var(--promotion);
}
.qo-tag--promotion::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--promotion);
  z-index: -1;
}
.qo-tag--new {
  background-color: sienna;
}
.qo-tag--new::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: sienna;
  z-index: -1;
}
.qo-tag--recommend {
  background-color: royalblue;
}
.qo-tag--recommend::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: royalblue;
  z-index: -1;
}
.qo-tag--stock {
  background-color: var(--stock);
}
.qo-tag--stock::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--stock);
  z-index: -1;
}
.qo-tag--adjust {
  background-color: var(--adjust);
}
.qo-tag--adjust::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--adjust);
  z-index: -1;
}
.qo-tag--min {
  background-color: var(--selling);
}
.qo-tag--min::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--selling);
  z-index: -1;
}
.qo-tag--limit {
  background-color: var(--limit);
}
.qo-tag--limit::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--limit);
  z-index: -1;
}
.qo-tag--multiple {
  background-color: var(--stock);
}
.qo-tag--multiple::after {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--stock);
  z-index: -1;
}

.qo-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 16px 16px;
}

.qo-row-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.qo-code {
  color: var(--grays);
  font-size: 0.8rem;
}
.qo-info-btn {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--main);
  color: var(--whites);
  font-size: 0.65rem;
  text-decoration: none;
}
.qo-info-btn:hover {
  color: var(--whites);
  opacity: 0.85;
}

.qo-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  margin: 2px 0 10px !important;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--blacks);
  outline: none;
}
.qo-name:focus,
.qo-name:focus-visible {
  outline: none;
}

.qo-uom {
  position: relative;
  margin-bottom: 10px;
}
.qo-uom-select {
  display: none;
}
.qo-uom-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 32px 7px 14px;
  border: 1.5px solid var(--grays2);
  border-radius: 999px;
  background: var(--whites);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blacks);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.qo-uom--open .qo-uom-trigger {
  border-color: var(--main);
}
.qo-uom-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.65rem;
  color: var(--grays);
  pointer-events: none;
  transition: transform 0.15s ease;
}
.qo-uom--open .qo-uom-chevron {
  transform: translateY(-50%) rotate(180deg);
}
.qo-uom-list {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
  background: var(--whites);
  border: 1px solid var(--grays2);
  border-radius: 12px;
  padding: 6px 0;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.25);
}
.qo-uom--open .qo-uom-list {
  display: block;
}
.qo-uom-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blacks);
  cursor: pointer;
}
.qo-uom-option:hover {
  background: var(--grays2);
}
.qo-uom-option .qo-uom-check {
  display: none;
  font-size: 0.7rem;
  color: var(--selling);
}
.qo-uom-option--active {
  color: var(--selling);
  font-weight: 600;
}
.qo-uom-option--active .qo-uom-check {
  display: inline-block;
}

.qo-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px !important;
}
.qo-price-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: #12786f;
}
.qo-price-unit {
  font-size: 1.3rem;
  font-weight: 600;
  color: #12786f;
}
.qo-price-old {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--grays);
}
.qo-price--out {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
}

.qo-order-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 10px;
}
.qo-stepper {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  height: 38px;
  border: 1px solid #e2e6e8;
  border-radius: 19px;
  overflow: hidden;
  background: var(--whites);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.qo-step-btn {
  width: 32px;
  height: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: #f5f7f8;
  color: #495057;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.qo-step-btn:hover:not(:disabled) {
  background: #12786f;
  color: var(--whites);
}
.qo-step-btn:active:not(:disabled) {
  background: #0b5d56;
  color: var(--whites);
}
.qo-step-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.qo-qty {
  display: inline-block;
  min-width: 50px;
  max-width: 80px;
  border: none;
  border-left: 1px solid #e2e6e8;
  border-right: 1px solid #e2e6e8;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #1c2b33;
  padding: 0 2px;
  box-sizing: border-box;
  transition: width 0.1s ease;
}
.qo-qty:focus {
  outline: none;
  background: #f5f7f8;
}
.qo-qty::-webkit-outer-spin-button,
.qo-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qo-cart-btn {
  width: 42px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  background: #12786f;
  color: var(--whites);
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.qo-cart-btn:hover:not(:disabled) {
  background: #0b5d56;
}
.qo-cart-btn:active:not(:disabled) {
  background: #0b5d56;
}
.qo-cart-btn:disabled {
  background: var(--grays);
  box-shadow: none;
  cursor: not-allowed;
}

.qo-limits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--out);
}
.qo-limits .qo-limit-min {
  color: #27ae60;
}
.qo-limits .qo-limit-max {
  color: #dc3545;
}
.qo-limits .qo-limit-step {
  color: #b8860b;
}

/* Category pill (getBox.php) */
.catbox-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px;
  padding: 14px 16px;
  min-height: 52px;
  border: 1.5px solid #12786f;
  border-radius: 999px;
  background: var(--whites);
  color: #12786f;
  font-weight: 700 !important;
  font-size: 0.95rem;
  text-align: center;
  transition: background-color 0.2s ease;
}
.catbox-pill:hover {
  background: #e5f5ef;
  color: #12786f;
}

/* Product listing pagination (ajax/listing/GetProduct.php) */
.lst-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2rem 0 0.75rem;
}
.lst-pager-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--grays2);
  border-radius: 10px;
  background: var(--whites);
  color: var(--blacks);
  font-weight: 600 !important;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lst-pager-btn:hover:not(:disabled):not(.lst-pager-num--active) {
  border-color: #12786f;
  color: #12786f;
}
.lst-pager-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.lst-pager-arrow {
  font-size: 1.1rem;
  font-weight: 700 !important;
  color: var(--grays3);
}
.lst-pager-num--active {
  background: #12786f;
  border-color: #12786f;
  color: var(--whites) !important;
}
.lst-pager-ellipsis {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--grays3);
  font-weight: 700;
}
.lst-pager-info {
  text-align: center;
  color: var(--grays3);
  font-size: 0.8rem;
  font-weight: 400 !important;
}

/* Back to top button (mobile only) */
.back-to-top {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #12786f;
  color: var(--whites);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.15s ease;
}
.back-to-top:hover,
.back-to-top:active {
  background: #0b5d56;
}
@media (max-width: 767.98px) {
  .back-to-top {
    display: flex;
  }
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* Product detail page (product.php) */
.pd-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 15px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pd-card {
  background: var(--whites);
  border-radius: 16px;
  box-shadow: 0px 3px 22px -15px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.pd-hero {
  display: flex;
}

.pd-image {
  position: relative;
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--whites);
}
.pd-image img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.pd-out {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  text-align: center;
  padding: 8px 0;
  border-radius: 8px;
  background: var(--out);
  color: var(--whites);
  font-weight: 600;
  font-size: 0.85rem;
}

.pd-info {
  flex: 1 1 auto;
  min-width: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
}
.pd-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.pd-code {
  color: var(--grays);
  font-size: 0.85rem;
  font-weight: 600;
}
.pd-gtin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f4f6f7;
  color: #55606b;
  font-size: 0.78rem;
  font-weight: 600;
}
.pd-name {
  margin: 0 0 4px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--blacks);
}
.pd-generic {
  margin: 0 0 16px;
  color: var(--grays);
  font-size: 0.9rem;
  font-style: italic;
}
.pd-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.pd-uom {
  max-width: 180px;
  margin-bottom: 0 !important;
}
.pd-price-value {
  font-size: 2rem;
  font-weight: 800;
  color: #12786f;
}
.pd-price-unit {
  font-size: 1rem;
  font-weight: 600;
  color: #12786f;
}
.pd-limits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pd-limit-min {
  color: #27ae60;
}
.pd-limit-max {
  color: #dc3545;
}
.pd-limit-step {
  color: #b8860b;
}
.pd-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.pd-stepper {
  flex-shrink: 0;
}
.pd-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}
.pd-btn-cart {
  background: #12786f;
  color: var(--whites);
  box-shadow: 0 2px 8px rgba(18, 120, 111, 0.25);
}
.pd-btn-cart:hover:not(:disabled) {
  background: #0b5d56;
}
.pd-btn-cart:disabled {
  background: var(--grays);
  box-shadow: none;
  cursor: not-allowed;
}
.pd-btn-follow {
  background: #fdf0dd;
  color: #b8720a;
  border: 1px solid #f3d9ad;
}
.pd-btn-follow:hover {
  background: #fbe6c6;
}
.pd-btn-follow--active {
  background: #b8720a;
  color: var(--whites);
  border-color: #b8720a;
}
.pd-btn-follow--active:hover {
  background: #9c5f08;
}
.pd-notes {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #e5e8ea;
  font-size: 0.85rem;
  color: #666;
}
.pd-notes p {
  margin: 0 0 4px;
}

.pd-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  border-bottom: 1px solid #eef1f2;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blacks);
}
.pd-section-title i {
  color: #12786f;
}
.pd-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.pd-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.pd-video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-credit {
  margin: 0;
  padding: 12px 24px 20px;
  color: var(--grays);
  font-size: 0.8rem;
}
.pd-desc-card .pd-desc-text {
  margin: 0;
  padding: 20px 24px;
  color: #333;
  line-height: 1.7;
  font-size: 0.9rem;
  white-space: pre-line;
}
.pd-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--grays);
}

@media (max-width: 767.98px) {
  .pd-hero {
    flex-direction: column;
  }
  .pd-image {
    flex: none;
    width: 100%;
  }
  .pd-info {
    padding: 20px;
  }
  .pd-price-value {
    font-size: 1.6rem;
  }
  .pd-actions {
    flex-direction: column;
  }
  .pd-uom {
    max-width: none;
  }
  .pd-stepper {
    align-self: center;
  }
  .pd-btn {
    justify-content: center;
  }
}
/*# sourceMappingURL=style.css.map */