body.woocommerce-cart main#main {
    display: block;
}

.page-carrito h1.entry-title {
    /* margin: 0; */
}

.woocommerce-page .cross-sells, .woocommerce-page .choose-your-gift-default {
    margin-top: 5rem !important;
}

.woocommerce-page .cross-sells h2, .woocommerce-page .choose-your-gift-default h2 {
    margin-bottom: 2rem;
    font-size: var(--heading--font-size-h3);
}

@media(min-width:1024px){
    form.woocommerce-cart-form {
        float: left;
        width: 58%;
    }
    
    .woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
        float: right;
        width: 38%;
    }
    
    form.woocommerce-cart-form td.product-thumbnail {
        /* flex: 0; */
        width: 100px;
        max-width: 100px !important;
    }
    
    form.woocommerce-cart-form td.product-quantity, td.product-remove {
        width: 40px;
        max-width: 40px !important;
    }
    
    .woocommerce .cart-collaterals h2 {
        font-size: max(var(--global--font-size-sm),16px);
        line-height: min(var(--global--line-height-body),1.6);
        width: 100%;
        margin-bottom: calc(0.7 * var(--global--spacing-vertical));
        margin-top: 0;
        font-family: var(--global--font-secondary);
        margin-bottom:0;
        font-weight:bold;
        padding: calc(var(--global--spacing-unit)*0.5);
    }
}

@media only screen and (MAX-width: 652px) {
/*
    .woocommerce table.shop_table_responsive tr, 
    .woocommerce-page table.shop_table_responsive tr {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        align-content: center;
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px black solid;
    }
    
    tr.woocommerce-cart-form__cart-item.cart_item td:before{
        display:none 
    }
    
    tr.woocommerce-cart-form__cart-item.cart_item td {
       flex: 1 !important;
       border:0
    }
    
    
    
    td.product-quantity {
        max-width: 77px;
        min-width: 73px;
        text-align: center;
        background: beige !important;
    }
    
    .woocommerce table.shop_table_responsive tr:nth-child(2n+1) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n+1) td {
        background: transparent;
    }
    
       
    
    .woocommerce #content table.cart .product-thumbnail,
       .woocommerce table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail {
        display: block !important;
    }
    
    
    td.product-subtotal {
        display: none !important;
    }
    
    td.product-remove {
        max-width: 20px;
    }
    
    
    
    td.product-name {
        flex: 5;
        min-width: 40%;
    }
    
    td.product-quantity {
        order: 1;
    }
    
    td.product-price {
        order: 2;
    }
    
    tr.woocommerce-cart-form__cart-item.cart_item td {
        width: 25%;
        position: relative;
    }
    
    td.actions {
        display: none;
    }
    */
}


@media (max-width: 768px) {  

  body.page-carrito .site-content {
    padding-top: calc(var(--global--spacing-vertical)*1);
  }
  
  body.page-carrito .content-area .site-main {
      padding: 0;
  }

  .woocommerce-info {
      padding: 1.5rem 1.5rem !important;
      gap: 1.5rem;
      flex-direction: column;
  }  
  
  .woocommerce table.wishlist_table .product-name,
  .shop_table.woocommerce-cart-form__contents .product-price,
  .shop_table.woocommerce-cart-form__contents .product-quantity,
  .shop_table.woocommerce-cart-form__contents .product-subtotal {
    text-align: right;
  }
  table.shop_table_responsive tbody th,
  table.shop_table_responsive thead {
    display: none;
  }
  table.shop_table_responsive tr td {
    display: block;
    text-align: right;
    clear: both;
    min-width: 100%;
  }
  table.shop_table_responsive tr td[data-title]:before {
    font-size: 15px;
  }

  .cart_totals table.shop_table_responsive tr td[data-title]:before {
    display:none
  }


  

  tr.woocommerce-cart-form__cart-item.cart_item dl.variation dt {
    font-weight: 600;
  }

  
  
  
  table.shop_table_responsive dl dt, table.shop_table_responsive dl dd {
    display: inline-block;
    float: none;
  }
  .shop_table.woocommerce-cart-form__contents tr td.product-thumbnail {
    text-align: center;
  }
  .shop_table.woocommerce-cart-form__contents tr td.product-thumbnail img {
    max-width: 50px;
  }
  .shop_table.woocommerce-cart-form__contents tr td.product-remove {
    border-width: 0;
    padding: 0;
    text-align: left;
    position: relative;
  }
  .shop_table.woocommerce-cart-form__contents tr td {
    padding: 10px;
  }

  .shop_table.woocommerce-cart-form__contents tr td.actions {
    overflow: hidden;
    padding: 10px 0;
  }
  .shop_table.woocommerce-cart-form__contents tr td.actions input#coupon_code {
    width: 100%;
    margin-bottom: 10px;
  }
  .shop_table.woocommerce-cart-form__contents td.actions .btn {
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .shop_table.woocommerce-cart-form__contents td.actions .button {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 10px;
    width: 100%;
  }
  .shop_table.woocommerce-cart-form__contents td.actions:before {
    display: none;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr, .shop_table.woocommerce-cart-form__contents tr.cart_item {
    position: relative;
    display: block;
    padding-left: 100px;
    /* padding-bottom: 30px; */
    background: none;
    border-bottom: 1px solid #eee;
    /* margin-bottom: 30px; */
    overflow: hidden;
    /* padding-top: 0.5rem; */
    min-height: calc( 80px + var(--global--spacing-unit)*1);
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td,
  .shop_table.woocommerce-cart-form__contents tr td {
    padding: 0;
    width: auto;
    border: none;
    display: block;
    min-width: 0;
    text-align: left !important;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td:before,
  .shop_table.woocommerce-cart-form__contents tr td:before {
    padding-right: 15px;
    font-size: 12px;
    line-height: 24px;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td.product-remove,
  .shop_table.woocommerce-cart-form__contents tr td.product-remove {
    position: static;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td.product-remove a.remove {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td.product-thumbnail,
  .shop_table.woocommerce-cart-form__contents tr td.product-thumbnail {
    position: absolute;
    left: calc(var(--global--spacing-unit)*0.5);
    width: 80px;
    height: 80px;
    display: inline-block;
    /* top: 0; */
    /* bottom: 0px; */
    overflow: hidden;
    display: block !important;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td.product-thumbnail img,
  .shop_table.woocommerce-cart-form__contents tr td.product-thumbnail img {
    max-width: 100%;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td.product-price,
  .shop_table.woocommerce-cart-form__contents tr td.product-price {
    display: none;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td.product-price, table.shop_table.cart.wishlist_table.shop_table_responsive tr td.product-subtotal,
  .shop_table.woocommerce-cart-form__contents tr td.product-price,
  .shop_table.woocommerce-cart-form__contents tr td.product-subtotal {
    font-size: 14px;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr td.product-name:before,
  .shop_table.woocommerce-cart-form__contents tr td.product-name:before {
    display: none;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr div.quantity .qty,
  .shop_table.woocommerce-cart-form__contents tr div.quantity .qty {
    height: 20px;
    padding: 0;
    width: 40px;
    font-size: 13px;
    line-height: 20px;
  }
  table.shop_table.cart.wishlist_table.shop_table_responsive tr div.quantity span,
  .shop_table.woocommerce-cart-form__contents tr div.quantity span {
    display: none;
  }
  .cart.shop_table.woocommerce-cart-form__contents tr:not(.cart_item) {
    padding-left: 0;
    padding-right: 0;
  }
  
  .woocommerce table.shop_table_responsive tr td.product-name,
  .woocommerce-page table.shop_table_responsive tr td.product-name {
      text-align: left !important;
  }
  
  .woocommerce table.shop_table_responsive tr:nth-child(2n+1) td,
  .woocommerce-page table.shop_table_responsive tr:nth-child(2n+1) td {
      background:transparent;
  }

  #main #shipping_method li {
      display: flex;
      justify-content: space-between;
      flex-wrap: nowrap;
      flex-direction: row-reverse;
  }  

  .woocommerce table.shop_table_responsive tr:first-child,
  .woocommerce-page table.shop_table_responsive tr:first-child {
    border-top: 0px solid;
}

  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    margin: 0;
  }


  table.woocommerce-cart-form__contents tr td.product-remove {
      height: 50px;
      width: 50px;
      padding: 0.5rem !important;
  }
  
  
  table.woocommerce-cart-form__contents tr td a.remove {
      width: 100%;
      height: 100%;
      font-size: 27px;
      line-height: 0;
      font-weight: 700;
      text-align: center;
      border-radius: 100%;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  table.woocommerce-cart-form__contents tr td.product-name {
      max-width: calc( 100% - 65px );
      display: inline-block;
  }

}

.woocommerce-form-coupon-toggle {
    margin-top: 0rem;
}


form.checkout_coupon.woocommerce-form-coupon p {
    margin-top: 0rem;
}


form.checkout_coupon.woocommerce-form-coupon p.form-row-first,
form.checkout_coupon.woocommerce-form-coupon p.form-row-last,
form.checkout_coupon.woocommerce-form-coupon
{
    margin-top: 0.8rem;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last button {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

ul#shipping_method input[type=radio]:checked {
    border: 10px solid var(--form--border-color);
}

td.product-remove {
    /* position: relative !important; */
}

/*Archivos adjuntos*/
input#alg_checkout_files_upload_button_1 {
    border: var(--button--border-width) solid transparent;
    border-radius: var(--button--border-radius);
    cursor: pointer;
    font-weight: var(--button--font-weight);
    font-family: var(--button--font-family);
    font-size: var(--button--font-size);
    line-height: var(--button--line-height);
    padding: var(--button--padding-vertical) var(--button--padding-horizontal);
    text-decoration: none;
    outline-offset: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--wp--preset--color--buttonback) !important;
    color: var(--wp--preset--color--buttontext);
}


td.product-thumbnail img {
    border-radius:100%;
}

tr.woocommerce-cart-form__cart-item.cart_item td.product-quantity,
tr.woocommerce-cart-form__cart-item.cart_item td.product-price {
    /* display:none; */
}



tr.woocommerce-cart-form__cart-item.cart_item dd{
    padding:0
}

@media (max-width: 768px) {

    .cart-collaterals .cart_totals, .woocommerce .woocommerce-cart-form .shop_table_responsive {
      margin-top: var(--global--spacing-vertical);
      /*  margin-bottom: var(--global--spacing-vertical);*/
    }

    tr.woocommerce-cart-form__cart-item.cart_item {
        display: flex !important;
        flex-direction: column;
        align-content: center;
        align-items: flex-start;
        justify-content: center;
    }

    
    tr.woocommerce-cart-form__cart-item.cart_item td.product-remove {
        position:absolute;
        right:10px
    }

    tr.woocommerce-cart-form__cart-item.cart_item {
    padding: calc(var(--global--spacing-unit)*0.5);
    }
    
}


tr.woocommerce-shipping-totals.shipping label,
tr.cart-subtotal td bdi:before {
    font-size: max(var(--global--font-size-sm),16px);
    font-weight: 600;
}

tr.woocommerce-shipping-totals.shipping label span {
    font-weight: normal;
}