/* Force two products per row on mobile collection/search pages */
@media(max-width:749px){
body .collection .product-grid,body .collection ul.grid,body #product-grid,body .template-search .product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:10px!important;row-gap:16px!important;width:100%!important;margin:0!important;padding:0!important}
body .collection .product-grid>.grid__item,body .collection ul.grid>.grid__item,body #product-grid>.grid__item,body .template-search .product-grid>.grid__item{width:100%!important;max-width:100%!important;min-width:0!important;flex:initial!important;margin:0!important}
body .collection .page-width{padding-left:12px!important;padding-right:12px!important}
body .collection .card__information{padding:9px 5px!important}
body .collection .card__heading{font-size:12px!important;line-height:1.4!important}
body .collection .price{font-size:13px!important}
body .collection .quick-add__submit{font-size:12px!important;min-height:38px!important;padding:6px!important}
}

/* TKD compact product listing refinement — collection page only */
body.template-collection #product-grid .card-wrapper,
body.template-collection #product-grid .card,
body.template-collection #product-grid .card__content,
body.template-collection #product-grid .card__information{min-height:0!important}
body.template-collection #product-grid .card__information{flex:0 0 auto!important;padding-bottom:5px!important}
body.template-collection #product-grid .card-information{margin-top:5px!important}
body.template-collection #product-grid .card__heading{min-height:0!important;margin-bottom:4px!important}
body.template-collection #product-grid .card-information .price,
body.template-collection #product-grid .card-information .price__container{min-height:0!important;margin:0!important}
body.template-collection #product-grid .card__content{flex:0 0 auto!important}
body.template-collection #product-grid .quick-add{margin-top:8px!important;margin-bottom:8px!important}
body.template-collection #product-grid .quick-add__submit{background:#ff007d!important;color:white!important;border-radius:30px!important;gap:8px!important}
body.template-collection #product-grid .quick-add__submit::before{content:'';display:inline-block;width:18px;height:18px;flex:none;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:749px){
body.template-collection #product-grid .card__information{padding:8px 7px 3px!important}
body.template-collection #product-grid .quick-add{margin:7px 7px 10px!important}
body.template-collection #product-grid .quick-add__submit{min-height:40px!important}
body.template-collection #product-grid .card__heading{font-size:12px!important}
body.template-collection #product-grid .card-information .price{font-size:13px!important}
}

/* 2026-10-27: collection product cards compact: remove giant blank gap between title and price */
body.template-collection #product-grid{align-items:start!important;grid-auto-rows:auto!important}
body.template-collection #product-grid>.grid__item{height:auto!important;align-self:start!important;display:block!important}
body.template-collection #product-grid .card-wrapper,
body.template-collection #product-grid .card-wrapper>.card,
body.template-collection #product-grid .card__inner,
body.template-collection #product-grid .card__content,
body.template-collection #product-grid .card__information{height:auto!important;min-height:0!important;flex:0 0 auto!important}
body.template-collection #product-grid .card-wrapper>.card{display:block!important}
body.template-collection #product-grid .card__content{display:block!important;padding:0!important}
body.template-collection #product-grid .card__information{display:block!important;padding:10px 9px 4px!important}
body.template-collection #product-grid .card__heading{height:auto!important;min-height:0!important;max-height:none!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;line-height:1.4!important;margin:0 0 7px!important}
body.template-collection #product-grid .card-information{display:block!important;margin:0!important}
body.template-collection #product-grid .card-information .price,
body.template-collection #product-grid .card-information .price__container{height:auto!important;min-height:0!important;display:block!important;margin:0!important}
body.template-collection #product-grid .quick-add{margin:9px 9px 12px!important}
body.template-collection #product-grid .quick-add__submit{min-height:42px!important}
@media(max-width:749px){body.template-collection #product-grid{align-items:start!important;row-gap:14px!important}body.template-collection #product-grid .card__information{padding:9px 7px 2px!important}body.template-collection #product-grid .quick-add{margin:8px 7px 10px!important}}
