/* ============================================================
   AA Ambiente Cart Extras  vB
   ============================================================ */

/* ---- 1. Hide shipping destination from cart totals ---- */
.woocommerce-shipping-destination,
.woocommerce-cart .shipping-calculator-button,
.woocommerce-cart .shipping-calculator-form {
    display: none !important;
}

/* ---- 2. Coupon row in totals panel ---- */
.amb-coupon-row td.amb-coupon-cell {
    padding: 12px 0 4px !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
}

/* Remove the WooCommerce mobile ::before colon on our coupon cell */
.amb-coupon-row td.amb-coupon-cell::before {
    display: none !important;
    content: none !important;
}

.amb-coupon-form {
    display: flex !important;
    gap: 8px !important;
    align-items: stretch !important;  /* key: stretches both children to same height */
    flex-wrap: wrap !important;
}

.amb-coupon-input {
    flex: 1 1 140px !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(0,0,0,0.2) !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.amb-coupon-btn {
    flex: 0 0 auto !important;
    padding: 0 14px !important;   /* no top/bottom — height comes from align-items: stretch */
    font-size: 14px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* ---- 3. Hide original coupon section in cart form ---- */
.woocommerce-cart-form .coupon {
    display: none !important;
}

/* ---- 4. Empty Cart button ---- */
.amb-empty-cart-btn {
    background: transparent !important;
    color: #cc0000 !important;
    border: 1px solid #cc0000 !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: background 0.15s, color 0.15s !important;
}

.amb-empty-cart-btn:hover {
    background: #cc0000 !important;
    color: #fff !important;
}

.amb-empty-cart-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}
