:root{
  /* ===== QTY UI ===== */
  --dpq-h:40px;
  --dpq-radius:9999px;

  /* jei reikės – gali pastumti tik pačius + / - mygtukus (pilnam desktop) */
  --dpq-desktop-nudge-x: 0px;

  --dpq-btn-fs-base:20px;
  --dpq-btn-fs-desktop:calc(15px*1.1);
  --dpq-btn-fs-mobile:calc(16px*1.1);

  --dpq-btn-bg:rgba(0,0,0,.045);
  --dpq-btn-bg-hover:rgba(0,0,0,.065);
  --dpq-btn-bg-active:rgba(0,0,0,.085);
  --dpq-btn-radius:8px;

  /* ===== TOTALS ===== */
  --dp-totals-w: 390px;

  /* ===== STULPELIŲ VALDYMAS (TABLET + DESKTOP, t.y. >=769px) ===== */
  --dp-col-remove-x:   0px;   /* X mygtukas */
  --dp-col-thumb-x:    0px;   /* nuotrauka */
  --dp-col-name-x:     0px;   /* pavadinimas */

  --dp-col-price-x:   -80px;  /* PRICE – stumdyk čia (į kairę = neigiamas) */
  --dp-col-qty-x:      -40px; /* QUANTITY */
  --dp-col-subtotal-x: 10px;  /* SUBTOTAL */
}

/* Paslepiam "Update cart" (atnaujinam JS) */
.woocommerce-cart button[name="update_cart"],
.woocommerce-cart input[name="update_cart"]{display:none!important;}

/* Totals – bazė */
.woocommerce-cart .cart_totals .cart-subtotal,
.woocommerce-cart .cart_totals .woocommerce-shipping-totals{display:none!important;}
.woocommerce-cart .cart_totals tr.order-total:not(:last-of-type){display:none!important;}
.woocommerce-cart .cart_totals table.shop_table{margin-bottom:15px!important;}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout{margin-top:18px!important;display:block;}

/* “KIEKIS” header – bazė */
.woocommerce-cart table.shop_table th.product-quantity{
  text-align:center!important;
  vertical-align:middle!important;
  padding-top:6px!important;
}

/* Checkout mygtuko spalva + hover */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button{
  background-color:#7fb11d !important;
  border-color:#5bb200 !important;
  transition: filter .15s ease, transform .05s ease,
              background-color .15s ease, border-color .15s ease;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:focus{
  background-color:#7fb11d !important;
  border-color:#5bb200 !important;
  filter:brightness(1.05);
}

/* Pašalinam temos ± tik kiekio celėje */
.woocommerce-cart td.product-quantity .mkdf-quantity-label,
.woocommerce-cart td.product-quantity .mkdf-quantity-minus,
.woocommerce-cart td.product-quantity .mkdf-quantity-plus,
.woocommerce-cart td.product-quantity .arrow_triangle-left,
.woocommerce-cart td.product-quantity .arrow_triangle-right{display:none!important;}

/* Quantity kapsulė */
.woocommerce-cart .quantity .dp-qty{
  display:inline-grid !important;
  grid-auto-flow:column;
  align-items:center;
  gap:6px;
  padding:4px 6px;
  border-radius:var(--dpq-radius);
  height:var(--dpq-h);
  margin:0;
}
.woocommerce-cart .quantity .dp-qty .qty{
  width:54px;
  height:calc(var(--dpq-h) - 10px);
  border:0;
  text-align:center;
  font-size:16px;
  font-weight:600;
  background:transparent;
  outline:none;
  color:#111 !important;
}

/* +/- */
.woocommerce-cart .quantity .dp-btn{
  border:0 !important;
  cursor:pointer;
  width:35px !important;
  height:35px !important;
  font-size:var(--dpq-btn-fs-base);
  font-weight:700;
  transition:opacity .15s, transform .05s, background-color .12s;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  line-height:1!important;
  color:#111;
  appearance:none !important;
  box-shadow:none;
  background:var(--dpq-btn-bg) !important;
  border-radius:var(--dpq-btn-radius) !important;
  user-select:none;
  -webkit-user-select:none;
  touch-action:manipulation;
}
.woocommerce-cart .quantity .dp-btn:hover{opacity:1; background:var(--dpq-btn-bg-hover);}
.woocommerce-cart .quantity .dp-btn:active{transform:translateY(1px); background:var(--dpq-btn-bg-active);}
.woocommerce-cart .quantity .dp-btn.is-disabled{opacity:.4; pointer-events:none;}

/* Desktop & planšetės – thumbnail apvalinimas */
.woocommerce-cart td.product-thumbnail img{
  border-radius:6px !important;
  overflow:hidden;
  object-fit:cover;
}

/* ================================
   STULPELIŲ X PASTŪMIMAS (>=769px)
================================ */
@media (min-width:769px){
  .woocommerce-cart table.shop_table th.product-remove,
  .woocommerce-cart table.shop_table td.product-remove{
    transform:translateX(var(--dp-col-remove-x)) !important;
  }
  .woocommerce-cart table.shop_table th.product-thumbnail,
  .woocommerce-cart table.shop_table td.product-thumbnail{
    transform:translateX(var(--dp-col-thumb-x)) !important;
  }
  .woocommerce-cart table.shop_table th.product-name,
  .woocommerce-cart table.shop_table td.product-name{
    transform:translateX(var(--dp-col-name-x)) !important;
  }
  .woocommerce-cart table.shop_table th.product-price,
  .woocommerce-cart table.shop_table td.product-price{
    transform:translateX(var(--dp-col-price-x)) !important;
  }
  .woocommerce-cart table.shop_table th.product-quantity,
  .woocommerce-cart table.shop_table td.product-quantity{
    transform:translateX(var(--dp-col-qty-x)) !important;
  }
  .woocommerce-cart table.shop_table th.product-subtotal,
  .woocommerce-cart table.shop_table td.product-subtotal{
    transform:translateX(var(--dp-col-subtotal-x)) !important;
  }

  /* sutraukiam tarpus tarp thumbnail ir name */
  .woocommerce-cart table.shop_table td.product-thumbnail{
    padding-right:12px !important;
    text-align:left !important;
  }
  .woocommerce-cart table.shop_table td.product-name{
    padding-left:0 !important;
    text-align:left !important;
  }
}

/* Pavadinimo atvaizdavimas: numeris viršuje, pavadinimas žemiau, be įtraukimo */
.woocommerce-cart table.shop_table td.product-name a{
  display:block !important;
  line-height:1.2 !important;
  padding:0 !important;
  margin:0 !important;
}
.woocommerce-cart table.shop_table td.product-name a .dp-sku{
  display:block !important;
  position:static !important;
  width:auto !important;
  text-align:left !important;
  white-space:nowrap !important;
  opacity:.75 !important;
  margin:0 0 2px 0 !important;
}
.woocommerce-cart table.shop_table td.product-name a .dp-name{
  display:block !important;
  padding-left:0 !important;
  margin:0 !important;
}

/* ─────────────────────────────────────────────
   MOBILE (≤768px)
───────────────────────────────────────────── */
@media (max-width:768px){
  :root{
    --dpq-h:28px;
    --dpq-gap:24px;
    --dpq-qty-x:-15px;
    --dpq-qty-y:-15px;
    --dpq-qty-plus-nudge-y:-1px;
    --dp-title-max-mobile:24ch;
  }

  .woocommerce-cart table.shop_table thead{display:none!important;}

  .woocommerce-cart table.shop_table tr.cart_item{
    position:relative;
    border-bottom:1px solid #eee;
    display:grid!important;
    grid-template-columns:102px 1fr;
    grid-column-gap:var(--dpq-gap);
    grid-template-areas:"thumb name" "thumb price" "thumb qty";
    align-items:start;
    padding:6px 6px 12px;
  }

  /* kortelė per visą mobile plotį */
  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table tbody,
  .woocommerce-cart table.shop_table tr.cart_item,
  .woocommerce-cart table.shop_table tr.cart_item > td{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }

  /* jei tema riboja per container paddingus */
  .woocommerce-cart .mkdf-container-inner{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .woocommerce-cart table.shop_table td{padding:6px 0!important;}

  /* Thumbs */
  .woocommerce-cart td.product-thumbnail,
  .woocommerce-cart td.product-thumbnail a,
  .woocommerce-cart td.product-thumbnail img{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .woocommerce-cart td.product-thumbnail{
    grid-area:thumb!important;
    padding:0!important;
    margin:0!important;
    width:auto!important;
    text-align:center!important;
  }
  .woocommerce-cart td.product-thumbnail a{
    width:102px!important;
    margin:0 auto!important;
  }
  .woocommerce-cart td.product-thumbnail img{
    width:102px!important;
    max-width:100%!important;
    border-radius:6px!important;
    object-fit:cover!important;
    height:auto!important;
  }
  .woocommerce-cart td.product-thumbnail::before{display:none!important;}

  /* Šiukšliadėžė – po nuotrauka */
  .woocommerce-cart td.product-thumbnail .dp-trash-wrap{
    display:flex;
    justify-content:center;
    width:100%;
    margin-top:10px;
  }
  .woocommerce-cart td.product-thumbnail .dp-trash{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border-radius:8px;
    border:0!important;
    background:#fff;
    color:#111;
    cursor:pointer;
    line-height:1;
    transition:background .15s, transform .05s;
  }
  .woocommerce-cart td.product-thumbnail .dp-trash:hover{background:#f3f4f6;}
  .woocommerce-cart td.product-thumbnail .dp-trash:active{transform:translateY(1px);}

  /* Slepiam default X nuo pirmo frame, kad nebūtų "flash" po refresh */
  body.woocommerce-cart .woocommerce-cart-form td.product-remove{display:none!important;}
  /* Fallback: jei JS visai neužsikrautų, galim parodyti default X */
  body.woocommerce-cart.dp-cart-fallback-remove-visible .woocommerce-cart-form td.product-remove{
    display:block!important;
  }

  .woocommerce-cart td.product-name{
    grid-area:name;
    margin:0!important;
    line-height:1.3;
    font-size:15px;
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    word-break:break-word;
  }
  .woocommerce-cart td.product-name a .dp-name{
    max-inline-size:var(--dp-title-max-mobile)!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }

  /* Mobile: rodome subtotal vietoje price */
  .woocommerce-cart td.product-price{
    grid-area:price;
    margin:2px 0 0 0!important;
    padding-left:0!important;
    font-weight:600;
    font-size:15px;
    display:flex!important;
    align-items:center!important;
  }
  .woocommerce-cart td.product-price::before{display:none!important;}
  .woocommerce-cart td.product-subtotal{display:none!important;}

  /* Qty blokas */
  .woocommerce-cart td.product-quantity{
    grid-area:qty;
    margin:4px 0 8px 0!important;
    padding-left:0!important;
    text-align:left;
  }
  .woocommerce-cart td.product-quantity .dp-qty{
    margin-left:0!important;
    transform:translate(var(--dpq-qty-x), var(--dpq-qty-y));
    padding:0!important;
    height:32px!important;
    gap:1px!important;
  }
  .woocommerce-cart .quantity .dp-btn{
    width:32px!important;
    height:32px!important;
    font-size:var(--dpq-btn-fs-mobile)!important;
    line-height:1!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .woocommerce-cart .quantity .dp-btn.dp-plus{
    position:relative!important;
    top:var(--dpq-qty-plus-nudge-y)!important;
  }
  .woocommerce-cart .quantity .dp-qty .qty{
    width:30px!important;
    height:28px!important;
    line-height:28px!important;
    font-size:14px!important;
  }

  /* Mobile totals (iki 529px paliekam flex) */
  .woocommerce-cart .cart_totals h2{
    text-align:center!important;
    margin:0 auto 10px auto!important;
  }
  .woocommerce-cart .cart_totals table.shop_table{
    width:100%!important;
    table-layout:fixed!important;
    margin:0!important;
    border:0!important;
  }
  .woocommerce-cart .cart_totals table.shop_table tr.order-total{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding:0 12px!important;
    border:0!important;
    background:transparent!important;
  }
  .woocommerce-cart .cart_totals table.shop_table tr.order-total th{
    flex:0 0 auto!important;
    text-align:left!important;
    white-space:nowrap!important;
  }
  .woocommerce-cart .cart_totals table.shop_table tr.order-total td{
    flex:1 1 auto!important;
    text-align:right!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button{
    display:block!important;
    margin:10px auto 0 auto!important;
  }
  .woocommerce-cart .cart_totals table.shop_table tr.order-total th::before,
  .woocommerce-cart .cart_totals table.shop_table tr.order-total td::before{
    display:none!important;
    content:none!important;
  }
}

/* ─────────────────────────────────────────────
   TOTALS nuo 530px – visada tvarkingai dešinėje
───────────────────────────────────────────── */
@media (min-width:530px){
  .woocommerce-cart .cart-collaterals{
    display:flex !important;
    justify-content:flex-end !important;
  }

  .woocommerce-cart .cart_totals{
    width:min(var(--dp-totals-w), 100%) !important;
    max-width:min(var(--dp-totals-w), 100%) !important;
    margin-left:auto !important;
    margin-right:0 !important;
    margin-top:0 !important;
  }

  .woocommerce-cart .cart_totals h2{
    text-align:left !important;
  }

  .woocommerce-cart .cart_totals table.shop_table{
    width:100% !important;
    table-layout:auto !important;
  }

  .woocommerce-cart .cart_totals table.shop_table tr.order-total{
    display:table-row !important;
    padding:0 !important;
  }
  .woocommerce-cart .cart_totals table.shop_table tr.order-total th,
  .woocommerce-cart .cart_totals table.shop_table tr.order-total td{
    display:table-cell !important;
    padding:0 3px !important;
    white-space:nowrap !important;
  }
  .woocommerce-cart .cart_totals table.shop_table tr.order-total th{
    text-align:left !important;
  }
  .woocommerce-cart .cart_totals table.shop_table tr.order-total td{
    text-align:right !important;
  }

  .woocommerce-cart .cart_totals .wc-proceed-to-checkout{
    display:flex !important;
    justify-content:flex-end !important;
  }

  .woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button{
    width:100% !important;
    max-width:min(var(--dp-totals-w), 100%) !important;
    margin:0 !important;
    text-align:center !important;
  }
}

/* ─────────────────────────────────────────────
   TABLET / mažas desktop (769–1024)
───────────────────────────────────────────── */
@media (min-width:769px) and (max-width:1024px){
  .woocommerce-cart table.shop_table td.product-quantity{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    text-align:center!important;
  }
  .woocommerce-cart td.product-quantity .mkdf-quantity-buttons{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }
  .woocommerce-cart td.product-quantity .dp-qty{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    margin-left:0!important;
    transform:none !important;
  }
  .woocommerce-cart table.shop_table th.product-quantity{
    transform:translateX(var(--dp-col-qty-x)) !important;
  }

  .woocommerce-cart .quantity .dp-qty{height:auto!important; gap:2px!important;}
  .woocommerce-cart .quantity .dp-qty .qty{height:28px!important; line-height:28px!important; width:38px!important; font-size:14px!important;}
  .woocommerce-cart .quantity .dp-btn{
    width:26px!important;
    height:26px!important;
    font-size:var(--dpq-btn-fs-desktop)!important;
    line-height:26px!important;
  }

  .woocommerce-cart table.shop_table tr.cart_item>td{vertical-align:middle!important;}
  .woocommerce-cart table.shop_table th.product-quantity,
  .woocommerce-cart table.shop_table td.product-quantity{
    text-align:center!important;
    vertical-align:middle!important;
  }
  .woocommerce-cart table.shop_table th{line-height:1.2!important;}
  .woocommerce-cart table.shop_table td,
  .woocommerce-cart table.shop_table th{border-top:none!important;}

  .woocommerce-cart .cart_totals{ margin-top:0 !important; }
}

/* ─────────────────────────────────────────────
   TOTALS nuo 769px – desktop pozicija (su -25px)
───────────────────────────────────────────── */
@media (min-width:769px){
  .woocommerce-cart .cart_totals{
    margin-top:-25px !important;
  }
}

/* ─────────────────────────────────────────────
   PILNAS DESKTOP (>=1025)
───────────────────────────────────────────── */
@media (min-width:1025px){
  .woocommerce-cart table.shop_table td.product-quantity{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    text-align:center!important;
  }
  .woocommerce-cart td.product-quantity .mkdf-quantity-buttons{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    padding:0!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }
  .woocommerce-cart td.product-quantity .dp-qty{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    margin-left:0!important;
    transform:translateX(var(--dpq-desktop-nudge-x)) !important;
  }
  .woocommerce-cart table.shop_table th.product-quantity{
    transform:translateX(calc(var(--dp-col-qty-x) + var(--dpq-desktop-nudge-x))) !important;
  }

  .woocommerce-cart td.product-quantity .dp-qty .qty{
    border:0!important;
    outline:none!important;
    box-shadow:none!important;
    background:transparent!important;
  }

  .woocommerce-cart .quantity .dp-qty{height:auto!important; gap:2px!important;}
  .woocommerce-cart .quantity .dp-qty .qty{height:28px!important; line-height:28px!important; width:38px!important; font-size:14px!important;}
  .woocommerce-cart .quantity .dp-btn{
    width:26px!important;
    height:26px!important;
    font-size:var(--dpq-btn-fs-desktop)!important;
    line-height:26px!important;
  }

  .woocommerce-cart table.shop_table tr.cart_item>td{vertical-align:middle!important;}
  .woocommerce-cart table.shop_table th.product-quantity,
  .woocommerce-cart table.shop_table td.product-quantity{
    text-align:center!important;
    vertical-align:middle!important;
  }
  .woocommerce-cart table.shop_table th{line-height:1.2!important;}
  .woocommerce-cart table.shop_table td,
  .woocommerce-cart table.shop_table th{border-top:none!important;}

  .woocommerce-cart .cart_totals h2{
    font-size:20px !important;
    line-height:1.25 !important;
    margin-bottom:20px !important;
  }
}

/* — BE “krauna” indikatorių + UI lock — */
.woocommerce-cart tr.cart_item.is-row-updating td.product-price::before,
body.is-cart-updating .woocommerce-cart .cart_totals .order-total td::before,
body.is-cart-updating .woocommerce-cart .cart_totals .order-total td::after{
  content:none !important;
  display:none !important;
}

body.is-cart-updating .woocommerce-cart form.woocommerce-cart-form,
body.is-cart-updating .woocommerce-cart .cart_totals{
  pointer-events:none !important;
  opacity:.72 !important;
  cursor:wait !important;
}

body.is-cart-updating .wc-proceed-to-checkout .checkout-button,
body.is-cart-updating .woocommerce-cart .dp-btn{
  pointer-events:none !important;
  opacity:.6 !important;
}

.woocommerce-cart td.product-name,
.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal{
  font-size:15px !important;
}

/* Override kitu snippetu taisykles, kurios laužo cart title vaizdą */
body.woocommerce-cart td.product-name{
  overflow: visible !important;
}
body.woocommerce-cart td.product-name .dp-name br{
  display: block !important;
}

@keyframes dp-spin{to{transform:rotate(360deg);}}

/* Anti-flash: kol JS perstato cross-sells, nesimato default WooCommerce isdestymas */
body.woocommerce-cart.dp-cross-pending .cart-collaterals > .cross-sells{
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}
/* Failsafe: jei perstatymas uztrunka/pertraukiamas, parodyti default bloka */
body.woocommerce-cart.dp-cross-fallback-show .cart-collaterals > .cross-sells{
  visibility:visible !important;
  opacity:1 !important;
  pointer-events:auto !important;
}


  .woocommerce-cart .cross-sells{
    position:relative;
    overflow:visible!important;
    margin-top:30px!important;
    margin-bottom:0!important;
    padding-bottom:20px!important;
  }
  .woocommerce-cart .cross-sells::after{
    content:"";
    display:block;
    clear:both;
    height:40px!important;
    width:100%;
    background:transparent;
  }
  .woocommerce-cart .cross-sells>h2{
    text-align:center!important;
    margin:14px 0 40px!important;
  }

  .woocommerce-cart .cross-sells ul.products{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-image,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-image{
    position:relative !important;
  }

  .woocommerce-cart .cross-sells ul.products li.product .mkdf-onsale,
  .woocommerce-cart .cross-sells ul.products li.product .onsale{
    position:absolute !important;
    top:4px !important;
    left:4px !important;
    z-index:5 !important;
    margin:0 !important;
    pointer-events:none !important;
    border-radius:8px !important;
    padding:6px 10px !important;
    background:var(--mkdf-main-color, #7FB11D) !important;
    color:#fff !important;
    font-family:inherit !important;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    height:auto !important;
    min-height:0 !important;
    box-shadow:none !important;
    transform:none !important;
  }

  @media (max-width:680px){
    .woocommerce-cart .cross-sells ul.products li.product .mkdf-onsale,
    .woocommerce-cart .cross-sells ul.products li.product .onsale{
      left:2px !important;
      top:4px !important;
    }
  }
  @media (min-width: 1024px){
    .woocommerce-cart .cross-sells ul.products li.product .mkdf-onsale,
    .woocommerce-cart .cross-sells ul.products li.product .onsale{
      font-size: 16px !important;
      padding: 8px 14px !important;
      border-radius: 12px !important;
    }
  }

  .woocommerce-cart .cross-sells ul.products li.product .product-short-description,
  .woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__description,
  .woocommerce-cart .cross-sells ul.products li.product .woocommerce-product-details__short-description,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-excerpt,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-excerpt,
  .woocommerce-cart .cross-sells ul.products li.product div[dir="auto"]{
    display:none!important;
  }

  .woocommerce-cart .cross-sells ul.products>li.product{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    text-align:center!important;
    float:none!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }

  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-text-wrapper,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-text,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-text{
    width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
  }

  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-add-to-cart,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-add-to-cart{
    background:transparent!important;
    box-shadow:none!important;
    border:none!important;
    padding:0!important;
    margin-top:0!important;
    margin-bottom:6px!important;
  }

  .woocommerce-cart .cross-sells ul.products li.product h6.mkdf-product-list-title a,
  .woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-title a,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-title,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-title a,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-title{
    display:-webkit-box!important;
    -webkit-line-clamp:3!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    margin-top:10px!important;
    margin-bottom:0!important;
    line-height:1.2!important;
    font-size:14px!important;
    max-width:180px!important;
    text-align:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
    min-height:unset!important;
    max-height:unset!important;
  }

  .woocommerce-cart .cross-sells ul.products li.product .price,
  .woocommerce-cart .cross-sells ul.products li.product p.price,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-price,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-price{
    margin-top:0!important;
    margin-bottom:8px!important;
    text-align:center!important;
    font-size:13px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:0!important;
  }

  .woocommerce-cart .cross-sells ul.products li.product a.button,
  .woocommerce-cart .cross-sells ul.products li.product .button,
  .woocommerce-cart .cross-sells ul.products li.product .add_to_cart_button,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-add-to-cart a,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-add-to-cart a,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-add-to-cart a.mkdf-pl-btn,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-add-to-cart a.mkdf-pl-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:14px!important;
    padding:8px 22px!important;
    min-height:34px!important;
    line-height:1.2!important;
    height:auto!important;
    border-radius:999px!important;
    font-weight:500!important;
    box-sizing:border-box!important;
    width:auto!important;
    background:#7fb11d!important;
    color:#ffffff!important;
    border:1px solid #7fb11d!important;
    box-shadow:none!important;
    text-transform:none!important;
    letter-spacing:0!important;
  }

  .woocommerce-cart .cross-sells ul.products li.product a.button:hover,
  .woocommerce-cart .cross-sells ul.products li.product .add_to_cart_button:hover,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-add-to-cart a:hover,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-add-to-cart a:hover,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-add-to-cart a.mkdf-pl-btn:hover,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-add-to-cart a.mkdf-pl-btn:hover{
    background:#7fb11d!important;
    border-color:#7fb11d!important;
    color:#ffffff!important;
    filter: brightness(1.10);
  }

  .woocommerce-cart .cross-sells ul.products li.product a.button.loading,
  .woocommerce-cart .cross-sells ul.products li.product .add_to_cart_button.loading{
    background-image:none!important;
  }
  .woocommerce-cart .cross-sells ul.products li.product a.button.loading::after,
  .woocommerce-cart .cross-sells ul.products li.product .add_to_cart_button.loading::after{
    content:""!important;
    display:inline-block!important;
    width:14px;
    height:14px;
    margin-left:6px;
    border-radius:50%;
    border:2px solid rgba(255,255,255,0.5);
    border-top-color:#ffffff;
    box-sizing:border-box;
    vertical-align:middle;
    animation:dp-cart-spin 0.6s linear infinite;
  }
  .woocommerce-cart .cross-sells ul.products li.product a.button.loading::before,
  .woocommerce-cart .cross-sells ul.products li.product .add_to_cart_button.loading::before{
    content:none!important;
  }
  @keyframes dp-cart-spin{ to { transform:rotate(360deg); } }

  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-image,
  .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-image{
    width:100%!important;
    max-width:100%!important;
    background:#f6f6f6!important;
    border-radius:12px!important;
    overflow:hidden!important;
  }

  .woocommerce-cart .cross-sells ul.products li.product a img{
    width:100%!important;
    height:auto!important;
    display:block!important;
    border-radius:12px!important;
    overflow:hidden!important;
    object-fit:cover!important;
    aspect-ratio: 1 / 1;
  }

  @media (min-width:531px) and (max-width:768px){
    .woocommerce-cart .cross-sells ul.products{
      position:relative;
      display:flex!important;
      flex-wrap:nowrap!important;
      gap:12px!important;
      overflow-x:auto!important;
      overflow-y:hidden!important;
      -webkit-overflow-scrolling:touch;
      scroll-snap-type:x mandatory;
      list-style:none!important;
      padding:8px 12px 30px!important;
      margin:0!important;
      box-sizing:border-box!important;
    }
    .woocommerce-cart .cross-sells ul.products::-webkit-scrollbar{display:none;}
    .woocommerce-cart .cross-sells ul.products>li.product{
      flex:0 0 calc((100% - 24px) / 3)!important;
      max-width:calc((100% - 24px) / 3)!important;
      min-width:calc((100% - 24px) / 3)!important;
      scroll-snap-align:start;
    }
    .woocommerce-cart .cross-sells:before,
    .woocommerce-cart .cross-sells:after{
      content:"";
      position:absolute;
      top:36px;
      bottom:40px!important;
      width:18px;
      pointer-events:none;
    }
    .woocommerce-cart .cross-sells:before{left:0;background:linear-gradient(90deg,#fff,transparent);}
    .woocommerce-cart .cross-sells:after{right:0;background:linear-gradient(270deg,#fff,transparent);}
  }

  @media (max-width:530px){
    .woocommerce-cart .cross-sells ul.products{
      position:relative;
      display:flex!important;
      flex-wrap:nowrap!important;
      gap:10px!important;
      overflow-x:auto!important;
      overflow-y:hidden!important;
      -webkit-overflow-scrolling:touch;
      scroll-snap-type:x mandatory;
      scroll-padding-inline:12px!important;
      list-style:none!important;
      padding:12px 12px 30px!important;
      margin:0!important;
      box-sizing:border-box!important;
    }

    .woocommerce-cart .cross-sells ul.products::-webkit-scrollbar{
      display:none;
    }

    .woocommerce-cart .cross-sells ul.products>li.product{
      flex:0 0 calc((100% - 10px) / 2)!important;
      max-width:calc((100% - 10px) / 2)!important;
      min-width:calc((100% - 10px) / 2)!important;
      scroll-snap-align:start;
      padding:4px!important;
    }

    .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-image,
    .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-image{
      max-width:100%!important;
    }

    .woocommerce-cart .cross-sells ul.products li.product a img{
      width:100%!important;
      margin:0 auto!important;
      display:block!important;
    }

    .woocommerce-cart .cross-sells ul.products li.product h6.mkdf-product-list-title a,
    .woocommerce-cart .cross-sells ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-title a,
    .woocommerce-cart .cross-sells ul.products li.product .mkdf-pli-title,
    .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-title a,
    .woocommerce-cart .cross-sells ul.products li.product .mkdf-pl-title{
      overflow-wrap:anywhere!important;
      word-break:break-word!important;
      hyphens:auto!important;
    }

    .woocommerce-cart .cross-sells:before,
    .woocommerce-cart .cross-sells:after{
      content:"";
      position:absolute;
      top:36px;
      bottom:40px!important;
      width:14px;
      pointer-events:none;
    }
    .woocommerce-cart .cross-sells:before{left:0;background:linear-gradient(90deg,#fff,transparent);}
    .woocommerce-cart .cross-sells:after{right:0;background:linear-gradient(270deg,#fff,transparent);}
  }

  @media (min-width:769px){
    .woocommerce-cart .cross-sells ul.products{
      display:flex!important;
      flex-wrap:nowrap!important;
      justify-content:flex-start!important;
      gap:24px!important;
      overflow-x:auto!important;
      scroll-snap-type:x proximity;
      list-style:none!important;
      padding:16px 40px 40px!important;
      margin:0!important;
      box-sizing:border-box!important;
    }
    .woocommerce-cart .cross-sells ul.products::-webkit-scrollbar{height:8px;}
    .woocommerce-cart .cross-sells ul.products>li.product{
      flex:0 0 210px!important;
      max-width:210px!important;
      scroll-snap-align:start;
    }
    .woocommerce-cart .cross-sells>h2{ font-size:20px!important; }
  }

  .woocommerce-cart .cross-sells .dp-rel-nav{
    position:absolute;
    left:0;
    right:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0;
    z-index:5;
    pointer-events:none;
  }
  .woocommerce-cart .cross-sells .dp-rel-btn{
    pointer-events:auto;
    width:32px;
    height:32px;
    border-radius:999px;
    border:1px solid #e5e7eb;
    background:#fff;
    display:grid;
    place-items:center;
    box-shadow:0 6px 18px rgba(0,0,0,.12);
    cursor:pointer;
    user-select:none;
    -webkit-tap-highlight-color:transparent;
  }
  .woocommerce-cart .cross-sells .dp-rel-btn[disabled]{
    opacity:.35!important;
    cursor:default!important;
  }
  .woocommerce-cart .cross-sells .dp-rel-btn svg{ width:16px; height:16px; }
  .woocommerce-cart .cross-sells .dp-rel-btn.dp-tap{
    background:#7fb11d!important;
    border-color:#7fb11d!important;
    color:#ffffff!important;
    box-shadow:0 3px 10px rgba(0,0,0,.18)!important;
    transform:translateY(1px);
  }

  .woocommerce-cart .woocommerce-notices-wrapper > div[role="alert"]{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }

  .woocommerce-cart .woocommerce-notices-wrapper ul.woocommerce-error{
    margin:16px 0 20px !important;
    padding:14px 16px !important;
    list-style:none !important;
    background:#fff5f5 !important;
    border:1px solid #f1b7bd !important;
    border-radius:12px !important;
    box-shadow:none !important;
    color:#842029 !important;
  }

  .woocommerce-cart .woocommerce-notices-wrapper ul.woocommerce-error::before{
    content:"Pataisykite krepseli:";
    display:block;
    font-weight:700;
    font-size:14px;
    margin:0 0 10px;
  }

  .woocommerce-cart .woocommerce-notices-wrapper ul.woocommerce-error > li{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin:0 !important;
    padding:6px 0 !important;
    line-height:1.35;
    font-size:14px;
    font-weight:500 !important;
    border:0 !important;
    background:transparent !important;
  }

  .woocommerce-cart .woocommerce-notices-wrapper ul.woocommerce-error > li::before{
    content:"";
    flex:0 0 8px;
    width:8px;
    height:8px;
    margin-top:.45em;
    border-radius:999px;
    background:#dc3545;
  }

  .woocommerce-cart .woocommerce-notices-wrapper ul.woocommerce-error a,
  .woocommerce-cart .woocommerce-notices-wrapper ul.woocommerce-error a:visited,
  .woocommerce-cart .woocommerce-notices-wrapper ul.woocommerce-error a:hover,
  .woocommerce-cart .woocommerce-notices-wrapper ul.woocommerce-error a:active{
    color:inherit !important;
    text-decoration:none !important;
    cursor:default !important;
    font-weight:inherit !important;
  }

  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info{
    display:block !important;
    margin:16px 0 20px !important;
    padding:14px 16px !important;
    background:#f4faec !important;
    border:1px solid #c9dea7 !important;
    border-radius:12px !important;
    box-shadow:none !important;
    color:#47651a !important;
    line-height:1.35 !important;
    font-size:14px !important;
    font-weight:500 !important;
  }

  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before{
    position:static !important;
    top:auto !important;
    left:auto !important;
    display:block !important;
    width:auto !important;
    height:auto !important;
    margin:0 0 10px !important;
    background:none !important;
    color:inherit !important;
    font-weight:700 !important;
    font-size:14px !important;
    line-height:1.2 !important;
  }

  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before{
    content:"Atnaujinta:";
  }

  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before{
    content:"Informacija:";
  }

  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message a,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message a:visited,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message a:hover,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message a:active,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info a,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info a:visited,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info a:hover,
  .woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info a:active{
    color:inherit !important;
    text-decoration:none !important;
    font-weight:inherit !important;
  }
