/* Xemry cart refresh (3.9.6).
 * Presentation-only styles for the existing native WooCommerce cart.
 * No replacement forms, cart handlers or checkout hooks.
 */
body.xm-refined.woocommerce-cart .luania-cart-template {
  --xm-cart-green: #123a30;
  --xm-cart-hover: #205b49;
  --xm-cart-border: #dce7df;
  --xm-cart-muted: #64766a;
  --xm-cart-soft: #f6faf7;
  background: #fff;
  padding-top: clamp(28px,4vw,55px);
  padding-bottom: clamp(55px,7vw,105px);
  color: var(--xm-ink,#152f29);
  font-family: var(--xm-sans,Manrope,sans-serif);
}
body.xm-refined.woocommerce-cart .luania-cart-template .content-wide { width:100%;max-width:1180px;margin-inline:auto; }
body.xm-refined.woocommerce-cart .luania-cart-template .luania-system-page-head { margin:0 0 25px; }
body.xm-refined.woocommerce-cart .luania-cart-template .luania-system-page-head .eyebrow {
  display:block;margin-bottom:7px;font:800 10px/1.5 var(--xm-sans,Manrope,sans-serif);
  letter-spacing:.17em;text-transform:uppercase;color:#4e8064;
}
body.xm-refined.woocommerce-cart .luania-cart-template .luania-system-page-head h1 {
  margin:0;font:400 clamp(42px,5.1vw,64px)/1.05 var(--xm-serif,Georgia,serif);
  letter-spacing:-.035em;color:var(--xm-cart-green);
}
body.xm-refined.woocommerce-cart .luania-cart-template .luania-shipping-progress {
  width:100%;max-width:none;margin:0 0 24px;padding:0;
}
body.xm-refined.woocommerce-cart .luania-cart-template .luania-shipping-progress p { color:var(--xm-cart-muted);font-size:12px; }
body.xm-refined.woocommerce-cart .luania-cart-template .luania-shipping-progress>div {height:5px;border-radius:5px;background:#e8f2ea}
body.xm-refined.woocommerce-cart .luania-cart-template .luania-shipping-progress i {height:100%;border-radius:5px;background:var(--xm-cart-green)}

/* Parent two-column cart shell, with Xemry's calmer spacing. */
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,350px);
  gap:clamp(20px,2.6vw,32px);align-items:start;
}
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce> .woocommerce-notices-wrapper,
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce> .woocommerce-message,
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce> .woocommerce-info,
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce> .woocommerce-error { grid-column:1/-1; }
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce-cart-form {grid-column:1;min-width:0;margin:0;}
body.xm-refined.woocommerce-cart .luania-cart-template .cart-collaterals {grid-column:2;width:100%;min-width:0;}

/* Restore readable product rows using WooCommerce's actual table and cells. */
body.xm-refined.woocommerce-cart .luania-cart-template table.shop_table.cart {
  width:100%;margin:0;border:1px solid var(--xm-cart-border);border-radius:12px;
  border-collapse:separate;border-spacing:0;table-layout:fixed;background:#fff;overflow:hidden;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart thead {background:var(--xm-cart-soft);}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart thead th {
  border:0;border-bottom:1px solid var(--xm-cart-border);padding:16px 8px;
  font:800 10px/1.5 var(--xm-sans,Manrope,sans-serif);text-transform:uppercase;
  letter-spacing:.08em;color:#60796a;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-remove {width:36px;}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-thumbnail {width:108px;}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-price {width:77px;}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-quantity {width:112px;}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-subtotal {width:87px;}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart td {
  padding:18px 8px;text-align:left;vertical-align:middle;
  border:0;border-bottom:1px solid var(--xm-cart-border);
  font:600 12px/1.6 var(--xm-sans,Manrope,sans-serif);color:#26493b;
  overflow-wrap:anywhere;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-thumbnail a {display:block;max-width:94px}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-thumbnail img {
  display:block;width:90px!important;max-width:100%!important;height:106px!important;
  object-fit:contain;object-position:center;background:#f6faf6;
  border:1px solid #e7efe8;border-radius:8px;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-name a {
  color:var(--xm-cart-green)!important;font:750 13px/1.45 var(--xm-sans,Manrope,sans-serif);
  letter-spacing:-.01em;text-decoration:none;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-name a:hover {color:#28735a!important;text-decoration:underline}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .variation {
  margin:8px 0 0;color:var(--xm-cart-muted);font:600 11px/1.5 var(--xm-sans,Manrope,sans-serif);
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .variation dt,
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .variation dd {display:inline;float:none;margin:0 3px 0 0;}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-price {color:var(--xm-cart-muted);white-space:normal}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-subtotal {color:var(--xm-cart-green);font-weight:800;}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-remove a.remove {
  display:grid;place-items:center;margin:0;width:28px;height:28px;border-radius:50%;
  color:#846b61!important;background:transparent;font-size:21px;line-height:1;
  text-decoration:none;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-remove a.remove:hover,
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .product-remove a.remove:focus-visible {background:#fcece9;color:#a84032!important;}

/* Preserve real quantity inputs and the existing minus/plus handlers. */
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .quantity {
  width:106px;max-width:100%;display:flex;position:relative;
  background:var(--xm-cart-soft);border:1px solid #d6e4d9;border-radius:7px;overflow:hidden;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .quantity input.qty {
  width:100%;height:42px;min-width:0;min-height:42px;border:0;background:transparent;
  padding:0 30px;text-align:center;box-shadow:none;color:var(--xm-cart-green);
  font:700 13px var(--xm-sans,Manrope,sans-serif);
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .quantity .luania-qty-btn {
  top:0;bottom:0;min-height:40px;width:30px;background:transparent;
  color:var(--xm-cart-green);cursor:pointer;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart .quantity .luania-qty-btn:hover {background:#e5efe7;}

/* Coupon and update controls continue to submit WooCommerce's original form. */
body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions {
  display:table-cell;vertical-align:middle;padding:19px 16px;border-bottom:0;background:#fbfcfa;text-align:right;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions .coupon {
  display:inline-flex;float:left;align-items:center;gap:9px;max-width:100%;margin:0;grid-template-columns:none;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions .coupon label {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions .coupon .input-text {
  width:165px!important;min-height:44px;padding:10px 13px;border:1px solid #cfded3;
  border-radius:6px;background:#fff;box-shadow:none;font:600 12px var(--xm-sans,Manrope,sans-serif);
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions button.button {
  min-height:44px;margin:0;padding:11px 15px;border:1px solid var(--xm-cart-green);
  border-radius:6px;background:var(--xm-cart-green);color:#fff;
  font:800 11px/1.3 var(--xm-sans,Manrope,sans-serif);letter-spacing:.02em;text-transform:none;
}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions button.button:hover:not(:disabled) {background:var(--xm-cart-hover);color:#fff;}
body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions button.button:disabled {border-color:#d5ded7;background:#e8eeea;color:#718577;cursor:not-allowed;}

/* Order-summary card, matching Xemry's green buttons and soft surfaces. */
body.xm-refined.woocommerce-cart .luania-cart-template .cart-collaterals .cart_totals {
  width:100%!important;float:none!important;position:sticky;top:24px;
  border:1px solid var(--xm-cart-border);border-radius:12px;
  background:var(--xm-cart-soft);padding:26px 24px;
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals h2 {
  margin:0 0 21px;color:var(--xm-cart-green);
  font:400 30px/1.25 var(--xm-serif,Georgia,serif);letter-spacing:-.025em;
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals table.shop_table {
  margin:0;border:0!important;border-collapse:collapse;border-radius:0;background:transparent;
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals table.shop_table tr th,
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals table.shop_table tr td {
  padding:15px 0;border:0;border-bottom:1px solid var(--xm-cart-border);
  background:transparent;color:#375547;vertical-align:top;
  font:600 13px/1.6 var(--xm-sans,Manrope,sans-serif);
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals table.shop_table tr th {padding-right:14px;font-weight:800;white-space:nowrap;}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals table.shop_table tr td {text-align:right;overflow-wrap:anywhere}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals table.shop_table .order-total th,
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals table.shop_table .order-total td {
  padding-top:20px;border-bottom:0;color:var(--xm-cart-green);font-size:16px;font-weight:800;
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .woocommerce-shipping-methods {
  list-style:none;margin:0;padding:0;
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .woocommerce-shipping-methods li {margin:0 0 6px;line-height:1.5;}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .woocommerce-shipping-destination {
  margin:9px 0;font-size:12px;line-height:1.7;color:var(--xm-cart-muted);
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .shipping-calculator-button {
  display:inline-block;margin-top:5px;color:var(--xm-cart-green)!important;
  font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px;
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .shipping-calculator-form {text-align:left;margin-top:12px}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .shipping-calculator-form input,
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .shipping-calculator-form select {
  width:100%;min-height:42px;border:1px solid #cfded3;border-radius:6px;padding:8px;background:#fff;
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .wc-proceed-to-checkout {padding:10px 0 0}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .wc-proceed-to-checkout a.checkout-button {
  display:flex;justify-content:center;align-items:center;width:100%;min-height:54px;
  margin:18px 0 0;padding:13px 15px;border:1px solid var(--xm-cart-green);border-radius:7px;
  background:var(--xm-cart-green);color:#fff!important;
  font:800 13px/1.45 var(--xm-sans,Manrope,sans-serif);letter-spacing:.01em;text-transform:none;text-align:center;
  transition:background-color .2s ease,transform .2s ease;
}
body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {background:var(--xm-cart-hover);transform:translateY(-1px)}
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce-message,
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce-info,
body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce-error {
  border:1px solid var(--xm-cart-border);border-left:4px solid var(--xm-cart-green);
  border-radius:8px;background:var(--xm-cart-soft);color:var(--xm-cart-green);font:600 13px/1.6 var(--xm-sans,Manrope,sans-serif);
}
body.xm-refined.woocommerce-cart .luania-cart-template a:focus-visible,
body.xm-refined.woocommerce-cart .luania-cart-template button:focus-visible,
body.xm-refined.woocommerce-cart .luania-cart-template input:focus-visible,
body.xm-refined.woocommerce-cart .luania-cart-template select:focus-visible {
  outline:2px solid #267b5a;outline-offset:3px;
}

/* Native WooCommerce Cart Blocks: visuals only, for stores switching templates. */
body.xm-refined.woocommerce-cart .luania-cart-template .wc-block-cart__sidebar {
  border:1px solid var(--xm-cart-border);border-radius:12px;background:var(--xm-cart-soft);padding:26px;
}
body.xm-refined.woocommerce-cart .luania-cart-template .wc-block-cart__main {min-width:0;}
body.xm-refined.woocommerce-cart .luania-cart-template .wc-block-components-button:not(:disabled) {
  border-radius:7px;border-color:var(--xm-cart-green);background:var(--xm-cart-green);color:#fff;
}
body.xm-refined.woocommerce-cart .luania-cart-template .wc-block-components-product-name {color:var(--xm-cart-green);font:750 14px/1.45 var(--xm-sans,Manrope,sans-serif)}
body.xm-refined.woocommerce-cart .luania-cart-template .wc-block-components-quantity-selector {border-color:#cfded3;border-radius:7px}

@media(max-width:1120px) {
  body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce {grid-template-columns:minmax(0,1fr);gap:24px}
  body.xm-refined.woocommerce-cart .luania-cart-template .woocommerce-cart-form,
  body.xm-refined.woocommerce-cart .luania-cart-template .cart-collaterals {grid-column:1}
  body.xm-refined.woocommerce-cart .luania-cart-template .cart-collaterals .cart_totals {position:static}
}
@media(max-width:760px) {
  body.xm-refined.woocommerce-cart .luania-cart-template {padding-block:28px 60px}
  body.xm-refined.woocommerce-cart .luania-cart-template .luania-system-page-head {margin-bottom:20px}
  body.xm-refined.woocommerce-cart .luania-cart-template table.shop_table.cart,
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tbody {display:block;width:100%}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart thead {display:none}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item {
    display:grid;width:100%;position:relative;min-height:0;margin:0;padding:17px;
    grid-template-columns:84px minmax(0,1fr);
    grid-template-areas:'photo name' 'photo price' 'quantity subtotal';
    gap:7px 13px;align-items:start;border:0;border-bottom:1px solid var(--xm-cart-border);
    background:#fff;
  }
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item td {
    display:block;position:static;width:auto;margin:0;padding:0!important;border:0;
    background:transparent!important;text-align:left!important;
  }
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item td::before {display:none!important;content:none!important}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-thumbnail {grid-area:photo;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-thumbnail img {width:82px!important;height:96px!important;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-name {grid-area:name;padding-right:26px!important;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-name a {font-size:13px;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-price {grid-area:price;align-self:end;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-quantity {grid-area:quantity;align-self:end;margin-top:13px;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-subtotal {grid-area:subtotal;align-self:center;justify-self:end;margin-top:13px;font-size:14px;text-align:right!important;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-remove {position:absolute;top:15px;right:15px;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-remove a.remove {width:28px;height:28px;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .quantity {width:108px;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr:last-child td.actions {display:flex;flex-direction:column;gap:10px;align-items:stretch;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions .coupon {float:none;width:100%;display:flex;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions .coupon .input-text {width:100%!important;flex:1;min-width:0;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions .coupon button {flex:0 0 auto;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions>button.button {width:100%;margin:0;}
  body.xm-refined.woocommerce-cart .luania-cart-template .cart_totals h2 {font-size:28px;}
  body.xm-refined.woocommerce-cart .luania-cart-template .cart-collaterals .cart_totals {padding:23px 19px;}
}
@media(max-width:380px){
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item {padding:13px;grid-template-columns:74px minmax(0,1fr);gap:7px 10px;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart tr.cart_item .product-thumbnail img {width:72px!important;height:84px!important;}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions {padding:14px 12px}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions .coupon {flex-wrap:wrap}
  body.xm-refined.woocommerce-cart .luania-cart-template table.cart td.actions .coupon button {flex:1 1 100%}
}
@media(prefers-reduced-motion:reduce){body.xm-refined.woocommerce-cart .luania-cart-template *{transition:none!important}}

/* Empty-cart state and Continue shopping use the same visual language. */
body.xm-refined.woocommerce-cart .luania-cart-template .cart-empty.woocommerce-info {
  grid-column:1/-1;margin:0;padding:44px 24px;
  border:1px solid var(--xm-cart-border);border-radius:12px;
  background:var(--xm-cart-soft);color:var(--xm-cart-green);
  text-align:center;font:600 15px/1.7 var(--xm-sans,Manrope,sans-serif);
}
body.xm-refined.woocommerce-cart .luania-cart-template .return-to-shop {
  grid-column:1/-1;margin:0;text-align:center;
}
body.xm-refined.woocommerce-cart .luania-cart-template .return-to-shop a.button {
  display:inline-flex;align-items:center;justify-content:center;min-height:49px;
  padding:12px 26px;border:1px solid var(--xm-cart-green);border-radius:7px;
  background:var(--xm-cart-green);color:#fff!important;
  font:800 12px var(--xm-sans,Manrope,sans-serif);letter-spacing:0;text-transform:none;
}
body.xm-refined.woocommerce-cart .luania-cart-template .return-to-shop a.button:hover {background:var(--xm-cart-hover)}
