/* Consistent WooCommerce and homepage cards. Product data remains in WooCommerce. */
.product-small.col:has(> .col-inner > .gmc-product-card){display:flex}
.product-small.col > .col-inner:has(> .gmc-product-card){display:flex;flex-direction:column;width:100%;height:100%}
.gmc-product-card{display:flex;flex-direction:column;align-self:stretch;width:100%;height:100%;min-width:0;background:#fff;border:1px solid #e7e9ed;border-radius:16px;overflow:hidden;color:#101828}
.gmc-product-card .gmc-card-media{flex:none;aspect-ratio:1;background:#fff!important;position:relative;padding:16px;overflow:hidden}
.gmc-product-card .gmc-card-image{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.gmc-product-card .gmc-card-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.gmc-product-card .gmc-card-sale{position:absolute;top:12px;left:12px;z-index:2;background:#d71920;color:#fff;border-radius:5px;padding:6px 9px;font-size:12px;line-height:1.2;font-weight:800;letter-spacing:.02em}
.gmc-product-card .gmc-card-info{display:grid;grid-template-rows:minmax(2.6em,1fr) auto 20px minmax(38px,auto);flex:1;text-align:center;padding:10px 14px 16px;gap:5px}
.gmc-product-card .gmc-card-title{grid-row:1;align-self:center;text-align:center;color:#101828!important;font-size:15px;line-height:1.3;font-weight:700;text-transform:none;letter-spacing:0}
.gmc-product-card .gmc-card-price{grid-row:2;margin:0;text-align:center;font-size:15px;line-height:1.5}
.gmc-product-card .gmc-card-price del,.gmc-product-card .gmc-card-price del .amount{color:#777!important;text-decoration:line-through;font-weight:400;font-size:13px;opacity:1}
.gmc-product-card .gmc-card-price ins,.gmc-product-card .gmc-card-price ins .amount{color:#101828!important;text-decoration:none;font-weight:800}
.gmc-product-card .gmc-card-rating{grid-row:3;justify-self:center;margin:0;align-self:center}
.gmc-product-card .gmc-card-cart{grid-row:4;display:flex;justify-content:center;align-self:end;margin:0}
.gmc-product-card .gmc-card-cart a{margin:0;text-align:center}
.cb-best .cb-track{align-items:stretch}
.cb-best .cb-product{display:flex;align-items:stretch;height:auto;min-width:0}
.cb-best .cb-product > .gmc-product-card{flex:1}
.cb-best .cb-product .gmc-card-cart a,.cb-best .cb-product .gmc-card-quick-view{display:inline-flex}
@media(max-width:849px){.gmc-product-card{border-radius:12px}.gmc-product-card .gmc-card-media{padding:10px}.gmc-product-card .gmc-card-info{padding:8px 10px 12px;grid-template-rows:minmax(2.6em,1fr) auto 20px minmax(36px,auto)}.gmc-product-card .gmc-card-title{font-size:14px}.gmc-product-card .gmc-card-price{font-size:14px}.gmc-product-card .gmc-card-sale{top:8px;left:8px;font-size:11px;padding:5px 7px}}
/* Keep the horizontal carousel from producing a vertical scrollbar at fractional heights. */
.cb-best .cb-track{overflow-y:hidden;padding-bottom:3px}
