/* custom styles */

/*Carousel*/
button.carousel-control-next,
button.carousel-control-prev {
    background-color: transparent !important;
    border: none !important;
}

.text-primary {
    color: #e62e04;
}

a {
    text-decoration: none !important;
}

.parent-li-category a:hover {
    font-weight: 600 !important;
}

.navbar-brand-mbl {
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    line-height: inherit;
}

.navbar {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}
.parent-moving-text {
    position: relative;
    width: 100%;
    background-color: black;
    color: red;
    z-index: 2;
}
.moving-text {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    animation: movetext 10s linear infinite;
}

.form-navbar {
    width: 25%;
    display: flex;
}

.form-navbar .search-bar {
    border-radius: 20px !important;
}

.nav-3rd-sec {
    display: flex;
}

.nav-3rd-sec p {
    margin-top: 20px !important;
    padding: 0 15px;
}

.social-list-item {
    background-color: black;
    border-radius: 10px;
    margin: 0 2px;
}

ul.social a {
    width: 30px;
    height: 30px;
    line-height: 33px;
}

.social-list-item i.far,
.social-list-item i.fas,
.social-list-item i.fab,
.right-nav-sec-lg i.far,
.right-nav-sec-lg i.fas,
.right-nav-sec-lg i.fa {
    font-size: 23px;
}

ul.social.colored i {
    background-color: unset !important;
}

.nav-fa-icon {
    margin-bottom: 0 !important;
    padding-left: 2.9rem !important;
}
.nav-fa-icon li {
    list-style: none !important;
    display: inline;
    padding: 10px 4px !important;
}

.nav-fa-icon li:nth-child(3) {
    padding-top: 5px !important;
}

.nav-fa-icon li img {
    width: 90%;
}

.nav-fa-icon li i {
    font-size: 28px;
    color: #050505;
}

a.text-reset.flex-grow-1.text-center {
    padding: 0 5px;
}

/*.list-inline-item:not(:last-child){*/
/*    margin-right: 0!important;*/
/*}*/
/* ================cart================ */

.cart-dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    right: -8px;
    top: 100%;
    min-width: 300px;

    margin-top: 15px;
}
.cart-dropdown::before {
    position: absolute;
    content: "";
    background-color: white;
    width: 21px;
    height: 21px;
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    top: 0%;
    right: 0%;
    transform: translate(28%, -48%);
    rotate: -45deg;
}
.cart-dropdown.active {
    display: block;
}
#cart-button {
    position: relative;
    cursor: pointer;
}
.cartqty {
    position: absolute;
    background-color: red;
    color: white;
    padding: 0px;
    width: 18px;
    text-align: center;
    top: -6px;
    border-radius: 100px;
    font-size: 12px;
    right: -11px;
    cursor: pointer;
}
.cart-dropdown h5 {
    border-bottom: 1px solid gray;
    padding: 15px 10px;
}
.cart-items {
    background-color: #f6f5f7;
    max-height: 400px;
    overflow: auto;
    position: relative;
}
.cart-items .item {
    display: inline-flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #000000;
    padding: 10px;
}
.cart-detail h6 {
    font-weight: normal;
    font-size: 15px;
}
.cart-detail p {
    font-weight: normal;
    font-size: 13px;
}
.cart-detail span {
    color: green;
    font-size: 13px;
    font-weight: bold;
}
.cart-price {
    font-weight: bold;
}
.footer {
    position: sticky;
    bottom: -1px;
    width: 100%;
    background-color: white;
    padding: 10px;
}
.footer .total-price {
    width: 100%;
}
.footer .total-price span {
    float: right;
}
.footer span {
    font-size: 12px;
    font-weight: normal;
}
.footer .button {
    padding: 10px 0px;
    display: flex;
    justify-content: space-between;
}
.footer .button a {
    padding: 8px 15px;
    border-radius: 100px;
    margin: 0;
}

.footer .button .border-btn {
    border: 1px solid gray;
}
.footer .button .bg-btn {
    background-color: black;
    color: white;
}
/* ================cart================ */
.black-main-nav-div,
.logo-mbl-main-nav-div {
    position: relative;
}

/* header */
.header {
    display: block;
    width: 100%;
    position: relative;
    z-index: 99;
    padding: 15px;
}
.header .item-left {
    flex: 0 0 17%;
}

.header .item-center {
    flex: 0 0 60%;
}
.header .item-right {
    flex: 0 0 23%;
    display: flex;
    justify-content: flex-end;
    position:relative;
}
.header .item-right a {
    text-decoration: none;
    font-size: 16px;
    color: #555555;
    display: inline-block;
    margin-left: 10px;
    transition: color 0.3s ease;
}
.header .menu ul{
        margin-bottom:0 !important;
        padding-left:0;
    }
.header .menu > ul > li {
    display: inline-block;
    line-height: 50px;
    margin-left: 25px;
}
.header .menu > ul > li > a {
    font-size: 15px;
    font-weight: 500;
    color: #000000;
    position: relative;
    text-transform: capitalize;
    transition: color 0.3s ease;
}
.header .menu > ul > li .sub-menu {
    position: absolute;
    z-index: 500;
    background-color: #ffffff;
    box-shadow: -2px 2px 70px -25px rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    transition: all 0.5s ease;
    margin-top: 25px;
    opacity: 0;
    visibility: hidden;
}
@media (min-width: 992px) {
    .header .menu > ul > li.menu-item-has-children:hover .sub-menu {
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }
}
.header .menu > ul > li .sub-menu > ul > li {
    line-height: 1;
}
.header .menu > ul > li .sub-menu > ul > li > a {
    display: inline-block;
    padding: 10px 0;
    font-size: 15px;
    color: #555555;
    transition: color 0.3s ease;
    text-decoration: none;
    text-transform: capitalize;
}
.header .menu > ul > li .single-column-menu {
    min-width: 280px;
    max-width: 350px;
}
.header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li {
    line-height: 1;
    display: block;
}
.header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
    padding: 10px 0;
    display: inline-block;
    font-size: 15px;
    color: #555555;
    transition: color 0.3s ease;
}
.header .menu > ul > li .sub-menu.mega-menu {
    left: 50%;
    transform: translateX(-50%);
}

.header .menu > ul > li .sub-menu.mega-menu-column-4 {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 15px;
}
.header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
    flex: 0 0 25%;
    padding: 0 15px;
}
.header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item .title {
    font-size: 16px;
    color: #ea4636;
    font-weight: 500;
    line-height: 1;
    padding: 10px 0;
}
.header
    .menu
    > ul
    > li
    .sub-menu.mega-menu-column-4
    > .list-item.text-center
    .title {
    text-align: center;
}
.v-center{
    align-items:center;
}
.header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
    max-width: 100%;
    width: 100%;
    vertical-align: middle;
    margin-top: 10px;
    height: 300px;
    object-fit: cover;
}
.header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a:hover,
.header .menu > ul > li .sub-menu > ul > li > a:hover,
.header .item-right a:hover,
.header .menu > ul > li:hover > a {
    color: #ea4636;
}
/* banner section */
.banner-section {
    background-image: url("../img/banner.jpg");
    background-size: cover;
    background-position: center;
    height: 700px;
    width: 100%;
    display: block;
}
.mobile-menu-head,
.mobile-menu-trigger {
    display: none;
}

/*responsive*/
@media (max-width: 991px) {
    .header .item-center {
        order: 3;
        flex: 0 0 100%;
    }
    .header .item-left,
    .header .item-right {
        flex: 0 0 auto;
    }
    .v-center {
        justify-content: space-between;
    }
    .header .mobile-menu-trigger {
        display: flex;
        height: 30px;
        width: 30px;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }
    .header .mobile-menu-trigger span {
        display: block;
        height: 2px;
        background-color: #333333;
        width: 24px;
        position: relative;
    }
    .header .mobile-menu-trigger span:before,
    .header .mobile-menu-trigger span:after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #333333;
    }
    .header .mobile-menu-trigger span:before {
        top: -6px;
    }
    .header .mobile-menu-trigger span:after {
        top: 6px;
    }
    .header .item-right {
        align-items: center;
    }

    .header .menu {
        position: fixed;
        width: 320px;
        background-color: #ffffff;
        left: 0;
        top: 0;
        height: 100%;
        overflow: hidden;
        transform: translate(-100%);
        transition: all 0.5s ease;
        z-index: 1099;
    }
    .header .menu.active {
        transform: translate(0%);
    }
    .header .menu > ul > li {
        line-height: 1;
        margin: 0;
        display: block;
    }
    .header .menu > ul > li > a {
        line-height: 50px;
        height: 50px;
        padding: 0 50px 0 15px;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    .header .menu > ul > li > a i {
        position: absolute;
        height: 50px;
        width: 50px;
        top: 0;
        right: 0;
        text-align: center;
        line-height: 50px;
        transform: rotate(-90deg);
    }
    .header .menu .mobile-menu-head {
        display: flex;
        height: 50px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 501;
        position: sticky;
        background-color: #ffffff;
        top: 0;
    }
    .header .menu .mobile-menu-head .go-back {
        height: 50px;
        width: 50px;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: #000000;
        font-size: 16px;
        display: none;
    }
    .header .menu .mobile-menu-head.active .go-back {
        display: block;
    }
    .header .menu .mobile-menu-head .current-menu-title {
        font-size: 15px;
        font-weight: 500;
        color: #000000;
    }
    .header .menu .mobile-menu-head .mobile-menu-close {
        height: 50px;
        width: 50px;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        cursor: pointer;
        line-height: 50px;
        text-align: center;
        color: #000000;
        font-size: 25px;
    }
    .header .menu .menu-main {
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        
    }
    
    .header .menu > ul > li .sub-menu.mega-menu,
    .header .menu > ul > li .sub-menu {
        visibility: visible;
        opacity: 1;
        position: absolute;
        box-shadow: none;
        margin: 0;
        padding: 15px;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 65px;
        max-width: none;
        min-width: auto;
        display: none;
        transform: translateX(0%);
        overflow-y: auto;
    }
    .header .menu > ul > li .sub-menu.active {
        display: block;
    }
    @keyframes slideLeft {
        0% {
            opacity: 0;
            transform: translateX(100%);
        }
        100% {
            opacity: 1;
            transform: translateX(0%);
        }
    }
    @keyframes slideRight {
        0% {
            opacity: 1;
            transform: translateX(0%);
        }
        100% {
            opacity: 0;
            transform: translateX(100%);
        }
    }
    .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
        margin-top: 0;
    }
    .header
        .menu
        > ul
        > li
        .sub-menu.mega-menu-column-4
        > .list-item.text-center
        .title {
        margin-bottom: 20px;
    }
    .header
        .menu
        > ul
        > li
        .sub-menu.mega-menu-column-4
        > .list-item.text-center:last-child
        .title {
        margin-bottom: 0px;
    }
    .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
        flex: 0 0 100%;
        padding: 0px;
    }
    .header .menu > ul > li .sub-menu > ul > li > a,
    .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
        display: block;
    }
    .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul {
        margin-bottom: 15px;
    }
    .menu-overlay {
        position: fixed;
        background-color: rgba(0, 0, 0, 0.5);
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1098;
        visibility: hidden;
        opacity: 0;
        transition: all 0.5s ease;
    }
    .menu-overlay.active {
        visibility: visible;
        opacity: 1;
    }
}

.child-li-category {
    display: block !important;
}

.logo-mbl-child {
    display: none;
}

.navbar-nav-desktop {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;

    /*position: absolute;*/
    /*left: 50%;*/
    /*top: 50%;*/
    /*transform: translate(-50%,0%);*/
    /*z-index: 2;*/
    /*background-color: black;*/
}

i.fas.fa-chevron-down {
    position: absolute;
    position: absolute;
    right: 0;
    font-size: initial;
    font-weight: unset;
    transform: translate(0, -50%);
    top: 50%;
}

.navbar-nav-desktop li {
    padding-left: 1rem;
}

/* for product sections in home page */
.index-section .row.gutters-10 {
    min-height: 100vh;
}
.product-section {
    position: relative;
    margin-top: 20px;
}

.product-section .img-text {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0px);
}

.product-section h3 {
    color: #fdf7fb;
}

.carousel-inner {
    height: auto !important;
}

.carousel-indicators {
    margin-bottom: 0.1rem !important;
}

.footer .nav-fa-icon {
    padding-left: 0 !important;
}

.right-nav-sec-lg .badge {
    padding: unset !important;
    height: 5px !important;
    width: 5px !important;
    display: block !important;
    color: transparent !important;
}

.badge:empty {
    display: none !important;
}

.div-subs-form {
    width: 42%;
}

.subs-form {
    justify-content: end;
}

.subs-form button {
    padding-left: 3rem;
    padding-right: 3rem;
}

.subs-form * {
    border-radius: 0 !important;
    height: fit-content;
}

.footer-widget {
    background-color: white;
}

.footer-widget p,
.footer-widget a {
    color: black;
}

.list-email i {
    width: 12%;
    font-size: inherit;
    padding-top: 5px;
    font-weight: 100;
}

.list-email p {
    width: 88%;
}

.list-email small {
    font-size: 11px;
}

/*Media queries*/

@media only screen and (max-width: 370px) {
    .index-section h2 {
        font-size: 15px !important;
    }
}
@media only screen and (max-width: 768px) {
    .navbar-nav-desktop {
        display: none !important;
    }
    .logo{
        width:100px;
    }

    .index-section .row.gutters-10 {
        min-height: auto !important;
    }
    .index-section h2 {
        font-size: 19px;
    }

    .navbar-collapse {
        flex-basis: 100%;
        flex-grow: 1;
        align-items: center;
        position: absolute;
        top: 100%;
        background-color: #f8f9fa;
        left: 0;
        padding: 0 15px;
        width: 100%;
        z-index: 100;
        height: 100vh;
    }

    .collapsing {
        animation: fromleft 0.35 ease !important;
    }

    .logo-mbl-child {
        display: flex !important;
    }

    .form-navbar,
    .nav-3rd-sec {
        display: none !important;
    }

    .navbar-brand {
        display: none !important;
    }

    .right-nav-sec-lg {
        display: none !important;
    }

    i.far,
    i.fas,
    i.fab {
        font-size: unset;
        font-weight: 500;
    }

    .div-subs-form {
        width: 78vw;
        margin: auto;
    }

    .subs-form button {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-widget {
        background-color: black !important;
        color: white;
        text-align: center !important;
    }

    .footer-widget * {
        color: white !important;
    }

    .footer-widget .col-lg-12 .row > div {
        color: white !important;
        border-bottom: 1px solid white;
    }

    .footer-widget .col-lg-12 .row div:first-child div {
        width: 100% !important;
        padding: 10px 20px;
    }

    .list-email {
        width: 42%;
        margin: auto;
    }

    .list-email p {
        width: unset;
    }

    .footer-widget .social {
        text-align: left;
    }
}

@media only screen and (min-width: 770px) and (max-width: 1100px) {
    a.text-reset.flex-grow-1.text-center {
        padding: 0;
    }

    .social-list-item {
        margin: 0 2px;
    }

    .div-subs-form {
        width: 50vw;
    }

    .form-navbar {
        width: 29%;
    }
}

@media only screen and (min-width: 1101px) and (max-width: 1240px) {
    .form-navbar {
        width: 41%;
    }
    .search-bar {
        width: 100% !important;
    }

    .nav-fa-icon {
        padding-left: 2rem !important;
    }

    a.text-reset.flex-grow-1.text-center {
        padding: 0;
    }

    .social-list-item {
        margin: 0 2px;
    }

    .div-subs-form {
        width: 55%;
    }
}

@media only screen and (min-width: 1241px) and (max-width: 1399px) {
    .form-navbar {
        width: 41%;
    }
}

@media only screen and (min-width: 1400px) {
    .form-navbar {
        width: 46% !important;
        margin: 0 15px 0 35px;
    }
    .search-bar {
        width: 100% !important;
    }

    .nav-fa-icon {
        padding-left: 2rem !important;
    }

    /*.nav-3rd-sec p{*/
    /*padding: 0!important;*/
    /*    font-size: 18px;*/
    /*}*/

    /*.social-list-item{*/
    /*    margin: 0 2px!important;*/
    /*}*/
}
@media only screen and (min-width: 1441px) {
    .nav-3rd-sec p {
        /*padding: 0!important;*/
        font-size: 18px;
    }
}
/*Media queries end*/

/*Keyframes for animation*/
@keyframes movetext {
    /*from {*/
    /*    right: -10px;*/
    /*}*/
    /*to {*/
    /*    right : 100%;*/
    /*}*/

    0% {
        left: 100%;
    }
    50% {
        left: 50%;
    }
    75% {
        left: 25%;
    }
    90% {
        left: 10%;
    }
    100% {
        left: 0;
    }
}

@keyframes fromleft {
    0% {
        width: 0;
    }
    25% {
        width: 13%;
    }
    50% {
        width: 25%;
    }
    75% {
        width: 37%;
    }
    100% {
        width: 50%;
    }
}
/*Keyframes for animation ends*/
