/* @import url("https://fonts.googleapis.com/css?family=Libre+Franklin:300,400,600,700,800,900&display=swap"); */

/* @import url("https://fonts.googleapis.com/css?family=Roboto:300&display=swap"); */

body {
    /* font-family: 'Inter', sans-serif !important; */
    font-family: "Anek Bangla", Sans-serif !important;
    background: #eeeeee;
}

header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    padding-left: 20px;
    box-shadow: 0px 10px 25px 0px rgba(170, 170, 170, 0.137);
    background-color: rgba(255, 255, 255, 0.233);
    backdrop-filter: blur(10px);
    top: 0;
    animation: animateHeader ease 0.5s;
}

.align-center {
    align-content: center;
}


.select_products {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 15px;
}

/*--------------------------------------------------------------
# Loader
--------------------------------------------------------------*/
#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#loader:before {
    content: "";
    position: fixed;
    top: calc(50% - 0px);
    left: calc(50% - 30px);
    border: 6px solid #f3f3f3;
    border-top-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-loader 1s linear infinite;
}

@keyframes animate-loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cursor {
    cursor: pointer;
}

@keyframes animateHeader {
    0% {
        transform: translate3d(0, -100%, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.hover:hover {
    transform: 0.500s;
    transition: 0.500s;
    color: var(--secondary-color);
}

.sidebar.sticky {
    position: sticky !important;
    top: 80px !important;
    /* overflow: hidden; */
}

@media (min-width: 768px) {
    .sidebar.sticky {
        position: sticky !important;
        top: 0px;
        overflow: hidden;
    }
}

@media (min-width: 1200px) {
    .sidebar.sticky {
        position: sticky !important;
        top: 0px;
        overflow: hidden;
    }
}

@media (min-width: 1025px) {
    .sidebar.sticky {
        position: sticky !important;
        top: 0px;
        overflow: hidden;
    }
}

.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.product_items:has(input[type="radio"]:checked) {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid hsla(7, 100%, 67%, 0.719);
    border-radius: 10px;
    /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05); */
    -webkit-box-shadow: inset 0px 3px 24px 0px #ff9d9d52;
    box-shadow: inset 0px 3px 24px 0px #ff9d9d5d;
    cursor: pointer;
    margin-right: 5px;
    accent-color: var(--primary-color);
}

.product_items {
    -webkit-box-shadow: 0px 3px 24px 0px rgba(102, 102, 102, 0.1);
    box-shadow: 0px 3px 24px 0px rgba(102, 102, 102, 0.1);
    border: 2px solid transparent;
    background: white;
}

.product_items:hover {
    border: 2px solid hsla(7, 75%, 61%, 0.301);
}

.order_items li {
    border-radius: 10px;
    padding: 10px 20px;
    border: 1px rgba(128, 128, 128, 0.315) solid;
}

.quantity-block {
    text-align: center;
    z-index: 3333;
    margin-top: 10px;
}

.quantity-block input {
    border: 1px rgba(128, 128, 128, 0.644) solid;
    border-radius: 5px;
    max-width: 60px;
    color: black;
    text-align: center;
}

.quantity-block input::after {
    content: '' !important;
}

.quantity-block input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

.quantity-block input[type=number]::-webkit-inner-spin-button,
.quantity-block input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    /* Chrome, Safari, Edge */
    margin: 0;
}

.quantity-block i {
    font-size: 18px;
}

.quantity-block i:hover {
    color: black;
}

/* SLIDER IMAGE BLOCK */
.slider {
    max-width: 700px;
    margin: 0 auto;
}

.slider .main-image {
    position: relative;
    overflow: hidden;
}

.slider .main-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    user-select: none;
    -webkit-user-drag: none;
    opacity: 1;
    transition: opacity 0.6s ease;
    object-fit: contain;
    /* fade animation */
}

.slider .main-image img.fade-out {
    opacity: 0;
}

.slider .thumbnails {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.slider .thumbnails img {
    width: 120px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.slider .thumbnails img.active {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .slider .thumbnails img {
        width: 80px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .slider .thumbnails img {
        width: 60px;
        height: 40px;
    }
}

/** SLIDER VIDEO PLAY CSS */
.main-image .overlay,
#ytPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

#ytPlayer {
    opacity: 1 !important;
    background: transparent !important;
}

.slider .main-image.has-video,
.slider .main-image:has(#ytPlayer iframe) {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 250px;
}

#ytPlayer iframe,
#ytPlayer .iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 8px;
    display: block;
}

.video-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

}

.video-thumb:has(.overlay) {
    background: gray;
}

.video-thumb .overlay {
    position: absolute;
    width: 80px;
    height: 50px;
    background: rgba(0, 0, 0, 0.205);
    opacity: 0.9;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    text-align: center;
}

/*.main-image:hover .overlay,*/
/*.video-thumb:hover .overlay {*/
/*    opacity: 1;*/
/*}*/



/* 
.main-image {
    position: relative;
} */

.main-image img {
    width: 100%;
    max-height: 400px;
    border-radius: 10px;
    object-fit: cover;
}

.main-image .play-icon {
    font-size: 60px;
    color: #fff;
    background: #ffcaca4b;
    border-radius: 10px;
    padding: 5px 30px;
    z-index: 999;
}

.thumbnails .video-thumb .play-icon {
    font-size: 30px;
    color: #fff;
    padding: 0px 0px !important;
}



/* FAQ ACCORDION CSS */
.faq-container {
    width: 100%;
    margin: auto;
}

.faq-item {
    padding: 0;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    display: none;
    padding: 15px;
    color: #333;
}

.faq-answer p {
    margin: 10px 0;
    font-size: 3vh;
}

.faq-divider {
    height: 1px;
    background: #ffe4e4;
    margin: 5px 0;
}

.faq-question .arrow {
    font-size: 30px;
    transition: transform 0.3s ease;
}

.faq-question.active .arrow {
    transform: rotate(90deg);
}


.success-checkmark {
    width: 100%;
    height: 80px;
    text-align: center;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

/* Checkmark line style */
.check-icon::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 14px;
    width: 20px;
    height: 40px;
    border-right: 4px solid #4CAF50;
    border-bottom: 4px solid #4CAF50;
    transform: rotate(45deg) scaleX(-1);
    transform-origin: left top;
    /* Animation effect */
}



/* Scroll TO Top Button CSS */
.scroll-button a {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 30px;
    right: 20px;
    text-align: center !important;
    justify-content: center !important;
    background: var(--green);
    font-size: 2em;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.22);
    align-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-button a:hover {
    width: 70px;
    height: 70px;
    font-size: 2.5em;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.55);
    -webkit-animation: anim-shadow 0.5s ease-in-out;
    animation: anim-shadow 0.5s ease-in-out;
}


@-webkit-keyframes anim-shadow {
    to {
        box-shadow: 0px 0px 70px 25px;
        opacity: 0;
    }
}

@keyframes anim-shadow {
    to {
        box-shadow: 0px 0px 70px 25px;
        opacity: 0;
    }
}