:root{
    --vs-blue:#061d35;
    --vs-blue-2:#001b36;
    --vs-green:#16b43b;
    --vs-green-2:#0f8f2f;
    --vs-bg:#f3f7fa;
    --vs-text:#101828;
    --vs-muted:#667085;
    --vs-border:#e5e7eb;
    --vs-yellow:#fbbf24;
    --vs-red:#ef4444;
    --vs-shadow:0 16px 38px rgba(15,23,42,.10);
}

/* Categorias da home no formato premium do mockup.
   Escopo em .page-home porque o body do projeto nem sempre recebe home-page. */
.page-home .home-categories-showcase {
    margin: 10px 0 22px;
}

.page-home .home-categories-showcase .container {
    max-width: 1180px;
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 0;
}

.page-home .home-categories-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.page-home .home-categories-head h2 {
    margin: 0;
    color: #071a35;
    font-size: clamp(24px, 4vw, 34px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.page-home .home-categories-link {
    color: #0cb346;
    font-size: clamp(16px, 2.8vw, 22px);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.page-home .home-categories-link:hover {
    color: #078b34;
}

.page-home .home-categories-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding: 2px 2px 18px;
    scrollbar-width: none;
}

.page-home .home-categories-row::-webkit-scrollbar {
    display: none;
}

.page-home .home-category-card {
    flex: 0 0 150px;
    min-width: 150px;
    height: 150px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #071a35;
    scroll-snap-align: start;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.page-home .home-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(12, 179, 70, 0.32);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.page-home .home-category-card strong {
    max-width: 120px;
    color: #071a35;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.18;
    text-align: center;
}

.page-home .home-category-image {
    width: 72px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-home .home-category-image img {
    max-width: 72px;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.page-home .home-category-more-bubble {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, #19c854, #0ea13c);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 12px 26px rgba(22, 180, 59, 0.28);
}

@media (min-width: 992px) {
    .page-home .home-categories-showcase .container {
        width: min(1180px, calc(100% - 64px));
    }

    .page-home .home-categories-row {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 18px;
        overflow: visible;
        padding-bottom: 2px;
    }

    .page-home .home-category-card {
        min-width: 0;
        width: 100%;
        height: 158px;
    }
}

@media (max-width: 430px) {
    .page-home .home-category-card {
        flex-basis: 132px;
        min-width: 132px;
        height: 132px;
        border-radius: 18px;
    }

    .page-home .home-category-image,
    .page-home .home-category-image img {
        max-width: 58px;
        width: 58px;
        max-height: 52px;
        height: 52px;
    }

    .page-home .home-category-card strong {
        font-size: 14px;
    }
}

/* Categorias home - visual tipo app */
body.home-page .home-categories-showcase{
    padding:14px 0 24px !important;
}

body.home-page .home-categories-showcase .container{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 16px !important;
}

body.home-page .home-categories-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    margin:0 0 14px !important;
}

body.home-page .home-categories-head h2{
    margin:0 !important;
    color:#061d35 !important;
    font-size:24px !important;
    line-height:1.1 !important;
    font-weight:900 !important;
}

body.home-page .home-categories-link{
    color:#16a336 !important;
    font-size:16px !important;
    font-weight:900 !important;
    text-decoration:none !important;
    white-space:nowrap !important;
}

body.home-page .home-categories-row{
    display:flex !important;
    gap:14px !important;
    overflow-x:auto !important;
    padding:0 2px 10px !important;
    scroll-snap-type:x proximity !important;
    scrollbar-width:none !important;
}

body.home-page .home-categories-row::-webkit-scrollbar{
    display:none !important;
}

body.home-page .home-category-card{
    flex:0 0 150px !important;
    min-height:150px !important;
    border-radius:18px !important;
    background:#fff !important;
    border:1px solid rgba(226,232,240,.9) !important;
    box-shadow:0 14px 28px rgba(15,23,42,.08) !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:12px !important;
    text-decoration:none !important;
    color:#061d35 !important;
    text-align:center !important;
    scroll-snap-align:start !important;
    transition:transform .2s ease, box-shadow .2s ease !important;
}

body.home-page .home-category-card:hover{
    transform:translateY(-2px) !important;
    box-shadow:0 18px 36px rgba(15,23,42,.12) !important;
}

body.home-page .home-category-image{
    width:72px !important;
    height:72px !important;
    display:grid !important;
    place-items:center !important;
}

body.home-page .home-category-image img{
    max-width:72px !important;
    max-height:72px !important;
    object-fit:contain !important;
    display:block !important;
}

body.home-page .home-category-card strong{
    font-size:17px !important;
    font-weight:900 !important;
    line-height:1.15 !important;
    max-width:120px !important;
}

body.home-page .home-category-more-bubble{
    width:70px !important;
    height:70px !important;
    border-radius:50% !important;
    display:grid !important;
    place-items:center !important;
    background:#16b43b !important;
    color:#fff !important;
    font-size:32px !important;
    font-weight:900 !important;
    letter-spacing:2px !important;
}

@media (min-width: 992px){
    body.home-page .home-categories-showcase .container{
        padding-left:0 !important;
        padding-right:0 !important;
    }

    body.home-page .home-categories-row{
        display:grid !important;
        grid-template-columns:repeat(5,minmax(0,1fr)) !important;
        overflow:visible !important;
        padding-bottom:0 !important;
    }

    body.home-page .home-category-card{
        min-height:156px !important;
    }
}

@media (max-width: 430px){
    body.home-page .home-category-card{
        flex-basis:146px !important;
        min-height:142px !important;
    }

    body.home-page .home-category-card strong{
        font-size:16px !important;
    }
}

body{
    background:var(--vs-bg);
}

body.home-page{
    padding-bottom:92px;
}

.market-header{
    background:linear-gradient(135deg,var(--vs-blue-2),var(--vs-blue));
    box-shadow:0 18px 40px rgba(0,27,54,.18);
}

.header-top__inner{
    gap:18px;
}

.header-logo img{
    max-height:58px;
    width:auto;
    object-fit:contain;
}

.header-location-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:42px;
    padding:9px 14px;
    border-radius:16px;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-weight:800;
    white-space:nowrap;
}

.header-location-chip i{
    color:var(--vs-green);
}

.header-search-form{
    overflow:hidden;
    border-radius:22px;
    background:#fff;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 12px 26px rgba(0,0,0,.14);
}

.header-search-form input{
    min-height:56px;
    color:var(--vs-text);
}

.header-search-form .search-submit,
.mobile-search-form .search-submit{
    background:var(--vs-green);
    border-radius:18px;
    width:54px;
    height:46px;
    margin-right:5px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    transition:background .2s ease, transform .2s ease;
}

.header-search-form .search-submit:hover,
.mobile-search-form .search-submit:hover{
    background:var(--vs-green-2);
    transform:translateY(-1px);
}

.action-link.cart-link{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.20);
    color:#fff;
    width:54px;
    height:54px;
    border-radius:18px;
    position:relative;
}

.action-link.cart-link .cart-count,
.mobile-bottom-nav .cart-count{
    background:var(--vs-green);
    color:#fff;
    box-shadow:0 8px 20px rgba(22,180,59,.35);
}

.mobile-sidebar{
    background:#fff;
    border-radius:0 28px 28px 0;
    box-shadow:24px 0 60px rgba(0,27,54,.26);
}

.mobile-sidebar__brand{
    background:radial-gradient(circle at top left,rgba(34,197,94,.18),transparent 36%),linear-gradient(135deg,var(--vs-blue-2),var(--vs-blue));
    color:#fff;
}

.mobile-sidebar__link{
    border-radius:16px;
    color:var(--vs-blue);
    font-weight:850;
}

.mobile-sidebar__link:hover,
.mobile-sidebar__link.active{
    background:#ecfdf3;
    color:var(--vs-green-2);
}

.mobile-bottom-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:999;
    display:none;
    grid-template-columns:repeat(5,1fr);
    gap:2px;
    padding:9px 10px calc(9px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(16px);
    box-shadow:0 -12px 34px rgba(15,23,42,.14);
    border-radius:22px 22px 0 0;
}

.mobile-bottom-nav a,
.mobile-bottom-nav button{
    border:0;
    background:transparent;
    color:#475467;
    font-weight:800;
    font-size:11px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    min-height:48px;
    justify-content:center;
    text-decoration:none;
    border-radius:16px;
    position:relative;
}

.mobile-bottom-nav i{
    font-size:19px;
}

.mobile-bottom-nav a.active,
.mobile-bottom-nav button.active{
    color:var(--vs-green);
    background:#ecfdf3;
}

.page-home{
    background:linear-gradient(180deg,#eef5fb 0,#f7fafc 28%,#fff 100%);
    color:var(--vs-text);
    padding-bottom:34px;
}

.page-home .container{
    width:min(1180px,100%);
    padding-left:16px;
    padding-right:16px;
}

.home-local-hero{
    padding:26px 0 18px;
}

.home-local-hero__card{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    padding:28px;
    color:#fff;
    background:
        radial-gradient(circle at 78% 22%,rgba(34,197,94,.24),transparent 26%),
        linear-gradient(135deg,rgba(0,27,54,.98),rgba(6,29,53,.94));
    box-shadow:0 22px 58px rgba(0,27,54,.22);
}

.home-local-hero__card::after{
    content:"";
    position:absolute;
    inset:auto -28px -48px auto;
    width:220px;
    height:220px;
    border-radius:999px;
    background:rgba(22,180,59,.16);
    filter:blur(2px);
}

.home-local-hero__content{
    position:relative;
    z-index:1;
    max-width:680px;
}

.home-local-hero__kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
    padding:8px 12px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    color:#dfffea;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
    font-size:12px;
}

.home-local-hero h1{
    margin:0;
    color:#fff;
    font-weight:950;
    font-size:clamp(30px,6vw,56px);
    line-height:.98;
    letter-spacing:-.04em;
}

.home-local-hero h1 span{
    color:#24d05a;
}

.home-local-hero p{
    max-width:560px;
    margin:16px 0 0;
    color:#dbe7f2;
    font-size:clamp(15px,2.4vw,18px);
    line-height:1.55;
}

.home-local-hero__actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:22px;
}

.home-local-hero__btn{
    min-height:54px;
    padding:0 20px;
    border-radius:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:linear-gradient(135deg,var(--vs-green),#22c55e);
    color:#fff;
    font-weight:950;
    text-decoration:none;
    box-shadow:0 14px 28px rgba(22,180,59,.28);
}

.home-local-hero__link{
    min-height:54px;
    padding:0 18px;
    border-radius:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    font-weight:850;
    text-decoration:none;
}

.home-trust-strip{
    margin-top:16px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.home-trust-item{
    background:#fff;
    border:1px solid rgba(226,232,240,.85);
    border-radius:18px;
    padding:15px;
    display:flex;
    align-items:flex-start;
    gap:12px;
    box-shadow:0 10px 26px rgba(15,23,42,.07);
}

.home-trust-icon{
    width:42px;
    height:42px;
    border-radius:15px;
    background:#eaffef;
    color:var(--vs-green);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    flex:0 0 auto;
}

.home-trust-item strong{
    display:block;
    color:var(--vs-text);
    font-weight:950;
}

.home-trust-item span{
    color:var(--vs-muted);
    font-size:13px;
}

.home-sponsored-section,
.category-strip,
.product-section,
.home-stores-highlight{
    padding:18px 0;
}

.section-header,
.category-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:14px;
    margin-bottom:14px;
}

.section-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:14px;
    flex-wrap:wrap;
}

.section-title,
.category-title{
    margin:0;
    color:var(--vs-text);
    font-weight:950;
    letter-spacing:-.03em;
}

.section-subtitle,
.category-subtitle{
    margin:4px 0 0;
    color:var(--vs-muted);
}

.section-link{
    color:var(--vs-green-2);
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
}

.home-sponsored-frame{
    border-radius:24px;
    overflow:hidden;
    background:#fff;
    border:1px solid rgba(226,232,240,.8);
    box-shadow:var(--vs-shadow);
}

.home-sponsored-slide img,
.home-sponsored-image img{
    width:100%;
    height:100%;
    object-fit:contain;
    background:#fff;
}

.home-sponsored-slide{
    min-height:260px;
    background:#fff;
}

.category-strip .pill-row{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding:4px 16px 10px;
    scroll-snap-type:x proximity;
    margin-left:-16px;
    margin-right:-16px;
}

.category-strip .pill-row::-webkit-scrollbar,
.page-home #listar_produtos.product-grid::-webkit-scrollbar,
.home-stores-row::-webkit-scrollbar{
    display:none;
}

.category-chip{
    flex:0 0 148px;
    min-height:122px;
    border-radius:20px;
    background:#fff;
    border:1px solid rgba(226,232,240,.86);
    box-shadow:0 10px 26px rgba(15,23,42,.08);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
    color:var(--vs-text);
    font-weight:900;
    text-decoration:none;
    scroll-snap-align:start;
}

.category-chip img{
    width:48px;
    height:48px;
    object-fit:contain;
}

.product-section .tab-chip{
    border-radius:16px;
    border:1px solid var(--vs-border);
    background:#fff;
    color:var(--vs-blue);
    font-weight:900;
}

.product-section .tab-chip.active{
    background:var(--vs-blue);
    color:#fff;
    border-color:var(--vs-blue);
}

.page-home #listar_produtos.product-grid{
    align-items:stretch;
}

.page-home .product-card{
    background:#fff;
    border-radius:20px !important;
    overflow:hidden;
    border:1px solid rgba(226,232,240,.86) !important;
    box-shadow:0 12px 30px rgba(15,23,42,.09);
}

.page-home .product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 20px 42px rgba(15,23,42,.14);
}

.page-home .card-image{
    background:#f8fafc;
    padding-top:86% !important;
}

.page-home .card-image img{
    object-fit:contain !important;
    padding:8px;
    background:#f8fafc;
}

.page-home .favorite-btn{
    background:#fff;
    box-shadow:0 8px 18px rgba(15,23,42,.10);
}

.page-home .card-body{
    padding:12px !important;
    gap:8px !important;
}

.page-home .card-title{
    color:var(--vs-text);
    font-size:15px !important;
    line-height:1.25 !important;
    min-height:38px;
    font-weight:900 !important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-transform:none !important;
}

.page-home .card-store{
    min-height:22px;
    margin-bottom:6px;
}

.page-home .meta-pill{
    display:inline-flex;
    align-items:center;
    gap:5px;
    max-width:100%;
    color:var(--vs-muted);
    font-size:12px;
    line-height:1.2;
}

.page-home .meta-pill a{
    color:var(--vs-muted);
    text-decoration:none;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.page-home .price-new{
    color:var(--vs-green) !important;
    font-size:18px !important;
    font-weight:950 !important;
}

.page-home .price-old{
    color:#98a2b3 !important;
}

.page-home .card-rating{
    color:var(--vs-yellow);
}

.page-home .local-fomo-badge{
    background:#ecfdf3;
    color:#087d2d;
}

.page-home .card-button{
    background:var(--vs-green) !important;
    color:#fff !important;
    border-radius:14px !important;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px !important;
    font-weight:950 !important;
}

.page-home .sale-badge,
.page-home .product-card .card-image .sale-badge{
    background:var(--vs-green) !important;
    color:#fff !important;
    border-radius:999px !important;
    font-weight:950 !important;
}

.home-stores-row{
    display:flex;
    gap:14px;
    overflow-x:auto;
    padding:4px 16px 10px;
    margin-left:-16px;
    margin-right:-16px;
    scroll-snap-type:x proximity;
}

.home-store-card{
    flex:0 0 260px;
    scroll-snap-align:start;
    background:#fff;
    border:1px solid rgba(226,232,240,.86);
    border-radius:22px;
    padding:16px;
    box-shadow:0 12px 30px rgba(15,23,42,.09);
    color:var(--vs-text);
    text-decoration:none;
    display:grid;
    grid-template-columns:70px 1fr;
    gap:14px;
    align-items:center;
}

.home-store-card img{
    width:70px;
    height:70px;
    border-radius:18px;
    object-fit:cover;
    background:#eef2f7;
}

.home-store-card h3{
    margin:0;
    color:var(--vs-text);
    font-size:16px;
    line-height:1.2;
    font-weight:950;
}

.home-store-card p{
    margin:5px 0 0;
    color:var(--vs-muted);
    font-size:13px;
}

.home-store-badge{
    margin-top:8px;
    display:inline-flex;
    align-items:center;
    gap:5px;
    border-radius:999px;
    padding:6px 8px;
    background:#ecfdf3;
    color:#087d2d;
    font-size:12px;
    font-weight:900;
}

.home-footer-note{
    margin:8px 0 0;
    padding:18px;
    border-radius:22px;
    background:linear-gradient(135deg,#eaffef,#f8fafc);
    border:1px solid rgba(22,180,59,.12);
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.home-footer-note span{
    display:flex;
    gap:10px;
    align-items:center;
    color:var(--vs-blue);
    font-weight:900;
}

.home-footer-note i{
    color:var(--vs-green);
    font-size:20px;
}

@media (max-width: 767px){
    .mobile-bottom-nav{
        display:grid;
    }

    .market-header .header-top__inner{
        grid-template-columns:54px 1fr 54px;
        align-items:center;
        padding:14px 16px 10px;
    }

    .market-header .menu-toggle,
    .market-header .mobile-menu-toggle{
        width:54px;
        height:54px;
        border-radius:18px;
        border:1px solid rgba(255,255,255,.24);
        background:rgba(255,255,255,.08);
        color:#fff;
    }

    .header-logo{
        justify-content:center;
    }

    .header-logo img{
        max-height:48px;
    }

    .header-location-chip{
        display:none;
    }

    .mobile-search-row{
        padding:8px 16px 18px;
    }

    .mobile-search-form{
        min-height:60px;
        border-radius:22px;
        background:#fff;
        box-shadow:0 12px 28px rgba(0,27,54,.18);
    }

    .mobile-search-form input{
        min-height:58px;
        font-size:16px;
    }

    .page-home .container{
        padding-left:16px;
        padding-right:16px;
    }

    .home-local-hero{
        padding-top:16px;
    }

    .home-local-hero__card{
        padding:24px 20px;
        border-radius:26px;
    }

    .home-local-hero__btn,
    .home-local-hero__link{
        width:100%;
    }

    .home-trust-strip{
        display:flex;
        overflow-x:auto;
        gap:12px;
        margin-left:-16px;
        margin-right:-16px;
        padding:2px 16px 10px;
    }

    .home-trust-strip::-webkit-scrollbar{
        display:none;
    }

    .home-trust-item{
        flex:0 0 236px;
    }

    .home-sponsored-slide{
        min-height:220px;
    }

    .home-sponsored-frame{
        border-radius:22px;
    }

    .section-header,
    .category-header{
        align-items:center;
    }

    .section-actions{
        gap:10px;
    }

    .section-subtitle,
    .category-subtitle{
        display:none;
    }

    .page-home #listar_produtos.product-grid{
        display:flex !important;
        grid-template-columns:none !important;
        overflow-x:auto !important;
        gap:14px !important;
        padding:4px 16px 12px !important;
        margin-left:-16px !important;
        margin-right:-16px !important;
        scroll-snap-type:x proximity;
    }

    .page-home #listar_produtos.product-grid .product-card{
        flex:0 0 178px !important;
        width:178px !important;
        scroll-snap-align:start;
    }

    .page-home .product-card .card-image{
        padding-top:92% !important;
    }

    .page-home .product-urgency-row{
        display:flex !important;
    }

    .page-home .card-button{
        font-size:12px !important;
    }

    .home-footer-note{
        grid-template-columns:1fr;
        margin-bottom:12px;
    }
}

@media (min-width: 768px){
    .page-home #listar_produtos.product-grid{
        display:grid !important;
        grid-template-columns:repeat(auto-fill,minmax(190px,1fr)) !important;
        gap:18px !important;
    }

    .home-stores-row{
        display:grid;
        grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
        overflow:visible;
        padding-left:0;
        padding-right:0;
        margin-left:0;
        margin-right:0;
    }

    .home-store-card{
        flex:auto;
    }
}

/* ===== Ajuste final da home inspirado no mockup mobile premium ===== */
body.home-page{
    background:#f3f7fa !important;
}

body.home-page .page-home{
    background:linear-gradient(180deg,#eef5fb 0%,#f7fafc 42%,#fff 100%) !important;
    padding-top:0 !important;
}

body.home-page .home-local-hero .home-trust-strip{
    display:none !important;
}

body.home-page .home-local-hero__kicker{
    display:none !important;
}

body.home-page .home-local-hero__card{
    position:relative;
    overflow:hidden;
    min-height:374px;
    background:
        linear-gradient(90deg,rgba(0,27,54,.98) 0%,rgba(0,27,54,.9) 42%,rgba(0,27,54,.36) 100%),
        radial-gradient(circle at 82% 28%,rgba(46,204,113,.28),transparent 36%),
        linear-gradient(135deg,#001b36,#073253) !important;
    box-shadow:0 24px 48px rgba(0,27,54,.22) !important;
}

body.home-page .home-local-hero__card::after{
    content:"";
    position:absolute;
    inset:0;
    opacity:.32;
    background:
        radial-gradient(circle at 75% 34%,rgba(255,255,255,.45) 0 4px,transparent 5px),
        linear-gradient(135deg,transparent 48%,rgba(255,255,255,.12) 49%,transparent 52%);
    pointer-events:none;
}

body.home-page .home-local-hero__card > *{
    position:relative;
    z-index:1;
}

body.home-page .home-local-hero__card h1{
    max-width:560px;
    margin:0 0 8px !important;
    color:#fff !important;
    font-weight:950 !important;
    letter-spacing:-1.4px;
}

body.home-page .home-local-hero__card h1 span{
    color:#22c55e !important;
}

body.home-page .home-local-hero__lead{
    max-width:520px;
    margin:0 0 24px !important;
    color:rgba(255,255,255,.95) !important;
    font-weight:700;
}

body.home-page .home-hero-benefits{
    display:flex;
    align-items:center;
    gap:18px;
    margin:0 0 28px;
    color:#fff;
}

body.home-page .home-hero-benefits span{
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-width:112px;
    font-weight:900;
    line-height:1.05;
}

body.home-page .home-hero-benefits span + span{
    border-left:1px solid rgba(255,255,255,.24);
    padding-left:18px;
}

body.home-page .home-hero-benefits i{
    width:44px;
    height:44px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#14b83e,#22c55e);
    box-shadow:0 8px 20px rgba(34,197,94,.32);
    font-size:20px;
}

body.home-page .home-local-hero__actions{
    align-items:center;
}

body.home-page .home-local-hero__btn{
    max-width:440px;
    justify-content:center;
    background:linear-gradient(135deg,#16b43b,#22c55e) !important;
    box-shadow:0 16px 30px rgba(22,180,59,.25) !important;
}

body.home-page .home-local-hero__link{
    display:none !important;
}

body.home-page .section-tabs,
body.home-page .card-store,
body.home-page .product-urgency-row{
    display:none !important;
}

body.home-page .product-card .card-image{
    position:relative !important;
}

body.home-page .favorite-btn{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    position:absolute !important;
    top:10px !important;
    right:10px !important;
    width:38px !important;
    height:38px !important;
    border:0 !important;
    border-radius:999px !important;
    background:#fff !important;
    color:#e11d48 !important;
    box-shadow:0 10px 24px rgba(15,23,42,.18) !important;
    z-index:12 !important;
}

body.home-page .favorite-btn.is-active{
    background:#fff1f2 !important;
}

body.home-page .card-retire-badge{
    position:absolute;
    left:12px;
    bottom:12px;
    z-index:3;
    margin:0;
    padding:7px 11px;
    background:#ecfdf3;
    color:#087d2d;
    border-radius:999px;
    font-size:12px;
    font-weight:900;
    box-shadow:0 8px 18px rgba(15,23,42,.08);
}

body.home-page .product-card .card-image img{
    object-fit:contain !important;
    background:#f8fafc !important;
}

body.home-page .card-title{
    text-transform:none !important;
}

body.home-page .card-button{
    background:#16b43b !important;
    border-color:#16b43b !important;
}

body.home-page .card-button:hover{
    background:#0f8f2f !important;
}

@media (max-width: 767px){
    body.home-page{
        padding-bottom:96px !important;
    }

    body.home-page .market-header{
        padding:18px 0 22px !important;
        background:linear-gradient(135deg,#001b36,#06213f) !important;
        border-radius:0 !important;
    }

    body.home-page .market-header .header-top__inner{
        display:grid !important;
        grid-template-columns:minmax(0,1fr) auto 56px !important;
        column-gap:14px;
        padding:0 34px 16px !important;
        align-items:center !important;
    }

    body.home-page .market-header .mobile-menu-toggle{
        display:none !important;
    }

    body.home-page .header-logo{
        justify-content:flex-start !important;
        min-width:0;
    }

    body.home-page .header-logo img{
        width:210px !important;
        max-width:100% !important;
        max-height:74px !important;
        object-fit:contain;
    }

    body.home-page .header-location-chip.desktop-only{
        display:inline-flex !important;
        align-items:center;
        justify-content:center;
        gap:8px;
        min-height:58px;
        padding:0 18px;
        border-radius:22px;
        background:rgba(255,255,255,.09);
        color:#fff;
        font-size:18px;
        font-weight:900;
        white-space:nowrap;
    }

    body.home-page .header-location-chip i{
        color:#dbeafe;
    }

    body.home-page .header-actions{
        justify-content:flex-end !important;
    }

    body.home-page .action-link.cart-link{
        position:relative;
        width:54px !important;
        height:54px !important;
        min-width:54px !important;
        border:0 !important;
        border-radius:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        color:#fff !important;
        padding:0 !important;
        font-size:32px !important;
    }

    body.home-page .action-link.cart-link i{
        font-size:34px !important;
        color:#fff !important;
    }

    body.home-page .cart-count{
        position:absolute !important;
        top:-8px !important;
        right:-8px !important;
        min-width:28px !important;
        height:28px !important;
        border-radius:50% !important;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        background:#22c55e !important;
        color:#fff !important;
        font-size:14px !important;
        font-weight:950 !important;
        box-shadow:0 6px 14px rgba(34,197,94,.35);
    }

    body.home-page .header-mid.visible-xs,
    body.home-page .header-mid.visible-sm{
        display:block !important;
    }

    body.home-page .header-mid{
        padding:0 !important;
    }

    body.home-page .header-mid .container{
        padding-left:34px !important;
        padding-right:34px !important;
    }

    body.home-page .header-mid .header-search-form{
        min-height:72px !important;
        height:72px !important;
        border-radius:18px !important;
        background:#fff !important;
        border:2px solid rgba(255,255,255,.86) !important;
        box-shadow:0 18px 36px rgba(0,27,54,.22) !important;
        overflow:hidden;
        padding-left:22px !important;
    }

    body.home-page .header-mid .header-search-form > i{
        color:#667085 !important;
        font-size:27px !important;
    }

    body.home-page .header-mid .header-search-form input{
        min-height:68px !important;
        font-size:22px !important;
        font-weight:700 !important;
        color:#101828 !important;
    }

    body.home-page .header-mid .header-search-form button{
        width:76px !important;
        height:64px !important;
        margin-right:4px !important;
        border-radius:14px !important;
        background:#16b43b !important;
        color:#fff !important;
        font-size:30px !important;
    }

    body.home-page .header-nav{
        display:none !important;
    }

    body.home-page .home-local-hero{
        padding:28px 0 14px !important;
    }

    body.home-page .home-local-hero__card{
        min-height:394px;
        padding:42px 36px 28px !important;
        border-radius:28px !important;
    }

    body.home-page .home-local-hero__card h1{
        font-size:43px !important;
        line-height:1.03 !important;
    }

    body.home-page .home-local-hero__lead{
        font-size:26px !important;
        line-height:1.25 !important;
        margin-bottom:26px !important;
    }

    body.home-page .home-hero-benefits{
        gap:14px;
        margin-bottom:30px;
    }

    body.home-page .home-hero-benefits span{
        min-width:auto;
        font-size:18px;
    }

    body.home-page .home-hero-benefits span + span{
        padding-left:14px;
    }

    body.home-page .home-local-hero__btn{
        height:66px !important;
        border-radius:14px !important;
        font-size:20px !important;
        max-width:440px;
    }

    body.home-page .category-section,
    body.home-page .offers-section,
    body.home-page .home-stores-highlight{
        padding-top:16px !important;
    }

    body.home-page .category-title,
    body.home-page .section-title{
        font-size:28px !important;
        line-height:1.1;
    }

    body.home-page .section-link{
        font-size:18px !important;
        font-weight:900 !important;
        color:#16a336 !important;
    }

    body.home-page .pill-row{
        gap:14px !important;
        padding-bottom:10px !important;
    }

    body.home-page .category-chip{
        flex:0 0 160px !important;
        height:150px !important;
        border-radius:18px !important;
        font-size:18px !important;
        box-shadow:0 14px 30px rgba(15,23,42,.08) !important;
    }

    body.home-page .category-chip img{
        width:62px !important;
        height:62px !important;
        object-fit:contain !important;
    }

    .page-home #listar_produtos.product-grid .product-card{
        flex:0 0 244px !important;
        width:244px !important;
        border-radius:20px !important;
    }

    .page-home .product-card .card-image{
        padding-top:72% !important;
        border-radius:20px 20px 0 0 !important;
    }

    .page-home .card-body{
        padding:14px !important;
        gap:9px !important;
    }

    .page-home .card-title{
        min-height:44px;
        font-size:18px !important;
        line-height:1.22 !important;
    }

    .page-home .price-new{
        font-size:21px !important;
    }

    .page-home .card-button{
        height:48px !important;
        border-radius:13px !important;
        font-size:15px !important;
    }

    body.home-page .home-store-card{
        flex:0 0 312px !important;
        min-height:132px;
        border-radius:22px !important;
        padding:16px !important;
        align-items:center;
    }

    body.home-page .home-store-card img{
        width:92px !important;
        height:92px !important;
        border-radius:18px !important;
    }

    body.home-page .home-store-card strong{
        display:none;
    }

    body.home-page .home-footer-note{
        display:grid !important;
        grid-template-columns:1fr 1fr 1fr;
        gap:0;
        margin:20px 0 6px !important;
        padding:18px 14px !important;
        border-radius:20px !important;
    }

    body.home-page .home-footer-note span{
        justify-content:center;
        text-align:left;
        font-size:13px;
        line-height:1.2;
    }

    body.home-page .home-footer-note span + span{
        border-left:1px solid rgba(15,23,42,.1);
        padding-left:10px;
    }

    body.home-page #footer,
    body.home-page footer{
        display:none !important;
    }

    body.home-page .mobile-bottom-nav{
        height:84px !important;
        border-radius:22px 22px 0 0 !important;
        padding:8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
        box-shadow:0 -16px 34px rgba(15,23,42,.16) !important;
    }

    body.home-page .mobile-bottom-nav a,
    body.home-page .mobile-bottom-nav button{
        border-radius:18px !important;
        font-size:12px !important;
        font-weight:800 !important;
    }

    body.home-page .mobile-bottom-nav .is-active{
        background:linear-gradient(135deg,#e8fff0,#f7fffb) !important;
        color:#16a336 !important;
    }
}

/* Correção definitiva da vitrine de categorias da home.
   Mantém a seção compacta, horizontal no mobile e sem imagens estouradas. */
.home-categories-showcase,
.category-strip.home-categories-showcase {
    margin: 10px 0 24px !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
}

.home-categories-showcase > .container {
    width: min(100%, 1180px) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
    overflow: visible !important;
}

.home-categories-showcase .home-categories-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}

.home-categories-showcase .home-categories-head h2 {
    margin: 0 !important;
    color: #061d35 !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
}

.home-categories-showcase .home-categories-link {
    color: #16b43b !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.home-categories-showcase .home-categories-row {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.home-categories-showcase .home-category-card {
    position: relative !important;
    width: auto !important;
    min-width: 0 !important;
    height: 150px !important;
    min-height: 150px !important;
    padding: 16px 10px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #fff !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    text-decoration: none !important;
    overflow: hidden !important;
}

.home-categories-showcase .home-category-image {
    width: 76px !important;
    height: 76px !important;
    max-width: 76px !important;
    max-height: 76px !important;
    flex: 0 0 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
}

.home-categories-showcase .home-category-image img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 72px !important;
    max-height: 72px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.home-categories-showcase .home-category-card strong {
    display: -webkit-box !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: #061d35 !important;
    font-size: 15px !important;
    line-height: 1.16 !important;
    font-weight: 900 !important;
    text-align: center !important;
    letter-spacing: -0.02em !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.home-categories-showcase .home-category-more-bubble {
    width: 58px !important;
    height: 58px !important;
    border-radius: 999px !important;
    background: #16b43b !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    box-shadow: 0 12px 22px rgba(22, 180, 59, 0.25) !important;
}

@media (max-width: 767px) {
    .home-categories-showcase {
        margin: 8px 0 22px !important;
    }

    .home-categories-showcase > .container {
        padding: 0 20px !important;
    }

    .home-categories-showcase .home-categories-head h2 {
        font-size: 22px !important;
    }

    .home-categories-showcase .home-categories-link {
        font-size: 14px !important;
    }

    .home-categories-showcase .home-categories-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 12px !important;
        padding: 0 2px 10px !important;
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .home-categories-showcase .home-categories-row::-webkit-scrollbar {
        display: none !important;
    }

    .home-categories-showcase .home-category-card {
        flex: 0 0 128px !important;
        width: 128px !important;
        height: 132px !important;
        min-height: 132px !important;
        padding: 12px 8px !important;
        border-radius: 18px !important;
        scroll-snap-align: start !important;
    }

    .home-categories-showcase .home-category-image {
        width: 58px !important;
        height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
        flex-basis: 58px !important;
    }

    .home-categories-showcase .home-category-image img {
        max-width: 56px !important;
        max-height: 56px !important;
    }

    .home-categories-showcase .home-category-card strong {
        font-size: 14px !important;
        line-height: 1.15 !important;
    }

    .home-categories-showcase .home-category-more-bubble {
        width: 52px !important;
        height: 52px !important;
        font-size: 22px !important;
    }
}

@media (max-width: 430px) {
    .home-categories-showcase > .container {
        padding: 0 16px !important;
    }

    .home-categories-showcase .home-category-card {
        flex-basis: 118px !important;
        width: 118px !important;
        height: 124px !important;
        min-height: 124px !important;
    }

    .home-categories-showcase .home-category-image {
        width: 52px !important;
        height: 52px !important;
        flex-basis: 52px !important;
    }

    .home-categories-showcase .home-category-image img {
        max-width: 50px !important;
        max-height: 50px !important;
    }
}

/* Faixa de categorias da home v2: isolada para vencer estilos antigos sem afetar outras paginas. */
.vs-home-categories-v2 {
    margin: 18px 0 24px !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
}

.vs-home-categories-v2__container {
    width: min(1180px, calc(100% - 32px)) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.vs-home-categories-v2__head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin: 0 0 12px !important;
}

.vs-home-categories-v2__head h2 {
    margin: 0 !important;
    color: #061d35 !important;
    font-size: clamp(20px, 5vw, 28px) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
}

.vs-home-categories-v2__all {
    color: #16b43b !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.vs-home-categories-v2__rail {
    display: flex !important;
    align-items: stretch !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 2px 2px 8px !important;
    scrollbar-width: none !important;
}

.vs-home-categories-v2__rail::-webkit-scrollbar {
    display: none !important;
}

.vs-home-categories-v2__card {
    position: relative !important;
    flex: 0 0 132px !important;
    width: 132px !important;
    min-width: 132px !important;
    height: 132px !important;
    max-height: 132px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 14px 10px !important;
    background: #fff !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
    color: #061d35 !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
    overflow: hidden !important;
}

.vs-home-categories-v2__image {
    flex: 0 0 62px !important;
    width: 66px !important;
    height: 62px !important;
    max-width: 66px !important;
    max-height: 62px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.vs-home-categories-v2__image img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 66px !important;
    max-height: 62px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
}

.vs-home-categories-v2__card strong {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #061d35 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.18 !important;
    text-align: center !important;
    word-break: normal !important;
}

.vs-home-categories-v2__more-dot {
    flex: 0 0 56px !important;
    width: 56px !important;
    height: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #16b43b, #22c55e) !important;
    color: #fff !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
}

@media (max-width: 767px) {
    .vs-home-categories-v2 {
        margin: 16px 0 22px !important;
    }

    .vs-home-categories-v2__container {
        width: calc(100% - 24px) !important;
        padding: 18px 14px 16px !important;
        background: #fff !important;
        border: 1px solid rgba(226, 232, 240, 0.85) !important;
        border-radius: 22px !important;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
    }

    .vs-home-categories-v2__head {
        margin-bottom: 14px !important;
    }

    .vs-home-categories-v2__head h2 {
        font-size: 22px !important;
    }

    .vs-home-categories-v2__all {
        font-size: 14px !important;
    }

    .vs-home-categories-v2__rail {
        gap: 12px !important;
        margin: 0 -4px !important;
        padding: 1px 4px 4px !important;
    }

    .vs-home-categories-v2__card {
        flex-basis: 124px !important;
        width: 124px !important;
        min-width: 124px !important;
        height: 124px !important;
        max-height: 124px !important;
        border-radius: 18px !important;
        padding: 12px 8px !important;
        gap: 9px !important;
    }

    .vs-home-categories-v2__image {
        flex-basis: 58px !important;
        width: 62px !important;
        height: 58px !important;
        max-width: 62px !important;
        max-height: 58px !important;
    }

    .vs-home-categories-v2__image img {
        max-width: 62px !important;
        max-height: 58px !important;
    }

    .vs-home-categories-v2__card strong {
        font-size: 14px !important;
    }

    .vs-home-categories-v2__more-dot {
        width: 52px !important;
        height: 52px !important;
        flex-basis: 52px !important;
    }
}

@media (min-width: 768px) {
    .vs-home-categories-v2__rail {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    .vs-home-categories-v2__card {
        width: 100% !important;
        min-width: 0 !important;
        height: 150px !important;
        max-height: 150px !important;
    }

    .vs-home-categories-v2__image,
    .vs-home-categories-v2__image img {
        max-width: 78px !important;
        max-height: 72px !important;
    }
}
