/* Mate Best Sellers — scoped styles; does not change the theme's WooCommerce cards. */
.mate-bs{--mate-bs-cols:4;--mate-bs-accent:#176b48;--mate-bs-badge-bg:#fff0d3;--mate-bs-badge-fg:#8b4b0a;max-width:100%;color:#20352d;font-family:inherit;margin:28px auto 40px}
.mate-bs *, .mate-bs *::before,.mate-bs *::after{box-sizing:border-box}
.mate-bs__header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 25px}
.mate-bs__eyebrow{display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:2px;font-weight:850;color:var(--mate-bs-accent);margin-bottom:10px}
.mate-bs__title{margin:0 0 8px!important;padding:0!important;color:#1f382e!important;font-size:clamp(26px,3.2vw,40px)!important;font-weight:800!important;line-height:1.2!important;letter-spacing:-.7px}
.mate-bs__subtitle{font-size:15px;line-height:1.55;color:#738078;margin:0!important}
.mate-bs__track{display:grid;grid-template-columns:repeat(var(--mate-bs-cols),minmax(0,1fr));gap:22px;width:100%;min-width:0}
.mate-bs__card{min-width:0;overflow:hidden;position:relative;display:flex;flex-direction:column;border:1px solid #eaeeea;border-radius:19px;background:#fff;box-shadow:0 8px 28px rgba(24,55,35,.06);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.mate-bs__card:hover{transform:translateY(-5px);box-shadow:0 18px 45px rgba(24,55,35,.12);border-color:#d5e3d9}
.mate-bs__media{position:relative;overflow:hidden;isolation:isolate;background:#f2f3ef;aspect-ratio:4/3}
.mate-bs__image-link{display:block;width:100%;height:100%;overflow:hidden}
.mate-bs__img,.mate-bs__media img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:cover!important;margin:0!important;border:0!important;border-radius:0!important;transform:scale(1);transition:transform .45s ease}
.mate-bs__card:hover .mate-bs__img,.mate-bs__card:hover .mate-bs__media img{transform:scale(1.065)}
.mate-bs__badge{display:inline-flex;align-items:center;gap:5px;position:absolute;z-index:1;top:12px;left:12px;max-width:calc(100% - 73px);padding:8px 11px;border-radius:30px;background:var(--mate-bs-badge-bg);color:var(--mate-bs-badge-fg);font-size:10px;font-weight:900;letter-spacing:.85px;line-height:1.1;box-shadow:0 4px 15px rgba(54,39,20,.1);pointer-events:none}
.mate-bs__rank{display:flex;align-items:center;justify-content:center;position:absolute;z-index:1;right:12px;top:12px;min-width:37px;height:37px;padding:0 7px;border-radius:50%;background:rgba(255,255,255,.96);color:#254534;font-size:13px;font-weight:900;box-shadow:0 4px 14px rgba(10,20,15,.13);pointer-events:none}
.mate-bs__sale{position:absolute;z-index:1;bottom:12px;left:12px;background:#be4838;color:#fff;padding:6px 10px;border-radius:7px;font-size:10px;font-weight:900;letter-spacing:1px;pointer-events:none}
.mate-bs__content{padding:17px 17px 18px;display:flex;flex-direction:column;flex:1;min-width:0}
.mate-bs__meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:18px;margin-bottom:7px}
.mate-bs__meta:empty{display:none}
.mate-bs__rating{font-size:12px;font-weight:800;color:#35473a}
.mate-bs__reviewcount,.mate-bs__sold{font-size:11px;font-weight:500;color:#87918a}
.mate-bs__product-title{margin:0 0 12px!important;padding:0!important;font-size:16px!important;font-weight:750!important;line-height:1.4!important;letter-spacing:-.2px;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mate-bs__product-title a{color:#26392f!important;text-decoration:none!important;box-shadow:none!important}
.mate-bs__product-title a:hover{color:var(--mate-bs-accent)!important}
.mate-bs__bottom{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;gap:13px}
.mate-bs__price{font-size:19px;font-weight:850;letter-spacing:-.4px;line-height:1.3;color:var(--mate-bs-accent)}
.mate-bs__price .amount{color:inherit!important;font-weight:inherit!important;font-size:inherit!important}
.mate-bs__price del{opacity:.53;font-size:13px;margin-right:5px;color:#6c756f!important}
.mate-bs__price ins{text-decoration:none!important;background:none!important}
.mate-bs__button{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:11px 14px!important;border:none!important;border-radius:11px!important;background:var(--mate-bs-accent)!important;color:#fff!important;font-size:13px!important;font-weight:800!important;line-height:1.2!important;text-align:center;text-decoration:none!important;box-shadow:none!important;transition:filter .2s ease,transform .2s ease!important;cursor:pointer}
.mate-bs__button:hover,.mate-bs__button:focus{filter:brightness(.9);transform:translateY(-1px);color:#fff!important}
.mate-bs__button svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mate-bs__nav{display:flex;gap:9px;flex:none}
.mate-bs__arrow{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:50%;background:#fff;border:1px solid #dce6dc;color:#294b38;padding:11px;cursor:pointer;transition:.2s}
.mate-bs__arrow:hover:not(:disabled){background:var(--mate-bs-accent);color:#fff;border-color:var(--mate-bs-accent)}
.mate-bs__arrow:disabled{opacity:.3;cursor:default}
.mate-bs__arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mate-bs--carousel .mate-bs__track{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding:3px 3px 19px;scroll-behavior:smooth}
.mate-bs--carousel .mate-bs__track::-webkit-scrollbar{display:none}
.mate-bs--carousel .mate-bs__card{flex:0 0 calc((100% - (var(--mate-bs-cols) - 1)*20px) / var(--mate-bs-cols));scroll-snap-align:start;scroll-snap-stop:always}
.mate-bs__footer{display:flex;justify-content:center;margin-top:24px}
.mate-bs__all{display:inline-flex;align-items:center;gap:11px;color:var(--mate-bs-accent)!important;border:1px solid currentColor;padding:11px 22px;border-radius:30px;font-size:13px;font-weight:800;text-decoration:none!important;transition:.2s}
.mate-bs__all:hover{background:var(--mate-bs-accent);color:#fff!important}
.mate-bs__all span{font-size:18px}
.mate-bs-empty{padding:12px 16px;text-align:center;color:#657467}
@media(max-width:1024px){.mate-bs__track{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mate-bs--carousel .mate-bs__card{flex-basis:calc((100% - 32px)/3)}.mate-bs__content{padding:15px}.mate-bs__badge{font-size:9px;padding:7px 9px}.mate-bs__rank{right:9px;top:9px;width:33px;height:33px;min-width:33px}}
@media(max-width:767px){.mate-bs{margin:24px auto 32px}.mate-bs__header{align-items:flex-end;gap:10px;margin-bottom:18px}.mate-bs__track{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mate-bs__card{border-radius:14px}.mate-bs__content{padding:11px 11px 13px}.mate-bs__media{aspect-ratio:1/1}.mate-bs__product-title{font-size:14px!important;margin-bottom:10px!important}.mate-bs__price{font-size:16px}.mate-bs__button{min-height:39px;padding:10px 7px!important;border-radius:9px!important;font-size:12px!important}.mate-bs__button svg{width:13px;height:13px}.mate-bs__badge{top:8px;left:8px;max-width:calc(100% - 48px);font-size:8px;letter-spacing:.2px;gap:3px;padding:6px 7px}.mate-bs__rank{right:7px;top:7px;min-width:27px;width:27px;height:27px;font-size:11px}.mate-bs__sale{bottom:7px;left:7px}.mate-bs__meta{margin-bottom:5px}.mate-bs--carousel .mate-bs__track{gap:12px}.mate-bs--carousel .mate-bs__card{flex-basis:65%;max-width:310px}.mate-bs__nav{gap:6px}.mate-bs__arrow{width:35px;height:35px;padding:9px}.mate-bs__subtitle{font-size:13px}}
@media(max-width:350px){.mate-bs__track{gap:8px}.mate-bs__content{padding:9px}.mate-bs__button{font-size:11px!important}.mate-bs__badge{font-size:7px}}
@media(prefers-reduced-motion:reduce){.mate-bs__card,.mate-bs__img,.mate-bs__media img,.mate-bs__button,.mate-bs__all{transition:none!important}.mate-bs--carousel .mate-bs__track{scroll-behavior:auto}}

.mate-bs__nav--standalone{justify-content:flex-end;margin:0 0 12px}
