/* ===========================
   SUC DE LA PROFU' V5.0 — CSS CURĂȚAT
===========================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{

    --green:#1b5e20;
    --green-light:#2e7d32;
    --accent:#24c15a;
    --whatsapp:#25D366;

    --white:#ffffff;
    --bg:#f6f8f3;

    --text:#333;
    --text-light:#666;

    --radius:20px;
    --radius-small:12px;
    --radius-round:50px;

    --shadow:0 10px 35px rgba(0,0,0,.08);
    --shadow-hover:0 18px 40px rgba(0,0,0,.12);
 
    --transition:all .35s ease;

    --max-width:1200px;

}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;

overflow-x:hidden;
}

::selection {
    background: #1b5e20;
    color: white;
}

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#f3f3f3;

}

::-webkit-scrollbar-thumb{

background:#1b5e20;

border-radius:10px;

}

::-webkit-scrollbar-thumb:hover{

background:#2e7d32;

}

body{

    font-family:'Poppins',sans-serif;

    background:#f6f8f3;

    color:#333;

overflow-x:hidden;

}


img{

    max-width:100%;

    height:auto;

}

iframe{
    max-width:100%;
}



/* ==========================
   HEADER
========================== */

header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    background:#ffffff;

    box-shadow:0 2px 15px rgba(0,0,0,.08);

    z-index:9999;

    transition:all .35s ease;

}

header.scrolled{

    box-shadow:0 8px 30px rgba(0,0,0,.12);

}

header .container{

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 20px;

}

.logo img{

    height:120px;

}

nav{

    display:flex;

    gap:35px;

}

nav a{

    text-decoration:none;

    color:#1b5e20;

    font-weight:600;

    transition:.3s;

}

nav a:hover{

    color:#24c15a;

}

.headerButton{

    background:#24c15a;

    color:white;

    text-decoration:none;

    padding:12px 22px;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.headerButton:hover{

    transform:translateY(-2px);

    background:#1b5e20;

}

#menuToggle{

    display:none;

    border:none;

    background:none;

    font-size:34px;

    cursor:pointer;

}


/* ==========================================
   HERO
========================================== */

#hero{

    background:#f7faf7;

    padding:150px 20px 100px;

}

.heroContent{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.heroBadge{

    display:inline-block;

    background:#e8f5e9;

    color:#1b5e20;

    padding:10px 18px;

    border-radius:50px;

    font-weight:600;

    margin-bottom:25px;

}

.heroLeft h1{

    font-size:50px;

    color:#1b5e20;

    line-height:1.1;

    margin-bottom:15px;

}

.heroLeft h2{

    font-size:30px;

    color:#444;

    margin-bottom:30px;

    font-weight:500;

}

.heroLeft p{

    font-size:18px;

    line-height:1.8;

    color:#666;

    margin-bottom:35px;

}

.heroButtons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.btnPrimary{

    background:#1b5e20;

    color:white;

    padding:18px 34px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

}

.btnSecondary{

    border:2px solid #1b5e20;

    color:#1b5e20;

    padding:18px 34px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

}

.heroRight{

    position:relative;

    text-align:center;

}

.heroRight img{

    width:100%;

    max-width:520px;

    border-radius:24px;

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.heroCard{

    position:absolute;

    bottom:20px;

    left:-30px;

    background:white;

    padding:20px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.heroCard h3{

    color:#1b5e20;

    margin-bottom:10px;

}

.heroCard p{

    margin:6px 0;

    color:#666;

}


/* PRODUSE */

#produse{

    max-width:1200px;

    margin:auto;

    padding:70px 20px;

 scroll-margin-top:100px;


}

#produse h2{

    text-align:center;

    font-size:40px;

    margin-bottom:50px;

    color:#1d612d;

}

.products{

    display:grid;

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

    gap:35px;

}

.card{

    background:white;

    border-radius:20px;

    overflow:hidden;

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

    transition:.35s;
 
    position:relative;

}

.card:hover{

    transform:translateY(-8px);

}

.card img{

    width:100%;

    display:block;

}

.card h3{

    padding:20px;

    font-size:26px;

}

.price{

    color:#169b45;

    font-size:34px;

    font-weight:700;

    text-align:center;

    margin:15px 0;

}

.qty{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    padding-bottom:30px;

}

.qty button{

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:#24c15a;

    color:white;

    font-size:28px;

    cursor:pointer;

}

.qty span{

    font-size:26px;

    font-weight:600;

}


/* COS */

.cart{

    position:fixed;

    left:20px;

    right:20px;

    bottom:20px;

    background:white;

    border-radius:22px;

    padding:20px;

    box-shadow:0 12px 40px rgba(0,0,0,.18);

    z-index:999;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.cart h2{

    color:#666;

}

.cart h1{

    color:#1fa64a;

    font-size:36px;

    margin:0;

}

.cart button{

    background:#25D366;

    color:white;

    border:none;

    padding:18px 30px;

    border-radius:50px;

    cursor:pointer;

    font-size:18px;

    font-weight:600;

    transition:.3s;

}

.cart button:hover{

    transform:scale(1.05);

}











/* FORMULAR COMANDĂ */

#comanda{

    max-width:900px;

    margin:auto;

    padding:60px 20px;

 scroll-margin-top:100px;

}

#comanda h2{

    text-align:center;

    margin-bottom:30px;

    color:#1d612d;

}

.orderForm{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.orderForm input,
.orderForm textarea{

    padding:18px;

    border-radius:12px;

    border:1px solid #ddd;

    font-size:18px;

    font-family:Poppins,sans-serif;

}

.orderForm input:focus,
.orderForm textarea:focus{

    outline:none;

    border-color:#24c15a;

}



.whatsappOrderBtn{

    width:100%;

    background:#25D366;

    color:#fff;

    border:none;

    border-radius:50px;

    padding:18px;

    font-size:20px;

    font-weight:700;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    transition:.3s;

    margin-top:15px;

}

.whatsappOrderBtn:hover{

    background:#1ea952;

    transform:translateY(-2px);

}





.floatingWhatsapp{

position:fixed;

right:25px;

bottom:130px;

width:65px;

height:65px;

border-radius:50%;

background:#25D366;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

text-decoration:none;

color:white;

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

transition:.3s;

z-index:9999;

}

.floatingWhatsapp:hover{

transform:scale(1.12);

}

.floatingPhone{

position:fixed;

right:25px;

bottom:210px;

width:65px;

height:65px;

border-radius:50%;

background:#ff4d4d;

display:flex;

justify-content:center;

align-items:center;

font-size:30px;

text-decoration:none;

color:white;

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

transition:.3s;

z-index:9999;

}

.floatingPhone:hover{

transform:scale(1.12);

}


/* BENEFICII */

#beneficii{

    background:white;

    padding:80px 20px;

}

#beneficii h2{

    text-align:center;

    color:#1b5e20;

    margin-bottom:50px;

    font-size:42px;

}

.beneficiiGrid{

    max-width:1200px;

    margin:auto;

    display:grid;

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

    gap:30px;

}

.beneficiu{

    background:#f7faf7;

    border-radius:20px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:0 8px 20px rgba(0,0,0,.05);

}

.beneficiu:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.icon{

    font-size:55px;

    margin-bottom:20px;

}

.beneficiu h3{

    color:#1b5e20;

    margin-bottom:15px;

}

.beneficiu p{

    color:#666;

    line-height:1.6;

}

/* =====================
   CARDURI PREMIUM
===================== */



.badge{

    position:absolute;

    top:15px;

    left:15px;

    padding:8px 18px;

    border-radius:30px;

    color:white;

    font-size:13px;

    font-weight:600;

    letter-spacing:1px;

}

.green{

    background:#20b455;

}

.orange{

    background:#ff8b00;

}

.description{

    color:#666;

    padding:0 20px;

    line-height:1.6;

    min-height:70px;

}

.card img{

    height:280px;

    object-fit:cover;

}

.card:hover img{

    transform:scale(1.03);

    transition:.4s;

}

/* RECENZII */

#reviews{

padding:90px 20px;

background:#f3f8f3;

}

#reviews h2{

text-align:center;

font-size:42px;

margin-bottom:50px;

color:#1b5e20;

}

.reviewsGrid{

max-width:1200px;

margin:auto;

display:grid;

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

gap:30px;

}

.review{

background:white;

padding:35px;

border-radius:20px;

box-shadow:0 8px 25px rgba(0,0,0,.08);

transition:.3s;

}

.review:hover{

transform:translateY(-8px);

}

.stars{

font-size:26px;

color:#ffc107;

margin-bottom:20px;

}

.review p{

line-height:1.8;

font-size:17px;

color:#555;

margin-bottom:20px;

}

.review h4{

color:#1b5e20;

}


/* ==========================
   PROCES
========================== */

#proces{

padding:90px 20px;

background:white;

}

#proces h2{

text-align:center;

font-size:42px;

color:#1b5e20;

margin-bottom:60px;

}

.procesGrid{

max-width:1200px;

margin:auto;

display:grid;

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

gap:30px;

}

.pas{

background:#f8fbf7;

padding:35px;

border-radius:22px;

text-align:center;

box-shadow:0 8px 20px rgba(0,0,0,.06);

transition:.3s;

}

.pas:hover{

transform:translateY(-8px);

box-shadow:0 15px 35px rgba(0,0,0,.12);

}

.emoji{

font-size:55px;

margin-bottom:20px;

}

.pas h3{

color:#1b5e20;

margin-bottom:15px;

}

.pas p{

line-height:1.7;

color:#666;

}


/* ======================
   GALERIE FOTO
====================== */

#galerie{

padding:90px 20px;

background:#f7faf7;

 scroll-margin-top:100px;

}

#galerie h2{

text-align:center;

font-size:42px;

color:#1b5e20;

margin-bottom:15px;

}

.gallerySubtitle{

text-align:center;

color:#666;

margin-bottom:45px;

}

.gallery{

max-width:1200px;

margin:auto;

display:grid;

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

gap:20px;

}

.gallery img{

width:100%;

height:260px;

object-fit:cover;

border-radius:18px;

cursor:pointer;

transition:.35s;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.gallery img:hover{

transform:scale(1.04);

}

/* LIGHTBOX */

#lightbox{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

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

display:none;

justify-content:center;

align-items:center;

z-index:99999;

}

#lightbox img{

max-width:90%;

max-height:85%;

border-radius:20px;

}

#closeLightbox{

position:absolute;

top:25px;

right:40px;

font-size:60px;

color:white;

cursor:pointer;

}


/* ==========================
   LOCAȚII
========================== */

#locatii{

    padding:90px 20px;

    background:#ffffff;

 scroll-margin-top:100px;

}

#locatii h2{

    text-align:center;

    font-size:42px;

    color:#1b5e20;

    margin-bottom:50px;

}

.locations{

    max-width:1200px;

    margin:auto;

    display:grid;

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

    gap:35px;

}

.locationCard{

    background:#f8fbf7;

    border-radius:20px;

    padding:25px;

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

}

.locationCard h3{

    color:#1b5e20;

    margin-bottom:15px;

}

.locationCard p{

    color:#666;

    line-height:1.6;

    margin-bottom:20px;

}

.locationCard iframe{

    width:100%;

    height:320px;

    border:0;

    border-radius:15px;

    margin-bottom:20px;

}

.mapButton{

    display:block;

    text-align:center;

    background:#25D366;

    color:white;

    text-decoration:none;

    padding:15px;

    border-radius:40px;

    font-weight:600;

    transition:.3s;

}

.mapButton:hover{

    background:#1ea952;

}

.comingSoon{

    display:flex;

    justify-content:center;

    align-items:center;

    height:320px;

    background:#eef5ee;

    border-radius:15px;

    color:#888;

    font-size:18px;

}


/* ==========================
        FOOTER
========================== */

footer{

background:#1b5e20;

color:white;

padding-top:60px;

margin-top:80px;

}

.footerContainer{

max-width:1200px;

margin:auto;

display:grid;

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

gap:40px;

padding:0 20px 50px;

}

.footerLogo img{

width:200px;

margin-bottom:15px;

}

.footerLogo h3{

margin-bottom:10px;

}

.footerLogo p{

color:#ddd;

}

.footerContact a{

color:white;

text-decoration:none;

}

.footerContact p{

margin:12px 0;

}

.footerContact i{

width:25px;

color:#7CFC00;

}

.footerInfo p{

margin:12px 0;

}

.copyright{

text-align:center;

padding:20px;

border-top:1px solid rgba(255,255,255,.2);

font-size:14px;

color:#ddd;

}


/* BACK TO TOP */

#backToTop{

    position:fixed;

    left:15px;

    bottom:120px;

    width:55px;
    height:55px;

    border:none;
    border-radius:50%;

    background:#1b5e20;

    color:white;

    font-size:24px;

    cursor:pointer;

    z-index:9999;

}
#backToTop:hover{

transform:translateY(-5px);

background:#2e7d32;

}


/* ==========================
   ANIMAȚII CARDURI
========================== */

.card,
.review,
.beneficiu,
.pas,
.locationCard{

    transition: all 0.35s ease;

}

.card:hover,
.review:hover,
.beneficiu:hover,
.pas:hover,
.locationCard:hover{

    transform: translateY(-8px);

}





.headerActions{

    display:flex;
    align-items:center;
    gap:10px;

}

.headerPhone{

    display:flex;
    align-items:center;
    gap:8px;

    text-decoration:none;

    color:var(--green);

    font-weight:600;

    padding:10px 16px;

    border:2px solid var(--green);

    border-radius:50px;

    transition:var(--transition);

}

.headerPhone:hover{

    background:var(--green);

    color:white;

}







/* ==========================================
   TRUST BAR
========================================== */

#trustBar{

    background:white;

    padding:35px 20px;

    border-top:1px solid #eee;

    border-bottom:1px solid #eee;

}

.trustContainer{

    max-width:1200px;

    margin:auto;

    display:grid;

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

    gap:20px;

}

.trustItem{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    font-size:18px;

    font-weight:600;

    color:#1b5e20;

}

.trustItem i{

    font-size:26px;

    color:#24c15a;

}


/* ==========================================
   DISPONIBILITATE PRODUS
========================================== */

.stock{

    display:inline-flex;

    align-items:center;

    gap:8px;

    font-size:15px;

    font-weight:600;

    margin:10px 0 18px;

    padding:6px 12px;

    border-radius:20px;

}

.inStock{

    background:#e8f5e9;

    color:#2e7d32;

}

.outStock{

    background:#ffebee;

    color:#c62828;

}


/* ==========================================
   CART PREVIEW
========================================== */

#cartPreview{

    position:fixed;

    right:25px;

    bottom:100px;

    width:340px;

    background:white;

    border-radius:20px;

    box-shadow:0 20px 45px rgba(0,0,0,.15);

    overflow:hidden;

    display:none;

    z-index:9999;

}

.cartHeader{

    background:#1b5e20;

    color:white;

    padding:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

#cartItems{

    padding:20px;

    max-height:260px;

    overflow:auto;

}

.cartFooter{

    padding:20px;

    border-top:1px solid #eee;

}

/* ==========================================
   FLOATING CART
========================================== */

#floatingCart{

    position:fixed;

    right:25px;

    bottom:25px;

    display:flex;

    align-items:center;

    gap:15px;

    background:#1b5e20;

    color:white;

    padding:15px 22px;

    border-radius:60px;

    cursor:pointer;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

    transition:all .35s ease;

    z-index:9998;

}

#floatingCart:hover{

    transform:translateY(-3px);

    background:#2e7d32;

}

.cartIcon{

    font-size:36px;

}

.cartInfo{

    display:flex;

    flex-direction:column;

}

#cartCount{

    font-size:15px;

}

#cartValue{

    font-size:20px;
    font-weight:700;

}


/* ==========================================
   VALIDARE FORMULAR
========================================== */

.error{

    border:2px solid #d32f2f !important;

    background:#fff5f5;

}

.success{

    border:2px solid #2e7d32 !important;

}


/* ==========================================
   SUCCESS MESSAGE
========================================== */

#successMessage{

    position:fixed;

    inset:0;

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

    display:none;

    justify-content:center;

    align-items:center;

    z-index:10000;

}

.successBox{

    background:white;

    width:360px;

    max-width:90%;

    padding:40px;

    border-radius:24px;

    text-align:center;

    box-shadow:0 20px 50px rgba(0,0,0,.20);

    animation:pop .35s ease;

}

.successIcon{

    font-size:60px;

    margin-bottom:15px;

}

.successBox h2{

    color:#1b5e20;

    margin-bottom:10px;

}

.successBox p{

    color:#666;

    line-height:1.6;

}

@keyframes pop{

    from{

        transform:scale(.8);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

/* ==========================================
   RESPONSIVE — TELEFON ȘI TABLETĂ
========================================== */

@media (max-width:900px){

    /* HEADER: logo + Comandă + meniu hamburger */

    header .container{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
        gap:10px;
        padding:12px 15px;
    }

 #floatingCart {
        gap: 12px;
        padding: 10px 12px;
    }

    .floatingOrderButton {
        padding: 14px 22px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 14px;
    }


    .logo{
        flex:0 0 auto;
        width:auto;
    }

    .logo img{
        width:auto;
        height:100px;
    }

    .headerActions{
        display:flex;
        align-items:center;
        gap:8px;
        margin-left:auto;
    }

    .headerPhone{
        display:none;
    }

    .headerButton{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        padding:9px 12px;
        font-size:13px;
        line-height:1.2;
        white-space:nowrap;
    }

    #menuToggle{
        display:block;
        flex:0 0 auto;
        color:var(--green);
        font-size:32px;
        line-height:1;
        z-index:10001;
    }

    #nav{
        position:fixed;
        top:94px;
        left:0;
        width:100%;
        height:calc(100vh - 94px);
        padding:28px 20px;
        background:#fff;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:20px;
        overflow-y:auto;
        transform:translateX(-100%);
        visibility:hidden;
        pointer-events:none;
        transition:transform .3s ease, visibility .3s ease;
        box-shadow:0 10px 25px rgba(0,0,0,.15);
        z-index:9999;
    }

    #nav.active{
        transform:translateX(0);
        visibility:visible;
        pointer-events:auto;
    }

    #nav a{
        font-size:20px;
        text-align:center;
    }

    /* HERO */

    #hero{
        padding:125px 20px 70px;
    }

    .heroContent{
        grid-template-columns:1fr;
        gap:35px;
        text-align:center;
    }

    .heroButtons{
        justify-content:center;
    }

    .heroCard{
        position:static;
        max-width:300px;
        margin:25px auto 0;
    }

    .heroLeft h1{
        font-size:38px;
    }

    .heroLeft h2{
        font-size:24px;
    }

    /* GRIDURI */

    .products,
    .reviewsGrid,
    .gallery,
    .locations,
    .footerContainer{
        grid-template-columns:minmax(0,1fr);
    }

    .card,
    .review,
    .locationCard,
    .pas,
    .beneficiu{
        min-width:0;
    }

    .locationCard{
        padding:20px;
    }

    .locationCard iframe{
        height:280px;
    }

    /* TRUST BAR */

    .trustContainer{
        grid-template-columns:1fr;
    }

    /* COȘURI */

    #floatingCart{
        right:15px;
        left:15px;
        bottom:15px;
        justify-content:center;
    }

    #cartPreview{
        left:15px;
        right:15px;
        bottom:90px;
        width:auto;
        max-width:none;
    }

    .cart{
        left:10px;
        right:10px;
        bottom:10px;
        padding:14px;
        gap:10px;
        flex-wrap:wrap;
    }

    .cart h1{
        font-size:28px;
    }

    .cart button{
        width:100%;
        padding:14px 20px;
    }

    /* BUTOANE FLOTANTE */

    .floatingWhatsapp,
    .floatingPhone{
        right:15px;
        width:56px;
        height:56px;
        font-size:28px;
    }

    .floatingWhatsapp{
        bottom:105px;
    }

    .floatingPhone{
        bottom:170px;
    }

    #backToTop{
        left:15px;
        bottom:105px;
        width:50px;
        height:50px;
    }

    /* TITLURI */

    #produse h2,
    #beneficii h2,
    #reviews h2,
    #proces h2,
    #galerie h2,
    #locatii h2{
        font-size:34px;
    }
}


.floatingOrderButton {
    border: none;
    background: #25D366;
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.floatingOrderButton:hover {
    background: #1ebe5d;
}

#floatingCart{
    transition:.25s;
}

#floatingCart:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 28px rgba(0,0,0,.25);
}

/* ==========================================
   BUTON INSTALARE PWA
========================================== */

.installAppButton{
    position:fixed;
    left:24px;
    bottom:28px;
    z-index:9998;
    display:inline-flex;
    align-items:center;
    gap:10px;
    border:none;
    border-radius:999px;
    padding:13px 18px;
    background:#1b5e20;
    color:#fff;
    font:inherit;
    font-weight:700;
    box-shadow:0 10px 28px rgba(0,0,0,.22);
    cursor:pointer;
    transition:transform .2s ease, background .2s ease, opacity .2s ease;
}

.installAppButton[hidden]{
    display:none !important;
}

.installAppButton:hover{
    background:#24c15a;
    transform:translateY(-2px);
}

.installAppButton:focus-visible{
    outline:3px solid rgba(36,193,90,.35);
    outline-offset:3px;
}

@media (max-width:900px){
    .installAppButton{
        left:15px;
        bottom:170px;
        padding:12px 15px;
        font-size:14px;
    }
}


/* NOTIFICARE ACTUALIZARE PWA */
.appUpdateNotice {
    position: fixed;
    left: 50%;
    bottom: 105px;
    z-index: 10050;
    width: min(560px, calc(100% - 30px));
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: #145f26;
    color: #fff;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translate(-50%, 18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.appUpdateNotice.visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.appUpdateText {
    display: flex;
    flex-direction: column;
    gap: 3px;
    line-height: 1.25;
}

.appUpdateText strong {
    font-size: 15px;
}

.appUpdateText span {
    font-size: 13px;
    opacity: 0.92;
}

#updateAppButton {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: #145f26;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

#updateAppButton:disabled {
    cursor: wait;
    opacity: 0.75;
}

.dismissUpdateButton {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 640px) {
    .appUpdateNotice {
        bottom: 100px;
        grid-template-columns: 1fr auto;
        gap: 10px;
        padding: 13px;
    }

    .appUpdateText {
        grid-column: 1 / -1;
        padding-right: 34px;
    }

    .dismissUpdateButton {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    #updateAppButton {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* ===========================
   V7.3 — ECRAN DE PORNIRE PWA
   Afișează doar logo-ul la deschiderea aplicației instalate.
=========================== */

.appSplash {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 1;
    visibility: visible;
    transition: opacity .35s ease, visibility .35s ease;
}

.pwa-launch .appSplash {
    display: flex;
}

.appSplash img {
    width: min(68vw, 320px);
    height: auto;
    max-height: 58vh;
    object-fit: contain;
    animation: splashLogoIn .55s ease-out both;
}

.appSplash.isHidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes splashLogoIn {
    from {
        opacity: 0;
        transform: scale(.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .appSplash,
    .appSplash img {
        animation: none;
        transition: none;
    }
}


/* V7.3.1 — corecție buton Sus / instalare pe mobil */
#backToTop{
    z-index:10020;
    pointer-events:auto;
    touch-action:manipulation;
}

.installAppButton[hidden],
html.pwa-standalone .installAppButton{
    display:none !important;
    pointer-events:none !important;
}

.appSplash.isHidden{
    pointer-events:none !important;
}

@media (max-width:900px){
    .installAppButton{
        left:80px;
        bottom:170px;
        max-width:calc(100vw - 160px);
    }
}


/* ===========================
   V8 STABLE — FIX OVERLAY-URI INVIZIBILE
   Elementele ascunse nu mai pot intercepta apăsările pe Sus/Telefon/WhatsApp.
=========================== */
.appUpdateNotice[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.appUpdateNotice:not(.visible) {
    pointer-events: none;
}

.appUpdateNotice.visible {
    pointer-events: auto;
}

.appSplash[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.appSplash {
    pointer-events: none;
}

html.pwa-launch .appSplash {
    pointer-events: auto;
}

.appSplash.isHidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.floatingWhatsapp,
.floatingPhone,
#backToTop {
    position: fixed;
    z-index: 10060;
    pointer-events: auto;
    touch-action: manipulation;
}


/* ==========================================
   PAGINA RECENZII
========================================== */
.reviewPage{
    min-height:100vh;
}

.reviewMain{
    padding-top:145px;
}

.reviewHero{
    max-width:850px;
    margin:0 auto;
    padding:70px 20px 35px;
    text-align:center;
}

.reviewHero h1{
    margin:12px 0 18px;
    color:var(--green);
    font-size:46px;
}

.reviewHero p{
    max-width:720px;
    margin:auto;
    color:var(--text-light);
    font-size:18px;
    line-height:1.75;
}

.reviewFormSection{
    padding:20px 20px 90px;
}

.reviewFormCard{
    width:100%;
    max-width:760px;
    margin:auto;
    padding:38px;
    border-radius:24px;
    background:#fff;
    box-shadow:var(--shadow);
}

.reviewFormCard h2{
    margin-bottom:28px;
    color:var(--green);
    text-align:center;
}

.reviewForm{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.reviewField{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.reviewField label,
.ratingField legend{
    color:#2f3b31;
    font-weight:600;
}

.reviewField input,
.reviewField textarea{
    width:100%;
    padding:16px 18px;
    border:1px solid #d8ddd8;
    border-radius:12px;
    background:#fff;
    color:var(--text);
    font:inherit;
    transition:.2s;
}

.reviewField input:focus,
.reviewField textarea:focus{
    outline:none;
    border-color:var(--accent);
    box-shadow:0 0 0 3px rgba(36,193,90,.13);
}

.reviewField input.error,
.reviewField textarea.error,
.reviewConsent input.error{
    border-color:#d32f2f !important;
    box-shadow:0 0 0 3px rgba(211,47,47,.12);
}

.reviewCounter{
    color:#777;
    font-size:13px;
    text-align:right;
}

.ratingField{
    margin:0;
    padding:0;
    border:0;
}

.starRating{
    display:flex;
    flex-direction:row-reverse;
    justify-content:flex-end;
    gap:6px;
    width:max-content;
    margin-top:8px;
    padding:5px;
    border:2px solid transparent;
    border-radius:10px;
}

.starRating.ratingError{
    border-color:#d32f2f;
}

.starRating input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.starRating label{
    color:#c8c8c8;
    font-size:38px;
    line-height:1;
    cursor:pointer;
    transition:.18s;
}

.starRating label:hover,
.starRating label:hover ~ label,
.starRating input:checked ~ label{
    color:#ffc107;
    transform:scale(1.05);
}

.reviewConsent{
    display:flex;
    align-items:flex-start;
    gap:12px;
    color:#555;
    font-size:14px;
    line-height:1.55;
}

.reviewConsent input{
    flex:0 0 auto;
    width:20px;
    height:20px;
    margin-top:2px;
    accent-color:var(--green);
}

.reviewError{
    margin:0;
    padding:13px 15px;
    border-radius:10px;
    background:#ffebee;
    color:#b71c1c;
    font-weight:600;
}

.reviewSubmitButton{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    padding:17px 22px;
    border:0;
    border-radius:50px;
    background:var(--whatsapp);
    color:#fff;
    font:inherit;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.reviewSubmitButton:hover{
    background:#1ea952;
    transform:translateY(-2px);
}

.reviewPrivacyNote{
    margin:0;
    color:#777;
    font-size:13px;
    line-height:1.5;
    text-align:center;
}

.reviewSuccess{
    position:fixed;
    inset:0;
    z-index:100000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:rgba(0,0,0,.48);
}

.reviewSuccess[hidden]{
    display:none !important;
}

.reviewSuccessBox{
    max-width:390px;
    padding:36px;
    border-radius:22px;
    background:#fff;
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,.2);
}

.reviewSuccessBox h2{
    margin:10px 0;
    color:var(--green);
}

@media (max-width:900px){
    .reviewMain{
        padding-top:96px;
    }

    .reviewHero{
        padding-top:50px;
    }

    .reviewHero h1{
        font-size:36px;
    }

    .reviewFormCard{
        padding:25px 18px;
    }

    .starRating label{
        font-size:36px;
    }
}


/* ==========================================
   RECENZII FIREBASE — PUBLICARE AUTOMATĂ
========================================== */
.reviewHoneypot{
    position:absolute !important;
    left:-10000px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}

.reviewSubmitButton:disabled{
    cursor:wait;
    opacity:.72;
    transform:none;
}

.publishedReviewsSection{
    max-width:1100px;
    margin:0 auto;
    padding:0 20px 100px;
}

.reviewsSummaryCard{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-bottom:38px;
    padding:28px 32px;
    border-radius:22px;
    background:linear-gradient(135deg,#1b5e20,#2e7d32);
    color:#fff;
    box-shadow:var(--shadow);
}

.reviewsSummaryLabel{
    display:block;
    margin-bottom:4px;
    color:rgba(255,255,255,.82);
    font-size:14px;
}

.reviewsAverage{
    display:inline-block;
    margin-right:14px;
    font-size:42px;
    line-height:1;
}

.reviewsAverageStars{
    display:inline-block;
    color:#ffd54f;
    font-size:25px;
    letter-spacing:2px;
}

.reviewsCountBox{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    text-align:right;
}

.reviewsCountBox strong{
    font-size:34px;
    line-height:1.1;
}

.reviewsCountBox span{
    color:rgba(255,255,255,.82);
}

.publishedReviewsHeader{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:26px;
}

.publishedReviewsHeader h2{
    color:var(--green);
    font-size:34px;
}

.reviewsSort{
    padding:11px 14px;
    border:1px solid #d5ddd5;
    border-radius:12px;
    background:#fff;
    color:var(--text);
    font:inherit;
}

.reviewsLoading,
.reviewsEmpty{
    padding:28px;
    border-radius:16px;
    background:#fff;
    color:#666;
    text-align:center;
    box-shadow:0 7px 20px rgba(0,0,0,.05);
}

.publishedReviewsGrid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
}

.publishedReviewCard{
    min-width:0;
    padding:28px;
    border-radius:20px;
    background:#fff;
    box-shadow:var(--shadow);
    transition:.25s;
}

.publishedReviewCard:hover{
    transform:translateY(-4px);
    box-shadow:var(--shadow-hover);
}

.publishedReviewTop{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}

.publishedReviewTop h3{
    color:var(--green);
    font-size:19px;
}

.publishedReviewCity,
.publishedReviewDate{
    color:#777;
    font-size:13px;
}

.publishedReviewDate{
    white-space:nowrap;
}

.publishedReviewStars{
    margin:18px 0 13px;
    color:#ffc107;
    font-size:22px;
    letter-spacing:2px;
}

.publishedReviewText{
    color:#4d554e;
    line-height:1.75;
    overflow-wrap:anywhere;
    white-space:pre-wrap;
}

@media(max-width:700px){
    .reviewsSummaryCard,
    .publishedReviewsHeader{
        align-items:flex-start;
        flex-direction:column;
    }

    .reviewsCountBox{
        align-items:flex-start;
        text-align:left;
    }

    .reviewsSort{
        width:100%;
    }

    .publishedReviewsGrid{
        grid-template-columns:1fr;
    }

    .publishedReviewTop{
        flex-direction:column;
        gap:7px;
    }
}
