/* CART-020 — cart/checkout controls only. WooCommerce owns removal and totals. */
body.woocommerce-checkout #al-main .al54-cart-intro-link {
  display:inline-flex;align-items:center;justify-content:center;max-width:max-content;
  padding:8px 0;margin-top:10px;color:#efc895;text-decoration:underline;text-underline-offset:4px;
  font:600 12px/1.4 var(--al-ui,system-ui,sans-serif);
}
body.woocommerce-checkout #al-main .al54-cart-intro-link:hover {color:#ffe2b7;}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools {
  box-sizing:border-box;min-width:0;width:100%;margin:0 0 20px;
  background:linear-gradient(120deg,#24211e,#1b1b1a);
  border:1px solid rgba(211,171,111,.32);border-radius:16px;
  color:#f5eadc;padding:clamp(14px,2vw,22px);
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools-header {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin-bottom:12px;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools-eyebrow {
  font:600 9px/1.35 var(--al-mono,monospace);letter-spacing:.14em;color:#d7b787;
  margin:0 0 5px;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools h2 {
  margin:0;font:500 clamp(17px,2vw,21px)/1.24 var(--al-editorial,Georgia,serif);
  color:#f5e8d8;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-edit {
  display:inline-flex;align-items:center;min-height:40px;padding:7px 13px;
  border-radius:9px;border:1px solid rgba(214,174,113,.45);
  font:600 12px/1.4 var(--al-ui,system-ui,sans-serif);color:#f2cc99;text-decoration:none;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools-list {
  margin:0;padding:0;list-style:none;display:grid;gap:0;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools-item {
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;
  gap:10px 16px;min-width:0;padding:11px 0;border-top:1px solid rgba(218,180,132,.15);
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools-name {
  color:#f5eade;font:500 13px/1.5 var(--al-ui,system-ui,sans-serif);
  min-width:0;overflow-wrap:anywhere;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools-qty {
  color:#c9b9a5;font:500 12px/1.4 var(--al-ui,system-ui,sans-serif);white-space:nowrap;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-remove {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:8px 12px;border-radius:9px;
  border:1px solid #8c6453;color:#f1c8bd;background:#322621;
  font:600 12px/1.3 var(--al-ui,system-ui,sans-serif);text-decoration:none;white-space:nowrap;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-remove:hover,
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-remove:focus-visible {
  border-color:#edb3a2;background:#493027;color:#fff1e9;
}
body:is(.woocommerce-checkout,.woocommerce-cart) #al-main :is(.al54-cart-intro-link,.al54-cart-edit,.al54-cart-remove):focus-visible {
  outline:3px solid #f5cd8c;outline-offset:3px;
}
@media(max-width:520px){
 body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools-item{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;}
 body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-tools-name{grid-column:1/-1;}
 body:is(.woocommerce-checkout,.woocommerce-cart) #al-main .al54-cart-remove{grid-column:2;justify-self:end;}
}
