/* -----------------------------
Responsive for min width 992px
--------------------------------*/

@media screen and (min-width: 992px) {

    .g-container {
        padding: 0 2rem;
    }
    .desktop-hide {
        display: none;
    }
    .mobile-hide {
        display: block;
    }
    .logo a {
        margin-right: 2rem;
    }
    .header-nav {
        padding: 0;
        margin: 0;
        border-bottom: 0;
    }
    .header-nav .right li > a {
        margin-left: 1rem;
    }

    .header-nav-menu {
        text-transform: capitalize;
        transition: transform 0.3s;
      }
      
    .header-nav-menu:hover {
        transform: scale(1.07);
    }

    /* mega menu */
    nav .mega {
        position: absolute;
        width: var(--percent100);
        height: auto;
        top: auto;
        left: 0;
        right: 0;
        padding: 2.5rem;
        line-height: 2rem;
        background-color: var(--light-bg-color);
        box-shadow: 0 30px 20px -30px rgb(0, 0, 0,  20%);
        z-index: 100;

        display: none;
    }

    nav li.has-child:hover .mega {
        display: block;
    }

    nav .mega .g-wrapper {
        display: flex;
    }
    nav .mega h4 {
        font-size: var(--font-size-s);
        text-transform: uppercase;
    }
    nav .mega ul {
        font-size: var(--font-small);
    }
    nav .mega .special {
        display: flex;
        flex-wrap: wrap;
        max-width: 180px;
    }
    nav .mega .special li {
        min-width: 80px;
        
    }
    nav .mega .view-all {
        margin-top: 1rem;
    }
    nav .mega .products {
        flex: 2;
        padding: 0;
        align-items: center;
        position: relative;
    }
    nav .mega .products .g-row {
        width: var(--percent100);
    }
    nav .mega .products .media {
        height: 400px;
    }
    nav .mega .products .text-content {
        line-height: initial;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
        position: absolute;
        bottom: 4rem;
        width: var(--percent100);
    }
    nav .mega .products .text-content h4 {
        font-size: 2rem;
        font-weight: var(--fw8);
        text-align: center;
        color: var(--secondary-dark-color);
    }
    
    /*.slider .item {*/
    /*    height: 700px;*/
    
    /*}*/

    /* Category card */
    .category-card .products {
        flex: 0 0 25%;
    }
    .products .big .media {
        max-height: 373px;
    }

    .category-card .products.big {
        flex: 0 0 25%;
    }

    /* Feature products */
    .products.main .item {
        flex: 0 0 25%;
    }

    .overlay-products .g-row .overlay-content h3 {
        font-size: var(--font-size-l);

    }


    /* Product Category */
    .product-category .holder {
        flex-direction: row;
    }
    .product-category .sidebar {
        flex: 1 0 25%;
    }
    .product-category .product-category-detail {
        flex: 1 0 75%;
    }
    .product-category .sidebar .filter {
        padding-right: 1.5rem;
        position: sticky;
        top: 2rem;
        box-shadow: none;
        width: var(--percent100);
        z-index: initial;
        visibility: visible;
        opacity: 1;
    }

    /* Cart page section */
    .cart-page-section .products.cart .form-cart {
        width: 66%;
    }
    .cart-page-section .products.cart .cart-summary {
        width: 34%;
        padding-left: 2.5rem;
        margin-top: 0;
    }

    .checkout .item {
        flex: 0 0 50%;
    }

    .single-products-details {
        padding-left: 3rem;
        padding-right: 3rem;
    } 

    .contact-page-section .item {
        flex: 0 0 50%;
    }


}


/* ------------------------------
Responsive for max width 991px
--------------------------------*/

@media screen and (max-width: 991px) {
    
    .slider .item {
        height: 450px !important;
    
    }
    /* Category card */
    .category-card .products.big {
        flex: 0 0 50%;
    }

    .products .price .current {
        font-size: 1.2rem;
    }

    /* Feature products */
    .products.main .item {
        flex: 0 0 33.3333%;
    }
   .text-overlay-section {
       text-align: center;
       margin-left: 150px;
   }
   .text-overlay-section .image img {
       width: 80%;
   }
   .text-overlay-section2 {
       text-align: center;
       margin-left: 150px;
   }
   .text-overlay-section2 .image img {
       width: 80%;
   }

    /* Corporate section */
    .corp-section .row {
        flex-direction: column-reverse;
    }

    /* Blog section */
    .blog-top-content h5 {
        font-size: var(--font-size-xl);
    }

    .blog-main .blog-details .blog-title h4{
        font-size: var(--font-size-n);
    }
    
    .blog-main .blog-details .blog-text p {
        font-size: var(--font-small);
    }

    /* Blog Post section */
    .blog-post-main .blog-banner-image img {
        height: 400px;
    }


    /* Scroll Top */
    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 64px;
        left: 8px;
    }
    
    .whats-app {
        right: 14px;
        bottom: 66px;
    }

    /* Product details page */
    .slider-nav {
        visibility: visible !important;
    }
    .slider-nav2 {
        visibility: visible !important;
    }
    .swiffy-slider2 {
        --swiffy-slider-item-count: none !important;
    }

    .single-products-details {
        padding-left: 2rem;
        padding-right: 2rem;
    } 

    .contact .item.contactInfo {
        padding: 1.5rem 1rem 0 3rem;
    }
}

/* -----------------------------
Responsive for max width 767px
--------------------------------*/

@media screen and (max-width: 768px) {
    /* search */
    .search-popup-form-outer {
        width: 70%;
        margin: auto;
    }
    /* Hero slider */
    .slider .item {
        height: 350px !important;
    }

    /* Category card */
    .category-card .products.big {
        flex: 0 0 50%;
    }

    /* Feature products */
    .products.main .item {
        flex: 0 0 50%;
    }


    /* Text overlay and tab slider section */
   .overlay-products-section {
    padding-top: 26px;
    padding-bottom: 20px;
   }
   .text-overlay-section {
       text-align: center;
       margin-left: 0px !important;
   }
   .text-overlay-section .image img {
       width: 65% !important;
   }

    /* Text overlay and tab slider section 2 */
    .overlay-products-section2 {
        padding-top: 34px;
    }
    .text-overlay-section2 {
       text-align: center;
       margin-left: 0px !important;
   }
    .text-overlay-section2 .image img {
       width: 65% !important;
    }

    .tab-sec-heading span {
        font-size: var(--font-size-m);
    }
    .tab-sec-heading h5 {
        font-size: var(--font-size-xl);
        margin-top: 4px;
    }

    /* Corporate section */
    .corp-section .corp-box-content span {
        font-size: var(--font-size-m);
    }
    .corp-section .corp-box-content h5 {
        font-size: var(--font-size-xl);
        margin-top: -6px;
    }

    /* Blog section */
    .blog-section {
        margin-top: 0px;
        margin-bottom: 30px;
    }
    .blog-top-content h5 {
        font-size: var(--font-size-xl);
        margin-top: 4px;
    }

    .blog-main .blog-details .blog-title h4{
        font-size: var(--font-size-n);
    }
    
    .blog-main .blog-details .blog-text p {
        font-size: var(--font-small);
    }

    /* Blog Post section */
    .blog-post-main .blog-banner-image img {
        height: 300px;
    }
    

    /* Scroll Top */
    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 64px;
        left: 8px;
    }
    
    .whats-app {
        right: 12px;
        bottom: 66px;
    }
    
    /* ------------------------
    Single Product details
    ---------------------------*/
    .products.one h1 {
        margin: 0.1rem 0;
        line-height: 2rem;
        margin-top: 1rem;
    }
    .products.one .price {
        display: flex;
        /*justify-content: center;*/
    }
    .products.one .qty-control {
        margin: 0 auto;
    }
    .products.one .actions .button-cart {
        display: flex;
        justify-content: center;
        margin-top: 0.5rem;
    }
    .products.one .actions .button-checkout {
        display: flex;
        justify-content: center;
    }
    .products.one .actions .action-buttons {
        flex-direction: column;
    }

    /* Single Product Description section */
    .product-tab-section .nav-tabs:first-child button {
        font-size: var(--font-small);
        margin-right: 0px;
        padding: 1px 6px;
    }
    .product-tab-section p {
        font-size: var(--font-small);
    }
    .product-tab-section .moreInfo-tab span {
        font-size: var(--font-small);
    }

    /* ------------------------
    Cart Page section
    ---------------------------*/   
    /* Cart table */
    #cart-table thead {
        display: none;
    }
    #cart-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        position: relative;
        align-items: center;
    }
    #cart-table tbody tr td:first-child {
        width: var(--percent100);
        min-width: var(--percent100);
        position: relative;
    }
    #cart-table tbody tr td:not(:first-child) {
        flex-basis: 0;
        flex-grow: 1;
        max-width: var(--percent100);
    }
    #cart-table tbody tr td:last-child {
        position: absolute;
        top: 0;
        right: 0;
    }

    /* Checkout page section */
    .checkout .item {
        width:var(--percent100);
    }
    .checkout .item.right {
        padding: 3.5rem 1rem 0 2rem !important;
    }

    /* Contact page section */
    .contact .item {
        width:var(--percent100);
    }
    .contact .item.contactInfo {
        padding: 3.5rem 1rem 0 3.5rem !important;
    }

}

/* ----------------------------
Responsive for max width 480px
-------------------------------*/
@media screen and (max-width: 480px) {

    :root {
        --font-size-xl: 2rem;
    }

    
    /* search */
    .search-popup-form-outer {
        width: 75%;
        margin: auto;
    }
    
    .logo a img {
        max-height: 30px;
        margin-right: 2rem;
    }

    /* Hero slider */
    .slider .item {
        height: 250px !important;
    
    }

    /* Category card */
    .category-card .products.big {
       flex: 0 0 50%;
   }

    /* Feature products */
    .products.main .item {
       flex: 0 0 50%;
   }

   .sectop h2 {
    text-align: center;
   }

   .categories-circle .circle-border {
    width: 104px;
    height: 104px;
   }

   /* Text overlay and tab slider section */
   .overlay-products-section {
    padding-top: 12px;
    padding-bottom: 10px;
   }
    .text-overlay-section {
       text-align: center;
       margin-left: 0px !important;
   }
   .text-overlay-section .image img {
       width: 85% !important;
   }

   /* Text overlay and tab slider section 2 */
   .overlay-products-section2 {
    padding-top: 14px;
   }
    .text-overlay-section2 {
       text-align: center;
       margin-left: 0px !important;
   }
    .text-overlay-section2 .image img {
       width: 85% !important;
   }

   .tab-sec-heading {
        display: grid;
        justify-content: center;
        align-items: center;
   }

    .tab-sec-heading span {
    font-size: var(--font-size-m);
    text-align: center;
    }
    .tab-sec-heading h5 {
        font-size: var(--font-size-xl);
        margin-top: 4px;
        text-align: center;
    }

    /* Corporate section */
    .corp-section .corp-box-content {
        display: grid;
        justify-content: center;
        align-items: center;
    }

    .corp-section .corp-box-content span {
        font-size: var(--font-size-m);
        text-align: center;
    }
    .corp-section .corp-box-content h5 {
        font-size: var(--font-size-xl);
        margin-top: -6px;
        text-align: center;
    }
    .corp-section .corp-para {
        text-align: center;
    }
    .corp-section .corp-box .corp-button {
        display: flex;
        justify-content: center;
        margin-left: 0%;
    }

    /* Blog section */
    
    .blog-section {
        margin-top: 1px;
        margin-bottom: 40px;
    }

    .blog-top-content {
        display: grid;
        justify-content: center;
        align-items: center;
    }   
    .blog-top-content .explore-button {
        display: block;
        text-align: center;
        margin-top: 10px;
        justify-content: center;
    }

    .blog-top-content h5 {
        font-size: var(--font-size-xl);
        margin-top: -7px;
        margin-bottom: 1.5rem;
    }

    .blog-top-content span {
        font-size: var(--font-size-m);
    }

    .blog-top-content .blog-head-content {
        align-items: center;
    }
    .blog-details {
        text-align: center;
    }

    .blog-main .blog-details .blog-title h4{
        font-size: var(--font-size-n);
    }
    
    .blog-main .blog-details .blog-text p {
        font-size: var(--font-small);
    }

    /* Blog Post section */
    .blog-post-main .blog-banner-image img {
        height: 280px;
    }

    /* Scroll Top */
    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 64px;
        left: 6px;
    }
    
    .whats-app {
        right: 10px;
        bottom: 66px;
    }

    /* --Single Product details --*/
    .slider-nav {
        visibility: visible !important;
    }
    .slider-nav2 {
        visibility: visible !important;
    }
    .swiffy-slider2 {
        --swiffy-slider-item-count: none !important;
    }

    .single-products-details {
        padding-left: 1rem;
        padding-right: 1rem;
    } 

    /* Cart Hover */
    .mini-cart {
        width: 360px;
    }

    /* Checkout page section */
    .checkout .left {
        padding: 2rem !important;
    }
    .checkout .item {
        width:var(--percent100);
    }

    /* Contact page section */
    .contact-page-section .item {
        width: var(--percent100);
    }

    .contact .item.contactInfo {
        padding: 2.5rem 3rem 0 3rem;
    }

    /* Footer */
    .footer-logo-content-box {
        display: inline-block;
        text-align: center;
    }
    .footer .footer-logo a img {
        margin-right: 0;
        margin-bottom: 1.2rem;
    }
    .footer-intro {
        display: flex;
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-links-box {
        text-align: center;
    }

}

/* ----------------------------
Responsive for max width 380px
-------------------------------*/
@media screen and (max-width: 380px) {
    .logo a img {
        max-height: 30px;
        margin-right: 2rem;
    }
    .search-popup-form-outer {
        width: 75%;
        margin: auto;
    }
    .categories-circle .circle-border {
        width: 101px;
        height: 101px;
    }
    .checkout .left {
        padding: 1.75rem;
    }
}
/* ----------------------------
Responsive for max width 360px
-------------------------------*/
@media screen and (max-width: 360px) {
    .logo a img {
        max-height: 30px;
        margin-right: 2rem;
    }

    .search-popup-form-outer {
        width: 75%;
        margin: auto;
    }
    .categories-circle .circle-border {
        width: 97px;
        height: 97px;
    }
    .checkout .left {
        padding: 1.75rem;
    }
}

/* ----------------------------
Responsive for max width 340px
-------------------------------*/
@media screen and (max-width: 344px) {
    .logo a img {
        max-height: 30px;
        margin-right: 2rem;
    }

    .search-popup-form-outer {
        width: 72%;
        margin: auto;
    }
    .categories-circle .circle-border {
        width: 91px;
        height: 91px;
    }
    .checkout .left {
        padding: 1.7rem;
    }
}

