/*--------------------------------------------------------------------------
|  Header
--------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------
|  Main
--------------------------------------------------------------------------*/
.swiper-fade .swiper-slide-active .swiper-slide--wrap {
    -webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	        animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}

.swiper-slide--description {
    animation: typewriter 10s steps(30) infinite, blinking-cursor 0.8s infinite;
    animation-fill-mode: forwards;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes typewriter {
  0% { width:0 }
  25% { width: 70% }
  48% { width: 100% }
  50% { width: 100% }
  55% { width: 100% }
  75% { width: 70%; }
  85% { width: 30%; }
  100% { width: 0; }
}

@keyframes blinking-cursor {
  from { border-color: transparent }
  to { border-color: #f9d566 }
}

.item-we-do {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
}

.item-we-do i {
    font-size: 4rem;
    color: var(--color-highlight);
}

.intro-we-do .we-do--tile {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.desc-section {
    text-transform: uppercase;
    color: var(--color-highlight);
}

.bg-service {
    background: #eff5f5;
}

.swiper-service--wrap {
    position: absolute;
    bottom: 0;
    color: white;
    padding: 2rem;
}

.swiper-service--tile {
    display: inline-block;
    background: var(--color-highlight);
    padding: .3rem 1rem;
    margin-bottom: 1rem;
}

.inner-video {
    padding-top: 35%;
}

.inner-video .fa-circle-play {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    text-align: center;
    font-size: 8rem;
    color: white;
}

.item-feedback {
    background: white;
    padding: 2rem;
}

.swiper-feedback--wrap {
    display: flex;
    gap: 1rem;
}

.swiper-feedback--tile {
    font-size: 2rem;
    font-weight: bold;
    text-transform: capitalize;
}

.swiper-feedback--wrap img {
    border-radius: 100%;
}

.swiper-feedback--description {
    margin-bottom: 2rem;
}

.item-top .icon {
    margin-bottom: 1.5rem;
}

.item-top .icon img {
    width: 6rem;
    height: 6rem;
    object-fit: contain;
}

.item-top .counter-value {
    font-size: 4rem;
    font-weight: bold;
    color: var(--color-highlight);
}

.item-counter .description {
    font-size: 1.7rem;
    color: #666;
    text-transform: uppercase;
}

/* menu product */
.menu-section .product-entry .nav {
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: .5rem;
}

.menu-section .product-entry .nav > li > a.nav-link {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: .8rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    color: black;
    text-decoration: none;
    background: #e7e7e7;
    transition: 0.25s;
}

.menu-section .product-entry .nav::-webkit-scrollbar {
    height: 3px;
    background: gray;
}

.menu-section .product-entry .nav::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.menu-section .product-entry .nav::-webkit-scrollbar-thumb {
    background-color: var(--color-highlight);
    outline: 1px solid slategrey;
}

.menu-section .product-entry .nav > li > a.nav-link.active, .menu-section .product-entry .nav > li > a.nav-link:hover {
    background: var(--color-highlight);
    color: white;
}

.menu-section .product-entry-banner {
    position: relative;
}

.menu-section .product-entry .tab-content {
    background: #e7e7e7;
}

.menu-section .product-entry .title-cate a {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    margin: 1rem 0;
    padding: 0 !important;
}

.menu-section .product-entry-info-cate {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: -moz-linear-gradient(top, rgb(0 0 0 / 5%) 0%, #000000 90%);
    background: -webkit-linear-gradient(top, rgb(0 0 0 / 5%) 0%, #000000 90%);
    background: linear-gradient(to bottom, rgb(0 0 0 / 5%) 0%, #000000 90%);
    padding: 1rem;
}

.menu-section .product-entry .swiper-wrapper .product-item {
    background: white;
    margin-bottom: 0;
    height: auto;
}

.menu-section .product-entry .swiper-wrapper .product-item .inner-content {
    padding: 1rem;
    padding-top: 0;
}

.menu-section .product-entry .swiper-wrapper .product-item .inner-content .product-title {
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box !important;
}
/* --- */

h1.title-seo {
    font-size: 2rem;
    margin: 0;
}

.product-detail-thumb-image {
    overflow: initial;
}

.product-detail-thumb-image .swiper-wrapper {
    flex-wrap: wrap;
    gap: 1rem;
    transform: translate3d(0px, 0px, 0px) !important;
}

.product-detail-thumb-image .swiper-slide {
    width: calc(50% - .5rem) !important;
    border-radius: 3rem;
    overflow: hidden;
}

.btn-product-wishlist {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9;
    font-size: 3rem;
    color: gray;
}

.btn-product-wishlist.added-wishlist {
    color: var(--color-highlight);
}

#accordion-product .card {
    margin-bottom: 1rem;
}

#accordion-product button {
    border: 0;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    background: no-repeat;
    justify-content: space-between;
    font-weight: 500;
}

#accordion-product button:not(.collapsed) i {
    transform: rotate(180deg);
}

#accordion-product .card-body {
    border-top: 1px solid #d9d9d9;
    padding-top: 1rem;
    margin-top: 1rem;
}
/*--------------------------------------------------------------------------
|  Footer
--------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------
|  Responsive
--------------------------------------------------------------------------*/
@media (max-width: 1000px) {
    /* menu product mobile */
        .menu-section .product-entry a.btn-submit {
            display: inline-block !important;
            padding: 0 1rem !important;
        }
    
        .menu-section .product-entry .inner-image a {
            height: 0;
            line-height: 0;
            padding: 0 !important;
        }
    
        .menu-section .product-entry .inner-content a {
            padding: 0 !important;
            line-height: 3rem;
            display: inline-block !important;
        }
        
        .menu-section .product-entry .nav > li > a.nav-link {
            padding: 0 2rem !important;
        }    
    /* --- */
}

@media (max-width: 500px) {
    .is-mobile .swiper-slide--wrap {
        width: 65%;
    }
    
    .is-mobile .swiper-slide--tile {
        font-size: 3rem;
    }
}
