/*
Theme Name: Divi Child
Theme URI: https://example.com
Description: قالب فرزند برای Divi
Author: نام شما
Author URI: https://example.com
Template: Divi
Version: 1.0
*/

/* اینجا می‌تونی استایل‌های CSS خودت رو بنویسی */

/* --- استایل سبد خرید سفارشی --- */

.cart-page-wrapper {
    direction: rtl;
    font-family: 'IRANSans', 'Yekan', Tahoma, sans-serif;
    background-color: #fff;
    color: #333;
}

.cart-title {
    color: #2c3e50;
}

.woocommerce-cart table.shop_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-size: 14px;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
}

.cart_totals {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 30px;
}

.woocommerce-message,
.woocommerce-error {
    border-right: 5px solid #009688;
    background-color: #e0f2f1;
    padding: 15px;
    margin-bottom: 20px;
    color: #004d40;
    border-radius: 5px;
}

.woocommerce-cart .button,
.woocommerce .cart .button {
    background-color: #2196f3;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: bold;
}

.woocommerce-cart .button:hover {
    background-color: #1976d2;
    cursor: pointer;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
    .woocommerce-cart table.shop_table,
    .woocommerce-cart table.shop_table thead,
    .woocommerce-cart table.shop_table tbody,
    .woocommerce-cart table.shop_table th,
    .woocommerce-cart table.shop_table td,
    .woocommerce-cart table.shop_table tr {
        display: block;
    }

    .woocommerce-cart table.shop_table td {
        text-align: right;
        padding: 10px;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .cart_totals {
        padding: 15px;
    }
}

.woocommerce-cart .product-thumbnail img {
    width: 80px;
    height: auto;
    border-radius: 10px;
}

.cart-page-wrapper h1.cart-title::before {
    content: '🛍️';
    margin-left: 10px;
}

.woocommerce-cart .product-remove a {
    color: #e53935;
    font-size: 18px;
    transition: 0.3s;
}

.woocommerce-cart .product-remove a:hover {
    color: #b71c1c;
}

.cart-page-wrapper {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.woocommerce .quantity input.qty {
    width: 60px;
    text-align: center;
}


Template: Divi
