#card-summary .ht-grocery-cart .cart-image{width:64px!important;min-width:64px!important;max-width:64px!important;height:64px!important;border-radius:14px;overflow:hidden}
#card-summary .ht-grocery-fold{display:block;clear:both;margin:14px 12px 0;border:0;border-radius:12px;background:#eff3f4;overflow:hidden}
#card-summary .ht-grocery-fold>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;list-style:none;cursor:pointer}
#card-summary .ht-grocery-fold>summary::-webkit-details-marker{display:none}
#card-summary .ht-grocery-fold>summary b{display:block;font-size:12px;line-height:1.7}
#card-summary .ht-grocery-count{display:block;font-size:10px;line-height:1.7;margin-top:3px;color:#76888e}
#card-summary .ht-grocery-action{display:flex;align-items:center;gap:6px;color:#137f8d;font-size:10px;white-space:nowrap}
#card-summary .ht-grocery-hide{display:none}
#card-summary .ht-grocery-fold[open] .ht-grocery-hide{display:inline}
#card-summary .ht-grocery-fold[open] .ht-grocery-show{display:none}
#card-summary .ht-grocery-fold[open] summary svg{transform:rotate(180deg)}
#card-summary .ht-grocery-fold>.product-notes-section{margin:0!important;padding:10px 12px!important;border:0!important;background:transparent!important}
#card-summary .ht-grocery-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 14px;color:#76888e}
#card-summary .ht-grocery-breakdown p{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:10px;margin:0}
#card-summary .ht-grocery-breakdown p+p{border-inline-start:1px solid #dce5e8;padding-inline-start:12px}
#card-summary .ht-grocery-breakdown b{font-size:12px;color:#28464c;white-space:nowrap}
#card-summary .ht-grocery-fold>summary:focus-visible{outline:2px solid #2cb3c5;outline-offset:-3px;border-radius:12px}
html.dark-mode #card-summary .ht-grocery-fold{background:#292a32}
html.dark-mode #card-summary .ht-grocery-action{color:#69cfda}
html.dark-mode #card-summary :is(.ht-grocery-count,.ht-grocery-breakdown){color:#a9bac0}
html.dark-mode #card-summary .ht-grocery-breakdown b{color:#edf3f4}
html.dark-mode #card-summary .ht-grocery-breakdown p+p{border-color:#454951}
/* Compact grocery disclosure: override legacy 110% note width and absolute delete button. */
html #card-summary .cart-item.ht-grocery-cart .cart-image{width:68px!important;min-width:68px!important;max-width:68px!important;height:68px!important;flex:0 0 68px!important}
html #card-summary .cart-item.ht-grocery-cart .cart-image :is(a.img-ratio,img){width:100%!important;height:100%!important;object-fit:cover;border-radius:14px}
html #card-summary .ht-grocery-fold,html #card-summary .ht-grocery-breakdown{box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0;flex:0 0 100%;margin-inline:0!important}
html #card-summary .ht-grocery-fold>summary{padding:12px;gap:8px}
html #card-summary .ht-grocery-fold>summary>span:first-child{min-width:0}
html #card-summary .ht-grocery-fold>.product-notes-section{width:100%!important;max-width:100%!important;box-sizing:border-box;padding:0 12px 8px!important;overflow:visible}
html #card-summary .ht-grocery-fold .product-notes-display,html #card-summary .ht-grocery-fold .product-notes-display>small,html #card-summary .ht-grocery-fold .notes-text{width:100%!important;max-width:100%!important;box-sizing:border-box;min-width:0;padding:0!important;background:transparent!important}
html #card-summary .ht-grocery-fold .cart-note-items{width:100%;gap:0}
html #card-summary .ht-grocery-fold .cart-note-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto 30px;align-items:center;gap:8px;padding:10px 0!important;min-height:48px;overflow:visible;background:transparent!important;border-radius:0;border:0;border-bottom:1px solid #dfe7e9;box-sizing:border-box}
html #card-summary .ht-grocery-fold .cart-note-item:last-child{border-bottom:0}
html #card-summary .ht-grocery-fold .cart-note-item-main{min-width:0;grid-column:1}
html #card-summary .ht-grocery-fold .cart-note-item-name{font-size:12px;line-height:1.6;color:#20383d}
html #card-summary .ht-grocery-fold .cart-note-item-price{grid-column:2;font-size:12px;color:#20383d;white-space:nowrap}
html #card-summary .ht-grocery-fold .cart-note-item-remove{position:static!important;inset:auto!important;grid-column:3;width:30px!important;height:32px!important;min-width:30px;padding:0!important;border-radius:8px;background:#fff0f0;color:#d94854;font:20px/1 Arial;transform:none!important}
html #card-summary .ht-grocery-fold .cart-note-item-qty{display:inline-block;white-space:nowrap;margin-inline-start:4px}
html #card-summary .ht-grocery-fold .cart-note-approx{display:none}
html #card-summary .ht-grocery-breakdown{padding:12px 2px;gap:8px}
html.dark-mode #card-summary .ht-grocery-fold .cart-note-item{border-color:#3d414b}
html.dark-mode #card-summary .ht-grocery-fold :is(.cart-note-item-name,.cart-note-item-price){color:#edf3f4}
html.dark-mode #card-summary .ht-grocery-fold .cart-note-item-remove{background:#412e36;color:#ff98a0}
html #card-summary .cart-body:has(.ht-grocery-cart){padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important;scroll-padding-bottom:110px}
html #card-summary .cart-item.ht-grocery-cart{padding:12px!important}
