/* Cart Page Custom Design - High Fidelity */

.iron-cart-page {
    padding: 40px 0 100px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    max-width: 1440px;
    margin: 0 auto;
}

.iron-cart-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #333;
}

/* Steps Progress Bar */
.iron-cart-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.iron-cart-steps .step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.3;
}

.iron-cart-steps .step.--active {
    opacity: 1;
}

.iron-cart-steps .step .__label .__main {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.iron-cart-steps .step .__label .__sub {
    font-size: 9px;
    opacity: 0.6;
    text-transform: uppercase;
}

/* Free Shipping Bar */
.iron-free-shipping-bar {
    margin-bottom: 30px;
    text-align: center;
}

.iron-free-shipping-bar .__text {
    font-size: 13px;
    margin-bottom: 8px;
    color: #333;
}

.iron-free-shipping-bar .__progress-bg {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

.iron-free-shipping-bar .__progress-fill {
    height: 100%;
    background: #333;
    transition: width 0.3s ease;
}

/* Layout Structure */
.iron-cart-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.woocommerce-cart-form {
    flex: 1;
    min-width: 600px;
}

/* Cart Table */
.shop_table.cart {
    width: 100%;
    border-collapse: collapse;
}

.shop_table.cart thead th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #999;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
}

.shop_table.cart thead th.product-price,
.shop_table.cart thead th.product-quantity,
.shop_table.cart thead th.product-subtotal {
    text-align: right;
}

.shop_table.cart tbody td {
    padding: 30px 0;
    border-bottom: 1px solid #f9f9f9;
    vertical-align: middle;
        text-align: center;
}

.iron-cart-product-cell {
    display: flex;
    align-items: center;
    gap: 25px;
}

.iron-cart-product-cell .__thumb img {
    width: 70px;
    height: auto;
    background: #f9f9f9;
}

.iron-cart-product-cell .__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.iron-cart-product-cell .__info a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

.iron-cart-product-cell .__remove a {
    font-size: 12px;
        color: grey!important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
    display: inline-block;
    background-color: transparent!important;
}

.product-price, .product-subtotal {
    font-weight: 500;
    font-size: 15px;
    text-align: right;
    color: #333;
}

.product-quantity {
    text-align: right;
}

.iron-cart-qty-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.rey-qtyField {
    display: flex;
    align-items: center;
    border: 1px solid #eee;
    background: #fff;
}

.cartBtnQty-control {
    width: 30px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #999;
}

.cartBtnQty-control svg {
    width: 10px;
    height: 10px;
}

.qty {
    width: 35px;
    border: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
}

/* Coupon Section */
.actions {
    padding-top: 40px !important;
    border-bottom: none !important;
}

.coupon {
    display: flex;
    gap: 10px;
}

.coupon input {
    border: 1px solid #eee;
    padding: 12px 15px;
    width: 180px;
    font-size: 13px;
}

.coupon button {
    background: #f2f2f2;
    border: none;
    padding: 0 25px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* Basket Totals */
.cart-collaterals {
    width: 420px;
}

.cart_totals {
    background: #f9f9f9;
    padding: 35px;
}

.iron-basket-totals-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    text-transform: uppercase;
}

.cart_totals table {
    width: 100%;
}

.cart_totals table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    padding: 15px 0;
    text-transform: uppercase;
}

.cart_totals table td {
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 0;
    color: #333;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.wc-proceed-to-checkout {
    margin-top: 30px;
}

.checkout-button {
    display: block;
    width: 100%;
    background: #231424;
    color: #fff;
    text-align: center;
    padding: 18px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.checkout-button:hover {
    background: #000;
}

@media (max-width: 1100px) {
    .iron-cart-content-wrapper {
        flex-direction: column;
    }
    .woocommerce-cart-form, .cart-collaterals {
        width: 100%;
        min-width: 0;
    }
}
tr.woocommerce-cart-form__cart-item.cart_item td {
    padding: 15px;
}