
/*
|--------------------------------------------------------------------------
| HOME EXPERIENCE V4
|--------------------------------------------------------------------------
*/

.hero-section{

    position: relative;

    isolation: isolate;

    width: 100%;

    min-height: 34vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    padding:
        48px
        24px
        24px;

    border-radius: 0 0 42px 42px;

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

}

.hero-section::before{

    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.05),
            rgba(0,0,0,.50)
        ),
        radial-gradient(
            circle at top,
            rgba(255,180,80,.10),
            transparent 42%
        );

    pointer-events: none;
}

.hero-content{

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1200px;

    text-align: center;
}

.hero-title{

    font-size: clamp(
        3.4rem,
        8vw,
        6.2rem
    );

    line-height: .88;

    letter-spacing: -.08em;

    font-weight: 900;

    margin-bottom: 20px;

    text-wrap: balance;

    text-shadow:
        0 12px 40px rgba(0,0,0,.35);
}

.hero-subtitle{

    max-width: 720px;

    margin:
        0 auto
        30px;

    font-size: 1.1rem;

    line-height: 1.7;

    color:var(--text-soft);
}

.hero-pills{

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-bottom: 28px;
}

.hero-pills span{

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 38px;

    padding: 0 14px;

    border-radius: var(--radius-pill);

    background:
        rgba(255,255,255,.05);

    border:
        1px solid var(--border-glass);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    font-size: .82rem;

    font-weight: 700;

    color:var(--text-primary);
}

.hero-search{

    position: relative;

    max-width: 760px;

    margin: 0 auto;
}

.hero-search input{

    width: 100%;

    height: 72px;

    padding:
        0 28px;

    border-radius: var(--radius-lg);

    border:
        1px solid var(--border-glass-strong);

    background:
        rgba(15,15,15,.78);

    backdrop-filter: blur(28px);

    -webkit-backdrop-filter: blur(28px);

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

    font-size: 1.05rem;

    font-weight: 600;

    letter-spacing: -.02em;

    color: var(--text-primary);

    transition: var(--transition-fast);
}

.hero-search input::placeholder{

    color:var(--text-dim);
}

.hero-search input:focus{

    outline: none;

    border-color:var(--border-hover);

    transform:
        translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| SECTIONS
|--------------------------------------------------------------------------
*/

.categories-section,
.shops-section{

    width: 100%;

    max-width: 1500px;

    margin:
        58px auto 0;

    padding: 0 32px;
}

.section-header{

    margin-bottom: 26px;
}

.section-header h2{

    font-size: clamp(
        2rem,
        5vw,
        3rem
    );

    font-weight: 900;

    letter-spacing: -.05em;
}

/*
|--------------------------------------------------------------------------
| CATEGORIES
|--------------------------------------------------------------------------
*/

.categories-grid{

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(180px,1fr));

    gap: 18px;
}

.category-card{

    position: relative;

    min-height: 180px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 14px;

    padding: 24px;

    border-radius: 34px;

    overflow: hidden;

    cursor: pointer;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.02)
        );

    border:
        1px solid var(--border-glass);

    backdrop-filter: blur(20px);

    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}

.category-card::before{

    content: '';

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at top,
            rgba(255,255,255,.08),
            transparent 60%
        );

    opacity: 0;

    transition: .22s ease;
}

.category-card:hover{

    transform:
        translateY(-6px);

    border-color:var(--border-hover);

    box-shadow:
        0 25px 50px rgba(0,0,0,.22);
}

.category-card:hover::before{

    opacity: 1;
}

.category-card i{

    font-size: 2.2rem;

    color: var(--text-primary);
}

.category-card span{

    font-size: 1.15rem;

    font-weight: 800;

    letter-spacing: -.03em;
}

.category-card small{

    color:var(--text-faded);

    font-size: .92rem;
}

/*
|--------------------------------------------------------------------------
| MAP BUTTON
|--------------------------------------------------------------------------
*/

.home-map-trigger{

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 56px;

    margin-bottom: 10px;
}

.home-map-btn{

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    min-height: 68px;

    padding: 0 34px;

    border: none;

    border-radius: var(--radius-pill);

    background:var(--brand-primary);

    color:var(--text-primary);

    font-size: 1.02rem;

    font-weight: 800;

    box-shadow:
        var(--shadow-lg);

    cursor: pointer;

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.home-map-btn:hover{

    transform:
        translateY(-3px);

    box-shadow:
        0 24px 60px rgba(0,0,0,.42);
}

/*
|--------------------------------------------------------------------------
| HIGHLIGHTS
|--------------------------------------------------------------------------
*/

.shops-highlight-row{

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 18px;

    margin-bottom: 34px;
}

.shops-highlight-card{

    min-height: 130px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 12px;

    padding: 28px;

    border-radius: 34px;

    background:
        linear-gradient(
            180deg,
            var(--glass-6),
            var(--glass-4)
        );

    border:
        1px solid var(--border-glass);

    backdrop-filter: blur(20px);
}

.shops-highlight-card strong{

    font-size: 2.2rem;

    font-weight: 900;

    letter-spacing: -.05em;
}

.shops-highlight-card span{

    color:var(--text-faded);

    font-size: 1rem;
}

/*
|--------------------------------------------------------------------------
| SHOPS
|--------------------------------------------------------------------------
*/

.shops-grid{

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(320px,1fr));

    gap: 24px;
}

.shop-card{

    display: flex;

    flex-direction: column;

    border-radius: 36px;

    overflow: hidden;

    text-decoration: none;

    background:var(--bg-card);

    border:
        1px solid var(--border-glass);

    transition:
        transform .24s ease,
        border-color .24s ease,
        box-shadow .24s ease;
}

.shop-card:hover{

    transform:
        translateY(-6px);

    border-color:var(--border-hover);

    box-shadow:
        0 30px 60px rgba(0,0,0,.35);
}

.shop-cover{

    position: relative;

    width: 100%;

    height: 260px;

    overflow: hidden;
}

.shop-cover img{

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform .35s ease;
}

.shop-card:hover .shop-cover img{

    transform: scale(1.04);
}

.shop-cover::after{

    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.92),
            rgba(0,0,0,.15),
            transparent
        );
}

.shop-content{

    display: flex;

    flex-direction: column;

    gap: 10px;

    padding: 28px;
}

.shop-content h3{

    font-size: 1.5rem;

    font-weight: 800;

    letter-spacing: -.03em;

    color: var(--text-primary);
}

.shop-content p{

    line-height: 1.6;

    color:var(--text-faded);
}

.shop-meta{

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;

    margin-top: 20px;
}

.shop-status{

    display: inline-flex;

    align-items: center;

    gap: 10px;

    min-height: 42px;

    padding: 0 16px;

    border-radius: var(--radius-pill);

    background:
        rgba(0,255,120,.08);

    color:var(--success);

    font-size: .85rem;

    font-weight: 800;
}

.shop-status i{

    font-size: .62rem;
}

.shop-meta span:last-child{

    color:var(--text-soft);

    font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media(max-width:768px){

    .hero-section{

        min-height: auto;

        
    }

    .hero-title{

        font-size: 3.2rem;
    }

    .hero-subtitle{

        font-size: 1rem;
    }

    .hero-search input{

        height: 66px;

        border-radius: 24px;
    }

    .categories-section,
    .shops-section{

        padding: 0 6px;
    }

    .categories-grid{

        grid-template-columns:
            repeat(2,1fr);
    }

    .category-card{

        min-height: 150px;

        border-radius: 28px;
    }

    .shops-highlight-row{

        grid-template-columns: 1fr;
    }

    .shop-cover{

        height: 220px;
    }

    .shop-content{

        padding: 24px;
    }

    .shop-meta{

        flex-direction: column;

        align-items: flex-start;
    }

}

@media(max-width:560px){

    .hero-title{

        font-size: 2.6rem;
    }

    .hero-pills{

        gap: 10px;
    }

    .hero-pills span{

        width: 100%;
    }

    .categories-grid{

        grid-template-columns: 1fr;
    }

}

/*
|--------------------------------------------------------------------------
| DELIVERY FREE
|--------------------------------------------------------------------------
*/

.delivery-free-section{

    width: 100%;

    max-width: 1500px;

    margin:
        56px auto 0;

    padding: 0 32px;
}

.delivery-free-card{

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 32px;

    padding: 42px;

    border-radius: 42px;

    background:
        linear-gradient(
            135deg,
            var(--brand-primary-soft),
            rgba(255,255,255,.03)
        );

    border:
        1px solid var(--border-glass);
}

.delivery-free-card::before{

    content: '';

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(46,45,94,.18),
            transparent 40%
        );

    pointer-events: none;
}

.delivery-free-content{

    position: relative;

    z-index: 2;

    max-width: 620px;
}

.delivery-free-content small{

    display: inline-block;

    margin-bottom: 12px;

    color:
        var(--brand-secondary);

    font-size: .92rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.delivery-free-content h2{

    font-size: clamp(
        2rem,
        5vw,
        3.4rem
    );

    line-height: .95;

    letter-spacing: -.06em;

    margin-bottom: 16px;
}

.delivery-free-content p{

    color:var(--text-soft);

    line-height: 1.7;

    font-size: 1.05rem;
}

.delivery-free-card button{

    position: relative;

    z-index: 2;

    min-width: 180px;

    height: 64px;

    border: none;

    border-radius: var(--radius-pill);

    background: var(--brand-primary);

    color:var(--text-primary);

    font-size: 1rem;

    font-weight: 800;

    cursor: pointer;

    transition: var(--transition-fast);
}

.delivery-free-card button:hover{

    transform:
        translateY(-3px);
}

@media(max-width:768px){

    .delivery-free-section{

        padding: 0 18px;
    }

    .delivery-free-card{

        flex-direction: column;

        align-items: flex-start;

        padding: 34px 28px;
    }

    .delivery-free-card button{

        width: 100%;
    }

}

/*
|--------------------------------------------------------------------------
| MAP LABELS
|--------------------------------------------------------------------------
*/

.map-shop-marker{

    position: relative;
}

.map-marker-label{

    position: absolute;

    top: -42px;

    left: 50%;

    transform: translateX(-50%);

    white-space: nowrap;

    padding:
        8px 14px;

    border-radius: var(--radius-pill);

    background:
        rgba(0,0,0,.82);

    border:
        1px solid var(--border-glass-strong);

    backdrop-filter: blur(20px);

    color: var(--text-primary);

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: -.02em;

    box-shadow:
        0 10px 30px rgba(0,0,0,.35);
}

.home-map-sheet{

    position: fixed;

    inset: 0;

    z-index: 200;

    display: flex;

    flex-direction: column;

    padding: 24px;

    background:
        rgba(0,0,0,.82);

    backdrop-filter:
        blur(20px);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transform: translateY(40px);

    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;

}

.home-map-sheet.active{

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateY(0);

}

.home-map-header{

    padding-bottom: 16px;

}

.home-map-header h2{

    font-size: 32px;

    font-weight: 700;

    color: var(--text-primary);

    margin-bottom: 6px;

}

.home-map-header p{

    color:var(--text-faded);

}


.home-map-canvas{

    flex: 1;

    border-radius: 28px;

    overflow: hidden;

    min-height: 500px;

}

#home-map{

    width: 100%;

    height: 100%;

}

.close-map-sheet{

    position: absolute;

    top: 1px;

    right: 24px;

    z-index: 20;

    width: 52px;

    height: 52px;

    border: none;

    border-radius: 50%;

    background:
        var(--local-blue);

    backdrop-filter: blur(20px);

    color: var(--text-primary);

    cursor: pointer;

}

.home-map-header{

    position: relative;

    z-index: 10;
}

.delivery-kind-selector{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-bottom:18px;
}

.delivery-kind-option{

    position:relative;

    display:flex;

    align-items:center;

    justify-content:center;

    min-height:58px;

    border-radius:18px;

    background:var(--bg-input);

    border:1px solid var(--border-glass);

    overflow:hidden;

    cursor:pointer;

}

.delivery-kind-option input{
    position:absolute;
    inset:0;
    opacity:0;
    cursor:pointer;
}

.delivery-kind-option span{

    font-size:.95rem;

    font-weight:600;

    color:var(--text-primary);

}

.delivery-kind-option input:checked + span{
    color:var(--brand-secondary);
}


.site-logo{

    display:flex;
    align-items:center;
    text-decoration:none;

}

.site-logo-image{

    height:40px;
    width:auto;
    display:block;

}

.hero-actions-inline{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:14px;

    margin:
        0 auto
        28px;

    flex-wrap:wrap;

}

.hero-inline-action{

    display:flex;

    align-items:center;

    gap:8px;

    border:none;

    background:none;

    padding:0;

    color:var(--text-soft);

    font-size:1rem;

    font-weight:600;

    cursor:pointer;

    transition:.2s ease;

}

.hero-inline-action{

    opacity:.82;

    transition:.2s ease;

}

.hero-inline-action:hover,
.hero-inline-action:active{

    opacity:1;

}

.hero-inline-action:hover{

    color:var(--text-primary);

}

.hero-actions-divider{

    color:var(--text-dim);

    opacity:.35;

}

/*
|--------------------------------------------------------------------------
| SHOP MENU PULSE
|--------------------------------------------------------------------------
*/

.shop-header-icon-pulse i{

    animation:
        shopPulse 1.8s ease-in-out infinite;

}

@keyframes shopPulse{

    0%{

        opacity:1;
        transform:scale(1);

    }

    50%{

        opacity:.45;
        transform:scale(1.03);

    }

    100%{

        opacity:1;
        transform:scale(1);

    }

}

.shop-header-icon-pulse{

    position:relative;

}

.shop-header-icon-pulse::after{

    content:'';

    position:absolute;

    inset:-6px;

    border-radius:50%;

    border:1px solid
        rgba(255,255,255,.35);

    animation:
        shopRing 2s infinite;

}

@keyframes shopRing{

    0%{

        transform:scale(.4);
        opacity:.8;

    }

    100%{

        transform:scale(1);
        opacity:0;

    }

}

.footer-brand-link{

    text-decoration:none;

    color:inherit;

}

.footer-brand-link:hover{

    opacity:.85;

}



/* NUEVOS ESTILOS HOME */



.feed-home{

    min-height:100vh;

    padding:20px 10px;

}

.feed-home-header{

    display:flex;

    align-items:center;

    justify-content:space-between;

    margin-bottom:24px;

    gap:12px;

}

.feed-home-header{

    position:sticky;

    top:0;

    z-index:100;

    padding:24px 0 16px;

    background:
        linear-gradient(
            180deg,
            #000 70%,
            transparent
        );

}

.feed-logo{

    object-fit:contain;

    height:42px;

    width:auto;

    margin-right:auto;

}

@media(max-width:768px){
    
    .feed-logo{
    
        height:32px;
    
        width:auto;
    
    }

}

.feed-actions{

    display:flex;

    gap:10px;

    overflow:auto;

    margin-bottom:24px;

}

.feed-action{

    border:none;

    border-radius:999px;

    padding:12px 16px;

    white-space:nowrap;

}

.feed-grid{

    display:grid;

    gap:18px;

    grid-template-columns:

        repeat(

            auto-fill,

            minmax(

                300px,

                1fr

            )

        );

}

.feed-card{

    height:220px;

    border-radius:18px;

    background:#222;

    padding:16px;

    display:flex;

    align-items:flex-end;

}

.feed-card{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    aspect-ratio:4 / 3;

    text-decoration:none;

    color:#fff;

}

@media(max-width:768px){

    .feed-home{

        padding:16px 8px;

    }

    .feed-card{

        width: 100%;
        max-width: 100%;

    }

}


.feed-card-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}

.feed-card-overlay{

    position:absolute;

    inset:auto 0 0 0;

    display:flex;

    flex-direction:column;

    gap:4px;

    padding:18px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.88),
            rgba(0,0,0,.40),
            transparent
        );

}




.feed-icon-btn{

    width:42px;

    height:42px;

    border:none;

    border-radius:999px;

    background:#ffffff08;

    backdrop-filter:blur(12px);

    border:1px solid #ffffff10;

    color:#fff;

}

.feed-login{

    height:42px;

    padding:0 18px;

    border:none;

    border-radius:999px;

    background:#ffffff08;

    backdrop-filter:blur(12px);

    border:1px solid #ffffff10;

    color:#fff;

}



.feed-card-name{

    display:block;

    font-size:1.18rem;

    font-weight:800;

    line-height:1.15;

    text-shadow:
        0 2px 12px rgba(0,0,0,.8);

}

.feed-card-name{

    display:-webkit-box;

    -webkit-line-clamp:2;

    -webkit-box-orient:vertical;

    overflow:hidden;

}

.feed-card-category{

    display:inline-flex;

    align-items:center;

    gap:6px;

    width:fit-content;

    padding:3px 10px;

    border-radius:999px;

    background:rgba(255,255,255,.14);

    backdrop-filter:blur(14px);

    -webkit-backdrop-filter:blur(8px);

    font-size:.70rem;

    font-weight:700;

    color:#fff;

    margin-bottom:2px;

}

.feed-card-category i{

    font-size:.72rem;

    opacity:.95;

}

.feed-card-status{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-size:.82rem;

    font-weight:600;

    color:rgba(255,255,255,.88);

}

.feed-card-status.is-open::before{

    content:'';

    width:8px;

    height:8px;

    border-radius:999px;

    background:#43d854;

    box-shadow:
        0 0 10px rgba(67,216,84,.7);

    flex-shrink:0;

}

.feed-card-status.is-closed::before{

    content:'';

    width:8px;

    height:8px;

    border-radius:999px;

    background:#f59e0b;

    box-shadow:
        0 0 10px rgba(245,158,11,.55);

    flex-shrink:0;

}

.feed-card-category.belleza{

    background:rgba(168,85,247,.22);

}

.feed-card-category.alimentos{

    background:rgba(249,115,22,.22);

}

.feed-card-category.salud{

    background:rgba(34,197,94,.22);

}

.feed-card-category.mascotas{

    background:rgba(245,158,11,.22);

}

.feed-card-category.diseno{

    background:rgba(59,130,246,.22);

}

.feed-search{

    display:none;

    margin-bottom:18px;

}

.feed-search.active{

    display:block;

}

.feed-search input{

    width:100%;

    height:54px;

    border:none;

    border-radius:18px;

    padding:0 18px;

    background:#ffffff08;

    border:1px solid #ffffff10;

    color:#fff;

    font-size:1rem;

}


.footer-install-hint{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    margin-top:24px;

    padding:16px;

    border-radius:16px;

    background:#ffffff08;

    border:1px solid #ffffff10;

    color:var(--text-dim);

    font-size:.92rem;

    text-align:center;

}

.footer-install-hint i{

    opacity:.8;

}

.footer-install-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    width:100%;

    max-width:320px;

    margin:24px auto 0;

    padding:14px 18px;

    border:1px solid var(
        --glass-border
    );

    border-radius:16px;

    background:#ffffff08;

    color:var(--text);

    cursor:pointer;

    transition:.2s;

    font-size:.95rem;

    font-weight:600;

}

.footer-install-btn:hover{

    background:#ffffff12;

    transform:
        translateY(-1px);

}

.footer-install-btn i{

    opacity:.85;

}

.feed-card-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 2;
}

.feed-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}