﻿@media(max-width: 1200px) {
    .hero-section {
        padding: 70px 20px;
    }

    .hero-slider .owl-stage {
        padding: 0px;
    }

    .categories-section {
        border-radius: 0 0 300px 300px;
        padding: 60px 20px;
    }

    .aesthetic-image-card-2 {
        right: 2%;
        width: 52%;
        max-height: 360px;
    }

    .product-gallery .next-btn {
        right: -5%;
    }

    .product-gallery .prev-btn {
        left: -5%;
    }

    .cart-container {
        padding: 20px;
    }

    .logo img {
        max-height: 41px;
    }
}

.dashboard-menu-toggle {
    display: none;
}


@media(max-width: 992px) {
    .hero-content h2 {
        font-size: 35.512px;
    }

    .hero-content p {
        font-size: 16px;
        line-height: 30px;
    }

    .btn-shop {
        font-size: 16px;
    }

    .aesthetic-wrapper {
        flex-direction: column-reverse;
    }

    .aesthetic-text-card {
        padding: 30px 30px 60px;
        margin-left: 0px;
        max-width: none;
        min-height: 300px;
    }

    .aesthetic-image-card {
        width: 70%;
        height: auto;
        margin-top: -30px;
    }

    .product-img {
        margin-top: 35px;
    }

    .aesthetic-wrapper-2 {
        flex-direction: column;
    }

    .aesthetic-text-card-2 {
        padding: 30px 30px 60px;
        margin-right: 0px;
        width: 100%;
        min-height: 300px;
    }

    .aesthetic-image-card-2 {
        position: static;
        width: 70%;
        height: auto;
        margin-top: -30px;
    }

    .info-title {
        font-size: 16px;
    }

    .product-gallery .next-btn {
        right: 5%;
    }

    .product-gallery .prev-btn {
        left: 5%;
    }

    .header-icons-mobile {
        display: flex;
        align-items: center;
        margin-right: 0px;
    }

    .hamburger-inner,
    .hamburger-inner:after,
    .hamburger-inner:before {
        background-color: #3C5873;
    }

    /* Sidebar hidden by default */
    .wrap-side-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -320px;
        /* hidden off-screen */
        width: 300px;
        height: 100%;
        background: #fff;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
        transition: left 0.4s ease;
        z-index: 9999;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    /* When active, slide in */
    .wrap-side-menu.active {
        left: 0;
    }

    .side-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eee;
    }

    .side-menu-header .logo-mobile img {
        max-height: 40px;
    }

    .close-menu-btn {
        background: none;
        border: none;
        font-size: 24px;
        color: #3C5873;
        cursor: pointer;
        padding: 0 10px;
    }

    /* Overlay behind menu */
    #menuOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9998;
        display: none;
        backdrop-filter: blur(2px);
    }

    /* Show overlay when active */
    #menuOverlay.active {
        display: block;
    }

    .side-menu {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .side-menu .main-menu {
        padding: 20px !important;
        list-style: none;
    }

    .item-menu-mobile {
        margin-bottom: 5px;
    }

    .item-menu-mobile a {
        color: #3C5873 !important;
        text-decoration: none;
        display: flex;
        align-items: center;
        padding: 5px 10px;
        font-size: 12px;
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.2s;
    }

    .item-menu-mobile a i {
        width: 25px;
        text-align: center;
        font-size: 14px;
    }

    .item-menu-mobile:hover>a {
        background-color: #f5f8fa;
        color: #1AB2B6 !important;
    }

    .item-menu-mobile.active>a {
        background-color: #eaf7f7;
        color: #1AB2B6 !important;
    }

    .mobile-social-footer {
        padding: 20px;
        border-top: 1px solid #eee;
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: auto;
        /* push to bottom */
    }

    .social-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #f5f8fa;
        color: #3C5873 !important;
        border-radius: 50%;
        font-size: 18px;
        transition: all 0.3s;
        text-decoration: none;
    }

    .social-icon:hover {
        background-color: #3C5873;
        color: #fff !important;
        transform: translateY(-2px);
    }

    .dashboard-menu-toggle {
      /*  display: block !important;*/
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin-bottom: 20px;
        z-index: 9;
        background: #3C5873;
        color: white;
        border-radius: 12px;
        padding: 14px 20px;
        box-shadow: 0 2px 5px rgba(60, 88, 115, 0.15);
        border: none;
        font-family: Montserrat;
        font-weight: 600;
        cursor: pointer;
        display: none;
        text-align: center;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .dashboard-menu-toggle:active {
        transform: scale(0.98);
    }

    .dashboard-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        z-index: 1002;
        background: #fff;
        border-radius: 0 0 25px 25px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        padding: 0;
        max-height: 85vh;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.5s ease-in-out;
    }

        .dashboard-menu.active {
            transform: translateY(0px);
            opacity: 1;
            pointer-events: auto;
            transition: transform 0.5s ease-in-out;
        }

    /* List Item Styles */
    .dashboard-menu .list-group-item {
        border: none;
        padding: 16px 25px;
        font-size: 15px;
        font-weight: 500;
        color: #3C5873;
        transition: all 0.2s ease;
        position: relative;
    }

    .dashboard-menu .list-group-item a {
        color: inherit;
        text-decoration: none;
        display: block;
        width: 100%;
    }

    .dashboard-menu .list-group-item:not(:last-child)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 25px;
        right: 25px;
        height: 1px;
        background-color: #f0f2f5;
    }

    .dashboard-menu .list-group-item:hover {
        background-color: #f8f9fa;
        color: #1AB2B6;
    }

    .dashboard-menu .list-group-item.active {
        background-color: #3C5873;
        color: #fff;
        border-color: #3C5873;
        font-weight: 600;
        box-shadow: 0 4px 10px rgba(60, 88, 115, 0.3);
        margin: 0 10px;
        border-radius: 8px;
        width: auto;
    }

    .dashboard-menu .list-group-item.active a {
        color: #fff;
    }

    /* Inside Close Button */
    #dashboardMenuClose {
        background: transparent;
        border: 1px solid #e1e4e8;
        color: #3C5873;
        border-radius: 50px;
        padding: 6px 16px;
        font-size: 13px;
        font-weight: 600;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    #dashboardMenuClose:hover {
        background: #f1f3f5;
        border-color: #d1d5db;
        color: #1f2d3d;
    }

    #dashboardMenuClose i {
        font-size: 14px;
    }



    .dashboard-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(33, 49, 66, 0.6);
        z-index: 999;
        display: none;
        backdrop-filter: blur(4px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .dashboard-overlay.active {
        display: block;
        opacity: 1;
    }
}

@media(max-width: 767px) {

    .section-heading {
        font-size: 25.328px;
        line-height: 35px;
        padding: 10px 0px
    }

    .trusted-carousel img {
        margin: 0 10px;
        max-height: 30px;
    }

    .aesthetic-wrapper,
    .trending-products,
    .categories-section,
    .aesthetic-wrapper-2,
    .news-section,
    .product-section,
    .review-section,
    .trusted-section,
    .review-carousel .owl-stage {
        padding: 10px 00px;
    }

    .aesthetic-image-card {
        width: 90%;
    }

    .categories-section {
        border-radius: 0 0 150px 150px;
    }


    .part1-img2,
    .part1-img3,
    .part2-img1,
    .part2-img2,
    .part2-img3,
    .part3-img1,
    .part3-img3,
    .part1-img1,
    .part3-img2 {
        max-height: 244px;
    }

    .review-carousel .review {
        font-size: 14px;
        line-height: 25px;
        margin-top: 20px;
    }

    .aesthetic-image-card-2 {
        width: 90%;
    }

    .info-section {
        padding: 30px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-item {
        margin-bottom: 20px;
    }

    .promo-card {
        flex-direction: column-reverse;
        align-items: center;
        padding: 30px;
    }

    .promo-content {
        border-left: none;
        padding-left: 0px;
    }

    .news-card a {
        font-size: 14px;
    }

    .footer-links {
        margin-top: 20px;
    }

    .offers-wrapper {
        flex-direction: column;
        align-items: start;
        padding: 20px;
    }

    .offers-img {
        display: none;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .offers-img img {
        max-height: 200px;
    }

    .offers-title {
        font-size: 30.512px;
    }

    .category-sidebar .accordion-button {
        margin: 0px;
    }

    .product-gallery .main-image {
        height: 300px;
        width: 100%;
    }

    .thumbs img {
        height: 100px;
    }

    .product-details {
        padding: 20px;
    }

    .product-details h3 {
        font-size: 25.847px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .min-w300 {
        min-width: auto;
    }

    .cart-quatity input,
    .cart-quatity .btn-outline-blue {
        width: 33% !important;
    }

    .img-container {
        width: 100px;
        height: 85px;
        padding: 10px;
    }

    .cart-product-detail {
        padding: 7px 10px;
    }

    .step-label {
        flex-direction: column;
        font-size: 12px;
    }

    .step-number {
        font-size: 12px;
        width: 25px;
        height: 25px;
    }

    .checkout-btns {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .item-img {
        width: 110px;
        height: 100px;
        padding: 10px;
    }

    .total-row {
        gap: 40px;
        padding-right: 0px;
        font-size: 18px;
    }

    .script-section .form-check {
        font-size: 12.127px;
        padding: 0px 20px 0px 49px;
    }

    .action-btns {
        flex-direction: column;
    }

    .custom-content {
        width: 100% !important;
    }


    .customModal .modal-content {
        border-radius: 25px;
        padding: 30px;
        border: none;
        justify-content: center;
        align-items: center;
    }

    .customModal .modal-body {
        padding: 0px 20px;
    }

    .border-right {
        border-right: none !important;
    }

    /* Mobile Responsive Product Dropdown */
    @media(max-width: 992px) {
        .main_menu>li>.sub_menu {
            width: 95vw !important;
            max-width: 95vw;
            left: 2.5vw !important;
            right: 2.5vw;
            margin: 0 auto;
        }
        
        .cats-custom {
            flex-direction: column;
            padding: 10px 0;
        }
        
        .category-tabs {
            border-right: none;
            border-bottom: 1px solid #60BEBE;
            margin-bottom: 15px;
            max-height: 200px;
            overflow-y: auto;
        }
        
        .category-tabs .nav-link {
            padding: 8px 12px;
            font-size: 12px;
        }
        
        .pro-drop-img {
            width: 28px;
            height: 20px;
        }
        
        .tab-content-area {
            padding: 0 10px;
            min-height: 200px;
        }
        
        .brand-list {
            gap: 4px 8px;
        }
        
        .brand-list a {
            font-size: 11px;
            padding: 3px 8px;
        }
        
        .top-selling-box {
            margin-top: 15px;
        }
        
        .top-item {
            margin-bottom: 10px;
        }
        
        .top-item img {
            width: 28px;
            height: 35px;
        }
    }

    @media(max-width: 767px) {
        .main_menu>li>.sub_menu {
            width: 98vw !important;
            max-width: 98vw;
            left: 1vw !important;
            right: 1vw;
            top: 60px !important;
        }
        
        .main_menu>li>.sub_menu.active {
            top: 55px !important;
        }
        
        .pro-drop-header {
            padding: 6px 10px;
        }
        
        .pro-drop-title {
            font-size: 12px;
        }
        
        .cats-custom {
            padding: 5px 0;
        }
        
        .category-tabs {
            max-height: 150px;
            margin-bottom: 10px;
        }
        
        .category-tabs .nav-link {
            padding: 6px 8px;
            font-size: 10px;
            gap: 6px;
        }
        
        .pro-drop-img {
            width: 24px;
            height: 18px;
        }
        
        .tab-content-area {
            padding: 0 8px;
        }
        
        .tab-content h5 {
            font-size: 12px;
            margin-bottom: 6px;
        }
        
        .tab-content p {
            font-size: 10px;
            line-height: 12px;
            margin-bottom: 8px;
        }
        
        .brand-list {
            gap: 3px 6px;
        }
        
        .brand-list a {
            font-size: 10px;
            padding: 2px 6px;
            line-height: 14px;
        }
        
        .top-selling-box {
            padding: 8px;
            margin-top: 10px;
        }
        
        .top-selling-box h6 {
            font-size: 11px;
            margin-bottom: 8px;
        }
        
        .top-item {
            margin-bottom: 8px;
        }
        
        .top-item img {
            width: 24px;
            height: 30px;
            margin-right: 6px;
        }
        
        .top-item .name {
            font-size: 10px;
            line-height: 12px;
        }
        
        .top-item span {
            font-size: 8px;
            line-height: 10px;
        }
    }

    @media(max-width: 480px) {
        .main_menu>li>.sub_menu {
            width: 100vw !important;
            left: 0 !important;
            right: 0 !important;
            border-radius: 0 !important;
        }
        
        .cats-custom {
            padding: 3px 0;
        }
        
        .category-tabs {
            max-height: 120px;
        }
        
        .category-tabs .nav-link {
            padding: 4px 6px;
            font-size: 9px;
            gap: 4px;
        }
        
        .pro-drop-img {
            width: 20px;
            height: 16px;
        }
        
        .tab-content-area {
            padding: 0 5px;
        }
        
        .brand-list {
            gap: 2px 4px;
        }
        
        .brand-list a {
            font-size: 9px;
            padding: 2px 4px;
        }
    }
    
    .main_menu>li>.sub_menu.active {
        top: 55px !important;
    }
    
    .pro-drop-header {
        padding: 6px 10px;
    }
    
    .pro-drop-title {
        font-size: 12px;
    }
    
    .cats-custom {
        padding: 5px 0;
    }
    
    .category-tabs {
        max-height: 150px;
        margin-bottom: 10px;
    }
    
    .category-tabs .nav-link {
        padding: 6px 8px;
        font-size: 10px;
        gap: 6px;
    }
    
    .pro-drop-img {
        width: 24px;
        height: 18px;
    }
    
    .tab-content-area {
        padding: 0 8px;
    }
    
    .tab-content h5 {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .tab-content p {
        font-size: 10px;
        line-height: 12px;
        margin-bottom: 8px;
    }
    
    .brand-list {
        gap: 3px 6px;
    }
    
    .brand-list a {
        font-size: 10px;
        padding: 2px 6px;
        line-height: 14px;
    }
    
    .top-selling-box {
        padding: 8px;
        margin-top: 10px;
    }
    
    .top-selling-box h6 {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .top-item {
        margin-bottom: 8px;
    }
    
    .top-item img {
        width: 24px;
        height: 30px;
        margin-right: 6px;
    }
    
    .top-item .name {
        font-size: 10px;
        line-height: 12px;
    }
    
    .top-item span {
        font-size: 8px;
        line-height: 10px;
    }
}

@media(max-width: 480px) {
    .main_menu>li>.sub_menu {
        width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
    }
    
    .cats-custom {
        padding: 3px 0;
    }
    
    .category-tabs {
        max-height: 120px;
    }
    
    .category-tabs .nav-link {
        padding: 4px 6px;
        font-size: 9px;
        gap: 4px;
    }
    
    .pro-drop-img {
        width: 20px;
        height: 16px;
    }
    
    .tab-content-area {
        padding: 0 5px;
    }
    
    .brand-list {
        gap: 2px 4px;
    }
    
    .brand-list a {
        font-size: 9px;
        padding: 2px 4px;
    }
    
    .top-selling-box {
        padding: 6px;
    }
    
    .top-item img {
        width: 20px;
        height: 25px;
    }
}