.img {
  position: relative;
}
.img .image-cover {
  background-position: 50% 50%;
  background-size: cover;
  height: auto;
  overflow: hidden;
  padding-top: 100%;
  position: relative;
}
.img .image-cover img {
  bottom: 0;
  font-family: "object-fit: cover;";
  height: 100%;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 50%;
  object-position: 50% 50%;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}
.has-hover .image-cover img {
  transition:
    filter 0.6s,
    opacity 0.6s,
    transform 0.6s,
    box-shadow 0.3s;
}
.has-hover .image-cover:hover img {
  transform: scale(1.1);
}
.sale-page,
.sale-page .sec-breadCrumb {
  background: #f5f5f5;
}
/** Banner */
.banner-page {
  position: relative;
}
.banner-page .image-cover {
  padding-top: 37% !important;
}

/** intro **/
.intro-sale {
  padding: 0 0 6.2rem;
  position: relative;
}
.intro-sale::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 78%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    #fff9ed 64.42%,
    rgba(255, 255, 255, 0) 100%
  );
}
.intro-sale .container {
  position: relative;
  z-index: 2;
}
.intro-sale .intro-img .grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2.2rem;
}
.intro-sale .intro-img .grid-cols-2 .image-cover {
  padding-top: 33%;
}
.intro-content {
  padding-top: 5.4rem;
}
.intro-content .title-main {
  text-align: center;
  padding-bottom: 2.4rem;
  margin-bottom: 4.6rem;
  border-bottom: 1px solid #d0d5dd;
}
.intro-content .title-main h1 {
  --clamp-size: clamp(2.5rem, calc(-0.6rem + 4.5vw), 6.4rem);
  line-height: normal;
  font-size: var(--clamp-size);
}
.intro-content .title-main p {
  font-size: 1.6rem;
  line-height: normal;
}
.intro-content .grid-cols-2 {
  display: grid;
  grid-template-columns: 1fr 53.7rem;
  column-gap: 10.4rem;
  justify-content: stretch;
}
.intro-content .grid-cols-2 .col-left .list-item .item:nth-child(n + 2) {
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid #d0d5dd;
}
.intro-content .grid-cols-2 .col-left .list-item .item .icon-box {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  column-gap: 1.7rem;
  margin-bottom: 1rem;
}
.intro-content .grid-cols-2 .col-left .list-item .item .icon-box .img {
  height: 3.4rem;
  width: 3.4rem;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.intro-content .grid-cols-2 .col-left .list-item .item .icon-box .img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-content .grid-cols-2 .col-left .list-item .item .icon-box .name {
  color: var(--black-color);
  font-size: 2rem;
  font-weight: 700;
  line-height: normal;
}
.intro-content .grid-cols-2 .col-left .list-item .item .content {
  font-size: 1.6rem;
  color: var(--black-color-400);
}
.intro-content .grid-cols-2 .col-right .col-inner {
  border-radius: 1rem;
  border: 1px solid rgba(255, 145, 34, 0.3);
  background: #fff;
  padding: 2.1rem 4rem 3.2rem;
  height: 100%;
}
.intro-content .grid-cols-2 h4 {
  --clamp-size: clamp(2.4rem, calc(-0.6rem + 4.5vw), 4rem);
  font-size: var(--clamp-size);
  line-height: normal;
  color: var(--blue-color);
  margin-bottom: 1.2rem;
}
.intro-content .grid-cols-2 .col-left h4 {
  margin-bottom: 2.1rem;
}
.intro-content .grid-cols-2 .col-right .col-inner .content strong {
  font-weight: 700;
}
.intro-content .grid-cols-2 .col-right .col-inner .content p:nth-child(2) {
  color: var(--orange-color);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 2.1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid #d0d5dd;
}
.intro-content .grid-cols-2 .col-right .col-inner .content h5 {
  color: var(--black-color);
  font-weight: 700;
  line-height: normal;
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.intro-content .grid-cols-2 .col-right .col-inner .content p {
  line-height: normal;
  font-size: 1.6rem;
}
.intro-content .grid-cols-2 .col-right .col-inner .content p:last-child {
  margin-top: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid #d0d5dd;
}
@media (max-width: 767.98px) {
  .intro-content {
    padding-top: 3.5rem;
  }
  .intro-sale .intro-img .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
    grid-gap: 1rem 0;
  }
  .intro-content .title-main h1 {
    margin-bottom: 1.3rem;
  }
  .intro-content .title-main br {
    display: none;
  }
  .intro-content .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
    grid-gap: 2rem 0;
  }
  .intro-content .grid-cols-2 .col-right .col-inner {
    padding: 2.5rem;
  }
  .intro-content .grid-cols-2 .col-left .list-item .item .icon-box .name,
  .intro-content .grid-cols-2 .col-right .col-inner .content p:nth-child(2),
  .intro-content .grid-cols-2 .col-right .col-inner .content h5 {
    font-size: 1.8rem;
  }
}
/** bestseller */
.bestseller-sale {
  position: relative;
}
.bestseller-sale .bg-section {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 1.4rem;
}
.bestseller-sale .bg-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.bestseller-sale .container .bestseller-content {
  position: relative;
  padding: 4.8rem 2.5rem 7rem;
}
.bestseller-sale .list-product,
.bestseller-sale .title-main {
  position: relative;
  z-index: 2;
}
.bestseller-sale .title-main {
  margin-bottom: 1.8rem;
}
.bestseller-sale .title-main .title-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 2.1rem;
}
.bestseller-sale .title-main .title-inner img {
  width: auto;
  height: 9.8rem;
  object-fit: contain;
}
.count-down {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
}
.count-down .text {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  line-height: normal;
}
.count-down .time {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
}
.count-down .time .item {
  background-color: #fff;
  width: 5rem;
  height: 3.8rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.count-down .time .item span {
  color: var(--blue-color);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: normal;
}
.list-product {
  position: relative;
}
.list-product .swiper-button {
  width: 4rem;
  height: 4rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -2rem;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.list-product .swiper-button.swiper-next {
  left: auto;
  right: -2rem;
}
.list-product .swiper-button:hover svg path {
  stroke: #fff;
}
.box-product {
  background: #fafafa;
  border-radius: 1rem;
  padding: 1.6rem 1.6rem 2rem;
}
.box-product .box-image .image-cover {
  padding-top: 100%;
  background-color: #fff;
}
.box-product .box-text {
  padding-top: 1.6rem;
}
.box-product .box-text .post-title {
  margin-bottom: 1rem;
}
.box-product .box-text .post-title a {
  font-size: 1.6rem;
  line-height: normal;
  color: var(--black-color);
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.box-product .box-text .post-title a:hover {
  color: var(--orange-color);
}
@media (max-width: 767.98px) {
  .bestseller-sale .title-main .title-inner img {
    height: 5rem;
  }
  .bestseller-sale .title-main .title-inner {
    flex-direction: column;
    row-gap: 1rem;
  }
  .count-down .text {
    font-size: 1.6rem;
  }
  .count-down .time .item span {
    font-size: 2rem;
  }
  .count-down .time .item {
    height: 4.25rem;
    height: 3.25rem;
  }
  .bestseller-sale .container .bestseller-content {
    padding-left: 0;
    padding-right: 0;
  }
  .bestseller-sale .title-main {
    padding: 0 1.6rem;
  }
  .bestseller-sale .list-product {
    padding-left: 1rem;
  }
  .list-product .swiper-button {
    left: -1rem;
  }
  .list-product .swiper-button.swiper-next {
    right: -1rem;
  }
}
/* Price Info */
.box-product .price-info {
  margin-bottom: 1rem;
  display: flex;
  column-gap: 2rem;
  align-items: flex-end;
  justify-content: space-between;
}
.box-product .price-info .price-row-top {
  flex: 1;
}
.box-product .price-info .price-row-top .price {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
}
.box-product .price-row-top .regular-price {
  font-size: 1.4rem;
  color: var(--black-color-400);
  text-decoration: line-through;
  font-weight: 400;
  line-height: normal;
}
.box-product .price-row-top .sale-price {
  margin-top: 0.4rem;
  font-size: 2rem;
  font-weight: 500;
  line-height: normal;
  color: var(--blue-color);
}
.box-product .price-row-top .on-badge {
  width: 4.65rem;
  height: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-color);
  background: linear-gradient(90deg, #ffd341 0%, #ff9122 100%);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
  position: relative;
}
.box-product .price-row-top .on-badge::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1.6rem;
  background-image: url("/wp-content/uploads/2026/03/i-flash.svg");
  background-repeat: no-repeat;
  background-size: contain;
}
.box-product .percent-badge {
  background: #ff9122;
  color: #fff;
  padding: 0.2rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.box-product .price-row-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.box-product .price-row-main .sale-price {
  font-size: 2.8rem;
  font-weight: 700;
  color: #003666;
  line-height: 1;
}
@media screen and (max-width: 1440px) and (min-width: 768px) {
  .box-product .price-info {
    column-gap: 1.4rem;
  }
  .box-product .price-row-top .on-badge {
    width: 4rem;
  }
}
/* Stock Status */
.box-product .stock-status {
  margin-top: 0.4rem;
}
.box-product .progress-bar {
  height: 1.9rem;
  background: #ff91224d;
  border-radius: 10rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box-product .progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(270deg, #ff9122 0%, #e21a20 100%);
  z-index: 1;
}
.box-product .progress-text {
  position: relative;
  z-index: 2;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--black-color);
  line-height: normal;
}

/* Meta Bottom */
.box-product .meta-bottom {
  display: flex;
  align-items: flex-end;
}
.box-product .box-text .rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.box-product .box-text .rating svg {
  width: 1.4rem;
  height: 1.3rem;
  margin-bottom: 0.15rem;
}
.box-product .box-text .rating span {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--black-color-400);
}
.box-product .sold-info span {
  padding-left: 0.7rem;
  margin-left: 0.7rem;
  border-left: 1px solid #d0d5dd;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--black-color-400);
  line-height: 1;
}
.box-product .box-text .btn-pri {
  border-radius: 0.3rem;
  height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.9rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}
.box-product .box-text .btn-pri:hover {
  color: var(--orange-color);
}

/* featured */
.featured-sale {
  padding: 3rem 0 4.5rem;
}
.featured-sale .title-main {
  position: relative;
  padding: 1.2rem 0 3.5rem;
  border-radius: 1.4rem;
  overflow: hidden;
}
.featured-sale .title-main .title-inner {
  position: relative;
  z-index: 2;
}
.featured-sale .title-main .bg-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.featured-sale .title-main img {
  width: 100%;
  height: 9.8rem;
  object-fit: contain;
  margin: auto;
}
.featured-sale .title-main ul {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.8rem;
  margin: 1.2rem 0 0;
  overflow: auto;
}
.featured-sale .title-main ul::-webkit-scrollbar {
  display: none;
}
.featured-sale .title-main ul li {
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #fff;
  background: rgba(250, 250, 250, 0.3);
  box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.5) inset;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.9rem;
}
.featured-sale .title-main ul li span {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  line-height: normal;
}
.featured-sale .title-main ul li:hover,
.featured-sale .title-main ul li.active {
  background: #fff;
}
.featured-sale .title-main ul li:hover span,
.featured-sale .title-main ul li.active span {
  color: var(--blue-color);
}

/* Filter */
.featured-sale .grid-cols-2 {
  --width: calc(2.5 / 12 * 100%);
  display: grid;
  grid-template-columns: var(--width) 1fr;
  column-gap: 3.5rem;
  margin-top: 2rem;
}
.featured-sale .grid-cols-2 .col-left .col-inner {
  border-radius: 1rem;
  background: #fff;
  overflow: hidden;
}
.featured-sale .grid-cols-2 .col-left .col-inner .icon-box {
  display: flex;
  align-items: center;
  column-gap: 1.1rem;
  background-color: var(--orange-color-400);
  padding: 1.1rem 2.3rem;
}
.featured-sale .grid-cols-2 .col-left .col-inner .icon-box svg {
  width: 2.9rem;
  height: 2.8rem;
}
.featured-sale .grid-cols-2 .col-left .col-inner .icon-box span {
  font-size: 2rem;
  color: var(--orange-color);
  font-weight: 700;
  line-height: normal;
}
.modal-filter-header,
.modal-filter-footer {
  display: none;
}
.box-filter {
  padding: 1.8rem 2.3rem 0.7rem;
}
.box-filter:not(.filter-brand) {
  padding-top: 0rem;
}
.box-filter .title {
  color: var(--black-color);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.box-filter.filter-product {
  padding-top: 0;
}
.box-filter.filter-address .box-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1.6rem;
}
.box-filter .box-item span {
  font-size: 1.4rem;
  color: var(--black-color-400);
  line-height: normal;
}

.box-filter .box-item .item {
  position: relative;
  padding-left: 2.5rem;
  line-height: normal;
  margin-bottom: 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.box-filter .box-item .item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 3px;
  border: 1px solid #d0d5dd;
  background-color: #fff;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1rem;
}
.box-filter .box-item .item.active span {
  color: var(--orange-color);
  font-weight: 600;
}
.box-filter .box-item .item.active::before {
  background-color: var(--orange-color);
  border-color: var(--orange-color);
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-sale .list-product {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 3rem;
}

.btn-center {
  text-align: center;
  margin-top: 3rem;
}
.btn-pri {
  border-radius: 0.5rem;
  height: 4.6rem;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: normal;
}
#load-more-product {
  position: relative;
}
.mobile-filter-trigger {
  display: none;
}
/* Loading State */
#featured-sale {
  position: relative;
  min-height: 200px;
}
#featured-sale.loading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 10;
}
#featured-sale.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid var(--orange-color-400);
  border-top: 4px solid var(--orange-color);
  border-radius: 50%;
  animation: ajax-spin 1s linear infinite;
  z-index: 11;
}

@keyframes ajax-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

#load-more-technique.loading {
  position: relative;
  color: transparent !important;
}
#load-more-technique.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: ajax-spin 1s linear infinite;
}
@media (max-width: 767.98px) {
  .featured-sale .grid-cols-2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .box-product {
    border-radius: 0.5rem;
    padding: 1rem 1rem 1.5rem;
  }
  .box-product .box-text .btn-pri {
    height: 3.5rem;
    width: 100%;
  }
  .box-product .price-info {
    flex-direction: column;
    align-items: flex-start;
    column-gap: 0;
    row-gap: 1.6rem;
  }
  .box-product .price-row-top .sale-price {
    font-size: 1.8rem;
  }
  .featured-sale .list-product {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .mobile-filter-trigger {
    display: block;
  }
  .btn-filter-open {
    display: flex;
    align-items: center;
    column-gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    background: #fff;
    border-radius: 0.6rem;
    color: var(--black-color-400);
    font-size: 1.6rem;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
    margin-bottom: 1.6rem;
  }
  .featured-sale .col-left {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
  }
  .featured-sale .col-left.active {
    visibility: visible;
    opacity: 1;
  }
  .featured-sale .col-left .modal-filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  .featured-sale .col-left .col-inner {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 90%;
    background: #fff;
    border-radius: 2rem 2rem 0 0;
    z-index: 2;
    transition: bottom 0.4s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  .featured-sale .col-left.active .col-inner {
    bottom: 0;
  }
  .featured-sale .col-left.active .col-inner .col-filter {
    height: 60rem;
    overflow-y: auto;
  }
  .modal-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.2rem 2rem;
    position: relative;
    flex-shrink: 0;
    background-color: var(--orange-color-400);
  }
  .btn-filter-close i {
    font-weight: 300;
    color: var(--black-color);
  }
  .modal-filter-header .modal-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--black-color);
    letter-spacing: 0.05em;
  }
  .btn-filter-close {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.8rem;
    color: #333;
    cursor: pointer;
    line-height: 0;
  }
  .modal-filter-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem 0 3rem;
  }
  .modal-filter-footer {
    display: block;
    padding: 2rem;
    border-top: 1px solid #f2f4f7;
    flex-shrink: 0;
    background: #fff;
  }
  .btn-apply-filter {
    width: 100%;
    background-color: var(--orange-color);
    color: #fff;
    border: none;
    height: 4.5rem;
    border-radius: 10rem;
    font-weight: 500;
    font-size: 1.8rem;
  }

  .featured-sale .col-left .col-inner .icon-box,
  .featured-sale .modal-filter-body {
    display: none;
  }
  .box-filter .box-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.6rem;
  }
  .box-filter .box-item span {
    font-size: 1.6rem;
  }
  .box-filter .title {
    font-size: 1.8rem;
  }
  .featured-sale .title-main img {
    height: 5rem;
  }
  .featured-sale .title-main ul {
    justify-content: flex-start;
    padding: 0 1rem;
    column-gap: 1rem;
  }
  .featured-sale .title-main ul li {
    flex-shrink: 0;
    padding: 0 1.6rem;
  }
  .featured-sale .title-main ul li span {
    font-size: 1.6rem;
  }
}
