@font-face {
    font-family: 'Digital';
    src: url('../fonts/DS-Digital.woff') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('../fonts/SVN-Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('../fonts/SVN-Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('../fonts/SVN-Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SVN-Poppins';
    src: url('../fonts/SVN-Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ButterFly';
    src: url('../fonts/iCielButterflyBall_1.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(163, 175, 183, .9);
    border-radius: 20px;
}

.no__scrollbar::-webkit-scrollbar-thumb {
    display: none;
}

.badge {
    font-weight: 300 !important;
    padding: 7px 10px !important;
}

/* ==============================
 * 2. Breadcrumb style customize
 * ============================== */
#breadcrumb {
    background-color: transparent;
    overflow: hidden;
    margin: 10px 0;
}

#breadcrumb .breadcrumb {
    background-color: transparent;
    margin: 0;
    padding: 0;
}

#breadcrumb .breadcrumb a {
    display: inline-block;
    padding: 13px 0;
    font-family: var(--t4s-font-family-primary), serif;
    font-size: 14px;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
}

#breadcrumb .breadcrumb > .active {
    color: var(--t4s-primary-color);
    font-size: 14px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 800px;
    padding: 13px 0;
    font-weight: bold;
    text-transform: uppercase;
}

.breadcrumb > li {
    float: left;
}

/* ==============================
 * 3. Pagination style customize
 * ============================== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.page-item .page-link {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100% !important;
    background-color: #F9FBFB;
    border: 1px solid #e7e7e7;
    color: var(--t4s-text-head-color);
    outline: none !important;
    box-shadow: none !important;
    font-size: 13px !important;
}

.page-item .page-link:hover {
    color: var(--t4s-primary-color) !important;
    background-color: #e7e7e7 !important;
}

.page-item.active .page-link {
    background-color: var(--t4s-primary-color) !important;
    border-color: var(--t4s-primary-color) !important;
    color: #fff !important;
}

.page-item.disabled .page-link {
    background-color: #e7e7e7 !important;
}

/* ==============================
 * 4. Transiton style customize
 * ============================== */
.scale img, .scale-1 img {
    transform: rotate(0deg) scale(1) !important;
    transition: all .2s ease-in-out !important;
}

.scale:hover img {
    transform: scale(1.05) !important;
}

.scale-1:hover img {
    transform: rotate(-5deg) scale(1.15) !important;
}

.introduce {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.introduce:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 130%;
    height: 100%;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.3);
    -ms-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -120%, 0);
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -120%, 0);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.introduce:hover:before {
    -ms-transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 140%, 0);
}

.introduce-1 {
    position: relative;
    transition: .3s;
}

.introduce-1:hover .box-thumbnail:before, .introduce-1:hover .box-thumbnail:after {
    width: 100%;
    height: 100%;
}

.introduce-2 .box-thumbnail:before {
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    content: '';
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
}


.introduce-2:hover .box-thumbnail:before {
    -webkit-animation: shine .75s;
    animation: shine .75s;
}

@keyframes shine {
    100% {
        left: 125%
    }
}

@keyframes beat {
    from {
        transform: rotate(-20deg) scale(1);
    }
    to {
        transform: rotate(-20deg) scale(1.1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* ==============================
 * 5. Lazy load images
 * ============================== */
.card-image {
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
}

.card-image:has(> .show) {
    background: transparent !important;
    animation: none !important;
    opacity: 1 !important;
    cursor: inherit !important;
}

a .card-image:has(> .show), a.card-image:has(> .show) {
    cursor: pointer !important;
}

.lozad.fade {
    animation-name: fade;
    animation-duration: 0.3s;
}

.lozad {
    visibility: hidden;
}

.lozad.show {
    visibility: visible;
}

/* ==============================
 * N. Website common style
 * ============================== */
.ck-content {
    overflow: hidden;
    font-size: 14px !important;
}

.ck-content iframe {
    aspect-ratio: 16/9 !important;
    height: auto !important;
}

.ck-content a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)) !important;
}

.fancybox-opened {
    z-index: 99999 !important;
}

.fancybox-overlay {
    z-index: 9999 !important;
}

figure.image img {
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
}

ul.format {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

* {
    outline: none !important;
}

a {
    color: var(--t4s-text-content-color);
    text-decoration: none;
    transition: 0.5s all ease;
}

.scale:hover a, a.active, .item:hover a, a:hover, a:hover h1, a:hover h2, a:hover h3, a:hover h4, a:hover h5, a:hover h6 {
    color: var(--t4s-secondary-color);
    text-decoration: none;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, b, strong {
    font-weight: 600;
    line-height: 1.5em;
}

html, body {
    touch-action: manipulation;
}

.crop-modal {
    background: #252525;
}

.crop-modal-body {
    position: relative;
    padding: 12px;
    height: 100vh;
    overflow: hidden;
}

.cropper-container-wrapper {
    max-width: 900px;
    height: calc(100vh - 120px);
    margin: auto;
    display: flex;
    flex-direction: column;
}

.crop-guide {
    font-size: 14px;
    line-height: 1.5;
    user-select: none;
    text-align: center;
}

.cropper-wrapper {
    flex: 1;
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    background: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cropper-wrapper img {
    max-width: 100%;
    max-height: 100%;
}

.crop-action-bar {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

.avatar-preview-wrapper {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    background: #f8f9fa;
    overflow: hidden;
}

.avatar-preview {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.avatar-preview.active {
    filter: grayscale(0%);
}

body {
    overflow-x: hidden;
    color: var(--t4s-text-content-color);
    font-size: 14px;
    font-family: var(--t4s-font-family-primary), serif;
    line-height: 1.5em;
    font-weight: 400;
    background: var(--t4s-background-color);
}

body #wrapper {
    margin-top: var(--t4s-header-height);
}

.menu__desktop .dropdown-toggle::after, .menu__mobile .dropdown-toggle::after {
    display: none !important;
}

.main__menu > .menu__item {
    position: static;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main__menu > .menu__item > a {
    position: relative;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--t4s-font-family-secondary), sans-serif;
}

.main__menu > .menu__item > a > svg {
    height: 12px;
}

.main__menu > .menu__item:not(.home) a:before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    height: 5px;
    width: 0;
    transition: 0.3s ease-in-out;
    background-image: url(../../uploads/images/icons/line.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    max-width: 8.5rem;
}

.hd-water {
    position: absolute;
    width: 12rem;
    height: 1.75rem;
    top: calc(100% - 0.1rem);
    -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.68, 0.95, 0.41, 1.31);
    transition: -webkit-transform 0.8s cubic-bezier(0.68, 0.95, 0.41, 1.31);
    transition: transform 0.8s cubic-bezier(0.68, 0.95, 0.41, 1.31), -webkit-transform 0.8s cubic-bezier(0.68, 0.95, 0.41, 1.31);
    pointer-events: none;
    z-index: 99;
}

.hd-water-inner {
    width: 100%;
    height: 100%;
}

.hd-water-inner img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.main__menu .menu__item.active > a:before, .main__menu .menu__item:hover > a:before, .main__menu .menu__item:has(.active) > a:before {
    width: 100%;
}

.main__menu > .menu__item > .sub__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 25px 15px 0 15px;
    background-color: var(--t4s-secondary-color);
    z-index: 90;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.main__menu > .menu__item > .sub__menu .menu__item a {
    font-size: 15px;
    line-height: 1.5em;
    padding: 10px 15px;
    color: #fff !important;
    position: relative;
    font-family: var(--t4s-font-family-secondary), sans-serif;
    text-transform: uppercase;
}

.main__menu > .menu__item > .sub__menu .menu__item a:before {
    bottom: 0;
    filter: brightness(0) invert(1);
}

.main__menu > .menu__item:hover > .sub__menu {
    visibility: visible;
    opacity: 1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    font-size: 14px;
    background: #fff;
    height: var(--t4s-header-height);
    filter: drop-shadow(0px 0px 5px rgba(255, 207, 104, 0.5));
}

header .logo {
    width: 52px;
    transition: 500ms height ease;
}

header .logo img {
    width: auto;
    height: 100%;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--t4s-primary-color);
}

.owl-stage {
    display: flex !important;
    margin-left: 2px;
}

.form-control {
    font-size: 1em;
    color: #444;
    padding: 0.5rem .75rem;
}

.form-control::placeholder {
    color: #9EA6B9;
}

.form-check {
    font-size: 1rem;
}

.form-check-input {
    margin-top: .15em;
}

.form-control:focus {
    border-color: var(--t4s-secondary-color) !important;
    outline: none !important;
}

.otp-input {
    width: 50px;
    height: 50px;
    font-size: 24px;
    border: 1px solid #ccc;
    border-radius: 8px;
    color: red !important;
    outline: none !important;
    padding: 0;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.owl-carousel .owl-nav button {
    width: 36px;
    height: 36px;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 30px !important;
    position: absolute;
    top: -30px;
    transform: translateY(-50%);
    color: white !important;
    margin: 0 !important;
    transition: 0.5s background-color ease;
    border-radius: 100% !important;
}

.owl-carousel .owl-nav button.owl-prev {
    right: 42px;
    background: #bbbbbb;
}

.owl-carousel .owl-nav button.owl-next {
    right: 0;
    background: #bbbbbb;
}

.owl-carousel .owl-nav button:hover {
    background: var(--t4s-primary-color);
}

.gray__box {
    background-color: #f8f8f8;
}

.btn-show-more {
    margin: 15px auto 10px auto;
    width: 100%;
    max-width: 335px;
    height: 45px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid var(--t4s-secondary-color) !important;
    background: var(--t4s-secondary-color) !important;
    color: #fff;
    border-radius: var(--t4s-input-border-radius);
    padding: 10px 15px;
}

.btn-show-more:hover, .btn-show-more:focus, .btn-show-more.active {
    border: 1px solid var(--t4s-primary-color) !important;
    background: var(--t4s-primary-color) !important;
    color: #ffffff !important;
}

.btn {
    border-radius: 0;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn:hover {
    -webkit-animation: jelly 0.4s linear;
    animation: jelly 0.4s linear;
}

.btn svg {
    transition: 0.3s all linear;
}

.btn:hover svg {
    transform: rotateZ(0deg) !important;
}

@keyframes jelly {
    25% {
        transform: scale(0.9, 1.1);
    }
    50% {
        transform: scale(1.1, 0.9);
    }
    75% {
        transform: scale(0.95, 1.05);
    }
}

.btn__primary {
    background-color: var(--t4s-primary-color) !important;
    color: white !important;
    border: 0.1rem solid white !important;
}

.btn__primary:disabled {
    color: var(--t4s-text-head-color) !important;
    background-color: var(--t4s-button-color) !important;
}

.btn__outlined__grey {
    border: 1px solid #e5e7eb !important;
    background: #fff !important;
    display: inline-flex;
    color: var(--t4s-text-content-color) !important;
}

.btn__secondary {
    background-color: var(--t4s-secondary-color) !important;
    color: #fff !important;
    border: 1px solid white !important;
    font-weight: 600;
}

.btn__white {
    background-color: white;
}

.sweet_alert2__container {
    top: 60px !important;
}

.btn__submit:disabled, .btn__submit:disabled:hover {
    background: #ccc !important;
    opacity: 1 !important;
}

.text__one__line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text__two__line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text__three__line {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text__four__line {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text__five__line {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text__eight__line {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

div:where(.swal2-icon).swal2-error.swal2-icon-show {
    margin-top: 10px !important;
}

.play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 9;
    width: 40px;
    height: 40px;
    background: red;
    color: #fff !important;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%) translateY(-50%);
}

/* Footer style */
footer {
    position: relative;
    background-color: var(--t4s-background-color);
    padding-top: 50px;
}

footer::after {
    content: '';
    position: absolute;
    height: calc(100vw * (66 / 1728));
    width: 100vw;
    background: url(../../uploads/images/icons/home-video-dec1.svg) no-repeat center;
    background-size: cover;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

footer .mid .col-12 > .d-flex:first-child {
    border-right: 1px solid #333;
}

footer .mid input, footer .mid .input-group-text {
    height: 42px;
    background: #fff !important;
    color: var(--t4s-secondary-color) !important;
    font-size: 14px !important;
    border-top: var(--bs-border-width) solid var(--bs-border-color) !important;
    border-bottom: var(--bs-border-width) solid var(--bs-border-color) !important;
}

footer .mid .btn {
    padding: 6px 20px !important;
}

footer .mid .input-group-text button {
    color: #fff !important;
}

footer .bot, footer .copyright {
    border-top: 1px dashed #333;
}

footer .social a {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.1);
    color: #444 !important;
    border-radius: 50%;
    transition: 0.5s all ease;
}

footer .social a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

footer .logo {
    width: 170px;
}

footer iframe {
    width: 100% !important;
}

.grecaptcha-badge {
    display: none !important;
}

.btn-top {
    position: fixed;
    bottom: 5px;
    left: 5px;
    cursor: pointer;
    z-index: 99999;
    display: none;
    overflow: hidden;
}

.btn-top .round {
    width: 40px;
    height: 40px;
    position: relative;
    background: var(--t4s-secondary-color);
    border: 1px solid #fff;
}

.btn-top span {
    z-index: 999;
    height: 2px;
    width: 14px;
    background: #fff;
    transition: 0.4s ease;
}

.btn-top span:first-child {
    display: block;
    position: absolute;
    transform: rotate(-45deg);
    left: 23%;
    bottom: 35%;
}

.btn-top span:nth-child(2) {
    display: block;
    position: absolute;
    transform: rotate(45deg);
    left: 45%;
    bottom: 35%;
}

.btn-top span:nth-child(3) {
    display: block;
    position: absolute;
    transform: rotate(-45deg);
    left: 23%;
    bottom: 54%;
}

.btn-top span:nth-child(4) {
    display: block;
    position: absolute;
    transform: rotate(45deg);
    left: 45%;
    bottom: 54%;
}

.btn-top .round:hover span:nth-child(1) {
    transform: rotate(135deg);
}

.btn-top .round:hover span:nth-child(2) {
    transform: rotate(-135deg);
}

.btn-top .round:hover span:nth-child(3) {
    transform: rotate(-225deg);
}

.btn-top .round:hover span:nth-child(4) {
    transform: rotate(225deg);
}

@media (min-width: 1200px) {
    .container {
        width: 1200px;
        max-width: 1200px;
    }
}

.close-window {
    position: absolute;
    top: -15px;
    right: -15px;
    color: white !important;
    background-color: var(--t4s-primary-color);
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
}

.overlay {
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    display: none;
    visibility: hidden;
}

.section__box {
    padding-bottom: 100px;
    position: relative;
}

.section__white__box {
    margin-top: 100px;
    padding-top: 50px;
    padding-bottom: 100px;
    margin-bottom: 150px;
    position: relative;
    background: #fff;
}

.section__white__box::before {
    content: '';
    position: absolute;
    height: calc(100vw*(160 / 1728));
    width: 100vw;
    background: url(../../uploads/images/icons/home-recipe-dec2.svg) no-repeat center;
    background-size: cover;
    bottom: 100%;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.section__white__box::after {
    content: '';
    position: absolute;
    height: calc(100vw*(66 / 1728));
    width: 100vw;
    background: url(../../uploads/images/icons/home-video-dec1.svg) no-repeat center;
    background-size: cover;
    top: 100%;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.select2-results {
    padding: 5px 0;
}

.select2-results__option {
    padding: 5px 10px;
    text-align: left;
    font-size: 0.875rem !important
}

.select2-results__option.select2-results__message {
    padding: 0 10px 5px 10px;
    text-align: left;
    color: #323a46;
}

.select2-dropdown {
    border: 1px solid rgb(209 213 219);
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    background-color: #fff;
}

.select2-container input::placeholder {
    color: #adb5bd;
}

.select2-container .select2-selection--single {
    min-height: 44px;
    border: 1px solid rgb(209 213 219);
    background-color: #fff;
    box-shadow: none;
    outline: none;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 44px !important;
    padding-left: 12px !important;
    text-align: left !important;
    font-size: 14px !important;
    border-color: rgb(209 213 219) !important;
}

.select2-container .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {
    color: #6c757d !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    width: 30px !important;
    right: 0 !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    border-style: solid !important;
    border-width: 0 2px 2px 0 !important;
    border-color: transparent #909192 #909192 transparent !important;
    content: '' !important;
    display: block !important;
    height: 7px !important;
    margin-top: -5px !important;
    pointer-events: none !important;
    position: absolute !important;
    right: 10px !important;
    left: auto !important;
    top: 50% !important;
    transform-origin: 66% 66% !important;
    transform: rotate(45deg) !important;
    transition: all .15s ease-in-out !important;
    width: 7px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0 2px 2px 0 !important;
    margin-top: -5px !important;
    border-color: transparent #909192 #909192 transparent !important;
    transform: rotate(-135deg) !important;
}

.select2-container--default .select2-search--dropdown {
    padding: 10px 10px 5px;
    background-color: white;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: none;
    border: 1px solid rgb(209 213 219);
    background-color: #fff;
    color: #6c757d;
    text-align: left;
    padding: 3px 8px;
    border-radius: 3px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #FFF;
    color: #323a46;
}

.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #f3f7f9;
    color: #323a46;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #f3f7f9;
    color: #323a46;
}

.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: #f3f7f9;
    color: #323a46;
}

.select2-container--default .select2-selection--single .select2-selection__clear, .select2-container--default .select2-selection--multiple .select2-selection__clear {
    font-size: 20px;
    color: #909192;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 30px;
    height: calc(100% - 2px);
    text-align: center;
    z-index: 1;
    border-radius: 4px;
    float: none;
    margin: 0;
    padding: 0;
    font-weight: normal;
    background-color: #fff;
}

.select2-container .select2-selection--multiple {
    min-height: 34px;
    background-color: rgb(249 250 251) !important;
    border-color: rgb(209 213 219) !important;
    border-radius: 0.25rem !important;
    box-shadow: none;
    display: flex;
}

.select2-container .select2-selection--multiple .select2-search__field {
    font-size: 14px !important;
    margin: 0 !important;
    line-height: 32px !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #e5e6e6;
    border: none;
    color: #323a46;
    height: 24px;
    line-height: 24px;
    border-radius: 0.25rem !important;
    padding: 1px 7px;
    margin-top: 4px;
    font-size: 13px !important;
}

.select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: #85878b;
    margin-right: 5px;
}

.select2-container .select2-selection--multiple .select2-selection__choice:hover .select2-selection__choice__remove {
    color: #323a46;
}

.select2-container .select2-search--inline .select2-search__field::placeholder {
    color: #6c757d;
}

.select2-selection {
    overflow: hidden;
}

.select2-selection__rendered {
    white-space: normal;
    word-break: break-all;
}

.select2-container--open .select2-selection {
    border-color: rgb(22 163 74) !important;
}

.select2-container--disabled .select2-selection--single .select2-selection__rendered {
    background-color: rgb(229 231 235 / var(--tw-bg-opacity)) !important;
}

.accordion-item .select2-container, .accordion-item .form-select, .accordion-item .form-control {
    width: 150px !important;
}

.accordion-item .select2-container .select2-selection--single, .accordion-item .form-select, .accordion-item .form-control {
    min-height: 36px;
    height: 36px;
    border-radius: 6px !important;
    font-size: 13px !important;
}

.accordion-item .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 35px !important;
    font-size: 13px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 44px !important;
}

.nav-pills .nav-link {
    color: var(--t4s-text-content-color);
    text-transform: uppercase;
    background: #F1F2F3;
    font-size: 12px;
    border-radius: 30px !important;
    white-space: nowrap;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--t4s-primary-color) !important;
    color: #fff !important;
}

.sticky {
    position: sticky;
    top: calc(var(--t4s-header-height) + 15px);
    transition: 0.5s all ease;
}

.filter__actions .d-flex {
    gap: 5px !important;
}

.filter__actions .btn-secondary {
    border-radius: 16px;
    font-size: 12px;
    color: var(--t4s-text-head-color) !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    white-space: nowrap;
}

.filter__actions .btn-check:checked + .btn-secondary, .btn-secondary.filter__remove, .btn-secondary.active {
    border-color: var(--t4s-secondary-color) !important;
    background: var(--t4s-secondary-color) !important;
    color: #fff !important;
}

.filter__actions .dropdown-menu {
    width: 350px;
    box-shadow: 0 2px 20px rgb(0 0 0 / .1);
    border: 0;
    padding: 12px;
}

.filter__actions .dropdown-menu .btn-secondary, .filter__actions.small .btn-secondary {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 12px;
    outline: none !important;
}

.filter__actions .dropdown-menu .actions .btn {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 12px;
    width: 50%;
}

.section__product .badge {
    position: absolute;
    top: 10px;
    z-index: 9;
    font-weight: 300 !important;
    padding: 5px 10px;
    font-size: 11px;
}

.section__product .item .price {
    font-size: 16px;
    font-weight: 600;
}

.section__product .badge.bg-danger {
    right: 10px;
    background-color: var(--t4s-secondary-color) !important;
}

.badge.bg-grey {
    left: 10px;
    background-color: #858585 !important;
}

.menu__mobile, #mobile-bottom-navigation {
    display: none;
}

.menu__mobile__container {
    will-change: transform;
    position: fixed;
    top: 0;
    left: var(--t4s-mobile-menu-left);
    width: var(--t4s-mobile-menu-width);
    height: 100%;
    z-index: 99999;
    color: #333;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.46, 0.01, 0.32, 1);
    overflow-y: auto !important;
}

.section__expert .card-body {
    position: absolute;
    bottom: -28px;
    left: 0;
    right: 0;
    z-index: 9;
    background: rgba(0, 0, 0, 0.3);
    transition: 0.4s bottom ease;
}

.section__expert .card:hover .card-body {
    bottom: 0;
}

.section__expert .actions {
    position: absolute;
    top: 10px;
    right: -100%;
    z-index: 9;
    transition: 0.5s right ease;
}

.section__expert .card:hover .actions {
    right: 10px;
}

.section__expert .actions .btn {
    width: 30px !important;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    padding: 0 !important;
    color: #fff !important;
}

.section__expert a > span {
    color: #fff;
}

.section__event .event_start {
    width: 50px;
    text-align: center;
    font-size: 14px;
}

.section__event .event_start .date {
    font-size: 24px;
    font-weight: 600;
    color: var(--t4s-primary-color);
}

.loading__overlay {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    transition: 0.2s all linear;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading__overlay.show {
    opacity: 1;
    visibility: visible;
    z-index: 9999;
}

.arcontactus-widget.right.arcontactus-message {
    bottom: 10px !important;
}

.user-menu-wrapper {
    display: inline-block;
}

.user-avatar {
    cursor: pointer;
    transition: opacity 0.2s;
}

.user-avatar:hover {
    opacity: 0.8;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease-in-out;
    z-index: 1050;
    overflow: hidden;
}

.user-menu-wrapper:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info-header {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f3f5;
}

.user-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    line-height: 1.2em;
}

.user-email {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: #6c757d;
    line-height: 1.2em;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-list li {
    margin: 0;
    padding: 0;
}

.menu-list li.divider {
    height: 1px;
    background: #f1f3f5;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 9px 15px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.15s ease-in-out;
}

.menu-item:hover {
    background-color: #f8f9fa;
    color: #212529;
}

.menu-item-danger {
    color: #dc3545;
}

.menu-item-danger:hover {
    background-color: #fff5f5;
    color: #c82333;
}

.menu-icon {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    flex-shrink: 0;
    opacity: 0.7;
}

.menu-item:hover .menu-icon {
    opacity: 1;
}

.menu-item-danger .menu-icon {
    opacity: 0.8;
}

@media (max-width: 1199px) {
    .container {
        max-width: 100% !important;
        width: 100% !important;
    }

    .owl-nav > button.owl-prev {
        left: auto;
        right: 45px;
        top: -35px;
    }

    .owl-nav > button.owl-next {
        right: 0;
        top: -35px;
    }
}

@media (max-width: 991px) {
    header, footer, #wrapper {
        transition: all 0.4s cubic-bezier(0.46, 0.01, 0.32, 1);
    }

    body #wrapper {
        margin-top: var(--t4s-header-height-mobile);
    }

    .menu__desktop {
        display: none !important;
    }

    .menu__mobile__container ul.flag {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }

    .menu__mobile__container ul.format.flag li {
        display: inline-block;
        padding: 0 10px;
    }

    .menu__mobile__container ul.format.flag li a {
        color: var(--t4s-thirty-color);
        font-size: 16px;
    }

    .menu__mobile__container__header {
        background: var(--t4s-background-color);
    }

    .menu__mobile__container__header .logo-x {
        text-align: center;
        margin: 0 auto;
        padding: 15px 0;
    }

    .menu__mobile__container__header .logo-x img {
        height: 90px;
        width: 100%;
        object-fit: contain;
    }

    .menu__mobile__container__header span {
        display: block;
        text-transform: uppercase;
        color: #fff;
        margin-left: -15px;
        font-weight: 600;
    }

    .menu__mobile__container__header .close__mobile__menu {
        width: 35px;
        height: 36px;
        background: rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 2px;
        margin-right: 10px;
    }

    .menu__mobile__container form {
        border-bottom: 1px solid #e9e9e9;
        padding: 15px;
        overflow: hidden;
    }

    .menu__mobile__container form input {
        padding: 8px 15px;
        min-width: 210px;
        border: 1px solid #e9e9e9;
        float: left;
    }

    .menu__mobile__container form button {
        border-radius: 0;
        margin: 0 0 0 -3px;
        padding: 7px 15px;
        float: left;
    }

    .menu__mobile__container .mobile-link-header {
        display: block;
        width: 100%;
        position: relative;
    }

    .menu__mobile__container .menu__item a {
        display: block;
        width: 100%;
        padding: 10px 15px;
        background-color: #fff;
        font-weight: 500;
        position: relative;
        font-size: 12px;
    }

    .menu__mobile__container .menu__mobile__box {
        padding: 15px 10px !important;
    }

    .menu__mobile__container .actions {
        padding: 0 15px;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .menu__mobile__container .menu__mobile__box > .menu__item {
        border-left: 1px solid transparent;
        transition: 0.5s border-left-color ease;
    }

    .menu__mobile__container .menu__mobile__box > .menu__item.open {
        border-left: 1px solid var(--t4s-primary-color);
    }

    .menu__mobile__container .menu__mobile__box > .menu__item > a {
        text-transform: uppercase;
    }

    .menu__mobile__container .menu__item:last-child a {
        border-bottom: 0;
    }

    .menu__mobile__container .menu__item a:hover, .menu__mobile__container .menu__item a.active {
        color: var(--t4s-primary-color);
        background-color: #f9f9f9;
    }

    .menu__mobile__container .menu__item .arrow__menu {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 38px;
        width: 38px;
        color: #999;
        transition: 0.5s all ease;
        border-radius: 5px;
    }

    .menu__mobile__container .sub__menu .menu__item a {
        padding-left: 25px;
        font-size: 13px;
    }

    .menu__mobile__container .sub__menu .menu__item .sub__menu .menu__item a {
        padding-left: 30px;
    }

    .menu__mobile__container .sub__menu {
        max-height: 0;
        visibility: hidden;
        transition: 0.5s all ease;
        overflow: hidden;
        list-style-type: none;
        padding: 0;
    }

    .menu__mobile__container .menu__item.open > .sub__menu {
        max-height: 1000px;
        visibility: visible;
    }

    .menu__mobile__container .mobile-nav__toggle-open {
        transform: rotate(-90deg);
    }

    .menu__mobile__container .mobile-nav__toggle-close {
        transform: rotate(0deg);
    }

    .menu__mobile .container {
        height: 60px;
    }

    .menu__mobile .search__box input {
        width: 0 !important;
        height: 30px !important;
        padding: 0 !important;
        opacity: 0;
        transition: 0.5s all ease-in-out;
    }

    .menu__mobile .search__box button {
        right: 0;
        top: 0;
        width: 30px;
        height: 30px;
    }

    .menu__mobile.on__search .search__box input {
        width: 100% !important;
        height: 30px !important;
        padding: 5px 10px !important;
        opacity: 1;
    }

    .menu__mobile.on__search .left, .menu__mobile.on__search .actions .hotline, .menu__mobile.on__search .actions #my__cart {
        display: none !important;
    }

    .menu__mobile.on__search .actions, .menu__mobile.on__search .search__box, .menu__mobile.on__search form {
        width: 100%;
    }

    .menu__mobile__container, .overlay, .menu__mobile {
        display: block;
    }

    html.mobile__menu__open, html.mobile__menu__open body {
        overflow: hidden;
    }

    .mobile__menu__open body .overlay {
        z-index: 99999;
        opacity: 1;
        visibility: visible;
    }

    .mobile__menu__open header, .mobile__menu__open footer, .mobile__menu__open #wrapper {
        transform: translateX(var(--t4s-mobile-menu-width));
    }

    .mobile__menu__open body .menu__mobile__container {
        left: 0;
        overflow: hidden;
    }

    .menu__mobile #show__mobile__menu, .menu__mobile .phone {
        color: #fff;
    }

    .menu__mobile .logo {
        color: #fff;
        font-size: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu__mobile .logo img {
        width: 50px;
    }

    .menu__mobile .hotline {
        width: 30px;
        height: 30px;
        padding: 0 !important;
    }

    .mega.sub__menu .sub__menu__box {
        padding: 0;
        display: block;
        width: 100%;
        max-height: inherit;
    }

    .mega.sub__menu > .sub__menu__box > .menu__item > a {
        padding: 10px 15px 10px 25px !important;
        font-size: 13px !important;
        text-transform: inherit;
        font-weight: 500;
    }

    .mega.sub__menu .card-image {
        display: none !important;
    }

    .mega.sub__menu .menu__item svg {
        display: block;
    }

    .mega.sub__menu .menu__item .sub__menu {
        max-height: 0 !important;
        overflow: hidden !important;
        transition: 0.5s all ease;
    }

    .mega.sub__menu .menu__item.open .sub__menu {
        max-height: initial !important;
        overflow: visible !important;
    }

    .mega.sub__menu .menu__item .sub__menu .menu__item a {
        padding: 10px 15px 10px 35px !important;
        color: #494949;
    }
}

@media (max-width: 767px) {
    .btn-top {
        display: none !important;
    }

    .fs-40 {
        font-size: 32px !important;
    }

    .owl-nav > button {
        top: -35px !important;
    }

    .section__expert .card-body {
        bottom: 0;
        padding: 10px 0px !important;
    }

    .section__expert .actions {
        right: 10px;
    }

    .owl-nav > button {
        top: -23px !important;
        width: 30px !important;
        height: 30px !important;
    }

    .owl-nav > button.owl-prev {
        left: calc(50% - 33px) !important;
    }

    .owl-nav > button.owl-next {
        right: calc(50% - 33px) !important;
    }
}

@media (max-width: 575px) {
    body, html {
        font-size: 14px;
    }

    .fs-40 {
        font-size: 28px !important;
    }

    .fs-36 {
        font-size: 24px !important;
    }

    .filter__actions .d-flex {
        gap: 5px !important;
    }

    .filter__actions .btn-secondary {
        border-radius: 12px;
        font-size: 12px;
        padding: 8px 10px;
    }

    .section__box {
        padding-bottom: 60px;
    }

    footer {
        padding-top: 20px;
        padding-bottom: 50px !important;
    }

    footer .fs-20 {
        font-size: 16px !important;
    }

    .section__expert .actions .btn {
        width: 25px !important;
        height: 25px !important;
    }

    .slider-button-wrap .slide-btn-prev, .slider-button-wrap .slide-btn-next {
        width: 30px !important;
        height: 30px !important;
    }

    .accordion-item .select2-container, .accordion-item .form-select, .accordion-item .form-control {
        width: 100% !important;
    }

    .accordion-item .flex-col {
        width: calc(50% - .25rem) !important;
    }

    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--t4s-secondary-color);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        z-index: 999;
        padding: var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);
    }

    .bottom-nav a {
        flex: 1;
        color: #fff;
        font-size: 12px;
        height: 45px;
    }

    .bottom-nav a.active {
        color: var(--t4s-primary-color);
    }

    .arcontactus-widget.right.arcontactus-message {
        bottom: calc(60px + var(--safe-bottom)) !important;
    }

    .cropper-container-wrapper {
        max-width: 100%;
        height: calc(100vh - 100px);
    }

    .crop-action-bar {
        bottom: 12px;
        gap: 8px;
    }

    .crop-guide {
        font-size: 13px;
    }

    .user-dropdown-menu {
        min-width: 200px;
        right: -10px;
    }
}

@media (max-width: 425px) {
    .text__head.title {
        font-size: 18px !important;
    }

    .section__product .item .price {
        font-size: 14px;
    }

    .section__product .item .price strike {
        font-size: 12px !important;
    }
}

/* ==============================
 * Item Select2 - Remove Button
 * ============================== */
.item-remove-btn {
    transition: all 0.2s ease;
}

.item-remove-btn:hover {
    background: #fca5a5 !important;
    transform: scale(1.1);
}

.item-remove-btn:active {
    transform: scale(0.95);
}

/* Gender Segmented Control */
.gender-segmented {
    display: inline-flex;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.gender-segmented .gender-seg-btn {
    min-width: 60px;
    height: 36px;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    border: none;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    white-space: nowrap;
    border-right: 1px solid #dee2e6;
    line-height: 1.2;
}

.gender-segmented .gender-seg-btn:last-child {
    border-right: none;
}

.gender-segmented .gender-seg-btn:hover {
    background: rgba(var(--t4s-primary-color-rgb, 13, 110, 253), 0.05);
}

.gender-segmented .gender-seg-btn.active {
    background: var(--t4s-primary-color) !important;
    color: #fff !important;
}

/* Report Search Form (report_dashboard layout) */
.report-search-form {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}

.report-search-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.report-search-input {
    flex: 1;
    min-width: 0;
    height: 36px;
    padding: 0.4rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.8rem;
    transition: all 0.2s;
    background: #fff;
}

.report-search-input:focus {
    outline: none;
    border-color: var(--t4s-primary-color, #0d6efd);
    box-shadow: 0 0 0 2px rgba(var(--t4s-primary-color-rgb, 13, 110, 253), 0.1);
}

.report-search-form .select2-container {
    flex: 1;
    min-width: 0;
}

.report-search-form .select2-container .select2-selection--single {
    height: 36px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
}

.report-search-form .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
    font-size: 0.8rem !important;
    padding-left: 0.75rem !important;
}

.report-search-form .select2-container .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
}

@media (max-width: 576px) {
    .report-search-row {
        flex-wrap: wrap;
    }

    .gender-segmented {
        width: 100%;
    }

    .gender-segmented .gender-seg-btn {
        flex: 1;
        text-align: center;
        padding: 0.35rem 0.5rem;
    }

    .report-search-input,
    .report-search-form .select2-container {
        width: 100% !important;
        flex: none;
    }
}
