/**
 * Cart Page Styles
 * 
 * @package WioLicence
 */

.woocommerce-cart {
    padding: 60px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    min-height: 60vh;
}

.woocommerce-cart-form {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.woocommerce-cart-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.woocommerce-cart-form table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.woocommerce-cart-form table.shop_table thead th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    border-bottom: 2px solid var(--border-color);
}

.woocommerce-cart-form table.shop_table tbody td {
    padding: 25px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.woocommerce-cart-form table.shop_table .product-remove a {
    color: var(--error-color);
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(239, 68, 68, 0.1);
}

.woocommerce-cart-form table.shop_table .product-remove a:hover {
    background: var(--error-color);
    color: #ffffff;
    transform: rotate(90deg) scale(1.1);
}

.woocommerce-cart-form table.shop_table .product-thumbnail img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid var(--border-color);
}

.cart-totals-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.cart-totals-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.cart_totals h2 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.wc-proceed-to-checkout .checkout-button {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}
