/* Shinpo POS 0.24: category-first navigation and compact banner + featured carousel */
.market-shell{max-width:1240px}
.market-category-nav{display:flex;gap:13px;align-items:center;margin:0 0 16px;border-bottom:1px solid #dce6de;padding:0 0 12px;max-width:100%;overflow:hidden}
.market-category-home{font-weight:800;flex-shrink:0;text-decoration:none;color:#173c2b;font-size:14px}
.market-category-nav-items{display:flex;align-items:center;gap:7px;overflow-x:auto;min-width:0;scrollbar-width:thin;scrollbar-color:#ccd8d0 transparent;padding-bottom:3px}
.market-nav-category{background:transparent;border:1px solid transparent;border-radius:99px;padding:9px 12px;color:#344940;font-size:13px;font-weight:650;white-space:nowrap;flex-shrink:0}
.market-nav-category:hover,.market-nav-category.active{background:#e6f5eb;border-color:#b4d9c4;color:#16583c}
.market-showcase{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,1fr);gap:16px;margin:0 0 20px;min-height:0;align-items:stretch}
.market-showcase-banner{min-width:0;min-height:220px;max-height:355px;overflow:hidden;border-radius:15px;background:#f3f2ec;display:flex;align-items:center;justify-content:center}
.market-showcase-banner img{display:block;width:100%;height:100%;max-height:355px;object-fit:contain;filter:none;opacity:1}
.market-banner-fallback{padding:clamp(22px,4vw,42px);background:linear-gradient(120deg,#182c24,#366b4f);color:white;align-self:stretch;flex:1;display:flex;flex-direction:column;justify-content:center}
.market-banner-fallback span{letter-spacing:.12em;font-size:11px}.market-banner-fallback h1{font-size:clamp(24px,3vw,38px);margin:12px 0}.market-banner-fallback p{margin:0;color:#e1ece5}
.market-featured{position:relative;background:#fff;border:1px solid #e1e9e5;border-radius:15px;min-width:0;overflow:hidden;box-shadow:0 8px 28px #192d210c;display:flex;flex-direction:column}
.market-featured[hidden]{display:none}
.market-featured-heading{display:flex;justify-content:space-between;align-items:center;padding:9px 13px;border-bottom:1px solid #edf1ee;font-size:11px;font-weight:800;letter-spacing:.1em;color:#216e4d}
.market-featured-controls{display:flex;gap:7px}.market-featured-controls button{height:27px;width:28px;border:1px solid #d8e5db;border-radius:7px;background:#fff;font-size:21px;line-height:1}
.market-featured-link{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;flex:1;padding:10px;color:inherit;text-decoration:none;min-height:0;align-items:center}
.market-featured-link img{display:block;width:100%;height:178px;max-height:100%;object-fit:cover;border-radius:9px;background:#eff4f0}
.market-featured-link img[hidden]{display:none}
.market-featured-content{min-width:0;overflow-wrap:anywhere}.market-featured-content span{font-size:10px;color:#44816b;font-weight:800;letter-spacing:.08em}
.market-featured-content h2{font-size:clamp(15px,1.5vw,20px);line-height:1.25;margin:7px 0}.market-featured-content p{font-size:12px;color:#62756e;line-height:1.4}.market-featured-content strong{display:block;margin-top:10px;color:#175a3d;font-size:15px}
.market-featured-dots{display:flex;justify-content:center;gap:6px;padding:5px 0 11px}.market-featured-dots button{border:0;border-radius:50%;width:7px;height:7px;background:#cbd8d0;padding:0}.market-featured-dots button.is-active{background:#207750;width:18px;border-radius:9px}
.market-results-heading{margin-top:10px}
@media(max-width:850px){.market-showcase{grid-template-columns:minmax(0,1fr)}.market-showcase-banner{min-height:0;max-height:280px}.market-showcase-banner img{max-height:280px}.market-featured-link img{height:142px}}
@media(max-width:580px){.market-category-nav{gap:9px;margin-bottom:11px}.market-nav-category{font-size:12px;padding:8px 10px}.market-showcase{gap:10px}.market-showcase-banner{border-radius:10px;max-height:200px}.market-showcase-banner img{max-height:200px}.market-featured-link img{height:112px}.market-featured-content h2{font-size:15px}.market-featured{border-radius:10px}}
.market-showcase:not(:has(.market-featured:not([hidden]))){grid-template-columns:minmax(0,1fr)}
.market-showcase:not(:has(.market-featured:not([hidden]))) .market-showcase-banner{max-height:260px}
.market-showcase:not(:has(.market-featured:not([hidden]))) .market-showcase-banner img{max-height:260px}
