.mt-card{height:100%;background:#f7f7f7;border:1px solid #e5e5e5;border-radius:16px;padding:10px;color:#181818;display:flex;flex-direction:column;position:relative;overflow:hidden}.mt-card__media{position:relative;aspect-ratio:1;background:#f5f5f5;overflow:hidden;border-radius:10px}.mt-card__media img{display:block;width:100%;height:100%;object-fit:contain}.mt-card__badge{position:absolute;left:10px;top:10px;border-radius:20px;background:#ff9f00;color:#111;font-size:12px;font-weight:700;padding:5px 10px;z-index:1}.mt-card__info{display:flex;justify-content:space-between;gap:8px;padding:15px 3px;align-items:flex-start}.mt-card__title{color:#111;font-size:16px;line-height:1.3;font-weight:700;white-space:normal}.mt-card__price{font-size:15px;white-space:nowrap;color:#111}.mt-card__price del{opacity:.6}.mt-card__price ins{text-decoration:none}.mt-card__action{margin-top:auto;padding:0 3px 4px}.mt-card__action .button{border-radius:24px;background:#ff9f00;color:#111;font-weight:700;text-transform:none;letter-spacing:0}.mt-best{padding:60px 3.3%;max-width:1600px;margin:auto}.mt-best__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.mt-best__head h2{margin:0;color:#111;font-size:36px}.mt-best__nav{display:flex;gap:10px}.mt-best__nav button{border:1px solid #888;border-radius:50%;background:white;width:42px;height:42px;margin:0;padding:0;color:#111;font-size:22px;line-height:1}.mt-best__track{display:flex;overflow-x:auto;gap:16px;scroll-snap-type:x mandatory;scrollbar-width:none}.mt-best__track::-webkit-scrollbar{display:none}.mt-best__item{flex:0 0 calc((100% - 48px)/4);min-width:0;scroll-snap-align:start}@media(max-width:767px){.mt-best{padding:35px 16px}.mt-best__head h2{font-size:27px}.mt-best__nav{display:none}.mt-best__item{flex-basis:calc((100% - 12px)/2)}.mt-best__track{gap:12px}.mt-card__info{display:block}.mt-card__title{font-size:14px}.mt-card__price{font-size:14px;margin-top:8px}}
.mt-card__action{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.mt-card__action .quick-view{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 16px;border:1px solid #171717;border-radius:999px;color:#171717;background:#fff;text-decoration:none;font-size:14px;font-weight:700}.mt-card__action .quick-view:hover,.mt-card__action .quick-view:focus-visible{background:#171717;color:#fff}.mt-card__action .button{margin:0;min-height:38px}

/* Source card: the image remains square; desktop controls overlay the image. */
.mt-card{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;background:#fafafa;border:9px solid rgba(23,23,23,.15);border-radius:15px;padding:0;overflow:hidden}
.mt-card__media{grid-area:1/1;width:100%;border-radius:0;background:#fff}
.mt-card__media img{width:100%;height:100%;object-fit:contain}
.mt-card__info{grid-area:2/1;display:flex;align-items:baseline;gap:8px;padding:25px 30px 30px;min-height:125px}
.mt-card__title{flex:1;min-width:0;font-size:18px;line-height:1.25;color:#171717}
.mt-card__price{font-size:14px;line-height:1.4;white-space:normal;text-align:right}
.mt-card__action{grid-area:1/1;align-self:end;justify-content:center;z-index:2;margin:0 10px 20px;padding:0;opacity:0;transition:opacity .15s;pointer-events:none}
.mt-card:hover .mt-card__action,.mt-card:focus-within .mt-card__action{opacity:1;pointer-events:auto}
.mt-card__action .button,.mt-card__action .quick-view{pointer-events:auto}
.mt-card__badge{left:8px;top:8px}
@media(max-width:767px){
 .mt-best{padding:39px 20px 54px}.mt-best__item{flex-basis:82.46%}
 .mt-card{border:0;border-radius:9px;grid-template-rows:auto auto 1fr}
 .mt-card__info{grid-area:2/1;display:block;min-height:0;padding:16px 8px 10px}
 .mt-card__title{font-size:16px}.mt-card__price{font-size:13px;margin-top:4px;text-align:left}
 .mt-card__action{grid-area:3/1;position:static;justify-content:flex-start;align-self:end;opacity:1;pointer-events:auto;margin:12px 8px;padding:0 0 12px}
}

/* Flatsome wraps the provider with its own sale callout: retain only the
   provider's data-derived badge while leaving other badge types intact. */
.product-small .col-inner:has(> .mt-card) > .badge-container .badge:has(> .on-sale){display:none}
/* Archive columns are narrower than the source homepage slider cards. */
.products .mt-card__info{display:block;padding:16px 14px 20px;min-height:0}
.products .mt-card__title{display:block;overflow-wrap:anywhere}
.products .mt-card__price{margin-top:6px;text-align:left}
