/* projeto mobile-first */

@charset "UTF-8";

@media (min-width: 768px) {
    .desktop-none {
        display: none;
    }

    .menu-toggle,
    .offcanvas-menu,
    .offcanvas-overlay {
        display: none !important;
    }
}

@media (max-width: 767px) {

    .img_grid {
        padding: 10px;
    }

    .mobile-none {
        display: none;
    }

    .slide-categorias {
        padding:  0 20px;
    }

    .bg-banner {
        display: block;

        position: relative;
    }

    .swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
        color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .padding-search {
        padding-left: 20px;
        padding-right: 20px;
    }

    .content_area {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 98%;
        text-align: center;
    }

    .content_area h1 {
        color: white;
        font-size: 30px;
        margin-bottom: 15px;
    }

    .content_area h2 {
        color: white;
        font-size: 20px;
     
    }

    .navbar {
        padding: 10px 20px;
    }

    /* Logo menor no mobile */
    figure img {
        max-height: 40px;
        width: auto;
    }

    /* Botão hamburger */
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: white;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .menu {
        display: none;
    }

    .navbar ul {
        display: block
    }

    .offcanvas-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .offcanvas-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .offcanvas-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 320px;
        height: 100vh;
        background: #d1cccc; 
        z-index: 1050;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 10px 0 0 10px;
    }

    .offcanvas-menu.active {
        right: 0;
    }


    .offcanvas-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        background: #c2c2c2; 
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .offcanvas-title {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        color: #333; 
    }

    .offcanvas-close {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
        padding: 5px;
        line-height: 1;
    }

    .offcanvas-close:hover {
        color: #000;
    }

    .offcanvas-body {
        padding: 0;
        min-height: calc(100vh - 80px);
    }

    .offcanvas-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
   
    .offcanvas-menu .offcanvas-body > ul > li > a {
        display: block;
        padding: 14px 20px; 
        color: #333; 
        text-decoration: none;
        font-size: 16px;
        transition: all 0.2s ease;
    }

    .offcanvas-menu .offcanvas-body > ul > li > a:hover {
        text-decoration: underline; 
        background: rgba(255, 255, 255, 0.2);
    }

    .offcanvas-menu .offcanvas-body > ul > li.active > a {
        background-color: white; 
        color: black; 
        font-weight: 600;
    }

    body.offcanvas-open {
        overflow: hidden;
    }

    .navbar a {
        margin: 0;
    }

    .footer-top {
        display: block;
        text-align: center;
    }

    .footer-brand{
        text-align: center;
    }

    .footer-middle {
        display: block;
        text-align: center;
    }

    .footer-about {
     max-width: 100%;
    }

    .footer-address {
        padding-top: 30px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-nav {
        justify-content: center;
        padding-top: 10px;
    }

    .grid-70-30 {
        grid-template-columns: 1fr; 
    }

    .v-modal__footer .btn-primary, .v-modal__footer .v-btn {
        font-size: 12px
    }
    
}
