:root {
    --main-red-color: #EB4953;
    --main-navy-color: #212529;
    --main-bg-color: #f8f9fa;
    --main-grey-color: rgba(42, 60, 122, 0.1);
    --product-discounted-color: #EB202C;
    --product-crossed-color: rgba(0, 0, 0, 0.5);
    --control-height: 48px;
    --control-radius: 16px;
    --common-space: 40px;
}

html {
  font-size: 14px;
}
body {
  background-color: var(--main-bg-color);
  font-family: Roboto ,'SVN-Gilroy', sans-serif;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.products-section-title,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'SVN-Gilroy', sans-serif;
}
img {
  object-fit: contain;
}
a {
  color: var(--main-navy-color);
}
a:hover {
  color: var(--main-navy-color);
}
input[type="number"] {
  -moz-appearance: textfield;
}
input[type="number"]:hover,
input[type="number"]:focus {
  -moz-appearance: textfield;
}
.btn.focus, .btn:focus {
  outline: 0;
  box-shadow: none;
}
/* header and footer */
.l-header {
  background: none;
  box-shadow: none;
  margin-bottom: 0;
  background-color: var(--main-bg-color);
}
.sticky-header {
  -webkit-animation: moveHeader .3s ease;
  animation: moveHeader .3s ease;
  position: sticky;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 100;
}
.l-footer {
  background: #182F7E;
  color: #fff;
}
.l-footer a {
  color: #fff !important;
}
.footer__title {
  color: white;
}

@media (min-width:1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .l-wrapper,
  .l-wrapper--boxed,
  main>.notifications-container {
    max-width:none;
  }
}
@media (min-width:992px) {
  .header__logo {
    width:226px;
  }
  .header__right {
    width: auto;
  }
  .container {
    padding-right:0;
    padding-left:0;
  }
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .l-wrapper,
  .l-wrapper--boxed,
  main>.notifications-container {
    max-width:none;
  }
  .user-info {
    color: white;
    height: var(--control-height);
    padding: 0 16px;
    border: 0;
    border-radius: var(--control-radius);
    text-align: center;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
  }
  .user-info .u-link-body {
    color: var(--main-navy-color);
    line-height: var(--control-height);
  }
}
@media (min-width:768px) {
  .container,
  .l-wrapper,
  .l-wrapper--boxed,
  main>.notifications-container {
    max-width:none;
  }
}
@media (min-width:576px) {
  .container,
  .l-wrapper,
  .l-wrapper--boxed,
  main>.notifications-container {
    max-width:none;
  }
}
.user-info {
  margin-left: 12px;
}
.header__logo img {
  max-height: 48px;
  object-fit: contain;
}
.header__search {
  padding-left: 8%;
  padding-right: 8%;
}
.search-widget {
  max-width: none;
}
.search-widget .form-control {
  height: var(--control-height);
  border: solid 1px var(--main-navy-color);
  border-radius: var(--control-radius);
}
.u-link-body {
  font-weight: 500;
}
.search-widget .btn-link {
  color: #fff;
  background: linear-gradient(86.15deg, #182F7E 0%, #0368C6 129.68%);
  border-top-right-radius: var(--control-radius);
  border-bottom-right-radius: var(--control-radius);
  height: var(--control-height);
  width: 50px;
}
.line {
  height: 1px;
  background: var(--main-grey-color);
}
.content-padding {
  padding-left: 9.375%;
  padding-right: 9.375%;
}
/* main menu */
#gp-main-menu {
  display: flex;
  flex-direction: row;
  padding-top: 14px;
  padding-bottom: 14px;
  margin-bottom: 0;
}
#gp-main-menu > li {
  flex: 1;
  display: flex;
  justify-content: center;
  transition: transform .2s;
}
.gp-hover:hover {
  transform: scale(1.2);
}
#gp-main-menu > li > a > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#gp-main-menu > li > a {
  color: var(--main-navy-color);
  font-weight: 500;
  font-size: 20px;
}
#gp-main-menu .menu-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
}
.menu-datnhanh .menu-icon {
  width: 36px !important;
  height: 36px !important;
  margin-bottom: 10px !important;
}
.menu-datnhanh > a {
  font-weight: 600 !important;
}
#carousel .img-carousel {
  object-fit: cover;
}
.page-home > * {
  margin-bottom: 3.8rem;
}
.products-section-title {
  font-weight: 600;
  text-transform: none;
  color: var(--main-navy-color);
  font-size: 2.51rem;
}
.gp-block-title {
  display: flex;
  position: relative;
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
}
.products-section-title {
}
.gp-block-title .gp-view-all {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  font-size: 1.2rem;
}
.all-product-link {
  height: var(--control-height);
  background: linear-gradient(86.15deg, #182F7E 0%, #0368C6 129.68%);
  border-radius: var(--control-radius);
  font-weight: 600;
  color: white;
  padding: 0 24px;
  line-height: var(--control-height);
}
.all-product-link:hover {
  color: white;
}
.all-product-link i {
  line-height: 48px;
  margin-left: 12px;
}
.gp-products-space {
  padding-left: 0;
  padding-right: 0;
  margin-left: var(--common-space);
  margin-right: var(--common-space);
}
.l-wrapper {
  padding-left: 0;
  padding-right: 0;
}
/*mini product*/
@media (min-width:992px) {
  .product-miniature {
    flex:0 0 226px;
    max-width:none;
  }
  .layout-full-width .product-miniature {
    flex:0 0 226px;
    max-width:none;
  }
}
@media (max-width:320px) {
  .product-miniature {
    flex:0 0 226px;
    max-width:none;
  }
}
.product-miniature {
  padding-left: 6px;
  padding-right: 6px;
}
/* slide */
.gp-products .slick-prev {
  left: -32px;
}
.gp-products .slick-next {
  right: -32px;
}
.products-slick .slick-arrow {
  padding: 0;
}
.products-slick {
  /*display: flex;*/
}
.products-slick .slick-track {
  display: flex;
}
.products-slick .slick-slide {
  height: auto;
  display: flex;
}
.products-slick .slick-slide > div {
  height: auto;
  display: flex;
  width: 100%;
}
.products-slick .product-miniature {
  flex: 0 0 100%;
}
.card-product {
  border-radius: 16px;
  padding-top: 4px;
  transition: transform .2s;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
  border: solid 1px #efefef;
}
.card-product:hover {
  /*border: solid 1px var(--main-navy-color);*/
  transform: scale(1.02);
}
.card-img-top .product-thumbnail img {
  transform: scale(1.1);
}
.products article .wishlist-button-add {
  top: 0;
}
.rc {
  height: auto;
  padding-top: 1px;
  background: none;
}
.gp-short-info {
  text-transform: uppercase;
  text-align: left;
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.5);
}
.product-miniature {
  margin-top: 1rem;
}
.product-miniature .product-description > * {
  margin-bottom: 8px;
}
.product-miniature .product-cart {
  margin: 0 16px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
.product-title {
    text-align: left;
    font-size: 20px;
}
.product-title a {
  font-size: 1.285rem;
  font-weight: 600;
  color: #000;
}
.card-product:hover .product-title a {
  color: var(--main-navy-color);
}
.price {
  font-size: 1.2rem;
  color: var(--main-navy-color);
}
.giact {
    color: #212529;
    font-weight: 600;
    line-height: 1.5;
    font-size: 20px;
}
.regular-price {
  font-weight: normal;
  color: var(--main-navy-color);
}
.price.current-price-discount {
  color: green;
  margin-left: 8px;
}
/*flag*/
.product-flag {
  line-height: 38px;
  padding-left: 12px;
  padding-right: 12px;
  text-align: center;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}
.product-flag {
  background: linear-gradient(90deg, #DF711B 0%, #FFB740 100%);
}
.product-flag.discount-product {
  background: linear-gradient(90deg, #EB202C 0%, #FF7070 100%);
}
.product-flag.doi-gia {
  background: linear-gradient(90deg, #91C788 0%, rgba(145, 199, 136, 0.75) 100%);
}
/*special-products*/
.special-products {
  background: linear-gradient(
90.15deg, #182F7E 0%, #0368C6 50.68%, #182F7E 100%);
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.special-products .products-section-title {
  color: white;
}
.special-products .all-product-link {
  background: white;
  color: var(--main-navy-color);
}
/*partners*/
.partners-block {
  display: flex;
  flex-direction: column;
}
.partners-block .items {
  /* for child */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.partner {
}
.partner > div {
  display: flex;
  justify-content: center;
}
.partner img {
  background: #fff;
  width: 146px;
  height: 146px;
  object-fit: contain;
  border-radius: 73px;
  padding: 16px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.05);
}
.gp-partners {
  margin-bottom: 3.3rem;
}
/*footer*/
#footer {
  line-height: 1.8;
}
#footer .col-lg-3 {
  padding-left: 0;
  padding-right: 0;
}
#footer .col-lg-6 {
  padding-left: 0;
  padding-right: 0;
}
.footer__title {
  font-size: larger;
}
#footer li {
  margin-top: 18px;
}
#footer strong {
  font-weight: 500;
}
#footer_store_info i {
  margin-right: 14px;
}
.block-contact {
  flex-grow: 1;
  max-width: none;
}
.thong-bao-bct {
  margin-top: 8px;
  flex: 0 0 180px;
}
/*left-column*/
#left-column {
  flex: 0 0 270px;
}
#content-wrapper {
  flex-grow: 1;
  max-width: none;
  
}
#main {
  margin-left: var(--common-space);
  margin-right: var(--common-space);
}
.page-wrapper--index {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/*san pham*/
.breadcrumb {
  background: none;
  margin-top: 24px;
  padding: 0;
  margin-left: 1px;
}
.breadcrumb-item {
  font-size: larger;
}
.breadcrumb-item a {
  color: #6c757d;
}
.breadcrumb-item.active {
  color: var(--main-navy-color);
  font-weight: 600;
}
.page-item.active .page-link, .page-item.active .product-comments__pagination li span, .product-comments__pagination li.active .page-link, .product-comments__pagination li.active span, .product-comments__pagination li .page-item.active span {
    background-color: #316dc3;
    border-color: #316dc3;
}
.page-item.active .page-link {
    z-index: 2;
    color: #fff;
    
}

.page-link, .product-comments__pagination li span {
    color: #0e80c0;
}
#select-sort-order {
  /*background: white;*/
  height: var(--control-height);
  border-radius: var(--control-radius);
  border: none;
}
.product__quantity {
  font-size: larger;
}
/*filter*/
.left-column .search_filters {
  background: none;
  border: none;
  padding: 0;
  margin-left: 40px;
}
.search_filters .h6 {
  font-size: 1.4rem;
  color: rgba(0, 0, 0, 0.7);
}
.facet__title {
  font-size: 1.2rem;
  font-weight: 500;
}
.custom-control {
  min-height: 1.8rem;
}
.active_filters {
  background: none;
}
#products {
  margin-right: 2px;
}
#content-wrapper {
  padding: 5px;
}
.small-input-s {
  border: solid 1px rgba(42, 60, 122, 0.5);
  border-radius: var(--control-radius);
  padding: 4px 12px;
}
.popover {
  max-width: none;
  border: none;
}
.gp-submenu {
  width: 800px;
  display: flex;
}
.gp-mn-logo {
  flex: 0 0 200px;
  padding: 16px;
}
.gp-mn-categories {
  flex: 1;
  padding: 16px;
  border-right: solid 1px rgba(42, 60, 122, 0.1);
}
.gp-mn-categories > ul {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px, 1fr));
  line-height: 2;
}
.gp-mn-categories a {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 2;
  font-family: 'SVN-Gilroy', sans-serif;
}
.gp-mn-partners {
  flex: 0 226px;
  padding: 0 16px 0 16px;
  align-self: center;
}
.gp-mn-partners img {
  width: 96px;
  height: 96px;
}
/*preview cart*/
.popover-cart-lines .product-line__img {
  width: 60px;
  height: 60px;
}
.popover-cart-lines .cart-quan {
  alignment: right;
}
.popover-cart-lines .gp-cart-summary {
  margin-top: 16px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  color: var(--main-navy-color);
}

/*custom*/
.slick-arrow > i {
  font-size: 4rem;
}

/*product details*/
.gp-product-details-section {
  background: white;
  border: 0;
  border-radius: var(--control-radius);
  margin-bottom: 16px;
  padding: 12px;
}
.gp-product-details-section .h1 {
  color: var(--main-navy-color);
  font-weight: 600;
  font-size: 1.9rem;
  margin-bottom: 20px;
}
.gp-product-details-section .product-img {
  display: flex;
  justify-content: center;
}
.gp-product-details-section .img-fluid {
  height: 360px;
  margin: auto;
}
.gp-product-details-section .product-manufacturer {
  font-size: 1.1rem;
}
.gp-product-details-section dd {
  font-size: 1.1rem;
}
.gp-product-details-section dt {
  font-size: 1.1rem;
}
.product-details-cart {
  width: 160px;
  margin-top: 16px;
}
/*cart*/
.cart-grid {
  margin-top: 24px;
}
.cart-summary {
  border: none;
  background: white;
  border-radius: var(--control-radius);
}
.card-footer {
  background: none;
  border: none;
}
.btn-primary {
  border-radius: var(--control-radius);
}
.btn-gp {
  border-radius: var(--control-radius);
  padding: 12px 0.85rem;
  font-weight: 500;
  box-shadow: inset 0 1px 0 hsl(0deg 0% 100% / 15%), 0 1px 1px rgb(0 0 0 / 8%);
}
.btn-gp-red {
  background-color: var(--main-red-color);
  border-color: var(--main-red-color);
  color: white;
}
.cart-detailed-totals {
  font-size: 1.1rem;
}
#cart-subtotal-products .label {
  color: var(--main-navy-color);
  font-weight: 500;
}
#cart-subtotal-products .value {
  color: var(--main-navy-color);
  font-weight: 500;
}
.cart-total .value {
  color: var(--main-navy-color);
  font-weight: 600;
  font-size: 1.2rem;
}
.account-links .link-item, .address, .block-categories, .card, .card-block, .page-wrapper {
  border: none;
  background: white;
  border-radius: var(--control-radius);
}
.cart-grid-body .card {
  padding: 16px;
}
.page-wrapper {
  padding: 16px;
}
.address-header, .card-header, .page-header {
  background: none;
  border-bottom: none;
  color: var(--main-navy-color);
}
.address-footer, .card-footer, .page-footer {
  background: none;
  border-top: none;
}
.btn-outline-primary {
  border-radius: var(--control-radius);
}
.contact-for-order {
  color: var(--product-discounted-color);
  font-size: 1.4rem;
  font-weight: 600;
}

/*cart*/
.cart-item:not(:last-child) {
  padding-bottom: 0;
}
.js-cart-line-product-quantity {
  height: var(--control-height);
  font-size: 1.125rem;
}
.cart-item .bootstrap-touchspin > input {
  max-width: 40px;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
  width:100%
}
.bootstrap-select > .dropdown-toggle {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.user-preview {
  padding: 8px 16px;
}

.user-preview-item {
  text-align: right;
  font-size: 1.1rem;
  font-family: 'SVN-Gilroy', sans-serif;
  padding: 8px;
}

.user-preview-name {
  font-weight: 600;
}

.dang-xuat {
  font-weight: 300;
  font-size: 1rem;
}
.gp-p-order-detail .breadcrumb-item.active{
  display: none;
}
.media-placeholder {
  width: 50px;
  height: 50px;
}
.autocomplete-suggestion .media-body {
  color: var(--main-navy-color);
  font-size: 1rem;
  margin: auto;
}
.doigia-prev-price {
  color: #7b7b7b;
}
.doigia-prev-price-up {
}
.doigia-prev-price-down {
}
.doigia-new-price {
    min-height:100px;
}
.doigia-new-price-up {
  /*color: var(--main-red-color);*/
}
.doigia-new-price-down {
  color: green;
}
.strike-value {
  text-decoration: line-through;
}
@media (min-width:767px){
  .header__logo .logo-small{
    display:none;
  }
}
@media (max-width:767px){
  .header__logo .logo{
    display:none;
  }
  header .header-top{
    display:flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 15px;
    align-items: center;
  }
  header .header__search{
    order: 0;
    padding:0;
    width: 50%;
    margin-top: 0;
    margin-right: 10px;
  }
  header .user-info a img{
    width: 48px;
  }
  .header__logo .logo-small {
    height: 48px;
    padding-right: 8px;
  }
  .btn-gp {
    padding: 4px;
  }
  .user-info {
    margin-left: 4px;
  }
  #gp-main-menu{
    padding:10px 0;
  }
  #gp-main-menu li a div{
    font-size:11px;
  }
  .gp-block-title{
    margin-bottom: 30px;
  }
  .gp-block-title .products-section-title{
    font-size:35px;
  }
  .gp-block-title .gp-view-all{
    top:50px;
    right:-15px;
  }
  .all-product-link{
    height:28px;
    line-height:28px;
    font-size:14px;
    padding: 0 14px;
  }
  .all-product-link i{
    line-height: 29px;
  }
  footer .thong-bao-bct{
    margin-top: 20px;
    margin-bottom: 50px;
  }
  #main #products{
    margin-right: 0px;
  }
  /* .product__card-desc{
    flex-direction: row;
  }
  .product__card-desc .product-title{
    text-align: center;
  } */
  .visible--mobile.text-right.up {
    margin-top: 10px;
  }
  .instant-cart .quantity-to-add{
    min-width:30px;
  }
  .product-miniature .product-cart{
    margin:0;
  }
  .instant-cart .cart-action{
    flex-basis: auto;
    font-size:20px;
  }

  .qo-product-container .thumbnail-container{
    width: 60!important;
    height: auto!important;
    flex-basis: 0;
    flex-grow: unset;
    /* flex:1; */
  }
  .qo-right-column{
    width: 100%;
    display:flex;
    justify-content: center;
    padding-right: 0;
  }
  .hidden-md-up.text-xs-right.up{
    margin-top: 10px;
  }
  .row{
    margin-left: 0;
    margin-right: 0;
  }
  #content-wrapper #main{
    margin-left: 0;
    margin-right: 0;
  }
  .products_info{
    display:none;
  }
  .card{
    padding:0;
  }
  .card-body{
    padding-left:5px;
    padding-right:5px;
    z-index:2;
  }
  .col-12,.col-1{
    padding:0;
  }
  .col-2,.col-7{
    padding-right:5px;
    padding-left:5px;
  }
  .cart-grid-body .card{
    padding:0;
  }
  .product-line-actions{
    justify-content: space-between;
  }
  .h5.product-line__title{
margin-bottom: 0;
  }

}

@media (min-width:768px) and (max-width:991px){
  footer .thong-bao-bct{
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .gp-block-title{
    margin-bottom: 55px;
  }
  .gp-block-title .products-section-title{
    font-size:35px;
  }
  .gp-block-title .gp-view-all{
    top:50px;
    right:-15px;
  }
  header .header-top{
    position: relative;
  }
  header .header__right {
    position: absolute;
    right:9.375%;
    top:20px;
  }
  header .header__search{
    padding:0;
    padding-top: 10px;
  }
  header .user-info a img{
    width: 48px;
  }
  .products .product-miniature{
    max-width: 100%;
  }
  .qo-right-column{
    width: 100%;
    display:flex;
    justify-content: center;
    padding-right: 0;
  }
  .qo-box-cart.card{
    width: 40%;
  }
}

.gp-main-menu-stacked{
  display:none!important;
}

@media (min-width: 991px){
  .gp-mn-categories ul{
    position: relative;
  }
  .menulist::before{
    display:none;
    content:'';
    width: 230px;
    height: 350px;
    background-color: white;
    position: absolute;
    right:-250px;
    top:0;
    z-index: 100;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  li.menulist:nth-of-type(1):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N01 - giam dau ha sot.png');
  }
  li.menulist:nth-of-type(4):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N01 - giam dau ha sot.png');
  }
  .menulist:nth-of-type(5):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N05 - Ho hap.png');
  }
  .menulist:nth-of-type(7):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N03 - khang sinh.png');
  }
  .menulist:nth-of-type(8):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N04 - khang viem.png');
  }
  .menulist:nth-of-type(9):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N12 - mat tai mui hogn.png');
  }
  .menulist:nth-of-type(10):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N10 - Phu khoa.png');
  }
  .menulist:nth-of-type(11):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N08 - than kinh.png');
  }
  .menulist:nth-of-type(12):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N17 - thuc pham chuc nang.png');
  }
  .menulist:nth-of-type(13):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N11 - thuoc ngoai da.png');
  }
  .menulist:nth-of-type(14):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N13 - thuoc khac.png');
  }
  .menulist:nth-of-type(15):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/No6 - tieu hoa.png');
  }
  .menulist:nth-of-type(16):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N09 - tim mach.png');
  }
  .menulist:nth-of-type(18):hover::before{
    display:block;
    background-image: url('https://beta.thuocgiaphuc.vn/themes/thuocgp_classic/assets/img/list-menu/N07 - vitamin.png');
  }
  .gp-p-module-thuocgp-datnhanh .qo-right-column .qo-box-cart{
    position: fixed;
    right: 20px;
    top:215px;
    width: 270px;
  }
  #js-product-list .row.u-a-i-c{
    display:block;
  }
      #js-product-list .row.u-a-i-c li.page-item a,#js-product-list .row.u-a-i-c li.page-item span{
        height: 39px;
        width: 39px;
        font-size:17px;
        display: flex;
        align-items: center;
        justify-content: center;
      }
  /* //stacked header */
      .header-stacked .header-top{
        display:flex;
        flex-wrap:nowrap;
        justify-content: space-between;
        padding-left: 25px;
        padding-right: 25px;
        z-index:9999;
      }
      .header-stacked .header__logo{
        width:150px;
      }

      .header-stacked #gp-main-menu{
        display:flex!important;
        padding: 0 5px;
      }
      .header-stacked #gp-main-menu div{
        font-size:12px;
      }
      .header-stacked #gp-main-menu .menu-icon{
        width: 24px!important;
        height: 24px!important;
      }
      .header-stacked .header__search{
        padding-left: 5px!important;
        padding-right: 5px!important;
        max-width:300px;
      }
      .header-stacked .visible--desktop{
        display:none;
      }
      .header-stacked .user-info img{
        margin-left: 0!important;
      }
      .header-stacked #gp-main-menu{
        width: 440px;
        padding-top: 0;
        padding-bottom: 0;
      }
      .header-stacked #gp-main-menu~.line{
        display:none;
      }
      .header-stacked .stacked-menu-hold{
        min-width: 50%;
      }
      .header-stacked div:nth-of-type(5){
        position: absolute;
        top:19px;
        left:18%;
         max-width:500px;
      }
}

.see-more{
  cursor: pointer;
}
.see-more:hover{
  text-decoration: underline;
}
.small-input-s{
  margin: 0 auto 1px auto;
  display: block;
}
.hc-alphabet{
  text-align: center;
  display: flex;
  padding: 0 20px;
  justify-content: space-around;
  flex-wrap: wrap;
}
.hc-alphabet a{
  min-width: 20px;
}

.hc-alphabet a:hover,.hc-result ul li:hover{
  font-weight: bold;
}

.choosenBtn{
  color:red!important;
}

.hiddenBlock{
  display:none!important;
}

/* begin styling for back button on product-details page*/
.back-btn {
  border: 1px solid #bbbdbf;
  border-radius: 72px;
  padding: 10px;
  background: #f8fbfe;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  position: relative;
}

    .back-btn:hover {
        border: 1px solid #316dc3;
        background: #316dc3;
        cursor: pointer;
    }

.back-btn::before {
  color: #2a3c79;
  content: "\f060";
  display: inline-block;
  font-family: "FontAwesome";
  text-align: center;
  top: 9px;
  left: 13px;
  position: absolute;
}

.back-btn:hover::before {
  color: #ffffff;
}

.back-btn-mobile::before {
  color: #2a3c79;
  content: "\f060";
  display: inline-block;
  font-family: "FontAwesome";
  text-align: center;
  top: 4px;
  left: 8px;
  position: absolute;
}

.back-btn-mobile {
  left: 27px;
  border: 1px solid #bbbdbf;
  border-radius: 72px;
  padding: 5px;
  background: #f8fbfe;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  position: absolute;
  top: 26px;
}

.back-btn-common-mobile {
  /*left: 27px;*/
  border: 1px solid #bbbdbf;
  border-radius: 72px;
  padding: 5px;
  background: #f8fbfe;
  width: 30px;
  height: 30px;
  margin-top: 1rem;
  margin-left: 15px;
  margin-bottom: 0;
  display: block;
  position: relative;
  /*position: absolute;*/
  /*top: 26px;*/
}

#category .back-btn-common-mobile {
  margin-bottom: -15px;
}

.back-btn-common-mobile::before {
  color: #2a3c79;
  content: "\f060";
  display: inline-block;
  font-family: "FontAwesome";
  text-align: center;
  top: 3px;
  left: 7px;
  position: absolute;
}


.product-promotion {
  text-align: center;
  margin-bottom: 15px;
}

.product-promotion span {
  padding: 4px 12px;
  border-radius: 9px;
  border: 1px solid #eb4953;
  background: #eb4953;
  color: white;
  font-weight: 500;
}

.rc>img {
  top : 0;
}

.gp-product-details-section .images-container {
  margin-bottom: 50px;
}

.breadcrumb, .breadcrumb-item {
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .gp-product-details-section .col-lg-5 {
    margin-top: 15px;
  }
}

@media (min-width:768px) and (max-width:991px){
  .back-btn-mobile {
    left: 50px !important;
  }

  .gp-product-details-section .col-lg-5 {
    margin-top: 15px;
  }
}

@media (min-width: 991px) {
  .back-btn-mobile {
    display: none;
  }
}
/* end styling for back button on product-details page*/

/** Loading spinner */
.loader {
  border: 5px solid #f3f3f3; /* Light grey */
  border-top: 5px solid var(--main-navy-color); /* Blue */
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  animation: spin 1.3s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/** End Loading spinner */

.js-cart-line-product-max-quantity {
  font-size: 15px;
  color: #dd3444;
}

.product-line-grid-right .input-group {
  margin-bottom: 8px;
  min-width: 161px;
}

.input-group {
  justify-content: space-between;
}

.card-body{
    flex: 1 1 auto;
    /* min-height: 1px; */
    padding: 1.25rem;
}
.product__card-img {
    position:initial;
    width:190px;
    height:190px;
}
.product-cart {
    margin: 0 16px;
}
@media screen and (max-width: 480px) {
    .product__card-img {
        position: initial;
        width: 175px;
        height: 175px;
    }
    .sanpham {
        float: left;
        max-width: 180px;
        margin: 3px;
        /* position: relative; */
        padding: 5px;
        min-height: 320px;
        padding-top: 10px;
    }
        .sanpham .pro_info {
            padding: 1px;
            color: #6b6969;
            min-height: 170px;
            max-width: 160px;
        }
}
@media screen and (max-width: 395px) {
    .product__card-img {
        position: initial;
        width: 157px;
        height: 157px;
    }

    .sanpham {
        float: left;
        max-width: 170px;
        margin: 3px;
        /* position: relative; */
        padding: 5px;
        min-height: 320px;
        padding-top: 10px;
    }

        .sanpham .pro_info {
            padding: 1px;
            color: #6b6969;
            min-height: 170px;
            max-width: 160px;
        }
}
@media screen and (max-width: 376px) {

   

    .product__card-img {
        position: initial;
        width: 150px;
        height: 150px;
    }

    .sanpham {
        float: left;
        max-width: 160px;
        margin: 3px;
        /* position: relative; */
        padding: 5px;
        min-height: 320px;
        padding-top: 10px;
    }
    .product-cart {
        margin: 0 10px;
    }
        .sanpham .pro_info {
            padding: 1px;
            color: #6b6969;
            min-height: 192px;
            max-width: 160px;
        }
}



.card-img-top {
    overflow: hidden;
    max-height: 195px;
}

    .card-img, .card-img-bottom, .card-img-top {
        flex-shrink: 0;
        width: 100%;
    }

    .ratio1_1 {
        display: block;
    }

    .card-img-top .product-thumbnail img {
        transform: scale(1.1);
    }

    .card-img-top .product-thumbnail img {
        width: 100%;
    }

    .rc > img {
        top: 0;
    }

    .lazyloaded {
        opacity: 1;
        transition: opacity .5s;
    }

    .rc > * {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    img {
        object-fit: contain;
    }

    img, svg {
        vertical-align: middle;
    }

    .material-icons, .material-icons + span {
        display: inline-block;
    }

    .material-icons {
        font-family: Material Icons;
        font-weight: 400;
        font-style: normal;
        font-size: 1.5rem;
        vertical-align: top;
        width: 1em;
        height: 1em;
        line-height: 1;
        text-transform: none;
        letter-spacing: normal;
        word-wrap: normal;
        white-space: nowrap;
        direction: ltr;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        -moz-osx-font-smoothing: grayscale;
        font-feature-settings: "liga";
    }

.gia {
    
    color: #374151;
    font-weight: 600;
}

.viewmore {
    display: block;
    text-align: center;
    cursor: pointer;
}



.product-miniature .product-description > * {
    margin-bottom: 8px;
}

.instant-cart {
    text-align: center;
}

.instant-cart {
}

.bootstrap-touchspin {
    box-shadow: none;
    border: none;
}

.input-group {
    justify-content: center;
}

.bootstrap-touchspin {
    box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 20%);
    border: 1px solid #ced4da;
}


.bootstrap-touchspin .input-group-btn:first-child {
    margin-right: -1px;
}

.bootstrap-touchspin .input-group-btn {
    display: flex;
}

.input-group-prepend {
    margin-right: -1px;
}

.input-group-append, .input-group-prepend {
    display: flex;
}

*, :after, :before {
    box-sizing: border-box;
}

.instant-cart {
    text-align: center;
}

.button-cart-remove {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.cart-action {
    background-color: #EEEFF5;
    color: var(--main-navy-color);
    font-size: x-large;
    text-align: center;
    border: 0;
    width: 40px;
    cursor: pointer;
}

.quantity-to-add {
    flex: 1;
    max-width: none;
    height: 40px !important;
    text-align: center;
    font-size: 18px;
    border: #EEEFF5 1px solid;
}

touchspin > input {
    max-width: 60px;
    border: none;
    box-shadow: none;
    text-align: center;
    font-weight: 700;
}

.bootstrap-touchspin .input-group-btn:last-child {
    margin-left: -1px;
}

.bootstrap-touchspin .input-group-btn {
    display: flex;
}

.input-group-append {
    margin-left: -1px;
}

.input-group-append, .input-group-prepend {
    display: flex;
}

.button-cart-add {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    /*color: #fff;
    background-color: #2AABE2;*/
    border-color: #2AABE2;
}

.cart-action {
    background-color: #EEEFF5;
    color: var(--main-navy-color);
    font-size: x-large;
    text-align: center;
    border: 0;
    width: 40px;
    cursor: pointer;
}

.products {
    align-items: stretch;
}

.products, .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
}

.checkcontainer {
    /*display: block;*/
    position: relative;
    padding-left: 27px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-transform: capitalize;
}

    /* Hide the browser's default checkbox */
    .checkcontainer input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 1px solid #d2cece;
}

/* On mouse-over, add a grey background color */
.checkcontainer:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkcontainer input:checked ~ .checkmark {
    background-color: #316dc3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkcontainer input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkcontainer .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.scroll-to-top {
    position: fixed;
    right: 15px;
    bottom: 3px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    color: white;
    background: rgba(52, 58, 64, 0.5);
    line-height: 45px;
}

#btn-back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    display: none;
    z-index:5;
}

#popup-filter {
    width: 98%;
    max-width: 700px;
    padding: 5px 5px;
    border-radius: 4px;
    /*background-color: #fff;*/
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    max-height: 500px;
    z-index: 2147483645;
    text-align: center;
}

#popup-wailt {
    width: 90%;
    max-width: 600px;
    padding: 15px 10px;
    border-radius: 4px;
    background-color: #fff;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    z-index: 100;
    text-align: center;
}

#popup-orderoverlay {
    width: 0;
    height: 0;
    background: rgba(0,0,0,.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}

.modal-noidung {
    text-align: left;
    overflow-y: scroll;
    padding: 5px;
    max-height: 400px;
}
.clhd
{
    font-size:14px;
    color:#fff;
    font-weight:600;
    margin-top:7px;
}
.btn-outline-tag {
    color: #000;
    background-color: white;
    background-image: none;
    border-color: #8b94a2;
    font-weight: 600;
}