@font-face {
    font-family: 'YekanBakh';
    src: url('../fonts/YekanBakh.woff2') format('woff2');
}

.zx-shop,
.zx-cart,
.zx-checkout,
.zx-single-product,
.zx-receipt {
    font-family: 'YekanBakh', Tahoma, sans-serif;
    direction: rtl;
}

.zx-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px;
}

.zx-product {
    background: white;
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.zx-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.zx-product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.zx-product h3 {
    margin: 10px 0;
    font-size: 18px;
}

.zx-price {
    color: #2563eb;
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.zx-add-to-cart {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
}

.zx-cart-table,
.zx-table {
    width: 100%;
    border-collapse: collapse;
}

.zx-cart-table th,
.zx-cart-table td,
.zx-table th,
.zx-table td {
    padding: 12px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.zx-total {
    font-size: 18px;
    background: #f8fafc;
}

.zx-checkout form,
.zx-cart {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.zx-form-group {
    margin-bottom: 15px;
}

.zx-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.zx-form-group input,
.zx-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.zx-btn {
    background: #2563eb;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.zx-success {
    background: #d1fae5;
    color: #059669;
    padding: 15px;
    border-radius: 8px;
    margin: 20px;
}

.zx-single-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.zx-product-images img {
    width: 100%;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .zx-single-product {
        grid-template-columns: 1fr;
    }
    .zx-shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}