/* استایل کلی */
body {
    background-color: lightblue;
    color: #181A18;
    font-family: Tahoma, sans-serif;
    margin: 0;
    padding: 20px;
}

#all {
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 10px;
    margin: 10px;
    background-color: #FBFCF6;
    box-shadow: 0 4px 8px 7px rgba(0,0,0,0.5);
}

/* هدر */
#head {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 10px;
    text-align: center;
}

#head h1 {
    margin: 0;
    font-size: 24px;
}

#head p {
    margin: 5px 0 0 0;
    font-size: 14px;
}

/* تیترها */
h2 {
    text-align: center;
    color: #1a73e8;
    margin-right: 10px;
}

h3, h4 {
    margin-right: 10px;
}

/* دکمه خرید اصلی */
#btt {
    background-color: #d02121;
    border: none;
    border-radius: 10px;
    padding: 12px 25px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    margin: 10px auto;
    display: block;
    width: 250px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

#btt:hover {
    background-color: #a01818;
    transform: scale(1.05);
}

/* دکمه‌های عمومی */
button {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
    transition: all 0.5s ease;
}

button:hover {
    transform: scale(1.1);
    background: blue !important;
}

/* هایلایت */
mark {
    background-color: darkblue;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

/* محصولات دیگر */
details {
    margin: 10px;
    border: 2px solid #3ef315;
    border-radius: 10px;
    padding: 5px;
}

summary {
    padding: 10px 20px;
    font-weight: bold;
    color: #2e7d32;
    cursor: pointer;
}

#divhead {
    display: flex;
    gap: 10px;
    justify-content: space-around;
    margin: 10px;
    flex-wrap: wrap;
}

.divin {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    width: 120px;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.2);
    transition: all 0.3s;
}

.divin:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.3);
}

.divin h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.price {
    color: #4CAF50;
    font-weight: bold;
    margin: 5px 0;
}

.bin {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

/* فوتر */
#footer {
    text-align: center;
    padding: 20px;
    border-top: 2px solid #1a73e8;
    margin-top: 20px;
}

#footer h4 {
    color: #333;
    margin-bottom: 10px;
}

#footer p {
    color: #666;
    font-size: 14px;
}

#footer a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: bold;
}

#footer a:hover {
    text-decoration: underline;
}

.footer-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

#footer img {
    border-radius: 10px;
    transition: transform 0.3s;
}

#footer img:hover {
    transform: scale(1.1);
}

/* پاراگراف‌ها */
p {
    margin-right: 10px;
    line-height: 1.6;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 600px) {
    #divhead {
        flex-direction: column;
        align-items: center;
    }
    
    .divin {
        width: 80%;
    }
    
    #btt {
        width: 90%;
    }
    
    #head h1 {
        font-size: 20px;
    }
}