/**
 * HELLO CHILD THEME - CUSTOM CSS
 * Keep all design/display CSS customizations in this single file.
 */


/* =========================================================
   1. GLOBAL
   ========================================================= */



/* =========================================================
   2. HEADER / NAVIGATION
   ========================================================= */



/* =========================================================
   3. WOOCOMMERCE GENERAL
   ========================================================= */



/* =========================================================
   4. PRODUCT PAGE
   ========================================================= */



/* =========================================================
   5. PRODUCT ARCHIVE / LOOP
   ========================================================= */



/* =========================================================
   6. CART
   ========================================================= */
/* Cart product summary heading divider */
.woocommerce-cart-form table.shop_table thead th {
    border-bottom: 1px solid #d9dee3 !important;
    padding-bottom: 18px;
}

.woocommerce-cart-form table.shop_table tbody td {
    padding-top: 22px;
}

/* =====================================================
   CART DESKTOP - SAFE ALIGNMENT FIX
   ===================================================== */

@media (min-width: 769px) {

    /* DO NOT force fixed table layout */
    .woocommerce-cart-form table.shop_table {
        table-layout: auto !important;
        width: 100% !important;
    }


    /* ---------------------------------
       REMOVE UNUSED SPACE BEFORE IMAGE
       --------------------------------- */

    /* Remove heading space for old remove column */
    .woocommerce-cart-form table.shop_table th.product-remove {
        width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* Image column - remove unnecessary left padding */
    .woocommerce-cart-form table.shop_table th.product-thumbnail,
    .woocommerce-cart-form table.shop_table td.product-thumbnail {
        padding-left: 0 !important;
    }


    /* ---------------------------------
       IMAGE + PRODUCT TITLE ALIGNMENT
       --------------------------------- */

    .woocommerce-cart-form table.shop_table td.product-thumbnail,
    .woocommerce-cart-form table.shop_table td.product-name {
        vertical-align: top !important;
        padding-top: 28px !important;
    }

    /* Product title starts exactly from top */
    .woocommerce-cart-form table.shop_table td.product-name > a {
        margin-top: 0 !important;
        padding-top: 0 !important;
        display: inline-block;
    }


    /* ---------------------------------
       KEEP OTHER COLUMNS NORMAL
       --------------------------------- */

    .woocommerce-cart-form table.shop_table td.product-price,
    .woocommerce-cart-form table.shop_table td.product-quantity,
    .woocommerce-cart-form table.shop_table td.product-subtotal {
        vertical-align: middle !important;
    }

    /* ---------------------------------
       REMOVE BUTTON - FAR RIGHT
       --------------------------------- */

    .woocommerce-cart-form table.shop_table tr.cart_item {
        position: relative;
    }

    .woocommerce-cart-form table.shop_table td.product-remove {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        width: 22px !important;
        height: 22px !important;

        padding: 0 !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center;
        justify-content: center;

        border: 0 !important;
        z-index: 10;
    }


    /* Give subtotal enough room for remove icon */
    .woocommerce-cart-form table.shop_table td.product-subtotal {
        padding-right: 45px !important;
    }
}
/* =========================================
   REMOVE BUTTON - CLEAN CONTROLLED ICON
   ========================================= */

.woocommerce-cart-form a.remove {
    width: 22px !important;
    height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #f4a000 !important;
    border-radius: 50% !important;
    background: #ffffff !important;

    /* Hide original WooCommerce × */
    font-size: 0 !important;
    color: transparent !important;
    text-decoration: none !important;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease !important;
}

/* Create our own × */
.woocommerce-cart-form a.remove::before {
    content: "×";
    display: block;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    color: #f4a000 !important;
    transition: color 0.2s ease !important;
}

/* Hover circle */
.woocommerce-cart-form a.remove:hover {
    background: #f4a000 !important;
    border-color: #f4a000 !important;
}

/* Hover X */
.woocommerce-cart-form a.remove:hover::before {
    color: #ffffff !important;
}
/* =========================================
   QUANTITY CONTROL
   ========================================= */
.woocommerce-cart-form .quantity {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfd3d7;
    border-radius: 30px;
    height: 38px;
    overflow: hidden;
    background: #fff;
}

/* Quantity number */
.woocommerce-cart-form .quantity .qty {
    width: 18px !important;
    height: 36px !important;
    border: 0 !important;
    outline: 0 !important;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    background: transparent !important;
    padding: 0 !important;
}

/* Hide browser arrows */
.woocommerce-cart-form .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce-cart-form .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-cart-form .quantity input[type="number"] {
    -moz-appearance: textfield;
}

/* Minus / Plus buttons */
.woocommerce-cart-form .qty-minus,
.woocommerce-cart-form .qty-plus {
    width: 30px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}

/* Hover */
.woocommerce-cart-form .qty-minus:hover,
.woocommerce-cart-form .qty-plus:hover {
    background: #f5f5f5;
}

/* =========================================
   WOOCOMMERCE CART - COUPON FIELD
   ========================================= */
/* WooCommerce Cart - Coupon Input Only */
.woocommerce-cart-form #coupon_code {
    width: 100% !important;
    height: 44px !important;
    padding: 10px 16px !important;
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #6B6B6B !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Placeholder */
.woocommerce-cart-form #coupon_code::placeholder {
    color: #999999 !important;
    opacity: 1;
}

/* Focus */
.woocommerce-cart-form #coupon_code:focus {
    border-color: #D6D6D6 !important;
    box-shadow: 0 0 0 2px rgba(244, 160, 0, 0.10) !important;
}

/* Tablet + Mobile */
@media (max-width: 768px) {
    .woocommerce-cart-form #coupon_code {
        width: 100% !important;
        height: 40px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }
}

.woocommerce .cart_totals > h2 {
    padding-bottom: 15px !important;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #d9dee3 !important;
}

/* Checkout button - add arrow icon */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Arrow icon */
.woocommerce .wc-proceed-to-checkout a.checkout-button::after {
    content: "→";
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}

/* Small movement on hover */
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover::after {
    transform: translateX(4px);
}

/* ==========================================
   CART TOTALS - SHIPPING TRUE INLINE
   ========================================== */
/* Shipping section */
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > th,
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > td {
    display: block !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Main Shipment heading */
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > th {
    text-align: left !important;
    padding-bottom: 10px !important;
}

/* Shipping method area */
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > td {
    text-align: left !important;
    padding-top: 0 !important;
}

/* IMPORTANT: remove duplicated responsive data-title */
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals > td::before {
    content: none !important;
    display: none !important;
}

/* Shipping methods */
.woocommerce-cart .cart_totals #shipping_method {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Shipping method row */
.woocommerce-cart .cart_totals #shipping_method li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Flat rate left + price right */
.woocommerce-cart .cart_totals #shipping_method label {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
}

/* Price */
.woocommerce-cart .cart_totals #shipping_method .woocommerce-Price-amount {
    margin-left: auto !important;
    font-weight: 600 !important;
}

/* Hide shipping destination if you don't want it */
.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
    display: none !important;
}

/* Exact align shipping price with Subtotal / Total */
.woocommerce-cart .cart_totals #shipping_method label {
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
    align-items: center !important;

    /* shift shipping amount to same right edge */
    padding-right: 0 !important;
}

.woocommerce-cart .cart_totals #shipping_method .woocommerce-Price-amount {
    margin-left: auto !important;
    margin-right: 11px !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: right !important;
}

/* Shipping method label */
.woocommerce-cart .cart_totals #shipping_method label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
}

/* FREE shipping price */
.woocommerce-cart .cart_totals .zp-free-shipping-price {
    margin-left: auto !important;
    color: #28a745 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.woocommerce-cart .cart_totals #shipping_method .zp-free-shipping-price {
	margin-left: auto !important;
    margin-right: 11px !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: right !important;
}

/* Hide product image ONLY in Elementor off-canvas / menu cart */
.elementor-menu-cart__product-image {
    display: none !important;
}

/* Let product details use the freed space */
.elementor-menu-cart__product {
    grid-template-columns: 1fr auto !important;
}

/* Product name/details */
.elementor-menu-cart__product-name {
    grid-column: 1 !important;
}

/* Quantity / price */
.elementor-menu-cart__product-price {
    grid-column: 1 !important;
}

/* Remove button stays on right */
.elementor-menu-cart__product-remove {
    grid-column: 2 !important;
}

/* =========================================
   ELEMENTOR OFF-CANVAS MINI CART TITLE
   ========================================= */

.elementor-menu-cart__main .zuzu-mini-cart-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: #111;
    margin: 0 0 20px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e5e5e5;
}
/* =========================================================
   7. CHECKOUT
   ========================================================= */



/* =========================================================
   8. ELEMENTOR
   ========================================================= */



/* =========================================================
   9. RESPONSIVE
   ========================================================= */

@media (max-width: 767px) {

}
