body.logged-in .giohang-login > div > div:nth-child(1) {
  display: none;
}
body .giohang-login > div > div:nth-child(1) {
  display: flex;
}
body .giohang-login > div > div:nth-child(2) {
  display: none;
}
body.logged-in .giohang-login > div > div:nth-child(2) {
  display: flex;
}

.single-product main > *,
.tax-product_cat main > *{
	background: #fafafa;
}

.ju_author {
  margin-top: 55px;
  position: relative;
  padding: 55px 40px 40px;
  border: 1px solid#DFDFDF;
}

.ju_bio {
  font-size: 22px;
  font-weight: 500;
  color: #000;
}

.ju_author_name {
  margin-top: 30px;
  color: #4c4c4c;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.ju_img {
  position: absolute;
  top: 0;
  left: 40px;
  transform: translateY(-50%);
}

#mouse_icon {
  position: relative;
  width: 28px;
  height: 48px;
  border: 1px solid #fff;
  border-radius: 50px;
}

#mouse_icon::after {
  content: "";

  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);

  width: 5px;
  height: 10px;
  background-color: #fff;
  border-radius: 10px;
  animation: mouse 2s infinite;
}

.tm-header
  .uk-navbar-container:not(.uk-navbar-transparent)
  .uk-navbar-right
  .uk-search-input {
  border-color: rgba(141, 141, 141, 0.2);
}

.tm-header
  .uk-navbar-container:not(.uk-navbar-transparent)
  .uk-navbar-right
  .giohang-login
  .el-image {
  color: #587056;
}

/* --------------- woocommerce ------------ */

ul.products {
  margin-bottom: -40px !important;
  margin-left: -24px !important;
}

ul.products > * {
  padding-bottom: 40px !important;
  padding-left: 24px !important;
}

.ju-product-item {
  position: relative;
  overflow: hidden;
  border: 1px solid #fafafa;
}

.ju-product-item:hover {
  border-color: #e3e7e0;
}

ul.products > * .woocommerce-loop-product__title {
  padding: 0 20px;
}
ul.products > * .price {
  padding: 0 20px;
  margin-bottom: 20px !important;
}

.ju-product-item .button.add_to_cart_button,
.ju-product-item .button,
.ju-product-item .ju_view_product_deatils {
  transform: translatex(100%);
  transition: 0.2s;
}

.ju-product-item:hover .button.add_to_cart_button,
.ju-product-item:hover .button,
.ju-product-item:hover .ju_view_product_deatils {
  transform: translatex(0%);
}

/* .ju-product-item .button {
  display: none;
} */

.ju-product-item .button.add_to_cart_button,
.ju-product-item .button{
  display: block;
  font-size: 0px;
  padding: 0;
  width: 46px;
  height: 46px;
  border: 1px solid #e3e7e0;
  box-sizing: border-box;
  background-color: #f4f4f4 !important;

  background-image: url("/wp-content/uploads/2024/05/Vector.svg");
  background-repeat: no-repeat;
  background-position: center;

  position: absolute;
  top: 46px;
  right: 0;
}
.ju-product-item .button.add_to_cart_button:hover,
.ju-product-item .button:hover{
  border-color: #587056 !important;
  background-color: #587056 !important;
  background-image: url("/wp-content/uploads/2024/05/Vector-1.svg");
}
.ju_view_product_deatils {
  padding: 0;
  width: 46px;
  height: 46px;
  border: 1px solid #e3e7e0;
  box-sizing: border-box;
  background-color: #f4f4f4 !important;

  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  top: 0;
  right: 0;
}
.ju_view_product_deatils:hover {
  color: #fff;
  border-color: #587056;
  background-color: #587056 !important;
}

.ju-product-item .price del {
  font-size: 12px;
}

.onsale.ju-sale {
  padding: 5px 10px;
  background: #7d6d5c;
  font-size: 15px;
  font-weight: 700;
}

.your-note {
  margin-top: 15px;
  margin-bottom: 30px;
}
.your-note label {
  color: #58595b;
  font-size: 15px;
  font-weight: 600;

  display: block;
  margin-bottom: 20px;
}
.your-note .uk-input {
  padding: 0 30px;
  font-size: 15px;
  height: 50px;
  border-color: rgba(109, 135, 107, 0.6);
}
.select-delivery {
  display: flex;
  align-items: center;
  gap: 25px;

  padding-bottom: 30px;
  border-bottom: 1px solid rgba(109, 135, 107, 0.65);
  margin-bottom: 30px;
}
.select-delivery .label-select {
  color: #58595b;
  font-size: 17px;
  font-weight: 600;
}
.select-delivery select {
  padding: 0 30px;
  font-size: 15px !important;
  height: 50px !important;
  border-color: rgba(109, 135, 107, 0.6) !important;
}

/* cart - checkout */
button[name="apply_coupon"],
button[name="update_cart"]{
  color: #fff !important;
  border-color: #58595b !important;
  background: #587056 !important;
	
	font-size: 15px;
	line-height: 52px;
}

.return-to-shop .button.wc-backward {
  color: #587056 !important;
  border-color: #58595b !important;
}

#shipping_method input[type="radio"] {
  min-width: 16px;
  min-height: 16px;
	border-color: #6D876B;
	border-radius: 0;
}

/* -------------- End Woocommerce ----------------- */

@media (max-width: 640px) {
  .uk-subnav > * > :first-child {
    font-size: 15px;
  }
}

@keyframes mouse {
  0% {
    opacity: 1;
    top: 6px;
  }

  100% {
    opacity: 0;
    top: 32px;
  }
}



#wpgs-gallery.wcgs-woocommerce-product-gallery, .woo-variation-product-gallery{
    width: 100% !important;
    max-width: 100% !important;
}

#wpgs-gallery.wcgs-woocommerce-product-gallery .wcgs-carousel {
    width: 100%;
}