/* Lavana Package Manager - cart presentation 1.2.1 */
.lpm-cart-package-card,.lpm-cart-package-card *,.lpm-order-parent,.lpm-order-child{box-sizing:border-box;font-family:'YekanBakh',Tahoma,Arial,sans-serif}
.lpm-cart-package-card{display:grid;gap:11px;min-width:0;max-width:680px;padding:11px 12px;border:1px solid #eadfe2;border-radius:14px;background:#fffafa;box-shadow:0 5px 18px rgba(79,45,55,.045)}
.lpm-cart-package-heading{display:flex;align-items:center;gap:8px 10px;flex-wrap:wrap}
.lpm-cart-parent-name{font-weight:900;color:#241d20;font-size:15px;line-height:1.8}
.lpm-cart-parent-name a{font-weight:900!important;color:#241d20!important;text-decoration:none!important}
.lpm-cart-package-badge,.lpm-order-parent small{display:inline-flex;align-items:center;justify-content:center;font-family:'YekanBakh',Tahoma,Arial,sans-serif;font-size:11px;font-weight:850;padding:5px 9px;border-radius:999px;background:#f7ecef;color:#8c3651;border:1px solid #e9d3da;white-space:nowrap}
.lpm-cart-components-wrap{display:grid;gap:6px}
.lpm-cart-components-label{font-size:11px;font-weight:850;color:#8c3651;line-height:1.5}
.lpm-cart-package-components{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:7px;width:100%;max-width:100%}
.lpm-cart-component-chip{position:relative;display:flex;align-items:center;gap:6px;min-width:0;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #eadfe2;color:#51464a;font-size:12px;font-weight:700;line-height:1.65;box-shadow:0 2px 8px rgba(53,34,40,.025)}
.lpm-cart-component-chip::before{content:'✓';display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:#eef8f2;color:#269662;font-size:11px;font-weight:900}
.lpm-cart-component-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.lpm-cart-component-chip b{font-size:11px;color:#9a4660;white-space:nowrap;margin-inline-start:auto}
.lpm-cart-parent-row>td{vertical-align:middle!important}
.lpm-cart-parent-row .product-name{min-width:320px}
.lpm-cart-parent-row .product-price,.lpm-cart-parent-row .product-subtotal{font-weight:900;color:#278d51}
.lpm-cart-parent-row .quantity{white-space:nowrap}
.lpm-cart-child-name,.lpm-order-child{font-family:'YekanBakh',Tahoma,Arial,sans-serif;opacity:.88}
.lpm-fixed-qty{font-family:'YekanBakh',Tahoma,Arial,sans-serif;display:inline-block;min-width:34px;text-align:center;padding:5px 8px;border-radius:8px;background:#f6f6f6}

/* WooCommerce Blocks. Component rows remain part of the Store API because they carry
 * the real allocated prices/stock. We make the hierarchy clearer without changing totals. */
.wc-block-cart-items__row.lpm-block-parent,.wc-block-components-order-summary-item.lpm-block-parent{background:#fbf8f7;border-radius:12px}
.wc-block-cart-items__row.lpm-block-parent .wc-block-components-product-name,.wc-block-components-order-summary-item.lpm-block-parent .wc-block-components-product-name{font-weight:850}
.wc-block-cart-items__row.lpm-block-child,.wc-block-components-order-summary-item.lpm-block-child{opacity:.92;background:#fff}
.wc-block-cart-items__row.lpm-block-child .wc-block-components-product-name,.wc-block-components-order-summary-item.lpm-block-child .wc-block-components-product-name{padding-inline-start:10px;font-size:.92em}

@media(max-width:782px){
  .lpm-cart-package-card{gap:9px;padding:9px 10px;border-radius:12px;max-width:none}
  .lpm-cart-package-heading{gap:6px}
  .lpm-cart-parent-name{font-size:14px}
  .lpm-cart-package-badge{font-size:10px;padding:4px 7px}
  .lpm-cart-components-label{font-size:10px}
  .lpm-cart-package-components{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .lpm-cart-component-chip{font-size:10.5px;padding:7px 8px;border-radius:9px;gap:5px}
  .lpm-cart-component-chip::before{flex-basis:16px;width:16px;height:16px;font-size:9px}
  .lpm-cart-component-chip b{font-size:10px}
  .lpm-cart-parent-row .product-name{min-width:0}
}
@media(max-width:420px){
  .lpm-cart-package-components{grid-template-columns:1fr 1fr}
  .lpm-cart-component-chip{padding:6px 7px}
}
