/*
Theme Name: Kapee Child
Theme URI: https://kapee.presslayouts.com/
Author: PressLayouts
Description: This is a child theme for Kapee
Version: 1.0.0
Author URI: https://www.presslayouts.com/
Template: kapee
Text Domain: kapee-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */
/* Họ tên trong form checkout để full */
/* .woocommerce .form-row-first {
  width: 100% !important;
} */

/* căn giữa sticky header */
.header-sticky .row {
  align-items: center;
}

/* Độ rộng của submenu trên di động */
.kapee-navigation ul.menu ul.sub-menu {
  width: 300px !important;
}

/* bao viền dưới với submenu trên di động */
.categories-menu ul.menu ul.sub-menu > li:not(:last-child) {
  border: 1px solid #e9e9e9;
}

/* căn giữ giá sản phẩm trên trang danh sách */
.product-price {
  text-align: center;
}

.tabs-layout.tabs-line .nav-tabs .nav-link {
  font-size: 15px !important;
}

/* chỉnh khoảng cách bottom khối countdown-timer sản phẩm */
.products .product-image .product-countdown-timer {
  bottom: 0.2em !important;
}

/* font size info box */
.info-box-description > p {
  font-size: 12px;
}

/* Chinh sach single product */
.single-product .more_single_product {
  margin-bottom: 20px;
  padding: 0;
}

.more_single_product ul {
  padding: 0;
  margin: 0;
  display: flex;
}

.more_single_product ul li {
  margin: 0 10px;
  list-style: none;
  padding: 15px 0;
  flex: 1 1 25%;
  position: relative;
}

.more_single_product ul li:before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80%;
  background-color: #e3e3e3;
}

.more_single_product ul li:last-child:before {
  width: 0;
}

.more_single_product ul li .chinhsach_box {
  display: flex;
}

.more_single_product ul li .chinhsach_box .chinhsach_img {
  height: 80px;
  width: 80px;
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.chinhsach_text h4 {
  font-size: 100%;
  font-weight: bold;
  white-space: nowrap;
}

.chinhsach_text {
  padding-right: 10px;
  flex: 1;
}

@media only screen and (max-width: 1024px) {
  div.more_single_product ul {
    flex-flow: row wrap;
  }

  div.more_single_product ul li {
    flex: 1 1 45%;
  }

  div.more_single_product ul li:nth-child(even):before {
    width: 0;
  }

  div.chinhsach_text h4 {
    white-space: normal;
  }
}

@media screen and (max-width: 600px) {
  div.more_single_product ul li .chinhsach_box .chinhsach_img {
    width: 40px;
    height: 40px;
  }

  div.more_single_product ul li {
    border-bottom: 1px solid #e3e3e3;
  }

  div.more_single_product ul li:last-child {
    border-bottom: 0;
  }

  div.more_single_product ul li:before {
    width: 0;
  }

  .woocommerce div.product .product-video-btn {
    display: block;
    text-align: center;
  }
}

@media only screen and (max-width: 767px) {
  #popupLoader {
    display: none !important;
  }
}

/* chi tiết sản phẩm */
.single-product .product_meta .sku_wrapper {
  padding: 0 25px;
  margin-bottom: 15px;
  padding: 0 25px;
  display: inline-block;
}

.single-product .product_meta {
  border-top: 1px solid #eaeaea;
  margin: 20px 0;
  padding: 15px 0 0;
}

.single-product .product_meta .price {
  display: flex;
  align-items: center;
  padding: 10px 0;
  background-color: #e2e2e2;
  flex-flow: row wrap;
}

.single-product .product_meta .price strong {
  color: #666;
  font-size: 18px;
  margin-left: 25px;
  margin-right: 5px;
}

.single-product .product_meta .sku_wrapper .sku {
  font-weight: bold !important;
  font-size: 20px;
}

.single-product .product_meta .price ins {
  margin-left: 10px;
  font-size: 18px;
  font-weight: bold;
}

.product_meta .price > span {
  font-size: 1.333em;
  color: #333;
  font-weight: 700;
}

/* wrap breadcrum single product */
.breadc_single {
  padding: 15px;
  background-color: #e2e2e2;
  display: flex;
  justify-content: center;
  margin: -1rem 0 1rem 0;
}

.entry-breadcrumbs > nav.kapee-breadcrumb > a:first-child {
  text-decoration: none;
}

.entry-breadcrumbs > nav.kapee-breadcrumb > a:first-child::before {
  font-family: FontAwesome;
  content: "\f015";
  letter-spacing: 5px;
}

/* .entry-breadcrumbs>nav.kapee-breadcrumb>span:last-child { 
  text-decoration: none;
  font-weight: bold;
}*/

.woocommerce div.product .product_title {
  font-weight: bold !important;
}

.woocommerce
  div.summary
  .woocommerce-product-details__short-description
  .short-description {
  flex: 0 0 100% !important;
}

.single-product-page .single-product-wrapper {
  margin-bottom: 2em !important;
}

.single-product .product_meta {
  margin: 10px 0;
  padding: 10px 0 0;
}

/* product video show btn */
.woocommerce div.product .product-video-btn a {
  padding: 0 25px;
  height: 50px;
  background-color: #877839;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.woocommerce div.product .product-video-btn i::before {
  margin-right: 0.3em;
}

.woocommerce div.product .product-video-btn i {
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 32px;
  -webkit-animation: sk-bouncedelay 1.8s infinite ease-in-out both;
  animation: sk-bouncedelay 1.8s infinite ease-in-out both;
}

.woocommerce div.product .product-video-btn {
  white-space: nowrap;
}

/* variation button choose in single page */
table.variations {
  display: none;
  margin: 0 !important;
}

.woovr-variations {
  display: flex;
  flex-flow: row wrap;
  margin-bottom: 20px;
}

.woovr-variation-name {
  display: none;
}

.extend_text_title {
  margin-top: 0;
}

.extend_text_title strong {
  padding: 5px 15px;
  border-radius: 5px;
  background-color: #e34444;
  color: #fff;
}

/* load popup sold product - bottom page */
#popupLoader {
  position: fixed;
  bottom: 1em;
  left: 1em;
  border-radius: 9999px;
  padding: 10px;
  width: 350px;
  background-color: rgba(53, 53, 53, 0.85);
  display: none;
  z-index: 10;
}

#popupLoader .pop_items {
  display: flex;
  align-items: center;
}

#popupLoader .pop_items .pop_img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
}

#popupLoader .pop_items .pop_content {
  flex: 1;
  margin-left: 10px;
  font-size: 14px;
  color: #fff;
  padding: 5px;
}

#popupLoader .pop_items .pop_content h3 {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 5px;
  line-height: 1.5;
}

#popupLoader .pop_items .pop_content h3 a {
  color: yellow;
}

/* term description */
.term-description {
  border-top: 1px solid #e9e9e9;
  margin-top: 15px;
  padding-top: 15px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}

/* product attributes */
.woocommerce table.shop_attributes th {
  color: #f60;
  border-right: 1px dotted rgba(0, 0, 0, 0.1);
  text-transform: capitalize;
}

.dimention_notice {
  color: #f60;
  font-style: italic;
  font-weight: 800;
  display: block;
  text-align: center;
}

.woocommerce table.shop_attributes td {
  font-style: normal !important;
  padding-left: 8px !important;
}

.woocommerce table.shop_attributes td > span {
  padding: 8px;
  text-transform: capitalize;
}

/* sales label product */
.products div.product .product-wrapper .product-image .product-labels {
  position: absolute;
  z-index: 1;
  padding: 2px 9px;
  color: #fff;
  line-height: 1;
  border-radius: 0;
  background: #e34444;
  left: -20px;
  right: auto;
  bottom: auto;
  transform: rotate(-45deg);
  top: 0.4em;
}

.products div.product .product-wrapper .product-image {
  overflow: hidden;
}

.products div.product .product-wrapper .product-image .product-labels .on-sale {
  font-size: 0.9rem;
}

.single-product-page .product-images .product-labels {
  position: absolute;
  z-index: 1;
  padding: 10px 30px;
  color: #fff;
  line-height: 1;
  border-radius: 0;
  background: #e34444;
  left: -45px !important;
  right: auto;
  bottom: auto;
  transform: rotate(-45deg);
  top: 0.3em;
}

.single-product-page .product-images .images-inner {
  position: relative;
  overflow: hidden;
}

.single-product-page .product-images .product-labels .on-sale {
  font-size: 1.5rem;
}

.woocommerce-tabs .tab-content-wrap .woocommerce-Tabs-panel > p:first-child {
  text-align: center;
}

/*       Readmore button single page          */

.single-product div#tab-description {
  overflow: hidden;
  position: relative;
  padding-bottom: 25px;
}
.single-product .tab-panels div#tab-description.panel:not(.active) {
  height: 0 !important;
}
.readmore_button_lano {
  text-align: center;
  cursor: pointer;
  position: absolute;
  z-index: 10;
  bottom: 0;
  width: 100%;
  background: #fff;
}
.readmore_button_lano:before {
  height: 55px;
  margin-top: -45px;
  content: -webkit-gradient(
    linear,
    0% 100%,
    0% 0%,
    from(#fff),
    color-stop(0.2, #fff),
    to(rgba(255, 255, 255, 0))
  );
  display: block;
}
.readmore_button_lano a {
  color: #318a00;
  display: block;
  margin-bottom: 10px;
}
.readmore_button_lano a:after {
  content: "";
  width: 0;
  right: 0;
  border-top: 6px solid #318a00;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  display: inline-block;
  vertical-align: middle;
  margin: -2px 0 0 5px;
}
.readmore_button_lano_less a:after {
  border-top: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #318a00;
}
.readmore_button_lano_less:before {
  display: none;
}
.site-footer .footer-main {
  padding-top: 3em !important;
  padding-bottom: 3em !important;
}

.woocommerce form .form-row.form-row-wide {
  clear: both;
}