.mall-template2 .m2-search { background:#fff; padding:.16rem .22rem .22rem; }
.mall-template2 .m2-search-form { display: flex; align-items: center; gap: .12rem; background: #fff; border: 2px solid #e7e7e7; border-radius: 50px; padding: .05rem .05rem .05rem .22rem; box-shadow: 0 2px 5px #00000010; }
.mall-template2 .m2-search-icon { width: .36rem; height: .36rem; flex-shrink: 0; fill: none; stroke: #888; stroke-width: 2; }
.mall-template2 .m2-search-form input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #333; font-size: max(16px,.32rem); height: .66rem; padding: 0; }
.mall-template2 .m2-search-form input::placeholder { color: #999; }
.mall-template2 .m2-search-form:focus-within { outline: 2px solid var(--main-color); outline-offset: 2px; }
.mall-template2 .m2-search button { cursor: pointer; font-family: inherit; }
.mall-template2 .m2-search-form button { border: 0; border-radius: 40px; background: var(--main-color); color: #fff; font-size: .3rem; font-weight: 700; padding: 0 .34rem; height: .66rem; flex-shrink: 0; }
.mall-template2 .m2-search.is-active ~ .m2-home-content { display: none; }
.mall-template2 .m2-search.is-active { min-height: 60vh; background:#fff; }
.mall-template2 .m2-search-results { padding-top: .3rem; }
.mall-template2 .m2-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #333; margin: .1rem 0 .3rem; font-size: .3rem; }
.mall-template2 .m2-results-heading strong { overflow-wrap: anywhere; }
.mall-template2 .m2-results-heading button,.mall-template2 .m2-search-status button { background: #fff; border: 1px solid #ddd; border-radius: 20px; color: var(--main-color); padding: 7px 12px; flex-shrink: 0; }
.mall-template2 .m2-search-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .14rem; }
.mall-template2 .m2-result-card { display: flex; flex-direction: column; text-align: left; color: #333; border: 0; padding: 0 0 .18rem; border-radius: .22rem; overflow: hidden; background: #fff; box-shadow: 0 3px 8px #00000012; }
.mall-template2 .m2-result-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mall-template2 .m2-result-name { font-size: .25rem; line-height: 1.45; height: 2.9em; margin: .12rem .12rem .05rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mall-template2 .m2-result-price { color: var(--price-color); font-size: .28rem; padding: 0 .12rem; }
.mall-template2 .m2-result-card s { font-size: .22rem; color: #999; padding: 0 .12rem; }
.mall-template2 .m2-search-status { padding: .5rem .1rem; text-align: center; color: #666; line-height: 1.7; font-size: .28rem; }
.mall-template2 .m2-search-more { display: block; margin: .35rem auto; padding: .15rem .4rem; border: 1px solid #ddd; border-radius: 24px; color: var(--main-color); background: #fff; font-size: .28rem; }
@media (max-width:360px) { .mall-template2 .m2-search-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .mall-template2 .m2-guarantees { justify-content: center; } }

.mall-template2 .m2-dollar{display:inline-flex;align-items:center;justify-content:center;width:.26rem;height:.26rem;box-sizing:border-box;border:1px solid currentColor;border-radius:50%;color:#777;font:bold .21rem/1 Arial,sans-serif;margin-right:.06rem;flex-shrink:0}
