.elementor-widget-woocommerce-checkout-page, .elementor-widget-woocommerce-cart .woocommerce {
    font-family: inherit!important;
}
/* Shipping method radio buttons */
.woocommerce ul#shipping_method li input, 
li.wc_payment_method input,
#ship-to-different-address-checkbox,
#kl_newsletter_checkbox,
#createaccount {
    display: flex;
    grid-area: radio;
}
.woocommerce-shipping-methods li, li.wc_payment_method {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 3px;
    transition: all 0.3s ease;
    background: #fff;
    align-items: start;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "radio label      " 
        "radio description";
    column-gap: 15px;
    row-gap: 5px;
}
li.wc_payment_method {
    background-color: transparent;
    margin: 20px 0;
    padding: 20px 0!important;
    align-items: center;
}
.payment_box {
    grid-column: span 2;
}
input[type="radio"].shipping_method,
.wc_payment_method input[type="radio"], 
#ship-to-different-address-checkbox,
#createaccount,
#kl_newsletter_checkbox,
#kl_sms_consent_checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  position: relative;
  width: 1.4em;
  height: 1.4em;
  border: 1px solid #4141417A;
  overflow: visible;
  border-radius: 3px;
  cursor: pointer;
  padding: 0.3em 0.4em;
  margin: 0;
  font-size: inherit;
}
input[type="radio"].shipping_method:checked::before,
.wc_payment_method input[type="radio"]:checked::before, 
#ship-to-different-address-checkbox:checked::before,
#createaccount:checked::before,
#kl_newsletter_checkbox:checked::before,
#kl_sms_consent_checkbox:checked::before {
  -webkit-transform: scale(1);
  transform: scale(1);
  border-color: #726897;
  color: #726897;
  border-width: 2px!important;
  font-weight: 600;
}
input[type="radio"].shipping_method::before, 
.wc_payment_method input[type="radio"]::before,
#ship-to-different-address-checkbox::before,
#createaccount:before,
#kl_newsletter_checkbox::before,
#kl_sms_consent_checkbox::before {
    content: "✓"; /* Unicode for fa-check */
    font-size: 120%;
    color: #455A64;
    position: absolute;
    top: -4px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    background-color: transparent;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 2px;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform 0.25s ease-in-out;
    transition: -webkit-transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out;
    transition: transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
}
.woocommerce-shipping-methods label {
    line-height: 1.5em;
    display: flex;
}
/* Selected shipping method styling */
.e-shop-table {
    padding: 10px;
}
.woocommerce-shipping-methods li:has(input:checked) {
    border-color: #726897;
    background: #f4f4f4;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.1);
}
/* Shipping method labels */
.woocommerce-shipping-methods label, .wc_payment_method label {
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 5px;
    grid-area: label;
    display: flex!important;
}
.wc_payment_method label {
    font-weight: 600;
}
.awdr_free_product_text {
    background-color: #B3D0EA!important;
}
/* Shipping method descriptions */
.shipping-method-description {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

/* COUPON CODE */
.coupon.e-cart-section.shop_table {
    padding: 10px;
    border: 0;
}
.coupon.e-cart-section.shop_table input#coupon_code {
    background-color: #f9fafa;
    border: 2px solid #ccc;
    border-radius: var(--forms-fields-border-radius,0);
    color: var(--forms-fields-normal-color,#69727d);
    font-size: 14px;
    font-weight: 400!important;
    border-radius: 3px 0 0 3px;
    padding: 11px 15px;
}
.elementor-widget-woocommerce-cart .woocommerce .coupon-col-start {
    padding-inline-end: 0!important;
}
.elementor-widget-woocommerce-cart .woocommerce button.button.e-apply-coupon {
    border-radius: 0 3px 3px 0;
    font-weight: 400!important;
}
/* Price styling in shipping methods */
.woocommerce-shipping-methods .woocommerce-Price-amount {
    font-weight: 600;
    color: #444;
}
.elementor-widget-woocommerce-cart .e-cart-section {
    padding: 0;
}
.shop_table .cart-subtotal td, .shop_table .woocommerce-shipping-totals.shipping td {
    padding-left: 0!important;
}

.shop_table.cart, .shop_table.cart tbody, .shop_table.cart tbody td {
    display: block !important;
}
.shop_table.cart thead {
    display: none;
}
.cart-item, .shop_table.cart tbody tr {
    display: grid;
    grid-template-columns: auto 200px 1fr auto auto auto;
    grid-template-areas: "thumbnail name price quantity subtotal remove";
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #e9ecef!important;
}
.elementor-widget-woocommerce-cart .woocommerce table.cart td {
    border-top: 0!important;
}

/* Mobile responsive layout */
@media (max-width: 1100px) {
    .cart-item, .shop_table.cart tbody tr {
        grid-template-columns: 80px 1fr auto;
        grid-template-areas: 
            "thumbnail name remove"
            "price quantity subtotal";
        gap: 10px;
    }
    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        content: "";
    }
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr {
        border-top: 0!important;
    }
}

@media (max-width: 480px) {
    .elementor-widget-woocommerce-cart .e-cart-section {
        padding: 20px 10px!important;
    }
    .cart-item, .shop_table.cart tbody tr {
        grid-template-columns: 80px auto 1fr;
        grid-template-areas:
            "thumbnail name name"
            "thumbnail price ."
            "quantity subtotal remove";
        padding: 10px!important;
        align-items: start;
    }
    .woocommerce table.shop_table_responsive tr td {
        padding: 0!important;
    }
    .woocommerce table.shop_table_responsive tr td.product-quantity:before,
    .woocommerce table.shop_table_responsive tr td.product-subtotal:before{
        content: attr(data-title) ": ";
        display: block;
        font-weight: bold;
        font-size: 0.9em;
        color: #333!important;
        margin-bottom: 5px;
        float: none!important;
    }
    .product-name {
        padding-bottom: 0!important;
    }
    .product-price {
        padding-top: 0!important;
    }
    .woocommerce table.shop_table_responsive tr td.product-subtotal {
        padding-left: 20px!important;
    }
    .woocommerce table.shop_table_responsive tr td.product-name,
    .woocommerce table.shop_table_responsive tr td.product-price {
        text-align: left!important;
    }
    .elementor-widget-woocommerce-cart .woocommerce .input-text.qty {
        padding: 10px 0 10px 10px !important;
    }
    .elementor-widget-woocommerce-cart .woocommerce .coupon-col {
        display: flex!important;
    }
}

.product-remove {
    grid-area: remove;
}

.product-remove .remove, .elementor-widget-woocommerce-cart .woocommerce .shop_table .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--links-normal-color)!important;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    font-size: 2.3em;
}
.shop_table .remove:focus {
    outline: none!important;
}
.product-remove .remove:hover {
    color: #c82333;
}

.product-thumbnail {
    grid-area: thumbnail;
}

.product-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    max-width: 100px;
}

.product-name {
    grid-area: name;
}

.product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
}

.product-name a:hover {
    color: #007cba;
    text-decoration: underline;
}

.product-price {
    grid-area: price;
    font-weight: 600;
    color: #333;
    order: 3;
}

.product-quantity {
    grid-area: quantity;
}

.quantity input {
    width: 70px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.product-subtotal {
    grid-area: subtotal;
    font-weight: 700;
    color: #333;
    font-size: 1.1em;
}
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
}
