/*
Theme Name: Flatsome Child
Description: Design By CODE-WP.COM
Author: fb.com/vithanhlam
Template: flatsome
Version: 3.1
*/
:root {
  --primary-x: #f9d342;
  --secondary-x: #292826;
}
/*************** ADD CUSTOM CSS HERE.   ***************/
.ux-nav-vertical-menu li a {
  font-size: 18px !important;
  color: #000;
}

.header-vertical-menu__fly-out {
  top: 52px;
}

ul.nav.header-nav.header-bottom-nav.nav-center li a {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  padding: 10px 15px;
}

.header-vertical-menu__fly-out .nav-vertical-fly-out > li.menu-item > a {
  align-items: center;
  display: flex;
  padding: 15px 15px;
}

.header-vertical-menu__fly-out {
  width: 310px;
}

img.ux-menu-icon {
  width: 30px;
}

li.header-search-form.search-form.html.relative.has-icon {
  width: 95%;
}

.absolute-footer.dark.medium-text-center.small-text-center {
  display: none;
}

input#woocommerce-product-search-field-0 {
  padding: 25px;
  border-radius: 60px;
  background-color: #000000 !important;
  border-color: #000000;
  box-shadow: unset;
  color: #000000 !important;
  font-size: 16px;
}

button.ux-search-submit.submit-button.secondary.button.icon.mb-0 {
  background-image: linear-gradient(98deg, #ffffff 0%, #ffffff 100%);
  padding: 5px 13px 5px 13px;
  box-shadow: 0px 3px 25px 0px rgb(255 255 255 / 50%);
  color: #7b6363;
  border-radius: 93px !important;
  position: relative;
  left: -48px;
}

ul.header-nav.header-nav-main.nav.nav-right.nav-uppercase {
  color: #fff !important;
  font-size: 22px;
}

ul.header-nav.header-nav-main.nav.nav-right.nav-uppercase a {
  color: #fff;
}

li.header-divider {
  color: #fff !important;
  border-color: #ffffff26 !important;
}

i.icon-user {
  font-size: 25px !important;
}

a.button.primary.wc-backward {
  border-radius: 50px;
  font-weight: 400;
}

input#woocommerce-product-search-field-0::placeholder {
  color: #fff;
}

input#woocommerce-product-search-field-0::placeholder {
  color: #fff;
}

.section-title a {
  background: #f9d342;
  padding: 5px 20px;
  border-radius: 5px;
  font-weight: 400;
  color: #000000;
}

.section-title-normal {
  border-bottom: unset;
}

.border_radius img {
  border-radius: 10px;
}

.product-small .box-image img {
  border-radius: 10px;
}

.box.box-normal.box-text-bottom.box-blog-post.has-hover img {
  border-radius: 5px;
}
a.custom_a_xxx {
  color: var(--secondary-x);
  border: solid 1px var(--secondary-x);
}
a.custom_a_xxx:hover {
  color: #fff;
  background: #000;
}
.badge-inner.secondary.on-sale {
  background: var(--primary-x) !important;
  font-weight: 400;
  color: var(--secondary-x);
  border: solid 1px var(--secondary-x);
}

.product-small .col-inner {
  border: solid 1px #efefef;
  border-radius: 10px;
  box-shadow: 4px 9px 4px #eee;
  padding: 15px;
}

.social-icons.follow-icons.socia_footer a {
  margin: 5px;
}

.product_home .col-inner {
  padding: 10px;
  border: solid 1px #eee;
  border-radius: 15px;
}

p.cat-label.tag-label.is-xxsmall.op-7.uppercase {
  padding: 5px 10px;
  font-weight: 400;
  background: #0073a0;
}

div#comments {
  display: none;
}

button.single_add_to_cart_button.button.alt {
  background: #2e9ed5;
  font-weight: 400;
  border-radius: 5px;
}

.ux-quantity.quantity.buttons_added input {
  box-shadow: unset;
  border: unset;
}

.current-menu-item a {
  color: #d3ffbb !important;
}

.box.box-text-bottom.box-blog-post.has-hover img {
  border-radius: 10px;
}

.feature .image {
  padding: 29%;
  background-size: 100%;
}

p.name.product-title.woocommerce-loop-product__title a {
  font-size: 14px;
  color: var(--secondary-color);
}
.price-wrapper span.price {
  padding: 7px 0px;
}
p.category.uppercase.is-smaller.no-text-overflow.product-cat.op-7 {
  padding: 5px;
  background: #eee;
  width: 100%;
  border-radius: 5px;
  display: block;
  margin: 0px auto;
  display: flex;
  justify-content: center;
}

.woocommerce-product-gallery__wrapper img.wp-post-image.skip-lazy {
  border-radius: 15px;
}

.form_lienhe form.wpcf7-form input {
  background: #dedede47;
  height: 50px;
  border: unset;
  box-shadow: unset;
}

.form_lienhe form.wpcf7-form textarea {
  background: #dedede47;
  height: 50px;
  border: unset;
  box-shadow: unset;
}

.custom_bg_1 img.bg.attachment-original.size-original {
  width: 15%;
}

.form_lienhe form.wpcf7-form label {
  font-weight: 100;
  line-height: 36px;
}

.form_lienhe form.wpcf7-form input.wpcf7-form-control.wpcf7-submit {
  width: 100%;
  background: #2e9ed5;
  font-weight: 400;
}

span.widget-title.shop-sidebar {
  font-size: 21px;
  font-weight: 400;
  color: #2e9ed5;
}

ul#menu-menu-nav-1 .current-menu-item a {
  color: #0073a0 !important;
}

.entry-content.single-page img {
  display: block;
  margin: 0px auto;
}

li.account-item.has-icon.has-dropdown ul li a {
  color: #000 !important;
  font-size: 16px;
}

p.return-to-shop a.button.primary.wc-backward {
  font-size: 16px;
}

p.woocommerce-mini-cart__buttons.buttons a {
  font-size: 16px;
  border-radius: 5px;
  font-weight: 400;
}

.ux-mini-cart-footer {
  font-size: 16px;
  font-weight: 300;
}

.ux-mini-cart-qty {
  font-size: 16px;
  font-weight: 300;
}

li.woocommerce-mini-cart-item.mini_cart_item a {
  font-size: 16px;
  color: #000 !important;
}

ul.sub-menu.nav-dropdown.nav-dropdown-default li a {
  color: #000 !important;
}

.product-small img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
  height: 200px;
  object-fit: cover;
}

.child-product-categories {
  display: flex;
  gap: 35px;
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
}

.child-cat-item img {
  width: 200px;
  border-radius: 10px;
  height: 200px;
}

.child-product-categories .child-cat-item h3 {
  padding-top: 10px;
}

.product-category-banner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-small .price-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column-reverse;
  align-content: flex-start;
}

ul.icons-spec span.text-var {
  font-size: 12px;
  font-weight: 400;
}
.box-intro_spec .icons-spec li {
  margin: 2px 4px auto;
  display: flex;
  align-items: center;
}
.product-extra-info {
  font-size: 12px;
  color: #2e9ed5;
  font-weight: 500;
}

.border-radius img {
  border-radius: 10px;
}

.ux-logo.has-hover.align-middle.ux_logo.inline-block img {
  background: #eee;
  padding: 10px;
  border-radius: 5px;
  width: 180px;
  height: 100px !important;
  object-fit: cover;
}

.icons-spec li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-left: 0px !important;
  margin-bottom: 0px;
}
span.price ins bdi {
  color: #dd2f2c;
  font-size: 16px;
}
.icons-spec img {
  height: 20px;
  width: auto;
}
.dns_partner_list a {
  align-items: center;
  border-radius: 34px;
  background-color: #fff;
  justify-content: center;
  display: flex;
  height: 38px;
  padding: 2px 14px;
  border: solid 1px #d6d6d6;
}
.dns_partner_list a img {
  height: 22px;
  width: auto;
}
.dns_partner_list {
  display: grid;
  grid-auto-rows: minmax(min-content, max-content);
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  max-width: 1400px;
  margin: 5px auto 10px;
  gap: 10px;
}
.product-tag-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.product-tag-buttons a {
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 99px;
}
ul.icons-spec {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}
h3.section-title.section-title-normal span.section-title-main {
  border-bottom: unset;
  font-size: 26px;
}
button.ux-relay__button.ux-relay__load-more-button.button.primary.mb-0 {
  font-weight: 400;
  border-radius: 5px;
}
/* TABLE STYLE TRONG TAB DESCRIPTION */

#tab-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* header */
#tab-description table thead {
  background: #0f172a;
  color: #fff;
}

#tab-description table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}

/* cell */
#tab-description table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

/* row zebra */
#tab-description table tbody tr:nth-child(even) {
  background: #f8fafc;
}

/* hover */
#tab-description table tbody tr:hover {
  background: #f1f5f9;
  transition: 0.2s;
}

/* cột đầu thường là tên thông số */
#tab-description table td:first-child {
  font-weight: 600;
  color: #0f172a;
  width: 30%;
}
/* BOX QUÀ TẶNG */

.product-short-description {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-left: 5px solid #f97316;
  padding: 16px 18px;
  border-radius: 10px;
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
}

/* icon gift */
.product-short-description:before {
  content: "🎁";
  position: absolute;
  left: -12px;
  top: -12px;
  background: #f97316;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* tiêu đề */
.product-short-description p {
  margin: 0 0 10px;
  font-weight: 500;
}

/* danh sách */
.product-short-description p br {
  content: "";
  margin-bottom: 6px;
  display: block;
}

/* hình ảnh */
.product-short-description .img_wp {
  margin-top: 10px;
  text-align: center;
}

.product-short-description .img_wp img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* mobile */
@media (max-width: 768px) {
  .product-short-description {
    font-size: 13px;
    padding: 14px;
  }

  .product-short-description:before {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
#dns-psummary .extra_box.khuyen_mai {
  border: solid 1px #8f8f8f;
  background:
    linear-gradient(to top right, #fcfeff, #eff5ff) padding-box,
    linear-gradient(to top right, #dbe8fe, #609afa) border-box;
}
#dns-psummary .extra_box,
.after_detaill .extra_box {
  margin-top: 15px;
  font-size: 14px;
  margin-bottom: 10px;
  padding: 10px;
  border: solid 1px #8f8f8f;
  background-color: #f2f2f2;
  border-radius: 12px;
}

.khuyen_mai {
  border: 2px dashed #ef4444;
  padding: 15px;
  border-radius: 10px;
  background: #fff7f7;
}

.khuyen_mai legend {
  font-weight: 600;
  color: #ef4444;
  padding: 0 10px;
  border-bottom: indianred;
  width: unset;
}

.km_content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.km_item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.km_item span {
  background: #ef4444;
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 3px;
}

.km_item a {
  color: #2563eb;
  font-weight: 500;
}

.bb-contact-box {
  font-size: 15px;
  line-height: 1.7;
}

.bb-company {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.bb-address,
.bb-hotline a,
.bb-email {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  text-decoration: none;
}

.bb-contact-box i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f9d342 !important;
  font-size: 14px;
  color: #000 !important;
}

/* hotline */

.bb-hotline a {
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.bb-hotline i {
  background: #ffeaea;
  color: #d60000;
}

.bb-hotline a:hover {
  transform: translateX(4px);
  color: #ff0000;
}

/* kỹ thuật */

.bb-hotline.tech a {
  color: #fff;
}

.bb-hotline.tech i {
  background: #eaf3ff;
  color: #0066ff;
}

/* email */

.bb-email a {
  color: #444;
  text-decoration: none;
}

.bb-email i {
  background: #f4f4f4;
}

.bb-email a:hover {
  color: #0066ff;
}
h3.box_title.btitle {
  background: #f9d342;
  padding: 10px;
  border-radius: 5px;
}
ul.tabs.wc-tabs.product-tabs.small-nav-collapse.nav.nav-uppercase.nav-line.nav-vertical.nav-left
  a {
  font-weight: 400;
  color: #000;
}
nav.woocommerce-breadcrumb.breadcrumbs.uppercase a {
  color: #000;
  font-size: 16px;
}
nav.woocommerce-breadcrumb.breadcrumbs.uppercase span.divider {
  color: #000;
  opacity: 1;
  font-size: 20px;
}
p.price.product-page-price.price-on-sale ins bdi {
  font-size: 30px;
  color: #ef4444;
}
/* responsive mobile */
@media (max-width: 768px) {
  #tab-description table {
    font-size: 13px;
  }

  #tab-description table td,
  #tab-description table th {
    padding: 10px;
  }
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  i.icon-shopping-basket {
    color: #fff;
  }

  i.icon-menu {
    color: #fff;
  }

  .child-product-categories {
    display: flex;
    gap: 35px;
    justify-content: center;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
  }

  .child-cat-item {
    width: 40%;
  }

  .child-cat-item img {
    width: 200px;
    border-radius: 10px;
    height: 140px;
    object-fit: cover;
  }

  .product-small
    img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    height: 150px;
    object-fit: cover;
  }
}
