/*
 Theme Name:   Astra Child
 Description:  A child theme of Astra for  Customization.
 Author:       M.Sheraz
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/
/* RESET */


#vape_age_verification_modal {
    position: fixed;
    inset: 0;
    background: #ffffffb5;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    display: none;
  }
  
  .vape_age_modal_content {
    background: #0e0e0e;
    color: white;
    border-radius: 20px;
    text-align: center;
    padding: 40px 20px;
    max-width: 365px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    position: relative;
  }
  .vape_age_modal_content h2{
    color: white;
  }
  
  .vape_age_logo {
    display: block;
    margin-bottom: 1em;
  }
  
  .vape_age_modal_content h2 {
    font-size: 22px;
    font-weight: 600;
  }
  
  .vape_age_buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
  }
  
  .vape_age_buttons button {
    flex: 1;
    padding: 0.75em 1em;
    font-size: 1em;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: 0.3s;
    width: 100%;
  }
  
  #vape_age_yes {
    background: #E11B14;
    color: white;
    border: none;
  }
  
  #vape_age_no {
    background: white;
    color: black;
  }
  #vape_age_denied_message{
    display:none;
    color: white;
    background: #E11B14;
    padding: 1em;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-bottom: 10px;
  }
  



/* header of the site  */
.vape_home_top_header{
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat; 
    padding: 40px 0; 
    text-align: center; 
}
.vape_container_home h3{
    color: #f1f1f1;
}
#ast-scroll-top {
    background-color: #E11B14;
    font-size: 20px;
    border-radius: 20px;
}
.vape_custom_header * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.vape_custom_header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
}
.vape_header_top {
    background-color: #0e0e0e;
    padding: 10px;
}

.vape_container {
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    flex-wrap: wrap;
}

.vape_logo img {
    height: 80px;
    width: auto;
}

.vape_header_widgets {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}
.vape_search {
    display: flex;
    align-items: center;
    gap: 1px;
    position: relative;
}
.vape_custom_search_form {
    width: 42px;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: absolute;
    right: 100%;
    z-index: 99;
}
.vape_custom_search_form.active {
    opacity: 1;
    width: 50vw;
}
.vape_search_toggle {
    cursor: pointer;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 5px;
    color: #fff;
}
.vape_search_toggle:hover, .vape_cart:hover i, .vape_user_info:hover, .vape_user_info .fa-user:hover{
    color: #cfcfcf;
}
.vape_custom_search_form input {
    border: none;
    font-size: 14px;
    outline: none;
}
.vape_custom_search_form input:focus {
    border: none;
    color: black;
}
.vape_cart{
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
}

.vape_cart_basket_count{
    position: relative;
}
.vape_cart_count{
    position: absolute;
    top: -10px;
    right: -12px;
    background: #E11B14;
    padding: 0px 6px;
    border-radius: 20px;
    font-size: 12px;
}
.vape_cart_dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 75px;
    width: 300px;
    height: 80vh;
    background: #f7f7f7;
    border: 1px solid #ddd;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 15px;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    overflow-y: auto;
}
.vape_cart_dropdown .close_cart_dropdown{
    background: red;
    padding: 2px 9px;
    border-radius: 20px;
    cursor: pointer;
    background: white;
    color: black;
    border: 1px solid black;
}
.vape_cart_dropdown .close_cart_dropdown:hover{
    background: red;
    color: white;
    border: 1px solid white;
}
.vape_cart_dropdown ul li span{
    color: #E11B14 !important;
}
.vape_cart_dropdown ul li {
    overflow: hidden;
    position: relative;
}
.vape_cart_dropdown ul li > a:first-of-type {
    float: right;
}
.vape_cart_dropdown .woocommerce-mini-cart__buttons a{
    margin-right: 6px;
}
.woocommerce-mini-cart__total{
    color:#000;
}
.vape_user_info{
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    color: white;
    font-weight: 500;
}
.vape_user_info .fa-user, .vape_cart_basket_count .fa-bag-shopping{
    font-size: 25px;
}
.vape_user_info a{
    color: white;
}
.user_dropdown {
    position: relative;
    display: inline-block;
}
.user_name i {
    margin-left: 8px;
}
.vape_user_info:hover .dropdown_list{
    display: block;
}
.dropdown_list {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 200px;
    z-index: 100;
    border-radius: 5px;
}

.dropdown_list li {
    padding: 10px;
    border-bottom: 1px solid #33333317;
}

.dropdown_list li a {
    color: #333;
    text-decoration: none;
}

.dropdown_list li:hover {
    background-color: #f1f1f1;
}

.user_dropdown.active .dropdown_list {
    display: block;
}

.vape_menu {
    display: flex;
    align-items: center;
}

.vape_nav_menu {
    list-style: none;
    display: flex;
    /* gap: 20px; */
    align-items: center;
    font-size: 16px;
    font-weight: 500;
}

.vape_nav_menu li {
    position: relative;
}

.vape_nav_menu li > a {
    padding: 0 15px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}
.vape_nav_menu li:not(:last-child) > a {
    border-right: 1px solid rgba(255, 255, 255, 0.267);
}
.vape_nav_menu li > a:hover {
    color: #E11B14;
}

.vape_nav_menu li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 3px;
    z-index: 1000;
    min-width: 180px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.vape_nav_menu li:hover > ul {
    display: block;
}

.vape_nav_menu li ul li {
    position: relative;
    list-style: none;
}
.vape_nav_menu li ul li:hover > a i.fa-caret-down {
    color: white;
}

.vape_nav_menu li ul li ul {
    left: 100%;
    top: 0;
    margin-left: 1px;
}
.vape_nav_menu li ul li a {
    color: #E11B14;
    padding: 8px 15px;
    display: block;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 3px;
    font-weight: normal;
}

.vape_nav_menu li ul li a:hover {
    background-color: #E11B14;
    color: white !important;
}

.vape_nav_menu li.current-menu-item > a,
.vape_nav_menu li.current_page_item > a,
.vape_nav_menu li.current-menu-parent > a {
    color: #E11B14;
    font-weight: bold;
}

.vape_nav_menu li ul li.current-menu-item > a,
.vape_nav_menu li ul li.current_page_item > a {
    background-color: #E11B14;
    color: white !important;
    font-weight: bold;
}

.vape_nav_menu i.fa-caret-down {
    margin-left: 10px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.vape_nav_menu li:hover > a i.fa-caret-down {
    transform: rotate(180deg);
    color: #E11B14;
}
.woocommerce-mini-cart__empty-message{
    color: black;
}
.vape_cart_dropdown > p.woocommerce-mini-cart__empty-message {
    display: none;
}

/* Mobile menu toggle */
.menu_toggle {
    display: none;
    font-size: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 7px 10px;
    border-radius: 3px;
    color: white;
}


/* footer css */
.vape_footer_main_section{
    background-color: #0e0e0e;
}
.vape_footer_inner{
    max-width: 1200px;
    color: white;
    margin: auto;
}
.vape_footer_top, .vape_footer_bottom, .social_icons{
    display: flex;
    gap: 20px;
    padding: 60px 20px;
    justify-content: space-between;
}
.social_icons i{
    color: white;
    padding: 10px;
    border-radius: 3px;
    background-color: #00000033;
    border: 1px solid #FFFFFF1A;
    margin-right: 5px;
}
.social_icons i:hover {
    background-color: #E11B14;
}
.vape_footer_top h5{
    color: white;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 400;
}
.vape_footer_top{
    border-top: 1px solid #FFFFFF1A;
    border-bottom: 1px solid #FFFFFF1A;
    border-radius: 3px;
    padding: 85px 10px;
}
.top_sec_footer img{
    width: 230px;
    height: auto;
    border-radius: 5px;
}
.top_sec_footer a{
    color: #ffffff66;
    display: flex;
}
.top_sec_footer a:hover{
    color: #ffffff;
}
.vape_footer_bottom{
    justify-content: center;
    color: white;
    text-align: center;
}
@media (max-width: 1024px) {
    .vape_menu {
        opacity: 0;
        max-height: 0;
        margin-left: 0;
        display: inline-block;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: white;
        padding: 0;
        z-index: -1;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transition: opacity 0.3s ease-in-out, max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
        overflow-y: auto;
        pointer-events: none; 
    }
    .vape_menu.active {
        opacity: 1;
        max-height: 90vh;
        padding: 20px;
        z-index: 99999;
        pointer-events: auto; 
    }
    .menu_toggle {
        display: block;
        z-index: 9999;
    }
    .vape_nav_menu {
        display: inline-block;
        width: 100%;
        font-size: 16px;
    }
    .vape_nav_menu li {
        border-bottom: 1px solid black;
    }
    .vape_nav_menu li > a {
        color: black;
    }
    .vape_nav_menu li ul {
        display: none;
        position: unset;
        top: 100%;
        left: 0;
        background: white;
        border: unset;
        border-radius: unset;
        z-index: unset;
        min-width: unset;
        box-shadow: unset;
    }
    .vape_nav_menu li ul li a{
        color: black;
    }
    .vape_logo img {
        height: 35px;
    }
    .vape_footer_top, .vape_footer_bottom{
        flex-direction: column;
        padding: 20px;
        gap: 40px;
    }
}
@media (max-width: 425px) {
    .vape_header_widgets {
        gap: 1px;
    }
    .vape_custom_search_form {
        right: 0;
        left: 0;
        top: 100%;
    }
    .vape_custom_search_form.active {
        width: 100%;
    }
    .vape_search {
        position: unset;
    }
}

