/* ==========================================================
   MOBILE FOUNDATION
   Progres Themes
========================================================== */

/* ==========================================================
   DESKTOP DEFAULT
========================================================== */

.mobile-drawer,
.mobile-overlay{

    display:none;
}

@media (max-width:991px){

/* ==========================================================
   DESKTOP ELEMENTS
========================================================== */

.main-navigation,
.header-actions{

    display:none;
}

.mobile-toggle{

    display:flex;
}

/* ==========================================================
   HEADER
========================================================== */

.site-header{

    position:sticky;

    top:0;

    z-index:1000;
}

.admin-bar .site-header{

    top:46px;
}

.header-container{

    min-height:72px;

    gap:20px;
}

/* ==========================================================
   MOBILE DRAWER
========================================================== */

.mobile-drawer{

    position:fixed;

    top:0;
    right:0;

    width:320px;
    max-width:90vw;

    height:100vh;

    background:#fff;

    transform:translateX(100%);

    transition:transform .35s ease;

    z-index:9999;

    overflow-y:auto;

    box-shadow:-10px 0 40px rgba(0,0,0,.12);
}

.mobile-drawer.open{

    transform:translateX(0);
}

/* ==========================================================
   DRAWER INNER
========================================================== */

.mobile-drawer-inner{

    display:flex;

    flex-direction:column;

    min-height:100%;
}

/* ==========================================================
   DRAWER HEADER
========================================================== */

.mobile-drawer-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:24px;

    border-bottom:1px solid #ececec;
}

/* ==========================================================
   BRANDING
========================================================== */

.mobile-branding{

    display:flex;

    flex-direction:column;

    gap:8px;
}

.mobile-branding img{

    display:block;

    height:42px;

    width:auto;
}

.mobile-tagline{

    font-size:.85rem;

    color:#666;
}

/* ==========================================================
   CLOSE BUTTON
========================================================== */

.mobile-close{

    width:44px;

    height:44px;

    border:none;

    background:transparent;

    cursor:pointer;

    font-size:30px;

    line-height:1;

    color:#222;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.25s;
}

.mobile-close:hover{

    transform:rotate(90deg);
}

/* ==========================================================
   OVERLAY
========================================================== */

.mobile-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:9990;
}

.mobile-overlay.active{

    opacity:1;

    visibility:visible;
}

/* ==========================================================
   BODY LOCK
========================================================== */

body.menu-open{

    overflow:hidden;
}

}

/* ==========================================================
   MOBILE NAVIGATION
========================================================== */

@media (max-width:991px){

.mobile-drawer,
.mobile-overlay{

    display:block;
}

.mobile-menu{

    margin:0;

    padding:0;

    list-style:none;
}

.mobile-menu li{

    margin:0;
}

.mobile-menu li + li{

    margin-top:8px;
}

.mobile-menu a{

    display:flex;

    align-items:center;

    min-height:52px;

    padding:0 12px;

    border-radius:10px;

    text-decoration:none;

    font-size:16px;

    font-weight:600;

    color:#222;

    transition:all .25s ease;
}

.mobile-menu a:hover{

    background:#f5f7fb;

    color:var(--primary-color,#2563eb);
}

.mobile-menu .current-menu-item > a,
.mobile-menu .current_page_item > a{

    background:#eef4ff;

    color:var(--primary-color,#2563eb);
}

/* ==========================================================
   SUB MENU
========================================================== */

.mobile-menu .sub-menu{

    margin:10px 0 0 18px;

    padding:0;

    list-style:none;

    border-left:2px solid #ececec;
}

.mobile-menu .sub-menu li{

    margin:6px 0;
}

.mobile-menu .sub-menu a{

    min-height:44px;

    font-size:15px;

    font-weight:500;
}

/* ==========================================================
   MOBILE ACTIONS
========================================================== */

.mobile-actions{

    padding:24px;

    border-top:1px solid #ececec;

    display:flex;

    flex-direction:column;

    gap:14px;
}

.mobile-actions .login-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:50px;

    border:1px solid #dcdcdc;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    color:#222;

    transition:.25s;
}

.mobile-actions .login-btn:hover{

    background:#f5f5f5;
}

.mobile-actions .buy-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:52px;

    border-radius:10px;

    text-decoration:none;

    font-weight:700;

    color:#fff;

    background:var(--primary-color,#2563eb);

    transition:.25s;
}

.mobile-actions .buy-btn:hover{

    transform:translateY(-2px);
}

/* ==========================================================
   MOBILE FOOTER
========================================================== */

.mobile-footer{

    margin-top:auto;

    padding:24px;

    border-top:1px solid #ececec;

    text-align:center;
}

.mobile-version{

    margin:0 0 8px;

    font-size:.85rem;

    color:#888;
}

.mobile-copyright{

    margin:0;

    font-size:.85rem;

    color:#999;
}

/* ==========================================================
   ACCESSIBILITY
========================================================== */

.mobile-toggle:focus,

.mobile-close:focus,

.mobile-menu a:focus,

.mobile-actions a:focus{

    outline:2px solid var(--primary-color,#2563eb);

    outline-offset:2px;
}

}

/* ==========================================================
   RESPONSIVE LAYOUT
========================================================== */

@media (max-width:991px){

/* ==========================================================
   GLOBAL CONTAINER
========================================================== */

.container{

    width:min(100%,1200px);

    padding-left:20px;

    padding-right:20px;
}

/* ==========================================================
   HERO
========================================================== */

.hero-section{

    padding:70px 0 60px;
}

.hero-content{

    display:flex;

    flex-direction:column;

    text-align:center;

    gap:40px;
}

.hero-text{

    max-width:100%;
}

.hero-title{

    font-size:2.3rem;

    line-height:1.2;
}

.hero-description{

    font-size:1rem;

    margin-top:20px;
}

.hero-actions{

    justify-content:center;

    flex-wrap:wrap;

    gap:16px;
}

.hero-preview{

    justify-content:center;
}

.hero-preview img{

    max-width:100%;

    height:auto;
}

/* ==========================================================
   SECTION TITLE
========================================================== */

.section-title{

    font-size:2rem;

    text-align:center;
}

.section-description{

    text-align:center;
}

/* ==========================================================
   GRID
========================================================== */

.features-grid,

.why-grid,

.trust-grid,

.product-grid,

.footer-grid{

    grid-template-columns:1fr;

    gap:24px;
}

/* ==========================================================
   CARD
========================================================== */

.feature-card,

.trust-card,

.product-card{

    padding:28px;
}

/* ==========================================================
   BUTTON GROUP
========================================================== */

.button-group{

    flex-direction:column;

    align-items:stretch;

    gap:16px;
}

.button-group .btn{

    width:100%;
}

/* ==========================================================
   IMAGE
========================================================== */

img{

    max-width:100%;

    height:auto;
}

}

/* ==========================================================
   SHOP
========================================================== */

@media (max-width:991px){

.woocommerce ul.products{

    grid-template-columns:1fr;

    gap:24px;
}

.woocommerce ul.products li.product{

    width:100%;

    margin:0;
}

.woocommerce div.product{

    display:flex;

    flex-direction:column;

    gap:40px;
}

.product-summary{

    padding-top:0;
}

}

/* ==========================================================
   CUSTOMER PORTAL
========================================================== */

@media (max-width:991px){

.progres-dashboard-header{

    padding:32px 24px;
}

.dashboard-stats{

    grid-template-columns:repeat(2,1fr);

    gap:20px;
}

.dashboard-content{

    grid-template-columns:1fr;

    gap:30px;
}

.dashboard-card{

    padding:24px;
}

}

/* ==========================================================
   FOOTER
========================================================== */

@media (max-width:991px){

.site-footer{

    text-align:center;
}

.footer-grid{

    text-align:center;
}

.footer-column{

    align-items:center;
}

.footer-social{

    justify-content:center;
}

}

/* ==========================================================
   SMALL DEVICES
========================================================== */

@media (max-width:768px){

.hero-title{

    font-size:2rem;
}

.section-title{

    font-size:1.7rem;
}

.dashboard-stats{

    grid-template-columns:1fr;
}

}

/* ==========================================================
   EXTRA SMALL
========================================================== */

@media (max-width:480px){

.container{

    padding-left:16px;

    padding-right:16px;
}

.hero-section{

    padding:60px 0 50px;
}

.mobile-drawer{

    width:100%;

    max-width:100%;
}

.mobile-drawer-header{

    padding:20px;
}

.mobile-navigation{

    padding:20px;
}

.mobile-actions{

    padding:20px;
}

.mobile-footer{

    padding:20px;
}

}

/* ==========================================================
   LANDSCAPE MODE
========================================================== */

@media (max-width:991px) and (orientation:landscape){

    .mobile-drawer{

        width:340px;
    }

    .mobile-navigation{

        padding:18px 24px;
    }

    .mobile-actions{

        padding:20px 24px;
    }

}

/* ==========================================================
   ADMIN BAR
========================================================== */

@media (max-width:782px){

    .admin-bar .mobile-drawer{

        top:46px;

        height:calc(100vh - 46px);
    }

}

@media (min-width:783px){

    .admin-bar .mobile-drawer{

        top:32px;

        height:calc(100vh - 32px);
    }

}

/* ==========================================================
   TOUCH DEVICES
========================================================== */

@media (hover:none){

    .mobile-menu a:hover{

        background:transparent;

        color:inherit;
    }

    .mobile-actions .login-btn:hover{

        background:transparent;
    }

    .mobile-actions .buy-btn:hover{

        transform:none;
    }

    .mobile-close:hover{

        transform:none;
    }

}

/* ==========================================================
   ACTIVE STATES
========================================================== */

.mobile-menu a:active{

    background:#eef4ff;
}

.mobile-actions .buy-btn:active{

    transform:scale(.98);
}

.mobile-actions .login-btn:active{

    transform:scale(.98);
}

.mobile-close:active{

    transform:scale(.90);
}

/* ==========================================================
   SMOOTH SCROLL
========================================================== */

.mobile-drawer{

    scroll-behavior:smooth;
}

/* ==========================================================
   SCROLLBAR
========================================================== */

.mobile-drawer::-webkit-scrollbar{

    width:6px;
}

.mobile-drawer::-webkit-scrollbar-thumb{

    background:#d8d8d8;

    border-radius:10px;
}

.mobile-drawer::-webkit-scrollbar-track{

    background:transparent;
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;
    }

}

/* ==========================================================
   DRAWER OPEN
========================================================== */

body.menu-open{

    overflow:hidden;

    touch-action:none;
}

/* ==========================================================
   FUTURE COMPONENTS

   Search
   Notification
   User Avatar
   Cart
   Wishlist
========================================================== */







/* ==========================================================
   END OF MOBILE.CSS
========================================================== */