body:has(.dog-home){background:#f5f8fa;color:#14202c}body:has(.dog-home) .wrap{max-width:1550px;width:calc(100% - 32px)}body:has(.dog-home) .top{background:#eafff0;border:0}body:has(.dog-home) .head{background:white}body:has(.dog-home) .search button{background:#00b331}body:has(.dog-home) .nav{background:#00b331}body:has(.dog-home) main.wrap{padding-top:0}body:has(.dog-home) .foot{background:#fff;border-top:1px solid #e7eeec}.dog-home{font-family:system-ui,'Microsoft YaHei',sans-serif;color:#14202c}.dog-home *{box-sizing:border-box}.dog-home a{text-decoration:none;color:inherit}.dog-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 0}.dog-nav a{padding:9px 18px;border-radius:9px;font-weight:700}.dog-nav a:hover,.dog-nav .active{background:#00b632;color:#fff}.dog-hero{position:relative;border-radius:16px;overflow:hidden;background:linear-gradient(110deg,#eafff4,#b4ffd4);min-height:180px}.dog-slide{display:none}.dog-slide.is-active{display:block}.dog-slide img{display:block;width:100%;height:auto}.dog-dots{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.dog-dots button{width:12px;height:12px;border:0;border-radius:50%;padding:0;overflow:hidden;text-indent:-999px;background:#b9d6c6;cursor:pointer}.dog-dots button[aria-pressed=true]{background:#00b631}.dog-hero-empty{min-height:216px;padding:30px 10%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.dog-hero-empty h1{font-size:clamp(28px,4vw,48px);margin:0}.dog-hero-empty p{font-size:22px;margin:4px 0 14px}.dog-hero-empty a,.dog-buy{background:#00b630;color:white!important;border-radius:8px;padding:8px 20px;font-weight:700}.dog-services{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:14px;margin:10px 0 16px;box-shadow:0 3px 15px #173b2210}.dog-services>div{display:flex;align-items:center;justify-content:center;gap:13px;padding:16px}.dog-services b{font-size:30px;color:#00b632}.dog-services span{display:grid;gap:3px}.dog-services strong{font-size:17px}.dog-services small{color:#758397}.dog-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}.dog-categories,.dog-products,.dog-info,.dog-news{background:#fff;border-radius:13px;box-shadow:0 3px 15px #173b2210;overflow:hidden}.dog-categories{padding-bottom:10px}.dog-categories h2{background:#00b632;color:#fff;font-size:18px;margin:0 0 10px;padding:15px}.dog-categories a{display:block;margin:2px 10px;padding:10px 14px;border-radius:7px;font-weight:700}.dog-categories a span{float:right}.dog-categories a:hover,.dog-categories a.selected{background:#dcfae6;color:#00a930}.dog-products{padding:16px 20px}.dog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.dog-heading h2{font-size:23px;margin:0;border-left:7px solid #00b632;padding-left:12px}.dog-heading small{font-size:14px;font-weight:400}.dog-sort select,.dog-sort button{border:1px solid #dce6e2;border-radius:7px;padding:8px;background:#fff}.dog-sort label{margin-right:8px}.dog-table-head,.dog-product{display:grid;grid-template-columns:minmax(0,1fr) 100px 110px 120px;align-items:center;gap:10px}.dog-table-head{background:#e2f9e9;border-radius:7px;padding:9px 12px;font-weight:700}.dog-product{border-bottom:1px solid #e8eeee;padding:8px 12px;min-height:56px}.dog-product-name{display:flex;align-items:center;gap:10px;min-width:0}.dog-product-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dog-product-name img{width:38px;height:38px;object-fit:cover;border-radius:6px}.dog-stock{color:#00a52d;font-weight:700}.dog-price{color:#f22;font-size:19px}.dog-buy{text-align:center;padding:8px}.dog-pages{display:flex;justify-content:flex-end;gap:6px;padding-top:16px}.dog-pages a{border:1px solid #dce5e5;border-radius:7px;padding:7px 12px}.dog-pages a[aria-current]{background:#00b632;color:white;border-color:#00b632}.dog-empty{color:#89959c;padding:18px;margin:0}.dog-content{display:grid;grid-template-columns:1fr 2fr;gap:16px;margin:16px 0}.dog-info,.dog-news{padding:18px}.dog-info-head{display:flex;justify-content:space-between;align-items:center}.dog-info-head h2,.dog-news h2{font-size:19px;margin:0 0 12px}.dog-info-head a{color:#00a531}.dog-notice{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #eef2ef}.dog-notice span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dog-notice time{white-space:nowrap;color:#8a969a}.dog-news .section{margin:0}.dog-news .news-blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.dog-news .news-block{min-width:0}.dog-news .news-block-head{display:flex;justify-content:space-between}.dog-news .news-block-head h3{font-size:16px;margin:0}.dog-news .news-block-list a{display:block;padding:5px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.dog-layout{grid-template-columns:190px minmax(0,1fr)}.dog-table-head,.dog-product{grid-template-columns:minmax(0,1fr) 60px 80px 90px}.dog-services{grid-template-columns:repeat(2,1fr)}.dog-content{grid-template-columns:1fr}.dog-nav a{padding:9px 12px}}
@media(max-width:600px){body:has(.dog-home) .wrap{width:calc(100% - 20px)}.dog-nav{gap:2px}.dog-nav a{font-size:14px;padding:9px}.dog-hero,.dog-hero-empty{min-height:130px}.dog-hero-empty{padding:20px}.dog-hero-empty p{font-size:16px}.dog-services>div{padding:10px;justify-content:flex-start}.dog-services b{font-size:23px}.dog-services strong{font-size:14px}.dog-services small{font-size:12px}.dog-layout{display:block}.dog-categories{margin-bottom:12px;display:flex;gap:5px;flex-wrap:wrap;padding:8px}.dog-categories h2{width:100%;margin:-8px -8px 4px;width:calc(100% + 16px);font-size:16px;padding:10px}.dog-categories a{margin:0;padding:9px}.dog-categories a span{display:none}.dog-products{padding:12px}.dog-heading h2{font-size:19px}.dog-table-head{display:none}.dog-product{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px 0}.dog-product-name{grid-column:1 / -1}.dog-product-name strong{white-space:normal}.dog-stock:before{content:'库存 '}.dog-price{grid-column:1;grid-row:auto;font-size:17px}.dog-buy{grid-column:2;grid-row:2 / 4}.dog-pages{justify-content:center;flex-wrap:wrap}}
.dog-hero-empty{background-image:url('/templates/green_market/hero.webp');background-repeat:no-repeat;background-position:right center;background-size:auto 100%}.dog-hero-empty h1,.dog-hero-empty p,.dog-hero-empty a{position:relative}@media(max-width:600px){.dog-hero-empty{background-position:150% center;background-size:auto 90%}.dog-hero-empty h1,.dog-hero-empty p{max-width:60%;text-shadow:0 1px 3px #eafff4}}
/* 首页使用与设计稿相同的独立页头及页脚。 */
body:has(.dog-home)>.top,body:has(.dog-home)>.head,body:has(.dog-home)>.nav,body:has(.dog-home)>.foot{display:none}body:has(.dog-home)>main.wrap{width:100%;max-width:none;margin:0;padding:0}.dog-container{max-width:1550px;margin:0 auto;padding:0 24px}.dog-utility{height:40px;background:#effff5}.dog-utility-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;font-weight:700}.dog-actions{display:flex;align-items:center;gap:20px}.dog-actions a{white-space:nowrap}.dog-actions .dog-pill{background:#00b532;color:#fff;border-radius:8px;padding:7px 15px}.dog-actions .orange{background:#ff9400}.dog-header{height:94px;display:flex;align-items:center;gap:clamp(12px,2vw,30px);background:white}.dog-home{background:linear-gradient(#fff 0 130px,#f4f8fb 460px,#f7fafc 75%,#fff)}.dog-brand,.dog-footer-brand{display:flex;align-items:center;gap:10px;flex:none}.dog-brand{min-width:278px}.dog-brand img{width:73px;height:73px;object-fit:contain}.dog-brand span,.dog-footer-brand span{display:flex;flex-direction:column}.dog-brand strong{font-size:40px;line-height:1.1;color:#101a28}.dog-brand small{font-size:15px;color:#607185}.dog-nav{flex:1;flex-wrap:nowrap;padding:0;gap:4px}.dog-nav a{white-space:nowrap;font-size:16px}.dog-search{display:flex;flex:0 1 340px;min-width:195px;height:44px;border:1px solid #cbd8e4;border-radius:10px;overflow:hidden;background:#fff}.dog-search input{border:0;outline:0;min-width:0;flex:1;padding:0 15px}.dog-search button{border:0;background:#00b631;color:white;font-size:28px;width:56px;cursor:pointer}.dog-menu{display:none}.dog-main{padding-top:1px}.dog-hero-empty{padding-left:11.4%;height:216px}.dog-hero-empty h1{font-size:54px;font-weight:900}.dog-hero-empty p{font-size:43px;line-height:1.2;font-weight:900;margin:4px 0 16px}.dog-hero-empty em{font-style:normal;color:#00b632}.dog-hero-checks{display:flex;gap:24px;font-size:17px;font-weight:700}.dog-hero-checks span{background:#ffffffa8;border-radius:20px;padding:5px 12px}.dog-services{grid-template-columns:repeat(5,1fr);margin:8px 0 16px}.dog-services>div+div{border-left:1px solid #e5ebef}.dog-layout{grid-template-columns:270px minmax(0,1fr)}.dog-product{min-height:36px;padding:4px 12px}.dog-product-name img{width:28px;height:28px}.dog-footer{background:white;margin-top:18px}.dog-footer-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0}.dog-footer-brand img{width:60px;height:60px;object-fit:contain}.dog-footer-brand strong{font-size:26px;line-height:1.1}.dog-footer-brand small{color:#53647a}.dog-footer-links,.dog-footer-trust{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.dog-footer-trust{color:#00b32e;font-weight:700}.dog-footer-bottom{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #e5eced;padding:14px 0;flex-wrap:wrap}.dog-footer-bottom strong{color:#00af31}.dog-footer-bottom a{display:inline-block;margin-left:16px}.dog-footer-bottom img{max-width:100px;max-height:32px;vertical-align:middle}
@media(max-width:1380px){.dog-brand{min-width:220px}.dog-brand strong{font-size:32px}.dog-brand img{width:64px;height:64px}.dog-nav a{font-size:14px;padding:10px}.dog-search{flex-basis:255px}}
@media(max-width:1060px){.dog-header{height:78px;position:relative}.dog-brand{min-width:0}.dog-brand strong{font-size:28px}.dog-brand img{width:58px;height:58px}.dog-menu{display:block;margin-left:auto;border:0;background:#e8fff0;color:#00ad31;border-radius:8px;padding:10px;font-size:20px}.dog-nav{display:none;position:absolute;z-index:20;top:100%;left:16px;right:16px;background:white;padding:12px;border-radius:10px;box-shadow:0 15px 35px #173b2233;flex-direction:column;align-items:stretch}.dog-nav.is-open{display:flex}.dog-search{order:2}.dog-menu{order:1}.dog-hero-empty h1{font-size:45px}.dog-hero-empty p{font-size:34px}.dog-layout{grid-template-columns:240px minmax(0,1fr)}.dog-footer-top{flex-wrap:wrap}}
@media(max-width:700px){.dog-container{padding-left:12px;padding-right:12px}.dog-utility{height:38px}.dog-utility-inner{font-size:11px}.dog-utility-inner>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dog-actions{gap:7px}.dog-actions a{font-size:12px}.dog-actions .dog-pill{padding:7px}.dog-header{height:auto;min-height:68px;flex-wrap:wrap;gap:8px;padding-top:7px;padding-bottom:10px}.dog-brand img{width:50px;height:50px}.dog-brand strong{font-size:27px}.dog-brand small{font-size:11px}.dog-search{order:3;flex-basis:100%;height:40px}.dog-nav{top:64px}.dog-hero-empty{height:230px;padding:19px 5%;justify-content:flex-start;background-position:130% bottom;background-size:auto 58%}.dog-hero-empty h1{font-size:39px}.dog-hero-empty p{font-size:26px;max-width:85%;margin:6px 0 15px}.dog-hero-checks{flex-wrap:wrap;gap:5px;font-size:12px;max-width:85%}.dog-hero-checks span{padding:4px 7px}.dog-services{grid-template-columns:repeat(2,1fr)}.dog-services>div+div{border:0}.dog-services>div:last-child{display:none}.dog-layout{display:block}.dog-footer-top{justify-content:center}.dog-footer-brand{width:100%;justify-content:center}.dog-footer-links,.dog-footer-trust,.dog-footer-bottom{justify-content:center}.dog-footer-bottom{text-align:center}}
body:has(.dog-home)>.head{display:none!important}
.dog-content{grid-template-columns:1fr}
.dog-home .features{display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-radius:15px;margin-top:10px;margin-bottom:20px;min-height:68px;box-shadow:0 6px 18px rgba(21,85,66,.07);align-items:center}.dog-home .feature{display:flex;align-items:center;justify-content:center;gap:20px;padding:12px 9px;position:relative}.dog-home .feature:not(:last-child):after{content:"";position:absolute;width:1px;height:42px;background:#dce4ea;right:0;top:50%;transform:translateY(-50%)}.dog-home .feature-icon{color:#07b43b;width:46px;height:46px;display:grid;place-items:center;transition:transform .3s}.dog-home .feature:hover .feature-icon{transform:rotate(-8deg) scale(1.1)}.dog-home .feature-title{font-weight:750;font-size:17px;margin-bottom:5px;white-space:nowrap}.dog-home .feature-desc{font-size:13px;color:#728195;white-space:nowrap}.dog-home .dog-sort{display:flex;align-items:center;gap:9px}.dog-home .dog-sort .dog-sort-button{border:0;background:transparent;padding:9px 11px;border-radius:9px;color:#1d2b41;white-space:nowrap;font-weight:600;font-size:14px;cursor:pointer}.dog-home .dog-sort .dog-sort-button.active{color:#fff;background:linear-gradient(140deg,#07c247,#03a531)}.dog-home .dog-sort .dog-sort-button:not(.active):hover{background:#ecfff2;color:#03ac32}
@media(max-width:1380px){.dog-home .feature{gap:10px}.dog-home .feature-desc{font-size:12px}.dog-home .feature-title{font-size:16px}}
@media(max-width:700px){.dog-home .features{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}.dog-home .feature{justify-content:flex-start;padding:11px 13px}.dog-home .feature:not(:last-child):after{display:none}.dog-home .feature-icon{width:33px;height:33px}.dog-home .feature-icon svg{width:29px;height:29px}.dog-home .feature-title{font-size:14px}.dog-home .feature-desc{font-size:11px}.dog-home .feature:last-child{display:none}.dog-home .dog-sort{gap:4px}.dog-home .dog-sort .dog-sort-button{font-size:12px;padding:7px 8px}}

.dog-footer{font-family:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,-apple-system,sans-serif;font-size:15px;color:#101a28}.dog-footer-top{gap:24px;min-height:94px;border-bottom:1px solid #e0e9eb;padding:0}.dog-footer-brand{min-width:245px}.dog-footer-brand img{width:59px;height:59px}.dog-footer-brand strong{font-size:29px;line-height:1.2}.dog-footer-brand small{font-size:13px;color:#64778b}.dog-footer-links{display:flex;gap:19px;align-items:center;font-weight:650;white-space:nowrap}.dog-footer-links a:hover,.dog-friend-links a:hover{color:#06b642}.dog-footer-pipe{color:#b3c1c9;font-weight:400}.dog-footer-trust{display:flex;align-items:center;gap:29px;color:#101a28;font-weight:normal}.dog-trust-item{display:flex;gap:11px;align-items:center;white-space:nowrap}.dog-trust-item svg{color:#03b53a;flex:none}.dog-trust-item b{display:block;font-size:16px}.dog-trust-item span{display:block;color:#697c91;font-size:13px;margin-top:3px}.dog-footer-bottom{display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap;min-height:52px;padding-top:9px;padding-bottom:10px;border-top:0;font-size:13px;color:#405166}.dog-friend-links{display:flex;align-items:center;gap:0;flex-wrap:wrap;font-size:13px;color:#2b4055}.dog-friend-links strong{color:#00a92f;font-size:15px;display:inline-flex;align-items:center;gap:7px;margin-right:13px}.dog-friend-links svg{flex:none}.dog-friend-links a{margin:0;padding:0 14px;border-left:1px solid #cbd9df}.dog-friend-links a:first-of-type{border-left:0}
@media(max-width:1380px){.dog-footer-trust{gap:14px}}@media(max-width:1060px){.dog-footer-top{flex-wrap:wrap;padding-top:18px;padding-bottom:15px}.dog-footer-trust{width:100%;justify-content:space-around}}@media(max-width:700px){.dog-footer-top{gap:15px;justify-content:center}.dog-footer-brand{min-width:auto;width:100%;justify-content:center}.dog-footer-links{font-size:12px;gap:8px;flex-wrap:wrap;justify-content:center}.dog-footer-trust{gap:10px}.dog-trust-item svg{width:25px}.dog-trust-item b{font-size:12px}.dog-trust-item span{font-size:10px}.dog-footer-bottom,.dog-friend-links{justify-content:center}.dog-friend-links a{padding:0 7px;margin-bottom:5px}}
.dog-home .dog-hero-checks span{display:inline-flex;align-items:center;gap:8px}.dog-home .dog-tick{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#06cd41;color:#fff;font-style:normal;flex:none}.dog-home .dog-categories h2{display:flex;align-items:center;gap:14px}.dog-home .dog-categories a{display:flex;align-items:center;gap:12px}.dog-home .dog-categories a>span{margin-left:auto;float:none}.dog-home .dog-categories svg{flex:none}.dog-home .dog-cat-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:7px;background:#9ba8b4;color:white;font-size:17px;font-style:normal;flex:none}.dog-home .dog-buy{display:inline-flex;align-items:center;justify-content:center;gap:5px}.dog-home .dog-buy svg{flex:none}
@media(max-width:700px){.dog-home .dog-tick{width:18px;height:18px}.dog-home .dog-tick svg{width:13px;height:13px}.dog-home .dog-cat-icon{width:24px;height:24px;font-size:14px}}
.dog-home .dog-product-name strong{white-space:normal;overflow:visible;overflow-wrap:anywhere;line-height:1.45}.dog-home .dog-product-name{padding:4px 0}@media(min-width:601px){.dog-home .dog-table-head,.dog-home .dog-product{grid-template-columns:minmax(0,1fr) 55px 88px 112px;gap:8px}.dog-home .dog-price{white-space:nowrap}.dog-home .dog-buy{padding-left:6px;padding-right:6px}}@media(min-width:601px) and (max-width:900px){.dog-home .dog-table-head,.dog-home .dog-product{grid-template-columns:minmax(0,1fr) 45px 76px 96px;gap:6px}.dog-home .dog-price{font-size:16px}}
@media(min-width:601px){.dog-home .dog-table-head,.dog-home .dog-product{grid-template-columns:minmax(0,1fr) 48px 110px 112px}.dog-home .dog-price{font-size:17px}}@media(min-width:601px) and (max-width:900px){.dog-home .dog-table-head,.dog-home .dog-product{grid-template-columns:minmax(0,1fr) 42px 96px 96px}.dog-home .dog-price{font-size:15px}}
/* 每张轮播保持与第一张横幅相同的展示高度。 */
.dog-home .dog-slide img{width:100%;height:216px;object-fit:cover;object-position:left center}
@media(max-width:700px){.dog-home .dog-slide img{height:230px}}
.dog-home .dog-categories .category-icon{width:28px;height:28px;margin:0;object-fit:contain;flex:none}
@media(max-width:700px){.dog-home .dog-categories .category-icon{width:24px;height:24px}}
