* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'vazir';
}

body{
    background-color:#f5f7fa;
    min-height:100vh;
    position:relative;
}

body::before{
    content:"";
    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:url('../images/logo.png') center center no-repeat;

    background-size:350px;

    opacity:0.1;

    pointer-events:none;

    z-index:-1;
}

.contain {
    padding: 40px;
}

/* هدر */
.hea {
    padding: 25px;

    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-radius: 25px;
    text-align: center;

    margin-bottom: 40px;

    border: 1px solid rgba(255,255,255,0.6);

    box-shadow:
        0 8px 32px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.hea .h2-products {
    font-size: 2.3em;
    color: #444;
    font-weight: bold;
}

/* دسته بندی */
.category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.cat-btn {
    padding: 12px 25px;

    border: 2px so #555;

    background: rgba(255,255,255,0.65);

    backdrop-filter: blur(10px);

    border-radius: 50px;

    cursor: pointer;

    font-weight: bold;
    color: #555;

    transition: all .3s ease;
}

.cat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.cat-btn.active {
    background: linear-gradient(135deg,#8b8b8b,#6e6e6e);
    color: white;
}

/* محصولات */
.products-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.product-card {
    flex: 1 1 300px;

    background: rgba(255,255,255,0.7);

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

    border-radius: 25px;

    padding: 30px 20px;

    text-align: center;

    border: 1px solid rgba(255,255,255,0.7);

    box-shadow:
        0 8px 32px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);

    transition: all .35s ease;
}

.product-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 15px 35px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* عکس محصول */
.image-circle {
    width: 220px;
    height: 220px;

    margin: 0 auto 25px;

    border-radius: 50%;

    overflow: hidden;

    background: rgba(255,255,255,0.8);

    border: 3px solid rgba(255,255,255,0.9);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.08);
}

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

.total-image {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* دکمه ها */
.buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    flex: 1;

    padding: 12px;

    border: none;

    border-radius: 12px;

    cursor: pointer;

    font-weight: bold;

    transition: all .3s ease;
}

.btn-price,
.btn-spec {
    background: linear-gradient(135deg,#8b8b8b,#666);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,.12);
}

.hide {
    display: none;
}

/* موبایل */
@media (max-width:768px) {

    .contain {
        padding: 15px;
    }

    .products-grid {
        flex-direction: column;
    }

    .buttons {
        flex-direction: column;
    }

    .category-buttons {
        flex-direction: column;
    }

    .cat-btn {
        width: 100%;
    }

    .image-circle {
        width: 180px;
        height: 180px;
    }
}