body,
html {
  font-size: 15px;
}

:root {
  --primary-color: #d14e4d;
  --secondary-color: #446084;
}

/* MISCELLANEOUS */
.title-verticle {
  border-left: 8px solid var(--primary-color);
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.title-verticle h2 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.title-verticle p {
  font-size: 1rem;
  margin: 0;
}

.title-verticle-dark {
  border-left-color: black;
}

.slider-nav-push:not(.slider-nav-reveal) .flickity-prev-next-button {
  margin-top: 0 !important;
  color: var(--primary-color);
}

.fx-btn-blick {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.fx-btn-blick:before {
  content: "";
  background-color: #fff;
  height: 100%;
  width: 3em;
  display: block;
  position: absolute;
  top: 0;
  -webkit-transform: skewX(-45deg) translateX(0);
  transform: skewX(-45deg) translateX(0);
  -webkit-transition: none;
  transition: none;
  opacity: 0;
  -webkit-animation: left-slide 2s infinite;
  animation: left-slide 2s infinite;
}

.livepreview-wrap .header .logo {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* HERO */
.section-hero h1 {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin: 0;
}

.section-hero .slogan {
  background-color: var(--primary-color);
  padding: 5px 20px;
  font-weight: bold;
  color: white;
  display: inline-block;
  border-radius: 20px;
  margin: 15px 0;
}

.selling-point {
  letter-spacing: 2px;
}

.banner-hero {
  min-height: 650px !important;
}

/* BANG GIA */
.bang-gia-wrapper .col-inner {
  border-radius: 20px;
  background-color: white;
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.2s linear;
}

.bang-gia-wrapper .col-inner:hover {
  cursor: pointer;
  box-shadow: 0px 0px 40px 10px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0px 0px 40px 10px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 40px 10px rgba(0, 0, 0, 0.5);
}

.bang-gia-wrapper .bang-gia-icon p {
  margin: 0;
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 99;
}

.bang-gia-wrapper .bang-gia-icon p i {
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
}

.bang-gia-wrapper h4 {
  font-size: 1.6rem;
}

.bang-gia-wrapper .bang-gia-sale {
  text-decoration: line-through;
  font-weight: bold;
  color: #6A6869;
  font-size: 1.2rem;
}

.bang-gia-wrapper .bang-gia-price {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.bang-gia-wrapper ul {
  text-align: left;
  list-style-type: none;
}

.bang-gia-wrapper ul li:before {
  content: "\f058";
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.6rem;
  width: 1.6rem;
  color: var(--primary-color);
}

.bang-gia-wrapper .bang-gia-cta p,
.bang-gia-wrapper .bang-gia-cta a {
  margin: 0;
}

.bang-gia-pho-bien {
  position: relative;
  z-index: 10;
}

.bang-gia-pho-bien .col-inner {
  background-color: #A52A2E;
  color: white;
  position: relative;
  top: -50px;
}

.bang-gia-pho-bien .bang-gia-icon p {
  top: 2.8rem;
}

.bang-gia-pho-bien .bang-gia-icon i {
  color: #ECE642 !important;
  border: 3px solid white;
}

.bang-gia-pho-bien .ribbon {
  background: #861E1F;
  box-shadow: 2px 6px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.0;
  text-align: center;
  margin: 0 auto;
  padding: 0.25em 0;
  position: relative;
  width: calc(100% + 7rem);
  left: -3.5rem;
  font-size: 1.5rem;
  color: #ECE642;
  margin-bottom: 1rem;
}

.bang-gia-pho-bien .ribbon:before,
.bang-gia-pho-bien .ribbon:after {
  border: 1.5em solid #861E1F;
  content: '';
  display: block;
  position: absolute;
  bottom: -1em;
  z-index: -1;
}

.bang-gia-pho-bien .ribbon:before {
  left: -2em;
  border-right-width: 1.5em;
  border-left-color: transparent;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.bang-gia-pho-bien .ribbon:after {
  right: -2em;
  border-left-width: 1.5em;
  border-right-color: transparent;
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.5);
}

.bang-gia-pho-bien .ribbon-content {
  border-top: 0.0625em dashed hsl(30, 90%, 44%);
  border-bottom: 0.0625em dashed hsl(30, 90%, 44%);
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.08), inset 0px -1px 1px rgba(255, 255, 255, 0.08), 0px -1px 1px rgba(255, 255, 255, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.08);
  display: block;
  padding: 0.6875em 0;
}

.bang-gia-pho-bien .ribbon-content:before,
.bang-gia-pho-bien .ribbon-content:after {
  content: '';
  display: block;
  position: absolute;
  border-style: solid;
  border-color: hsl(30, 80%, 40%) transparent transparent transparent;
  bottom: -1em;
}

.bang-gia-pho-bien .ribbon-content:before {
  left: 0;
  border-width: 1em 0 0 1em;
}

.bang-gia-pho-bien .ribbon-content:after {
  right: 0;
  border-width: 1em 1em 0 0;
}

.bang-gia-pho-bien .bang-gia-sale {
  color: #CCD1C7;
}

.bang-gia-pho-bien ul li:before {
  color: #ECE642;
}

.bang-gia-pho-bien .button {
  background-color: #ECE642 !important;
  color: var(--primary-color) !important;
}

.bang-gia-pho-bien .bang-gia-price {
  color: white;
}

.bang-gia-cao-cap h4,
.bang-gia-cao-cap .text p {
  background: rgb(183, 134, 83);
  background: radial-gradient(circle, rgba(183, 134, 83, 1) 0%, rgba(0, 0, 0, 1) 100%);
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bang-gia-cao-cap ul li,
.bang-gia-cao-cap ul li:before {
  color: #B78653;
}

/* CONTACT FORM 7 */
.dang-ky-tu-van-form {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.dang-ky-tu-van-form .wpcf7-form-control-wrap {
  flex: 1;
}

.dang-ky-tu-van-form input[type=tel] {
  margin: 0;
  border-radius: 99px;
}

.dang-ky-tu-van-form .wpcf7-spinner {
  display: none;
}

.dang-ky-tu-van-form .button {
  margin: 0;
  border-radius: 99px;
  text-transform: none;
}

.bg-stretch .bg {
  background-size: 100% 100% !important;
}

.footer-info ul,
.footer-info ul li {
  list-style: none;
  margin-left: 0px !important;
  padding: 0px;
  margin-bottom: 5px;
}

/* PRODUCT ITEM */
.sgw-template {
  border-radius: 8px;
  overflow: hidden;
}

.sgw-template .sgw-image-wrapper {
  position: relative;
  height: 350px;
  overflow: hidden;
  display: block;
}

.sgw-template .sgw-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-transition: all ease-in-out 3s !important;
  -moz-transition: all ease-in-out 3s !important;
  -o-transition: all ease-in-out 3s !important;
  transition: all ease-in-out 3s !important;
  position: absolute;
  top: 0;
  left: 0;
}

.sgw-template .sgw-image-wrapper:hover .sgw-template-cta {
  opacity: 1;
}

.sgw-template .sgw-image-wrapper:hover img {
  top: 100%;
  transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
}

.sgw-template .sgw-template-info {
  text-align: left;
  padding: 0.8rem;
}

.sgw-template .sgw-template-info h2 {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  line-height: 1.5rem;
  font-size: 1rem;
}

.sgw-template .sgw-template-info h2 a {
  color: var(--primary-color) !important;
}

.sgw-template .sgw-template-meta {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
}

.sgw-template .sgw-template-sku {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.5);
}

.sgw-template .sgw-template-cta {
  opacity: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0 25%;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  transition: opacity 0.3s linear;
}

.sgw-template .sgw-template-cta .button {
  margin: 0;
  border-radius: 99px;
}

.sgw-template .sgw-template-cta .button:first-child {
  background-color: #a52a2e;
}

/* PARTNER */
.gallery-partner .gallery-col {
  padding: 3px 9.8px !important;
}

.flickity-prev-next-button {
  top: 0 !important;
  bottom: 0 !important;
  color: var(--primary-color) !important;
}

/* COUNTER UP */
.text-counter-up {
  font-size: 3.3rem;
  line-height: 3.3rem;
}

.text-counter-up p {
  margin: 0;
}

/* TESTIMONIAL */
.sgw-testimonial .col-inner {
  position: relative;
  margin-top: 50px;
}

.sgw-testimonial-icon {
  position: absolute;
  top: -50px;
  left: 0;
  font-size: 4rem;
}

.sgw-testimonial-icon p {
  margin: 0;
}

/* DICH VU */
.iconbox-dich-vu {
  -webkit-animation: float 6s ease-in-out infinite;
  animation: float 6s ease-in-out infinite;
}

.row-dich-vu .col:nth-child(2) .iconbox-dich-vu {
  animation-delay: 1s;
}

.row-dich-vu .col:nth-child(3) .iconbox-dich-vu {
  animation-delay: 3s;
}

.row-dich-vu .col:nth-child(5) .iconbox-dich-vu {
  animation-delay: 2s;
}

.row-dich-vu .col:nth-child(6) .iconbox-dich-vu {
  animation-delay: 1s;
}

.row-dich-vu .col:nth-child(7) .iconbox-dich-vu {
  animation-delay: 3s;
}

.iconbox-dich-vu .icon-box-text {
  background-color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 10%);
  -webkit-box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 10%);
  -moz-box-shadow: 0px 0px 10px 5px rgb(0 0 0 / 10%);
}

.row-dich-vu .col:nth-child(1),
.row-dich-vu .col:nth-child(3) {
  position: relative;
  bottom: -160px;
}

.row-dich-vu .col:nth-child(5),
.row-dich-vu .col:nth-child(7) {
  position: relative;
  top: -160px;
}

/* PRODUCT */
.woocommerce-product-gallery__image {
  position: relative;
  height: 850px;
  overflow: hidden;
  display: block;
}

.woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-transition: all ease-in-out 2s;
  -moz-transition: all ease-in-out 2s;
  -o-transition: all ease-in-out 2s;
  transition: all ease-in-out 2s;
  position: absolute;
  top: 0;
  left: 0;
}

.woocommerce-product-gallery__image:hover img {
  top: 100%;
  transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
}

.sgw-contact-info {
  background: #f5f3f3;
  padding: 10px 15px;
  border: 1px dotted #c1c1c1;
}

.sgw-contact-info p {
  margin-bottom: 8px;
}

.sgw-contact-info a {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: bold;
}

.woocommerce-ordering,
.woocommerce-result-count {
  display: none !important;
}

.shop-page-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.category-page-row {
  padding-top: 0 !important;
}

/* ACCORDION */
.accordion-title {
  border-radius: 5px;
  background: #ebebeb;
  color: #555;
  font-weight: bold;
  cursor: pointer;
  border-top: none !important;
  margin-bottom: 5px;
}

.accordion-title.active {
  background: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: 0 5px 8px rgb(0 0 0 / 20%);
}

/* BAO GIA */
.sgw-bao-gia {
  background-color: #f8f8f8;
  padding: 2rem;
}

.sgw-bao-gia .sgw-bao-gia-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 99;
}

.sgw-bao-gia h4 {
  color: var(--primary-color);
}

.sgw-bao-gia .init-price .amount {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
}

.sgw-bao-gia .accordion-inner {
  background-color: white;
}

.sgw-bao-gia ul,
.sgw-bao-gia ul li {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-left: 0 !important;
  margin-top: 10px !important;
}

.sgw-bao-gia ul li [type=checkbox] {
  padding: 0;
  margin: 0 10px 0 0 !important;
}

.sgw-bao-gia .opt {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sgw-bao-gia .lbl {
  flex: 1;
}

.sgw-bao-gia .opt .val {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.7rem;
}

.sgw-bao-gia .opt .val .select-price {
  font-size: .9em;
  font-weight: bold;
  min-width: 90px;
  text-align: right;
}

.sgw-bao-gia .lbl .description {
  font-size: 0.7rem;
  font-style: italic;
  color: rgba(0, 0, 0, 0.8);
}

.sgw-bao-gia select {
  margin: 0 !important;
}

.sgw-bao-gia [type="submit"] {
  width: 100%;
  margin-top: 1rem;
}

.sgw-bao-gia .total-money,
.sgw-bao-gia .total-time {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.sgw-bao-gia .total-money .val,
.sgw-bao-gia .total-money .val .amount {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: bold;
}

/* DANH MUC SAN PHAM */
body.archive .term-description {
  display: none;
}

/* DEMO PAGE */
body.page-xem-demo #button-contact-vr {
  display: none;
}

.sgw-tablet-landscape,
.sgw-mobile-landscape {
  transform: rotate(-90deg);
}

.sgw-preview-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.sgw-preview-header .logo img {
  max-height: 60px;
}

.sgw-preview-header .flex-buttons {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.sgw-preview-header .flex-buttons .button {
  margin: 0;
}

.sgw-preview-header .flex-buttons i:hover {
  cursor: pointer;
}

.sgw-preview-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 100px);
}

.sgw-preview-content .sgw-preview-responsive {
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.sgw-preview-responsive iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.sgw-preview-content .sgw-pr-tablet {
  max-width: 568px;
  max-height: 849px;
}

.sgw-preview-content .sgw-pr-tablet-landscape {
  max-width: 849px;
  max-height: 568px;
}

.sgw-preview-content .sgw-pr-mobile {
  max-width: 375px;
  max-height: 568px;
}

.sgw-preview-content .sgw-pr-mobile-landscape {
  max-width: 568px;
  max-height: 375px;
}

@keyframes left-slide {
  0% {
    left: -50%;
    opacity: 0.1;
  }

  50%,
  100% {
    left: 150%;
    opacity: 0.75;
  }
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }

  50% {
    transform: translatey(-20px);
  }

  100% {
    transform: translatey(0px);
  }
}