/* Approved 261119 home refinements, shared category icons and saved listings. */
.commerce-categories button,.renewal-category-options button{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.commerce-categories button>svg,.commerce-categories button>img,.renewal-category-options button>svg,.renewal-category-options button>img{width:21px;height:21px;flex:none;object-fit:contain;stroke:currentColor;stroke-width:1.5;fill:none}
.sidebar-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin:-4px 0 12px}
.sidebar-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;font-size:14px;font-weight:700;padding:11px 2px;color:var(--muted)}
.sidebar-tabs button[aria-selected=true]{border-bottom-color:var(--green);color:var(--green)}
#sidebar-saved-listings>p{line-height:1.7;font-size:13px;color:var(--muted)}
#sidebar-saved-listings>.sidebar-listing span{min-width:0}
#sidebar-saved-listings>.sidebar-listing strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
.commerce-page .discovery-card>img{filter:none}
.commerce-page .discovery-card:after{background:linear-gradient(90deg,rgba(10,35,28,.92) 0%,rgba(10,35,28,.68) 38%,rgba(10,35,28,.08) 100%)}
@media(min-width:768px){
 .commerce-page .premium-cards .card .photo{height:auto;min-height:0;max-height:none;aspect-ratio:4/3}
 .commerce-page .premium-cards .card .photo>img{width:100%;height:100%;object-fit:cover}
}
@media(max-width:767px){
 .commerce-page .premium-cards .card{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:stretch;gap:12px;min-height:118px;height:auto;padding:0;text-align:left}
 .commerce-page .premium-cards .card .photo{width:112px;height:118px;min-height:118px;max-height:118px;border-radius:9px;overflow:hidden}
 .commerce-page .premium-cards .card .photo>img{width:100%;height:100%;object-fit:cover}
 .commerce-page .premium-cards .card .card-terms{display:none}
 .commerce-page .premium-cards .card .card-content{min-width:0;padding:2px 8px 2px 0}
 .commerce-page .premium-cards .card .card-content .public-title{font-size:15px;line-height:1.4;margin:3px 0;min-height:0}
 .commerce-page .premium-cards .card-cost{white-space:normal;font-size:16px;line-height:1.5;margin:6px 0 3px}
 .commerce-page .premium-cards .card-income{white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.5;margin:3px 0}
 .commerce-page .premium-cards .card .photo>small{font-size:10px;padding:3px 6px;left:6px;top:6px}
 .commerce-page .premium-cards .mobile-card-favorite{top:3px;right:0;width:28px;height:28px;min-height:28px}
 .commerce-page>.kakao-floating{position:fixed;top:8px;right:66px;bottom:auto;z-index:36;min-width:0;min-height:35px;padding:7px 8px;gap:4px;font-size:11px!important;border-radius:7px;box-shadow:none}
 .commerce-page>.kakao-floating img,.commerce-page>.kakao-floating svg{width:18px!important;height:18px!important}
}

/* Search belongs between the category navigation and listing results. */
.renewal-primary>.renewal-searchbar{max-width:none;margin:0 0 24px;padding:0 0 18px;flex-wrap:wrap}
.renewal-primary>.renewal-searchbar #renewal-filters{flex:1 1 400px}
.renewal-primary>.renewal-searchbar .header-search{flex:1 1 240px;width:auto}
#count:empty{display:none}
.banner-dots{display:none}
@media(max-width:767px){
 .commerce-page #discovery .banner-controls{display:none}
 .commerce-page #discovery .banner-dots{position:absolute;right:8px;bottom:0;z-index:3;display:flex;align-items:center;gap:0}
 .commerce-page .banner-dots button{width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;display:grid;place-items:center;box-shadow:none}
 .commerce-page .banner-dots button span{width:7px;height:7px;border-radius:9px;background:#ffffff80}
 .commerce-page .banner-dots button[aria-pressed="true"] span{width:22px;background:#fff}
}
@media(max-width:767px){.renewal-primary>.renewal-searchbar{padding:0 0 16px;margin-bottom:20px}.renewal-primary>.renewal-searchbar .header-search{width:100%}}

#renewal-subcategories .category-uploaded-icon{width:27px;height:27px;object-fit:contain}
