/*
Theme Name: duyanhweb
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.price-online-group {
  display: flex;
  justify-content: space-between;
  margin-left: 10px;
  margin-top: 20px;
}

.price-online-group .price-group {
  flex: 0 0 55%;
  width: 55%;
  padding: 0 10px 0;
  border: 1px solid #ededed;
  border-radius: 5px;
  position: relative;
  border-top: 45px solid var(--fs-color-primary);
  cursor: pointer;
}

.price-online-group .price-group.choose {
  border-color: #369;
}

.price-online-group .price-group:last-child {
  border-top: 45px solid #f90;
  flex: 0 0 calc(45% - 15px);
  width: calc(45% - 15px);
}

.price-online-group .price-group.choose:before {
  content: "";
  width: 0;
  height: 0;
  border-top: 40px solid #fb6e2e;
  border-left: 40px solid transparent;
  position: absolute;
  right: -1px;
  top: -45px;
  z-index: 1;
}

.price-online-group h3 {
  position: absolute;
  z-index: 1;
  top: -31px;
  font-size: 14px;
  font-weight: normal;
  color: #fff;
  letter-spacing: 1px;
  left: 25px;
}

.price-online-group .price-group.choose:after {
  content: "";
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  background: none;
  margin: -2px 0 0 2px;
  border-radius: 0;
  position: absolute;
  right: 5px;
  top: -37px;
  z-index: 1;
}

.price-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 14px;
}

.price-new .price {
  font-size: 16px;
  line-height: 25px;
  font-weight: 600;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.ty-price-update {
  display: inline-block;
  font-size: 13px;
}

.price-new .price bdi {
  color: #bd0000;
  display: flex;
  align-items: flex-start;
  margin-left: 12px;
  font-size: 24px;
  line-height: 33px;
  font-weight: bold;
  font-style: normal;
}

.price-new .note {
  font-size: 13px;
  line-height: 18px;
  font-weight: normal;
  font-style: normal;
  color: #888;
}

.price-market {
  display: flex;
  -webkit-inline-box: flex;
  -ms-inline-flexbox: flex;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  justify-content: flex-start;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-box-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 12px;
}

span.ty-list_price_online {
  display: inline-block;
  text-decoration: line-through;
  color: #777;
}

span.discount_prc_online {
  color: #326699;
  margin-left: 10px;
}

.price-online-group .note_type {
  margin: 15px 5px;
}

.price-online-group p {
  margin: 0;
  padding: 6px 0;
  color: #000;
  font-size: 15px;
  line-height: 1.2;
}

.price-market .line_discount_update {
  border-color: #f90;
  border-width: 1px;
  border-style: dotted;
  border-radius: 5px;
  padding: 4px 20px;
  margin-left: 20px;
}

.price-market .line_discount_update .ty-save-price {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  font-style: normal;
  color: #d50e0e;
}

div.product-box-intro {
  padding: 30px 15px;
  position: relative;
}

.product-box-intro span.title {
  margin: 0;
  position: absolute;
  top: -15px;
}

div.product-box-intro ul,
div.product-box-intro ol {
  margin-bottom: 0;
  padding-left: 15px;
}

div.product-box-intro * :last-child {
  margin-bottom: 0;
}

div.product-box-intro ol {
  counter-reset: my-counter;
  list-style: none;
  padding-left: 0;
}

div.product-box-intro ol li {
  counter-increment: my-counter;
  position: relative;
  padding-left: 25px;
  margin-left: 0;
}

div.product-box-intro ol li::before {
  content: counter(my-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #dadada;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
}

#wrapper > .message-wrapper {
  display: none;
}

tr:has(select#pa_dich-vu) {
  display: none;
}

.choose2 {
  margin-bottom: 30px;
}

.ty-save-price {
  border-color: #f90;
  border-width: 1px;
  border-style: dotted;
  border-radius: 5px;
  padding: 4px 20px;
  margin-left: 20px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  font-style: normal;
  color: #d50e0e;
}

.price-group del span.amount {
  font-size: 16px;
  line-height: 22px;
  font-weight: normal;
  font-style: normal;
  color: #282626;
}

form.cart .ux-quantity {
  display: none !important;
}

button.ux-buy-now-button,
button.single_add_to_cart_button {
  background: #d00;
  max-width: 69%;
  height: 58px;
  border-radius: 5px;
  padding: 0 5px;
  line-height: 1.4;
  width: 60%;
}

button.single_add_to_cart_button {
  width: calc(40% - 20px);
}

button.ux-buy-now-button > span {
  display: block;
  font-size: 12px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
}
