/* TakShat Products UI 1.2.3. Scoped to cards; no checkout/detail overrides. */
body.store .product-card{min-width:0;display:flex;flex-direction:column;border:1px solid #e6ebe6!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;overflow:hidden;transition:border-color .18s ease!important}
body.store .product-card:hover{transform:none!important;border-color:#b9cbbf!important;box-shadow:none!important}
/* Both images occupy exactly the same square, regardless of source dimensions. */
body.store .product-card :is(.product-image,.thm-product-image){display:block;position:relative;flex:none;width:100%;aspect-ratio:1;padding:0!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;border-radius:0!important;background:#fff!important;overflow:hidden}
body.store .product-card :is(.product-image,.thm-product-image)>img{display:block;position:absolute;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center;padding:14px!important;box-sizing:border-box;transform:none!important}
body.store .product-card :is(.product-info,.thm-card-copy){min-width:0;flex:1;padding:10px 12px 12px!important;display:flex;flex-direction:column;gap:6px}
body.store .product-card :is(.product-title,.thm-card-copy h3){font-size:13px!important;font-weight:500!important;line-height:1.85!important;margin:0!important;min-height:3.7em;height:3.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
body.store .product-card .product-info>.eyebrow{font-size:10px!important;line-height:1.6;letter-spacing:0!important;color:#78837b;margin:0}
body.store .product-card .product-bottom{display:flex!important;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;min-height:44px;margin-top:auto!important;margin-bottom:0!important;padding-top:6px!important;border:0!important;gap:3px 8px;font-size:12px!important}
body.store .product-card .product-bottom>div{min-width:0;max-width:100%;line-height:1.65}
body.store .product-card :is(.product-bottom strong,.thm-price strong){font-size:14px!important;font-weight:600!important;color:#204434;white-space:nowrap}
body.store .product-card :is(.product-bottom del,.thm-price del){display:block;font-size:11px!important;line-height:1.7;color:#8c958e;font-weight:400;white-space:nowrap}
body.store .product-card .product-bottom small{display:inline!important;font-size:10px!important;margin:0!important;line-height:1.6}
body.store .product-card .stock-dot{display:inline-flex;font-size:10px!important;line-height:1.6;font-weight:400;white-space:nowrap}
body.store .product-card .thm-price{min-height:44px;margin-top:auto!important;margin-bottom:0!important;gap:0;display:flex;flex-direction:column;justify-content:flex-end}
body.store .product-card :is(.sale-label,.thm-discount){position:absolute;z-index:2;font-size:10px!important;line-height:1.8;font-weight:500;min-width:0;min-height:0;padding:2px 7px!important;inset:8px 8px auto auto!important;border-radius:6px!important;background:#eef5ef!important;color:#24513a!important;box-shadow:none}
body.store .product-card .product-view{display:none!important}
/* Stable row: quantity takes available space; cart icon never stretches. */
body.store .product-card .card-add-form{display:grid!important;grid-template-columns:minmax(0,1fr) 40px!important;gap:6px!important;align-items:center;margin:6px 0 0!important}
body.store .product-card .card-add-form .tsf-qty{width:100%;min-width:0;max-width:none;grid-template-columns:28px minmax(20px,1fr) 28px;border-radius:7px}
body.store .product-card .card-add-form>.btn{display:flex;align-items:center;justify-content:center;width:40px!important;min-width:0!important;height:40px!important;min-height:40px!important;padding:6px!important;border-radius:7px!important;background:#edf3ef!important;border:1px solid #dce7de!important;color:#224c37!important}
body.store .product-card .card-add-form>.btn>span{display:none}
body.store .product-card .card-add-form>.btn>svg{width:19px;height:19px}
body.store .product-card .card-select{font-size:11px!important;line-height:1.7;min-height:40px;padding:7px!important;margin:6px 0 0!important;border-radius:7px!important;background:#f3f6f2!important;border:1px solid #e3e9e1!important;color:#365442!important;white-space:normal}
body.store .product-card .tsf-qty :is(button,input[type=number]){min-height:38px!important;height:38px!important}
body.store .product-card.thm-card form[data-cart-add]{display:grid!important;grid-template-columns:minmax(0,1fr) 40px;gap:6px;padding:0 12px 12px;margin:0!important}
body.store .product-card.thm-card form[data-cart-add] .tsf-qty{width:100%;max-width:none;grid-template-columns:28px minmax(20px,1fr) 28px}
body.store .product-card.thm-card .thm-buy{position:static!important;font-size:11px!important;min-height:40px!important;border-radius:7px!important;background:#edf3ef!important;color:#224c37!important}
body.store .product-card.thm-card>a.thm-buy{width:auto!important;margin:0 12px 12px!important;padding:7px!important;display:block;text-align:center}
body.store .product-card .thm-rating{margin:0!important;font-size:11px!important;min-height:20px}
body.store .product-card :is(a,button,input):focus-visible{outline:2px solid #47775b;outline-offset:-2px}
body.store .product-card .tsrvc{padding:0!important;margin:0!important;min-height:20px!important;border:0!important;background:transparent!important;border-radius:0;gap:4px!important}
body.store .product-card .tsrvc-empty .tsrvc-count{display:none}
body.store .product-card .tsrvc-stars{flex-basis:65px!important;width:65px!important;height:13px!important}
body.store .product-card :is(.tsrvc-stars>svg,.tsrvc-fill>svg){width:65px!important;height:13px!important}
body.store .product-card .tsrvc-number{font-size:11px!important;font-weight:500}
body.store .product-card .tsrvc-count{font-size:10px!important}
@media(max-width:760px){
 body.store .product-card :is(.product-info,.thm-card-copy){padding:8px!important;gap:5px}
 body.store .product-card :is(.product-title,.thm-card-copy h3){font-size:12px!important}
 body.store .product-card :is(.product-bottom strong,.thm-price strong){font-size:13px!important}
 body.store .product-card :is(.product-image,.thm-product-image)>img{padding:10px!important}
 body.store .product-card .card-add-form{grid-template-columns:minmax(0,1fr) 36px!important;gap:5px!important}
 body.store .product-card .card-add-form>.btn{width:36px!important;height:42px!important;min-height:42px!important}
 body.store .product-card .card-add-form .tsf-qty,body.store .product-card.thm-card form[data-cart-add] .tsf-qty{grid-template-columns:24px minmax(18px,1fr) 24px}
 body.store .product-card .tsf-qty :is(button,input[type=number]){min-height:40px!important;height:40px!important}
 body.store .product-card.thm-card form[data-cart-add]{grid-template-columns:minmax(0,1fr) 36px;padding:0 8px 8px;gap:5px}
 body.store .product-card.thm-card>a.thm-buy{margin:0 8px 8px!important}
}
@media(prefers-reduced-motion:reduce){body.store .product-card{transition:none!important}}
