/* Only mall template 3 receives this palette and search layout. */
body:has(#app.mall-template3) { background: #fff6e5; }
#app.mall-template3 { background: #fff7e6; --main-color: #bc520e; --price-color: #b53b22; }
.mall-template3 .header { background: linear-gradient(110deg,#b84408,#db942e); }
.mall-template3 .main-head { background: transparent; }
.mall-template3 .main-head [class^="head-icon-line"] { background: #fff4d8; }
.mall-template3 .main-head .icon-yonghu { color: #fff4d8 !important; }
.mall-template3 .section_content { background: #fff7e6; }
.mall-template3 .m3-home-top { padding-top: .08rem; background: linear-gradient(#e79b3c 0%,#ffb267 50%,#ffe8ad 100%); border-radius: 0 0 48% 5% / 0 0 24px 8px; padding-bottom: .16rem; }
.mall-template3 .m3-guarantees { gap: .08rem; flex-wrap: wrap; padding: .22rem 0; }
.mall-template3 .m3-guarantees > .flex { background: #fff0c9; border: 1px solid #efce94; border-radius: 30px; padding: .07rem .09rem; box-sizing: border-box; gap: .02rem; }
.mall-template3 .m3-guarantees .fs24 { color: #57331b; font-weight: 600; font-size: clamp(9px,2.4vw,11px); white-space: nowrap; }
.mall-template3 .m3-guarantees .safeguard-icon,.mall-template3 .m3-guarantees .m3-dollar { width: 12px; height: 12px; font-size: 10px; }
.mall-template3 .m3-dollar { display: inline-flex; align-items: center; justify-content: center; width: .26rem; height: .26rem; flex-shrink: 0; border: 1px solid #8a551e; border-radius: 50%; color: #7f471b; font: bold .21rem/1 Arial,sans-serif; margin-right: .04rem; }
.mall-template3 .sort > div { color: #583015; font-weight: 700; }
.mall-template3 .goods-sort-title .bold { color: #6b3516; }
.mall-template3 .goods-sort-list { background: #fffdfa; box-shadow: 0 3px 8px #895c2321; border-radius: .24rem; overflow: hidden; }
.mall-template3 .main-footer1 { background: #f6e6c7; color: #69492e; }
.mall-template3 .m3-search { background: linear-gradient(110deg,#b84408,#db942e); padding: .16rem .22rem .22rem; }
.mall-template3 .m3-search-form { display: flex; align-items: center; gap: .12rem; background: #fffefa; border: 2px solid #f4d28b; border-radius: 50px; padding: .05rem .05rem .05rem .22rem; box-shadow: 0 2px 5px #74310935; }
.mall-template3 .m3-search-icon { width: .36rem; height: .36rem; flex-shrink: 0; fill: none; stroke: #99917f; stroke-width: 2; }
.mall-template3 .m3-search-form input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: #56371e; font-size: max(16px,.32rem); height: .66rem; padding: 0; }
.mall-template3 .m3-search-form input::placeholder { color: #98917f; }
.mall-template3 .m3-search-form:focus-within { outline: 2px solid #fff1bd; outline-offset: 2px; }
.mall-template3 .m3-search button { cursor: pointer; font-family: inherit; }
.mall-template3 .m3-search-form button { border: 0; border-radius: 40px; background: linear-gradient(110deg,#dbb35a,#b44b0b); color: #fff; font-size: .3rem; font-weight: 700; padding: 0 .34rem; height: .66rem; flex-shrink: 0; }
.mall-template3 .m3-search.is-active ~ .m3-home-content { display: none; }
.mall-template3 .m3-search.is-active { min-height: 60vh; background: linear-gradient(#db942e 0,#fff7e6 90px); }
.mall-template3 .m3-search-results { padding-top: .3rem; }
.mall-template3 .m3-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #653713; margin: .1rem 0 .3rem; font-size: .3rem; }
.mall-template3 .m3-results-heading strong { overflow-wrap: anywhere; }
.mall-template3 .m3-results-heading button,.mall-template3 .m3-search-status button { background: #fff7e4; border: 1px solid #c78844; border-radius: 20px; color: #7b4219; padding: 7px 12px; flex-shrink: 0; }
.mall-template3 .m3-search-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .14rem; }
.mall-template3 .m3-result-card { display: flex; flex-direction: column; text-align: left; color: #33261c; border: 0; padding: 0 0 .18rem; border-radius: .22rem; overflow: hidden; background: #fffdfa; box-shadow: 0 3px 8px #895c2321; }
.mall-template3 .m3-result-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mall-template3 .m3-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-template3 .m3-result-price { color: #b53b22; font-size: .28rem; padding: 0 .12rem; }
.mall-template3 .m3-result-card s { font-size: .22rem; color: #999; padding: 0 .12rem; }
.mall-template3 .m3-search-status { padding: .5rem .1rem; text-align: center; color: #79512f; line-height: 1.7; font-size: .28rem; }
.mall-template3 .m3-search-more { display: block; margin: .35rem auto; padding: .15rem .4rem; border: 1px solid #c78844; border-radius: 24px; color: #74401a; background: #fff2d4; font-size: .28rem; }
@media (max-width:360px) { .mall-template3 .m3-search-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .mall-template3 .m3-guarantees { justify-content: center; } }

/* Keep announcement text legible on the warm background. */
.mall-template3 .notice-title, .mall-template3 .notice-title * { color:#000 !important; }
