﻿@font-face {
    font-family:IranSans;
    src:url(../../Main/Fonts/IRANSans.woff) format('woff');
}
@font-face {
    font-family: gellica-soft-italic;
    src: url(../../Main/Fonts/gellica-soft-italic.ttf) format('truetype');
}

* {
    font-family: IranSans,sans-serif !important;
}
a {
    text-decoration:none !important;
}
body {
    margin: 0;
    /*padding: 0 0 120px;*/
    background-color: var(--backColor) !important;
    color: var(--textColor) !important;
    overflow-x: hidden;
}

.hearts {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    font-size: 2rem;
    color: #ff69b4;
    opacity: 0.6;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }

    10%, 90% {
        opacity: 0.7;
    }
}

/* ====== هدر با لوگو و اطلاعات ====== */
header {
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /*background: linear-gradient(rgba(0,0,0,0.88),rgba(0,0,0,0.95)), url('https://images.unsplash.com/photo-1517248135467-2c7ed7fa7c8f?w=1200') center/cover fixed;*/
    padding: 20px;
}

    header video {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 4px solid #ff69b4;
        box-shadow: 0 0 50px rgba(255,105,180,0.8);
        object-fit: cover;
    }
/*    header img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 4px solid #ff69b4;
        box-shadow: 0 0 50px rgba(255,105,180,0.8);
        object-fit: cover;
    }*/

.logo-text {
    font-size: 30px;
    background: linear-gradient(45deg,#ff69b4,#ff1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 20px 0;
}

.info-box {
    background: rgba(0,0,0,0.7);
    padding: 25px 40px;
    border-radius: 25px;
    border: 2px solid #ff69b4;
    max-width: 90%;
    backdrop-filter: blur(10px);
}

/* ====== نوار دسته‌بندی‌ها ====== */
.categories-bar {
    background: rgba(20,20,20,0.98);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #ff69b4;
    backdrop-filter: blur(10px);
    overflow-x: auto;
    white-space: nowrap;
}

    .categories-bar::-webkit-scrollbar {
        height: 6px;
    }

    .categories-bar::-webkit-scrollbar-thumb {
        background: #ff69b4;
        border-radius: 3px;
    }

.cat-btn {
    /* display: inline-block;
    margin: 0 10px;
    padding: 12px 25px;
    background: rgba(255,105,180,0.15);
    color: #ff69b4;
    border: 2px solid #ff69b4;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    min-width: 140px;
    text-align: center;*/
    transition: all 0.3s;
    border-radius: 1rem;
    cursor: pointer;
}

    .cat-btn:hover, .cat-btn.active {
        box-shadow: inset 0 0 0px 2px var(--textColor);
        /*box-shadow: inset 0px 0px 20px 7px var(--pinkBack);*/
        /*transform: scale(1.1);*/
    }

/* ====== باکس سرچ ====== */
.search-container {
    padding: 30px 20px;
    text-align: center;
    background: #111;
}

.mainDivSearchInput {
    display: flex;
    align-items: center;
    gap: 6px;
}
    .mainDivSearchInput span {
        cursor:pointer;
    }
    #search-input {
        width: 100%;
        padding: 5px 17px;
        font-size: 15px;
        border-radius: 10px;
        background: var(--backColorInput);
        color: var(--textColor);
        text-align: right;
        margin: 0 auto;
        border: 0;
        line-height: 2.5;
    }

  /*  #search-input::placeholder {
        color: #ff69b4;
        opacity: 0.7;
    }

    #search-input:focus {
        box-shadow: 0 0 20px rgba(255,105,180,0.6);
    }*/

.container {
    padding: 20px;
}

h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--textColor);
    margin: 50px 0 30px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
}

.item {
    /*background: rgba(255,255,255,0.05);*/
    /*border-radius: 20px;
    overflow: hidden;*/
    /*box-shadow: 0 10px 30px rgba(255,105,180,0.2);*/
    /*border: 1px solid #333;
    transition: 0.4s;*/
/*
    width: 95%;
    margin: 0 auto;*/
}

    .item.hidden {
        display: none;
    }

    /*   .item:hover {
        transform: translateY(-15px);
        border-color: var(--pinkBack);
        box-shadow: 0 20px 40px rgba(255,105,180,0.4);
    }*/

    .item img {
        width: 100px;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        border-radius: 1rem;
        margin-bottom: 9px;
    }
.mainDivFirstPro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}
.remove-btn {
    background-color:transparent;
    border:0;
}
.item-content {
    /*position: relative;
    background-color: #141414;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 1px 1px 9px 1px #2c2c2c;
    padding: 5px 10px 10px 10px;*/
    position: relative;
    background-color: #141414;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 1px 1px 9px 1px #2c2c2c;
    padding: 5px 10px 10px 10px;
    margin: 10px 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 90%;
}

.price {
    font-size: 11px;
    font-weight: bold;
    border-radius: 30px;
    width: fit-content;
}
.mainDivAddCart {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: fit-content;
    flex-direction: column;
}
.add-to-cart {
    background: #ffffff;
    color: #000;
    border: none;
    padding: 6px 17px;
    border-radius: 50px;
    width: fit-content;
    font-weight: bold;
    cursor: pointer;
    font-size: 10px;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20,20,20,0.98);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 3px solid var(--pinkBack);
    z-index: 1000;
}

.footer-btn {
    flex: 1;
    max-width: 300px;
    padding: 15px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
}

#cart-tab {
/*    background: #ff69b4;
    color: #000;*/
    position: relative;
}

.cart-count {
    position: absolute;
    left: -11px;
    bottom: -12px;
    background: var(--pinkBack);
    color: white;
    font-size: 11px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainDivCategory {
    display: flex;
    /*grid-template-columns: repeat(6, 1fr);*/
    width: 100%;
    flex-wrap: wrap;
}
.DivCategory {
    display: flex;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: var(--pinkBack);
    color:var(--textColor);
    font-size: 12px;
    padding: 5px 5px;
    border-radius: 1rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background-color: #000000ff;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background-color: var(--pinkBack);
    border: 4px solid var(--pinkBack);
    background-clip: padding-box;
    transition: background-color .32s ease-in-out;
}

    ::-webkit-scrollbar-thumb:hover {
        border: 4px;
        background-color: var(--pinkBack);
    }


.mainDivProductsCate {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
    gap: 4px;
}
.DivProductsCate {

}
.mainDivTitleProducts {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mainDivTitleProducts hr {
    width:100%;
}
    .mainDivTitleProducts b {
        position: absolute;
        background-color: var(--backColor);
        padding: 0 6px;
        font-size: 11px;
    }

.quantity-controls {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 50px;
    padding: 2px 4px;
    box-shadow: 0 3px 12px rgba(233, 30, 99, 0.25);
    direction: ltr;
}

.qty-btn {
    width: 25px !important;
    height: 25px !important;
    border: none;
    background: var(--pinkBack);
    color: var(--textColor);
    border-radius: 50%;
    font-size: 19px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    text-align:center !important;
}


.qty {
    min-width: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: var(--pinkBack);
    user-select: none;
}


.btn-slide-to-left-rose {
    min-width: 130px;
    height: 40px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
    border-radius: 5px;
    z-index: 0;
    background: var(--backColor);
    overflow: hidden;
    border: 2px solid var(--pinkBack);
    color: var(--pinkBack);
}

    .btn-slide-to-left-rose:hover {
        color: var(--textColor);
    }

    .btn-slide-to-left-rose:active {
        top: 2px;
    }

    .btn-slide-to-left-rose:hover:after {
        width: 100%;
    }

    .btn-slide-to-left-rose:after {
        content: "";
        position: absolute;
        z-index: -1;
        transition: all 0.3s ease;
        right: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: var(--pinkBack);
    }

.mainDivParentTable {
    display: block;
    width: 95%;
    overflow-x: auto;
    margin: 0 auto;
}