/********** Template CSS **********/
:root {
    --primary: #3CB815;
    --secondary: #F65005;
    --light: #F7F8FC;
    --dark: #111111;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.bg-icon {
    background: url(../img/bg-icon.png) center center repeat;
    background-size: contain;
}

img[onclick]{
    cursor: pointer;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    padding: 25px 15px;
    color: #555555;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: #FFFFFF;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
}

@media screen and (max-width: 800px) {
    .carousel-caption {
        padding-top: 100px !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
    height: fit-content;
    top: 45%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../img/slider1.png) center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Section Header ***/
.section-header {
    position: relative;
    padding-top: 25px;
}

.section-header::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.section-header::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 2px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
}

.section-header.text-start::before,
.section-header.text-start::after {
    left: 0;
    transform: translateX(0);
}



/*** About ***/
.about-img img {
    position: relative;
    z-index: 2;
}

.about-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background-image: -webkit-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -moz-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -ms-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: -o-repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-image: repeating-radial-gradient(#FFFFFF, #EEEEEE 5px, transparent 5px, transparent 10px);
    background-size: 20px 20px;
    transform: skew(20deg);
    z-index: 1;
}


/*** Product ***/
.nav-pills .nav-item .btn {
    color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
    color: #FFFFFF;
}

.product-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item img {
    transition: .5s;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-item small a:hover {
    color: var(--primary) !important;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.testimonial-item{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.testimonial-item img:hover, #productEffects img:hover{
    filter: hue-rotate(60deg);
    transform: scale(120%);
    cursor: pointer;
}

/*** Footer ***/
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}








/* custom styles */
.logo{
    height: 80px;
}
p[onclick], small[onclick]{
    cursor: pointer;
}

/* loadingConfirm */
#loadingConfirm{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #3CB815;
    text-align: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2000;
}
#loadingConfirm>div{
    max-width: 500px;
}
#loadingConfirm form{
    background-color: white;
    margin-top: 30px;
}
#loadingConfirm form>div{
    padding: 20px 30px;
    display: flex;
    justify-content: left;
}
#loadingConfirm form>div span{
    border-radius: 50%;
    background-color: #3CB815;
    color: white;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loadingConfirm article{
    background-color: #EEEEEE;
    padding: 30px;
    height: auto;
    overflow: hidden;
    transition: 0.5s;
}
#loadingConfirm select{
    padding: 10px;
    margin-bottom: 20px;
    width: 100%;
}
#loadingConfirm article:nth-of-type(2){
    max-height: 0px;
    padding: 0px 30px;
}


/* orderForm */
#orderForm input[type="radio"]+label{
    border: 1px solid #999999;
    padding: 10px;
    width: 70px;
    margin-right: 10px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}
#orderForm input[type="radio"]:checked+label{
    border: 1px solid #F65005;
    color: #F65005;
}
#orderForm #priceInput{
    font-size: 22px;
    font-weight: bold;
    border: none;
    outline: none;
}
#orderForm #priceInput+div{
    margin-bottom: 15px;
}
#orderForm select{
    display: inline-block;
    width: 100px;
    border: 1px solid #999999;
    text-align: center;
    border-radius: 50rem;
    padding: 15px;
    margin-right: 10px;
    cursor: pointer;
}
#orderForm hr{
    width: 100%;
    border: none;
    border-top: 1px solid #999999;
    margin: 25px 0px;
}
#orderForm a, #orderForm label{
    font-size: 18px;
}
#orderForm p{
    font-size: 17px;
}
#orderForm hr:nth-of-type(1)+div{
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
#orderForm hr:nth-of-type(1)+div>label{
    padding: 10px 20px;
    background-color: #EEEEEE;
    border-radius: 50rem;
}


/* product view image */
.viewsOfProduct{
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
.productImageContainer{
    width: 300px;
    height: 300px;
    overflow: hidden;
}
.productImage{
    width: fit-content;
    height: 300px;
    display: flex;
    transition: all 0.5s ease-in-out;
}
.productImage div{
    width: 300px;
    height: 300px;
}
.productImage div img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.5s;
}
.productImage div img:hover{
    transform: scale(150%);
}
.changeImage{
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.changeImage span{
    width: 50px;
    height: 50px;
    border: 1px solid #EEEEEE;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    border-radius: 5px;
    cursor: pointer;
}
.changeImage span img{
    object-fit: contain;
    width: 40px;
    height: 40px;
}
.changeImage span:hover, .changeImage span:nth-of-type(1){
    border: 1px solid #555555;
}

/* social media icons */
.socialMediaIcons{
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.socialMediaIcons p{
    margin-bottom: 0px;
}
.socialMediaIcons span{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--hue-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.socialMediaIcons span:nth-of-type(1){
    border: 1px solid #4769b2;
}
.socialMediaIcons span:nth-of-type(2){
    border: 1px solid #48b04f;
}
.socialMediaIcons span:nth-of-type(3){
    border: 1px solid #26A9E5;
}
.socialMediaIcons span img{
    width: 18px;
    height: 18px;
    object-fit: cover;
}
.socialMediaIcons span{
    transition: all 0.2s ease-in-out;
}
.socialMediaIcons span:hover{
    transform: scale(110%);
}

/* productEffects */
#productEffects{
    margin-top: 20px;
}
#productEffects div{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
    gap: 20px;
}
#productEffects a{
    background-color: #EEEEEE;
    padding: 10px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: left;
    gap: 10px;
    align-items: center;
    flex-grow: 1;
    flex-basis: 0;
    max-width: 300px;
    min-width: 200px;
}
#productEffects a p{
    margin: 0px;
}
#productEffects img{
    width: 70px;
    transition: 0.3s;
}

#searchButton{
    background-color: black;
    padding: 14px 12px;
    transform: translateY(-3px);
}
#searchButton svg{
    width: 40px;
    height: 40px;
    fill: white;
}



#customerForm{
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background-color: #e9e8eed7;
    padding: 20px;
    z-index: 2000;
}
#customerForm>div{
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#customerForm input, #customerForm select, #customerForm textarea{
    padding: 8px;
    display: block;
    width: 100%;
}
#customerForm button{
    width: 100%;
    margin-bottom: 10px;
}