.header-bg{
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
.header-bg h1{
	font-size: 30px;
	margin-bottom: 0;
}
.header-bg a, .header-bg h1, .header-bg span{
	color: #fff;
}
.breadcrumb-container{
	display: flex;
    gap: 5px;
    font-size: 15px;
}
.breadcrumb-container .breadcrumb-current {
    color: var(--e-a-btn-bg-warning);
}
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgb(0 0 0 / 60%) 0%, rgb(255 0 0 / 73%) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
}

.taxonomy-filter ul{
    list-style: none;
}
.taxonomy-filter ul li{
    margin-left: 0 !important;
    cursor: pointer;
    font-size: 15px;
}
.taxonomy-filter ul li.active,.taxonomy-filter ul li:hover{
    color: var(--main-color);
}
.taxonomy-filter ul li.active{
    font-weight: 700;
}
.taxonomy-filter[data-tax="product-tags"] ul li{
    margin-bottom: 0 !important;
}
.taxonomy-filter[data-tax="product-tags"] ul{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#product-filter-form h3{
    border-bottom: 1px solid #d7d7d7;
    margin-bottom: 15px;
    position: relative;
    margin-top: 0;
    font-size: 18px;
}
#product-filter-form h3 span{
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 4px;
}
.taxonomy-filter[data-tax="product-tags"] ul li{
    background: #d7d7d7;
    padding: 10px;
    display: inline-block;
    border: 1px solid #d7d7d7;
}
.taxonomy-filter:not([data-tax="product-tags"]) ul li{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-item {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-item img {
    max-width: 100%;
    height: auto;
}

.discount {
    background: var(--main-color);
    color: white;
    padding: 5px;
    font-weight: bold;
}

.taxonomy-filter h3 {
    margin-top: 20px;
}

form#product-filter-form button {
    margin-top: 20px;
    background: var(--main-color);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.price-range input {
    width: 80px;
    margin: 0 5px;
}
.ui-slider-horizontal .ui-slider-range{
    background: var(--main-color);
    border-radius: 0;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active{
    background: var(--main-color);
    border-color: var(--main-color);
    border-radius: 0;
    width: 10px;
}
.ui-slider-handle.ui-corner-all.ui-state-default.ui-state-focus{
    border-color: var(--main-color);
    border-radius: 0;
    outline: 0;
}
.price-btn{
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}
.price-btn > button{
    margin-bottom: 0;
    margin-right: 0;
    padding: 0 25px;
    border-radius: 0;
    border: 1px solid #D7D7D7;
    text-transform: none;
}
input#search-name{
    margin-bottom: 0;
}
#product-filter-form > .filter-box > div:not(:last-child){
    margin-bottom: 20px;
}
.total-post{
    margin-bottom: 30px;
}
.product-item > .price{
    display: flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 15px;
}
.product-item > .price .discount{
    background: #07c307;
    color: #fff;
    font-size: 12px;
}
.product-item > .price ins{
    color: var(--main-color);
    font-weight: 700;
    font-size: 26px;
}
.product-item > .price del{
    color: #D7D7D7;
    font-size: 14px;
}
.product-item h3 a{
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    font-size: 16px;
}
.product-item h3,
.product-item .desc{
    text-align: left;
    margin-bottom: 15px;
}
.d-flex{
    display: flex;
}
.product-item > button,.btn-filter-mb > button{
    margin-right: 0;
    padding: 0;
    text-wrap: nowrap;
    font-size: 12px;
    margin-bottom: 0;
}
.product-item > button.get-code{
    width: 100%;
    background: var(--main-color);
    color: #FFF;
    padding: 5px 15px;
    text-transform: uppercase;
    border-radius: 30px;
    border: 1px solid var(--main-color);
    transition: all 0.3s;
}
.product-item > button.get-code:hover{
    background: #fff;
    color: var(--main-color);
    transition: all 0.3s;
}
input#search-product{
    box-shadow: unset;
    min-height: 50px;
}
.search-keyword > div{
    position: relative;
}
.search-keyword > div input{
    margin-bottom: 0;
}
.search-keyword > div i{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.modal-filter{
    text-align: center;
    padding: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #000;
}
.pagination{
    margin-top: 30px;
    text-align: center;
}
.pagination .wp-pagenavi > *{
    border-radius: 0;
    border: 1px solid #D7D7D7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.pagination .wp-pagenavi > span.current{
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}
@media screen and (min-width: 768px) {
    .hide-pc{
        display: none;
    }
}

@media screen and (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}
@media screen and (max-width: 767px) {
    #product-filter-form {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9999;
    }
    .total-post{
        margin-bottom: 10px;
    }
    .filter-box {
      position: absolute;
      right: -100%;
      top: 0;
      width: 100%;
      height: 100%;
      background: #fff;
      box-shadow: -4px 0 15px rgba(0,0,0,0.2);
      padding: 20px;
      overflow-y: auto;
      transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    #product-filter-form.active .filter-box {
      right: 0;
    }
    #product-filter-form.active {
      display: block;
    }
    .filter-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    #product-filter-form.active .filter-overlay {
        opacity: 1;
    }
    .btn-filter-mb{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }
    .btn-filter-mb > button{
        flex: 1;
        color: #fff;
        min-height: 50px;
    }
    .btn-filter-mb > button#btn-filter{
        background: green;
    }
    .btn-filter-mb > button.close-filter{
        background: var(--main-color);
    }
}
.category-card-swiper .category-card {
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card-swiper .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.category-card-swiper .card-image-wrapper {
    position: relative;
}

.category-card-swiper .card-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-card-swiper .card-content > div{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    width: 90%;
}
.category-card-swiper .card-content > div > div {
    position: relative;
    border-top: 5px solid var(--main-color);
    background: #F8F8F8;
    min-height: 185px;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: -65px;
}
.category-card-swiper .card-icon-box{
    position: absolute;
    top: -20px; 
    left: 15px;
    z-index: 10;
    width: 65px;
    height: 65px;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card-swiper .card-icon-image {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); 
}
.category-card-swiper .card-icon-box svg {
    color: #ffffff;
    width: 30px;
    height: 30px;
}
.category-card-swiper .card-content {
    background-color: #ffffff;
    position: relative;
    min-height: 215px;
}
.category-card-swiper .swiper-wrapper{
    padding-bottom: 75px;
}
.swiper-pagination .swiper-pagination-bullet{
    min-width: 20px;
    border-radius: 8px;
    background: #4c4c4c;
}
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background: var(--main-color);
}
.category-card-swiper .card-title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-top: 0;
    margin-bottom: 10px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}

.category-card-swiper .card-description {
    font-size: 14px;
    color: #555;
    min-height: 40px;
    margin-bottom: 0;
}
.category-card-swiper .card-button {
    display: block !important;
    width: 100%;
    background-color: var(--main-color);
    color: #ffffff;
    text-align: center;
    padding: 12px 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    z-index: 2;
    position: relative;
}
.category-card-swiper .card-button:hover {
    background-color: #b30024;
    color: #FFF;
}
.category-card-swiper .card-content > div::before {
    content: "";
    position: absolute;
    top: -45px;
    right: 20px;
    pointer-events: none;
    background: url('./../images/down-arrow.png') center center no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    z-index: 1;
}
#salertWrapper .popup_position .popup_box .popup_template{
    border-radius: 999px;
    box-shadow: 0 0 4px 0 rgba(0,0,0,.4);
}
#salertWrapper figure.circle {
    max-height: 100px;
    width: 100px;
    border: unset !important;
}
#salertWrapper .popup_position.bottomLeft .popup-item{
    display: flex;
    flex-direction: row;
    align-items: center;
}
#salertWrapper .popup_position.bottomLeft .popup-item .salert-content-wrap > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#salertWrapper .popup_position.bottomLeft .popup-item .salert-content-wrap > div > a{
    width: auto;
    max-width: 150px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    background-color: #FFF;
    border-radius: 25px;
    padding: 2px 3px;
    cursor: pointer;
    transition: .2s;
    user-select: none;
}
#salertWrapper .popup_position.bottomLeft .popup-item > .salert-content-wrap{
    padding: 10px;
}
#salertWrapper .popup_template .popup-item .btn-close{
    top: 15px;
    right: 25px;
}
#salertWrapper .popup_template .popup-item .btn-close img{
    filter: brightness(0) invert(1);
}
/*About Us*/

.gallery-affilate > .elementor-image-gallery .gallery{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.gallery-affilate > .elementor-image-gallery .gallery > .gallery-item{
    max-width: 100% !important;
}
#about-02::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-image: linear-gradient(270deg, #f3f4f7 69%, #ec0000e0 54%);
}
#about-02 .video-intro-list,
#about-04 .members-list {
  margin-top: 30px;
}
#about-02 .video-intro-list iframe {
  height: 250px;
}
#about-04 .member-img {
  margin-bottom: 0;
}
#about-04 .info-member {
  background-color: var(--white);
  padding: 20px 50px 20px 30px;
  width: 80%;
  margin: -50px auto 0;
  box-shadow: 0 10px 60px rgb(0 0 0 / 0.07);
  position: relative;
  z-index: 1;
}
#about-04 .info-member::after {
  content: "";
  width: 9px;
  height: 45px;
  background: var(--main-color);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#about-04 .info-member p {
  margin-bottom: 0;
}
#about-04 .info-member p strong {
  font-size: 22px;
  color: var(--black);
}
.members-list.elementor-section > .elementor-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.members-list > .elementor-container > div{
    width: 100%;
}
@media screen and (max-width: 1024px) {
    .members-list.elementor-section > .elementor-container{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (max-width: 768px) {
    #about-04 .info-member.elementor-widget-text-editor > p{
        font-size: 14px;
    }
    #about-04 .info-member.elementor-widget-text-editor p strong {
        font-size: 18px;
    }
   
}
@media screen and (max-width: 601px) {
    .products-grid,.members-list.elementor-section > .elementor-container{
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
    #about-04 .info-member {
        padding: 10px 20px;
        margin: -50px auto 0;
        box-shadow: 0 10px 60px rgb(0 0 0 / 0.07);
    }
}
@media screen and (max-width: 480px){
    .gallery-affilate > .elementor-image-gallery .gallery{
        grid-template-columns: repeat(1, 1fr);
    }
}