.elementor-43 .elementor-element.elementor-element-103683f4{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-373f89e4 *//* ==========================================
   استایل صفحه سبد خرید - Cart
   ========================================== */

/* ===== کانتینر اصلی ===== */
.woocommerce {
    max-width: 100%;
}

/* ===== جدول سبد خرید ===== */
.shop_table.cart {
    width: 100%;
    border-collapse: collapse;
    background: rgba(22, 15, 12, 0.88);
    border: 1px solid rgba(212, 168, 90, 0.22);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* ===== هدر جدول ===== */
.shop_table.cart thead th {
    color: #f2d9a2;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 14px;
    border-bottom: 2px solid rgba(212, 168, 90, 0.2);
    text-align: right;
    background: rgba(13, 9, 8, 0.5);
}

/* ===== سلول‌های جدول ===== */
.shop_table.cart tbody td {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(212, 168, 90, 0.08);
    vertical-align: middle;
    color: #f7ead3;
}

/* ===== دکمه حذف ===== */
.product-remove .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c !important;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.2rem;
}

.product-remove .remove:hover {
    background: #e74c3c;
    color: #fff !important;
    transform: rotate(90deg);
}

/* ===== تصویر محصول ===== */
.product-thumbnail img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(212, 168, 90, 0.15);
    transition: transform 0.3s ease;
}

.product-thumbnail img:hover {
    transform: scale(1.05);
}

/* ===== نام محصول ===== */
.product-name a {
    color: #f7ead3;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #d4a85a;
}

/* ===== قیمت و جمع ===== */
.product-price .amount,
.product-subtotal .amount {
    color: #d4a85a;
    font-weight: 700;
}

/* ===== فیلد تعداد ===== */
.product-quantity .quantity {
    display: inline-block;
}

.product-quantity input.qty {
    width: 60px;
    padding: 8px 10px;
    background: rgba(13, 9, 8, 0.7);
    border: 1px solid rgba(212, 168, 90, 0.2);
    border-radius: 10px;
    color: #f7ead3;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
}

.product-quantity input.qty:focus {
    border-color: #d4a85a;
    box-shadow: 0 0 0 3px rgba(212, 168, 90, 0.15);
    outline: none;
}

/* ===== بخش اکشن‌ها (کوپن و آپدیت) ===== */
.actions {
    padding: 20px 14px !important;
    background: rgba(13, 9, 8, 0.3);
}

.actions .coupon {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.actions .coupon label {
    display: none;
}

.actions .coupon input {
    flex: 1;
    min-width: 160px;
    padding: 12px 16px;
    background: rgba(13, 9, 8, 0.7);
    border: 1px solid rgba(212, 168, 90, 0.2);
    border-radius: 10px;
    color: #f7ead3;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.actions .coupon input:focus {
    border-color: #d4a85a;
    box-shadow: 0 0 0 3px rgba(212, 168, 90, 0.15);
    outline: none;
}

.actions .coupon input::placeholder {
    color: #6a5d4e;
    opacity: 0.7;
}

/* ===== دکمه‌ها ===== */
.actions .button {
    padding: 12px 24px;
    border: 1px solid rgba(212, 168, 90, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: #f7ead3;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.actions .button:hover {
    background: rgba(212, 168, 90, 0.12);
    border-color: #d4a85a;
}

.actions .button[name="apply_coupon"] {
    background: rgba(212, 168, 90, 0.15);
    color: #d4a85a;
}

.actions .button[name="apply_coupon"]:hover {
    background: rgba(212, 168, 90, 0.25);
}

.actions .button[name="update_cart"]:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===== بخش جمع کل ===== */
.cart-collaterals {
    margin-top: 30px;
}

.cart_totals {
    background: rgba(22, 15, 12, 0.88);
    border: 1px solid rgba(212, 168, 90, 0.22);
    border-radius: 16px;
    padding: 28px 30px;
    max-width: 500px;
    margin-right: auto;
}

.cart_totals h2 {
    color: #f2d9a2;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 168, 90, 0.15);
}

/* ===== جدول جمع کل ===== */
.cart_totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cart_totals table th,
.cart_totals table td {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(212, 168, 90, 0.08);
    text-align: right;
}

.cart_totals table th {
    color: #c4ad84;
    font-weight: 600;
}

.cart_totals table td {
    color: #f7ead3;
    font-weight: 500;
}

.cart_totals .order-total th {
    color: #f2d9a2;
    font-size: 1.1rem;
}

.cart_totals .order-total .amount {
    color: #d4a85a !important;
    font-size: 1.2rem;
    font-weight: 700;
}

/* ===== دکمه تسویه حساب ===== */
.wc-proceed-to-checkout {
    margin-top: 20px;
}

.checkout-button {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #c89446, #e9c57b);
    color: #1d1209 !important;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(212, 168, 90, 0.18);
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(212, 168, 90, 0.25);
    color: #1d1209 !important;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .shop_table.cart thead {
        display: none;
    }
    
    .shop_table.cart tbody tr {
        display: block;
        padding: 16px;
        border-bottom: 1px solid rgba(212, 168, 90, 0.12);
    }
    
    .shop_table.cart tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
        gap: 12px;
    }
    
    .shop_table.cart tbody td::before {
        content: attr(data-title);
        font-weight: 600;
        color: #c4ad84;
        flex-shrink: 0;
    }
    
    .shop_table.cart tbody td.product-remove {
        justify-content: flex-end;
    }
    
    .shop_table.cart tbody td.product-remove::before {
        display: none;
    }
    
    .shop_table.cart tbody td.product-thumbnail {
        justify-content: center;
    }
    
    .shop_table.cart tbody td.product-thumbnail::before {
        display: none;
    }
    
    .shop_table.cart tbody td.product-thumbnail img {
        width: 80px;
        height: 80px;
    }
    
    .actions .coupon {
        flex-direction: column;
        width: 100%;
    }
    
    .actions .coupon input {
        width: 100%;
        min-width: unset;
    }
    
    .actions .button {
        width: 100%;
        justify-content: center;
    }
    
    .cart_totals {
        padding: 20px 16px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .shop_table.cart tbody td {
        font-size: 0.9rem;
    }
    
    .product-quantity input.qty {
        width: 50px;
        padding: 6px 8px;
    }
    
    .cart_totals h2 {
        font-size: 1.1rem;
    }
    
    .checkout-button {
        padding: 14px 20px;
        font-size: 1rem;
    }
}
/* مخفی کردن دکمه */
button[name="update_cart"] {
    display: none !important;
}

/* استایل تیتر */
.cart_totals h2 {
    color: #f2d9a2;
    font-size: 1.3rem;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(212, 168, 90, 0.2);
}
/* ===== استایل تیتر جمع کل سبد خرید ===== */
.cart_totals h2 {
    background: rgba(22, 15, 12, 0.95) !important;
    color: #f2d9a2 !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    border: 1px solid rgba(212, 168, 90, 0.2) !important;
    margin-bottom: 20px !important;
    display: block !important;
}/* End custom CSS */