body{
    margin:0;
    font-family:Arial,sans-serif;
    background:#f5f5f5;
    -webkit-tap-highlight-color:transparent;
}

header{
    background:#0a7b83;
    color:white;
    text-align:center;
    padding:20px;
}

nav{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    padding:20px;
}

nav button{
    background:#0077cc;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

nav button:hover{
    background:#005fa3;
}

#products{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    padding:20px;
}

.card{
    background:white;
    width:220px;
    border-radius:15px;
    box-shadow:0 0 10px rgba(0,0,0,.2);
    padding:15px;
    text-align:center;
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    width:180px;
    height:180px;
    object-fit:cover;
    cursor:pointer;
}

.card h3{
    margin:10px 0;
}

.card p{
    color:#0a7b83;
    font-weight:bold;
}

.modal{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.8);
    justify-content:center;
    align-items:center;
    z-index:1000;
}

.modal img{
    max-width:90%;
    max-height:90%;
    border-radius:15px;
}

.siteFooter{
    background:#0a7b83;
    color:white;
    padding:30px 10px;
    text-align:center;
    margin-top:40px;
}

.footerBox{
    max-width:600px;
    margin:auto;
}

.footerBox p{
    margin:5px 0;
}

button:active{
    transform:scale(.96);
}

@media(max-width:768px){

    nav{
        flex-direction:column;
        align-items:center;
    }

    nav button{
        width:90%;
    }

    .card{
        width:90%;
        max-width:320px;
    }

    .card img{
        width:100%;
        height:200px;
    }

}

/* ===== 📞 Զանգի կոճակ ===== */

.call-btn{
    position:fixed;
    right:20px;
    bottom:100px;

    width:60px;
    height:60px;

    background:#25D366;
    color:white;

    border-radius:50%;
    text-decoration:none;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:30px;

    z-index:9999;

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

    animation:callPulse 1.8s infinite;
}

@keyframes callPulse{

    0%{
        box-shadow:0 0 0 0 rgba(37,211,102,.7);
    }

    70%{
        box-shadow:0 0 0 15px rgba(37,211,102,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(37,211,102,0);
    }

}

/* ===== ⬆️ Վերև ===== */

#topBtn{

    position:fixed;

    right:20px;
    bottom:20px;

    width:60px;
    height:60px;

    border:none;
    border-radius:50%;

    background:linear-gradient(45deg,#ff6600,#ff3300);

    color:white;

    font-size:28px;

    cursor:pointer;

    z-index:9999;

    display:none;

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

    animation:topPulse 1.5s infinite;

}

@keyframes topPulse{

    0%{
        box-shadow:0 0 0 0 rgba(255,100,0,.7);
    }

    70%{
        box-shadow:0 0 0 18px rgba(255,100,0,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(255,100,0,0);
    }

}

@media(max-width:768px){

    .call-btn{
        width:55px;
        height:55px;
        bottom:85px;
        right:15px;
    }

    #topBtn{
        width:55px;
        height:55px;
        bottom:15px;
        right:15px;
    }

}
.cartBtn{
position:fixed;
right:20px;
bottom:180px;

width:60px;
height:60px;

border-radius:50%;

background:#ff9800;

display:flex;
justify-content:center;
align-items:center;

font-size:30px;

cursor:pointer;

z-index:9999;
}

#cartCount{
position:absolute;
top:-5px;
right:-5px;

background:red;
color:white;

width:25px;
height:25px;

border-radius:50%;

display:flex;
justify-content:center;
align-items:center;
}

.cartModal{
display:none;

position:fixed;

left:0;
top:0;

width:100%;
height:100%;

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

justify-content:center;
align-items:center;

z-index:10000;
}

.cartBox{

    width:92%;
    max-width:540px;

    background:#fff;

    margin:35px auto 90px;

    padding:24px;

    border-radius:24px;

    box-sizing:border-box;

    border:1px solid #e8edf2;

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

}

.cartItem{

    display:flex;
    align-items:center;

    gap:14px;

    padding:14px;

    margin-bottom:14px;

    background:#fff;

    border:1px solid #edf2f7;

    border-radius:18px;

    box-shadow:0 4px 12px rgba(0,0,0,.05);

    transition:.25s;

}
.cartItem:hover{

    transform:translateY(-2px);

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

}
.cartImg{
    width:70px;
    height:70px;
    object-fit:contain;
    border-radius:10px;
    background:white;
}
.itemTotal{
    color:#009688;
    font-weight:bold;
    font-size:18px;
}
.qtyBox{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    margin-top:15px;
    margin-bottom:20px;
}
.qtyBox button{
    width:35px;
    height:35px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:18px;
}
.flyImage{
    position:fixed;
    width:60px;
    height:60px;
    object-fit:contain;
    z-index:9999;
    pointer-events:none;
    transition:all 0.8s ease;
}
.clearCartBtn{
    width:100%;
    background:red;
    color:white;
    border:none;
    padding:12px;
    border-radius:10px;
    margin-top:15px;
    cursor:pointer;
}
#toast{
    position:fixed;
    top:20px;
    right:20px;
    background:green;
    color:white;
    padding:12px;
    border-radius:10px;
    opacity:0;
    transition:0.3s;
    z-index:99999;
    pointer-events:none;
}
.whBtn{
    width:100%;
    background:linear-gradient(135deg,#25D366,#1ebe5d);
    color:white;
    border:none;
    padding:14px;
    border-radius:12px;
    margin-top:10px;
    font-size:16px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
    box-shadow:0 5px 12px rgba(0,0,0,0.15);
}

.whBtn:hover{
    transform:scale(1.02);
}
}
#orderName, #orderPhone, #orderAddress{
    width:100%;
    padding:12px;
    margin:6px 0;
    border-radius:10px;
    border:1px solid #ddd;
    font-size:15px;
    outline:none;
    transition:0.3s;
}

#orderName:focus,
#orderPhone:focus,
#orderAddress:focus{
    border-color:#25D366;
    box-shadow:0 0 5px rgba(37,211,102,0.3);
}
.clearCartBtn{
    width:100%;
    background:#ff3b30;
    color:white;
    border:none;
    padding:12px;
    border-radius:12px;
    margin-top:10px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

.clearCartBtn:hover{
    transform:scale(1.02);
}
.checkoutBox{
    margin-top:10px;
    padding:10px;
    border-top:1px solid #eee;
}
.editUserBtn{
    background:#2196F3;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:12px;
    cursor:pointer;
    font-size:15px;
    margin-top:15px;
    transition:0.3s;
}

.editUserBtn:hover{
    opacity:0.9;
}
.userInfo{
    position:fixed;
    top:15px;
    right:15px;
    background:white;
    padding:10px 15px;
    border-radius:15px;
    box-shadow:0 2px 10px rgba(0,0,0,0.15);
    font-size:14px;
    z-index:1000;
}
.userInfo:hover{
    background:#f0f0f0;
    
}
.userInfo{
    position:fixed;
    top:15px;
    right:15px;
    background:white;
    padding:10px 15px;
    border-radius:15px;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
    cursor:pointer;
    transition:0.3s;
}

.userInfo:hover{
    background:#f5f5f5;
}
.slider{
    position:relative;
    width:95%;
    height:350px;
    margin:20px auto;
    overflow:hidden;
    border-radius:25px;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:1s;
}

.slide.active{
    opacity:1;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    justify-content:center;
    align-items:center;
}

.modalBox{
    background:white;
    width:80%;
    max-width:700px;
    max-height:80vh;
    overflow:auto;
    padding:20px;
    border-radius:10px;
}

.closeBtn{
    float:right;
    cursor:pointer;
    font-size:20px;
}
.modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.deliveryItem{
    margin-bottom:15px;
}

.deliveryItem label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
}

#deliveryDate,
#deliveryTime,
#orderComment{
    width:100%;
    box-sizing:border-box;
    padding:15px;
    font-size:16px;
    border:none;
    border-radius:15px;
    background:#f3f3f3;
}

#orderComment{
    min-height:90px;
    resize:none;
}

.deliveryBox h3{
    text-align:center;
    font-size:22px;
    margin-bottom:20px;
    color:#222;
}

.deliveryItem{
    margin-bottom:18px;
}

.deliveryItem label{
    display:block;
    margin-bottom:8px;
    font-size:15px;
    font-weight:600;
    color:#444;
}

#deliveryDate,
#deliveryTime,
#paymentMethod,
#orderComment{

    width:100%;
    padding:16px;
    border:none;
    border-radius:18px;
    background:#f3f4f6;
    font-size:16px;
    transition:.3s;
    box-sizing:border-box;
}

#deliveryDate:focus,
#deliveryTime:focus,
#paymentMethod:focus,
#orderComment:focus{
    background:white;

    box-shadow:
    0 0 0 4px rgba(0,140,255,.15);

}

#orderComment{
    min-height:100px;
}

#deliveryTime option{
    background:white;
}
@media (max-width:768px){

    .deliveryBox{
        padding:15px;
        margin:15px 10px;
        border-radius:20px;
    }

    .deliveryBox h3{
        font-size:18px;
    }

    .deliveryItem label{
        font-size:14px;
    }

    #deliveryDate,
#deliveryTime,
#paymentMethod,
#orderComment{

        width:100%;
        font-size:16px;
        padding:14px;
        border-radius:15px;
    }

    #orderComment{
        min-height:80px;
    }

}
/* Desktop banner */

.heroSlider{
    width:100%;
    height:420px;
    border-radius:25px;
    overflow:hidden;
    position:relative;
    margin-bottom:30px;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:1s;
}

.slide.active{
    opacity:1;
}

.slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* հեռախոսի վրա չերևա */

@media(max-width:900px){

.heroSlider{
    display:none;
}

}

@media (max-width:768px){
    .bottomNav{
        display:flex;
    }
}

body{
    padding-bottom:90px;
}

/* zangelu kochaky menak heraxosi vra*/
@media (max-width:768px){
    .call-btn{
        display:none !important;
    }
}
@media (max-width:768px){
    #topBtn{
        display:none !important;
    }
}
@media (max-width:768px){

    .bottomNav .navItem.active{
    background:#0ea5e9 !important;
    color:#fff !important;
}

}
@media (max-width:768px){

    .bottomNav{
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;

        width: auto;
        height: 70px;

        display: flex;
        justify-content: space-around;
        align-items: center;

        background: #fff;
        border-radius: 25px;

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

        padding: 0;

        z-index: 999999;
        overflow: hidden;
    }

}
@media (max-width:768px){
    .cartBtn{
        display:none !important;
    }
}
@media (max-width:768px){

    #mobileCartCount{
        position:absolute;
        top:2px;
        right:10px;

        min-width:18px;
        height:18px;

        border-radius:50%;
        background:red;
        color:white;

        font-size:11px;
        line-height:18px;
        text-align:center;
    }

    .cartNavItem{
        position:relative;
    }

}
@media (max-width:768px){

    .cartNavItem{
        position:relative;
    }

    #mobileCartCount{
        position:absolute;
        top:0;
        right:8px;

        width:18px;
        height:18px;

        background:red;
        color:white;

        border-radius:50%;

        font-size:11px;
        line-height:18px;
        text-align:center;
    }

}
@media (max-width:768px){
    .topSearch{
        display:none;
    }
}
@media (max-width:768px){

    .searchItem{
        flex:2.5;
        justify-content:flex-start;
        padding:10px 14px;
    }

    .mobileSearchInput{
        width:100%;
        border:none;
        background:transparent;
        outline:none;
        font-size:14px;
        margin-left:8px;
        pointer-events:none;
    }

}

.accountModal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5);
    z-index:99999;

    overflow-y:auto;
    overscroll-behavior:contain;
}

.accountBox{
    width:90%;
    max-width:400px;
    background:white;
    border-radius:15px;
    padding:20px;
    margin:60px auto;
    box-sizing:border-box;

    max-height:80vh;
    overflow-y:auto;
}

.accountBox h2{
    text-align:center;
    margin-bottom:15px;
}

.accountBox input{
    width:100%;
    padding:12px;
    margin-bottom:10px;
    box-sizing:border-box;
    border:1px solid #ddd;
    border-radius:8px;
}

.accountBox button{
    width:100%;
    padding:12px;
    margin-top:8px;
    border:none;
    border-radius:8px;
    cursor:pointer;
}

.mapModal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);

    z-index:100000;

    justify-content:center;
    align-items:center;
}

.mapBox{
    width:95%;
    max-width:700px;
    background:white;
    border-radius:15px;
    padding:15px;
}

#map{
    width:100%;
    height:400px;
    border-radius:10px;
    margin:10px 0;
}
#historyModal .accountBox{
    max-height:80vh;
    overflow:hidden;
}

#historyBody{
    max-height:65vh;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}

@media (max-width:768px){

    nav{
        overflow-x:auto;
        white-space:nowrap;
        padding:10px 5px;
    }

    nav button{
        display:inline-block;
        margin:4px;
        padding:10px 14px;
        border-radius:20px;
    }

}

@media screen and (max-width:768px){

    

}

@media (max-width:768px){
    
}

.desktopAccountBtn button{
    background: #0a7b83;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.desktopAccountBtn{
    position:fixed;
    top:15px;
    right:15px;
    z-index:9999;

    display:flex;
    justify-content:flex-end;

    padding:0;
    margin:0;
}

.desktopAccountBtn button{

    background:#0a7b83;
    color:#fff;

    border:none;

    padding:12px 20px;

    border-radius:10px;

    font-size:16px;

    cursor:pointer;

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

@media (max-width:768px){

    .desktopAccountBtn{
        display:none !important;
    }

}
@media (max-width:768px){

    .bottomNav{
        z-index:999999 !important;
    }

}
@media (max-width:768px){

    .searchItem{
    flex:2.3;
    justify-content:flex-start;
    padding:10px 14px;
}

.mobileSearchInput{

    width:100%;
    opacity:1;

    margin-left:8px;

    padding:4px 0;

    border:none;
    outline:none;

    background:transparent;

    font-size:14px;

    pointer-events:none;

    overflow:hidden;

    white-space:nowrap;
}

}
@media screen and (min-width:769px){
    .bottomNav{
        display:none;
    }
}
.searchBox{
    max-width:600px;
    margin:20px auto;
    position:relative;
    transition:.4s;
}

.searchIcon{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    font-size:22px;
    pointer-events:none;
}

#search{
    width:100%;
    padding:15px 20px 15px 55px;

    border:none;
    border-radius:40px;

    font-size:16px;

    background:white;

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

    box-sizing:border-box;

    transition:all .4s ease;
}

.searchBox:hover{
    transform:translateY(-2px);
}

.searchBox:focus-within{
    transform:scale(1.05);
}

#search:focus{
    outline:none;

    box-shadow:
        0 0 0 4px rgba(10,123,131,.15),
        0 10px 30px rgba(0,0,0,.15);
}

.qtyInput{
    width:60px;
    height:35px;
    text-align:center;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

.qtyBox{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.logoutBtn:hover{
    transform:translateY(-2px);
}

.logoutBtn:active{
    transform:scale(.95);
}
.logoutBtn{
    position:fixed;
    top:20px;
    right:20px;
    background:#0a7b83;
    color:white;
    text-decoration:none;
    padding:10px 18px;
    border-radius:12px;
    font-weight:bold;
    box-shadow:0 4px 10px rgba(0,0,0,.2);
    transition:.2s;
    z-index:9999;
}

.logoutBtn:hover{
    transform:translateY(-2px);
}

.logoutBtn:active{
    transform:scale(.95);
}
.descModal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5);
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.descBox{
    background:white;
    width:90%;
    max-width:400px;
    padding:20px;
    border-radius:15px;
    position:relative;
    text-align:center;
}

.closeDesc{
    position:absolute;
    top:10px;
    right:15px;
    font-size:22px;
    cursor:pointer;
}

@media (max-width:768px){

    #products{
        display:flex;
        flex-direction:column;
        gap:8px;
        padding:4px;
        width:100%;
    }

    .mobileCard{
        display:flex;
        align-items:center;

        width:100%;
        margin:0;

        box-sizing:border-box;

        background:#fff;

        padding:12px;

        border-radius:16px;

        gap:12px;

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

    .mobileCard img{
        width:100px;
        height:100px;

        object-fit:contain;

        background:#f5f5f5;

        border-radius:12px;

        flex-shrink:0;
    }

    .cardInfo{
        flex:1;
        min-width:0;
        width:100%;
    }

    .cardInfo h3{
        margin:0 0 10px;
        font-size:18px;
        line-height:1.4;
         font-weight:700;
    }

    .priceRow{
        font-size:24px;
        font-weight:bold;
        margin-bottom:10px;
    }

    .bottomRow{
        display:flex;
        align-items:center;
        justify-content:space-between;
        width:100%;
    }

    .bottomRow .qtyBox{
        margin:0;
        padding:5px 10px;
        border-radius:25px;
        background:#f2f4f7;
    }

    .addCartBtn{
        width:60px;
        height:42px;

        border:none;
        border-radius:20px;

        background:#00a8e8;
        color:#fff;

        font-size:20px;

        margin-left:auto;
        flex-shrink:0;
    }

}
@media (max-width:768px){

    body{
        overflow-x:hidden;
    }

    #products{
        width:100%;
        padding:0 !important;
        margin:0 !important;
        gap:8px;
    }

    .mobileCard{
        width:calc(100vw - 16px) !important;
        margin:0 auto !important;
        box-sizing:border-box;
    }

}
@media (max-width:768px){

    #products{
        display:block !important;
        width:100% !important;

        padding:0 !important;
        margin:0 !important;
    }

    .mobileCard,
    .card{
        width:calc(100% - 12px) !important;
        max-width:none !important;

        margin:6px auto !important;

        box-sizing:border-box;
    }

}
.categories{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    padding:10px;
}

@media (max-width:768px){

    nav{
        display:none;
    }

    .categories{
        display:grid;

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

        gap:10px;

        padding:10px;
    }

    .catCard{
        background:white;

        border-radius:16px;

        min-height:90px;

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;

        padding:15px;

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

        cursor:pointer;
        overflow:hidden;
    }
.catCard img{
    width:100%;
    height:120px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:10px;
    display:block;
}
    .catCard span{
        font-size:34px;
        margin-bottom:8px;
    }

    .catCard p{
        margin:0;

        text-align:center;

        font-size:14px;

        font-weight:bold;

        color:#333;
    }

}
@media (max-width:768px){

    #backToCategories{

        width:95%;

        margin:10px auto;

        display:block;

        padding:12px;

        border:none;

        border-radius:12px;

        background:#0a7b83;

        color:white;

        font-size:16px;
    }

}

@media (max-width:768px){

    nav{
        display:none !important;
    }

}
@media (max-width:768px){

    #backToCategories{
        display:block;
        width:95%;
        margin:10px auto;
        padding:12px;
        border:none;
        border-radius:12px;
        background:#0a7b83;
        color:#fff;
        font-size:16px;
    }

}
@media (max-width:768px){

    #backToCategories{
        display:none;
        width:95%;
        margin:10px auto;
        padding:12px;

        border:none;
        border-radius:12px;

        background:#0a7b83;
        color:white;

        font-size:16px;
        font-weight:bold;
    }

}
@media (max-width:768px){

    #backToCategories{
        position:sticky;
        top:10px;
        z-index:999;
    }
    
    
    
    .cartImg{
    width:60px;
    height:60px;
    object-fit:contain;
    flex-shrink:0;
}

.cartItem h4{
    margin:0;
    font-size:14px;
    line-height:18px;
}

.cartItem p{
    margin:2px 0;
    font-size:13px;
}

.itemTotal{
    font-weight:bold;
    color:#0a7b83;
}

.qtyBox{
    display:flex;
    align-items:center;
    gap:5px;
    margin-top:4px;
}

.qtyBox button{
    width:28px;
    height:28px;
    padding:0;
}

.qtyInput{
    width:45px;
    height:28px;
    text-align:center;
}

    
}
.cartItemsTotal{
    font-size:18px;
    font-weight:bold;
    text-align:center;
    margin:10px 0;
    padding:10px;
    background:#f5f5f5;
    border-radius:10px;
}
.catIcon{
    width:50px;
    height:50px;
    object-fit:contain;
    display:block;
    margin:0 auto 8px;
}

#products{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
    gap:15px;
    padding:10px;
}

#products{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.card{
    width:260px;
}

#products{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.card{
    width:260px;
}

#groupsNav button{
    width:auto !important;
    padding:10px 20px !important;
}

@media (max-width:768px){

    #groupsNav{
        display:none !important;
    }

    #groupsContainer{
        display:grid !important;
        grid-template-columns:repeat(2,1fr);
        gap:12px;
        padding:10px;
    }

}
.catCard img{
    width:100%;
    height:120px;
    min-height:120px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:10px;
    display:block;
}
.catCard{
    overflow:hidden;
}
.catCard{
    background:white;
    border-radius:16px;
    padding:15px;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    transition:.3s;
    
     opacity:0;
    transform:translateY(12px);
    animation:showGroup .25s ease forwards;
    
}

.catCard:hover{
    transform:translateY(-4px) !important;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}
.backBtn{
    margin-left:auto;
}
#imageModal{
    display:none;
    position:fixed !important;
    inset:0 !important;

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

    justify-content:center;
    align-items:center;

    z-index:999999 !important;
}

#bigImage{
    max-width:95vw;
    max-height:95vh;
    object-fit:contain;
}
#historyModal .accountBox{
    width:90%;
    max-width:500px;
    max-height:85vh;
    overflow-y:auto;
    padding:20px;
}
#historyBody{
    max-height:65vh;
    overflow-y:auto;
    padding-bottom:20px;
}
#historyModal .accountBox{
    width: 90%;
    max-width: 500px;
    max-height: calc(100vh - 120px);
    margin-bottom: 80px;
    overflow-y: auto;
}
#historyModal .accountBox{

    width:90%;
    max-width:500px;

    height:75vh;

    margin-bottom:90px;

    overflow-y:auto;

    padding:20px;

}
.historyFilter{

    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:15px 0;
    justify-content:center;

}

.historyFilter input{

    flex:1;
    min-width:130px;
    padding:10px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;

}

.historyFilter button{

    padding:10px 14px;
    border:none;
    border-radius:10px;
    background:#0b7dda;
    color:#fff;
    font-size:15px;
    cursor:pointer;

}

.historyFilter button:last-child{

    background:#666;

}
/* ===== Mobile Order Progress ===== */

.mobileProgress{
    display:none;
}

@media (max-width:768px){

.mobileProgress{
    display:block;
    margin:15px 0;
}

.progressLine{

    height:8px;
    background:#ddd;
    border-radius:30px;
    overflow:hidden;

}

.progressFill{

    height:100%;
    background:#28a745;
    width:0%;
    transition:.4s;

}

.progressText{

    display:flex;
    justify-content:space-between;
    margin-top:8px;
    font-size:11px;
    font-weight:bold;
    color:#666;

}

}
#lastOrderProgress{

display:none;

background:#fff;

margin:15px;

padding:15px;

border-radius:15px;

box-shadow:0 3px 10px rgba(0,0,0,.15);

}

.progressTitle{

font-size:18px;

font-weight:bold;

margin-bottom:12px;

text-align:center;

}

.progressBar{

height:12px;

background:#ddd;

border-radius:30px;

overflow:hidden;

}

.progressFill{

height:100%;

width:0%;

background:#28a745;

transition:.4s;

}

.progressLabels{

display:flex;

justify-content:space-between;

margin-top:8px;

font-size:12px;

font-weight:bold;

}

@media(min-width:769px){

#lastOrderProgress{

display:none !important;

}

}
#refreshOrdersBtn{

    display:block;
    width:220px;

    margin:20px auto;

    background:#009688;
    color:#fff;

    border:none;
    border-radius:12px;

    padding:14px;

    font-size:18px;
    font-weight:bold;

    cursor:pointer;

    position:relative;
    z-index:9999;

}
.searchBox{
    display:block;
    position:relative;
    top:0;
    background:#fff;
    padding:12px;
    z-index:100;
}

.searchBox input{
    width:100%;
    height:46px;
    border:1px solid #ddd;
    border-radius:12px;
    padding:0 60px 0 15px;
    font-size:16px;
    box-sizing:border-box;
}
#aiSearchBtn{

    position:absolute;

    right:18px;
    top:50%;

    transform:translateY(-50%);

    width:42px;
    height:42px;

    border:none;

    border-radius:50%;

    background:#0a7b83;

    color:white;

    font-size:20px;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:5;
}
.navBtn.active .navIcon{

    transform:scale(1.12);

    width:58px;
    height:58px;

    border-radius:50%;

    background:rgba(10,123,131,.10);

    display:flex;
    align-items:center;
    justify-content:center;

    margin:auto;

    color:#0a7b83;

    box-shadow:0 4px 12px rgba(10,123,131,.15);

    transition:.25s;

}

.loginPopup{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999999;
}

.loginPopupBox{
    width:90%;
    max-width:360px;
    background:#fff;
    border-radius:20px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 35px rgba(0,0,0,.25);
}

.loginPopupBox h2{
    margin:0 0 15px;
}

.loginPopupBox p{
    color:#666;
    line-height:1.5;
}

.loginPopupButtons{
    display:flex;
    gap:12px;
    margin-top:25px;
}

.loginPopupButtons button{
    flex:1;
    height:50px;
    border:none;
    border-radius:14px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
}

.loginPopupButtons button:first-child{
    background:#eee;
}

.loginPopupButtons button:last-child{
    background:#2e7d32;
    color:#fff;
}


/* ===== Product Ribbon ===== ԼԱԲԵԼԻ ՆԿԱՐՆԵՌԸ */

.productImage{
    position:relative;
    overflow:hidden;
}

.ribbon{

    position:absolute;

    left:-62px;

    width:210px;
    height:30px;

    display:flex;
    justify-content:center;
    align-items:center;

    transform:rotate(-45deg);

    font-size:11px;
    font-weight:700;
    letter-spacing:.8px;

    color:#fff;

    white-space:nowrap;

    text-transform:uppercase;

    box-shadow:
        0 5px 12px rgba(0,0,0,.28);

    z-index:50;

    user-select:none;
}

/* 🆕 */
.ribbon-new{

    background:linear-gradient(90deg,#FFE600,#FFD000);

    color:#222;
}

.ribbon-sale{

    background:linear-gradient(90deg,#43A047,#2E7D32);
}

.ribbon-original{

    background:linear-gradient(90deg,#FFD54F,#FFB300);

    color:#222;
}

@media (max-width:768px){

    .ribbon{

        left:-48px;

        width:145px;
        height:22px;

        font-size:9px;
    }

}








/* Քարտ */
.subgroupCard{

    margin-bottom:24px;      /* նախկին 12-16px-ի փոխարեն */
    padding:24px 18px;
    border-radius:24px;

}

/* Նկար */
.subgroupCard img{

    width:140px;
    height:140px;
    object-fit:contain;
    margin-bottom:10px;

}

/* Անուն */
.subgroupName{

    font-size:24px;
    font-weight:700;
    line-height:1.35;
    text-align:center;

    padding:0 12px;
    margin-top:8px;

    white-space:normal;
    word-break:break-word;






/* էֆեկտ */


}
@keyframes showGroup{

    from{
        opacity:0;
        transform:translateY(12px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}
.productsList{

 display:grid !important;
grid-template-columns:repeat(2,1fr);

}

.productsList .mobileCard,
.productsList .card{

    width:calc(100% - 12px) !important;
    max-width:none !important;

    margin:6px auto !important;

    display:flex;

}


/* ===== Mobile Banner ===== */

#mobileBannerSlider{

    display:none;

}

@media(max-width:768px){

#mobileBannerSlider{

    display:block;

    width:100%;

    margin:10px 0 18px;

}

#bannerSlides{

    width:100%;
    height:170px;

    border-radius:18px;

    overflow:hidden;

    position:relative;

}

#bannerDots{

    display:flex;
    justify-content:center;
    gap:8px;

    margin-top:10px;

}

.bannerDot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#ccc;

}

.bannerDot.active{

    background:#2196F3;

}

}



.bannerFade{

    animation:bannerFade .45s ease;

}

@keyframes bannerFade{

    0%{

        opacity:0;

        transform:scale(.97);

    }

    100%{

        opacity:1;

        transform:scale(1);

    }

}
.bannerItem{

    animation:bannerFade .45s ease;

}

@keyframes bannerFade{

    from{

        opacity:0;
        transform:scale(.96);

    }

    to{

        opacity:1;
        transform:scale(1);

    }

}
.siteFooter{
    background:linear-gradient(180deg,#1f1f1f,#111);
    color:#ffb347;

    margin-top:20px;

    border-top:3px solid #ff7a00;
    border-radius:20px 20px 0 0;

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

    overflow:hidden;
    padding:0;
}

.footerBox{
    max-width:900px;
    margin:auto;
    padding:0;
}

/* Header */
.footerHeader{
    display:flex;
    justify-content:space-between;
    align-items:center;

    height:48px;
    padding:0 16px;

    cursor:pointer;
    user-select:none;

    font-size:16px;
    font-weight:700;
    color:#ffb347;

    transition:.25s;
}

.footerHeader:hover{
    background:rgba(255,255,255,.03);
}

/* Arrow */
#footerArrow{
    font-size:20px;
    color:#ffb347;
    font-weight:bold;
    transition:transform .3s ease;
}

.siteFooter.open #footerArrow{
    transform:rotate(90deg);
}

/* Բացված վիճակում վերնագրի տակ գիծ */
.siteFooter.open .footerHeader{
    border-bottom:1px solid rgba(255,179,71,.25);
}

/* Closed */
.footerContent{
    max-height:0;
    overflow:hidden;

    transition:
        max-height .35s ease,
        padding .35s ease;

    padding:0 12px;
}

/* Open */
.siteFooter.open .footerContent{
    max-height:350px;
    padding:0 12px 12px;
}

/* Items */
.footerItem{
    display:flex;
    align-items:center;
    gap:10px;

    margin-top:8px;
    padding:9px 12px;

    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,179,71,.10);

    border-radius:12px;

    font-size:14px;
    line-height:1.3;

    color:#ffb347;

    transition:.25s;
}

.footerItem:hover{
    background:rgba(255,179,71,.08);
    border-color:rgba(255,179,71,.30);
    transform:translateY(-1px);
}

.footerItem:last-child{
    margin-bottom:0;
}

.footerItem a{
    color:#ffb347;
    text-decoration:none;
    font-weight:600;
    transition:.2s;
}

.footerItem a:hover{
    color:#ffd27a;
}

/* Admini ejy*/

.topBar{
    position:sticky;
    top:0;
    z-index:999;
    height:70px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:0 25px;

    background:#b30000;
    color:white;

    border-radius:18px;

    margin-bottom:25px;

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

.logo{
    font-size:24px;
    font-weight:bold;
}

.topRight{
    display:flex;
    align-items:center;
    gap:15px;
}

.adminUser{
    background:rgba(255,255,255,.18);
    padding:10px 15px;
    border-radius:30px;
}

.logoutBtn{
    color:white;
    text-decoration:none;

    background:#8a0000;

    padding:10px 18px;

    border-radius:12px;

    transition:.25s;
}

.logoutBtn:hover{
    background:#700000;
}