/* Partner photography keeps the former showcase size; store photos use half the area. */
html body.sg-polish.sg-home-refined.sg-market-home.sg-finish.sg-home-polished #cooperating-companies {
  max-width:1240px;width:calc(100% - 48px);margin:42px auto 0;padding:28px 0 0;
  border:0;border-top:1px solid #e5eaf3;border-radius:0;background:#fff;
}
html body.sg-polish.sg-home-refined.sg-market-home.sg-finish #cooperating-companies .sg-cooperators-head {
  display:flex;align-items:center;justify-content:space-between;gap:20px;
}
#cooperating-companies .sg-partner-controls[hidden]{display:none}
#cooperating-companies .sg-partner-controls{margin:18px 0 22px}
#cooperating-companies .sg-partner-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
#cooperating-companies .sg-partner-tabs button{
  font:inherit;font-size:16px;min-height:44px;padding:10px 15px;border:0;border-radius:11px;
  background:#f3f5f9;color:#5b6980;cursor:pointer;
}
#cooperating-companies .sg-partner-tabs button[aria-pressed=true]{background:#eaf0ff;color:#2858d5;font-weight:650}
#cooperating-companies .sg-partner-search{display:block;font-size:14px;color:#63738a}
#cooperating-companies .sg-partner-search input{display:block;width:100%;min-height:46px;margin-top:7px;padding:10px 14px;border:1px solid #dfe6f2;border-radius:12px;background:#f6f8fc;font:inherit;font-size:16px}
#cooperating-companies .sg-partner-status{font-size:14px;color:#63738a;margin:12px 0 0}
#cooperating-companies .sg-partner-empty{padding:24px;border:1px solid #e5eaf3;border-radius:14px;font-size:16px;color:#63738a}
html body.sg-polish.sg-home-refined #store-showcase .sg-store-grid{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:20px 14px!important;
}
html body.sg-polish.sg-home-refined #store-showcase .sg-store-visual{
  width:100%!important;height:auto!important;min-height:0!important;flex-basis:auto!important;
  aspect-ratio:4/3;border-radius:12px!important;
}
html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy{padding:10px 0 0!important}
html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy h4{font-size:18px!important;line-height:1.5!important;margin:0 0 5px!important}
html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy small{font-size:14px!important;line-height:1.5}
html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy .sg-store-highlight{font-size:15px!important;line-height:1.55!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
html body.sg-polish.sg-home-refined #store-showcase .sg-store-visual .sg-store-link{width:28px;height:28px;right:7px;bottom:7px;font-size:20px}
@media(max-width:1100px) and (min-width:761px){
  html body.sg-polish.sg-home-refined #store-showcase .sg-store-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:760px){
  html body.sg-polish.sg-home-refined.sg-market-home.sg-finish.sg-home-polished #cooperating-companies{width:calc(100% - 32px);margin-top:28px;padding-top:24px}
  html body.sg-polish.sg-home-refined.sg-market-home.sg-finish #cooperating-companies .sg-cooperators-head{align-items:flex-start;flex-wrap:wrap;gap:6px}
  #cooperating-companies .sg-partner-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;scrollbar-width:thin}
  #cooperating-companies .sg-partner-tabs button{flex:0 0 auto;white-space:nowrap;font-size:15px;padding:10px 13px}
  html body.sg-polish.sg-home-refined #store-showcase .sg-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px 10px!important}
  html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy h4{font-size:16px!important}
  html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy .sg-store-highlight{font-size:14px!important}
  html body.sg-polish.sg-home-refined #store-showcase .sg-store-visual .sg-store-link{width:24px;height:24px;font-size:18px;right:5px;bottom:5px}
}

/* Compact store cells: place descriptions directly beneath titles of any line count. */
html body.sg-polish.sg-home-refined #store-showcase .sg-store-grid{grid-auto-rows:auto!important;align-items:stretch!important;gap:16px 12px!important}
html body.sg-polish.sg-home-refined #store-showcase .sg-store-card{height:100%!important;align-self:stretch!important}
html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy{padding-top:7px!important}
html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy small{display:-webkit-box!important;-webkit-line-clamp:1;-webkit-box-orient:vertical;height:19px;overflow:hidden!important;font-size:13px!important;line-height:19px!important;font-weight:600;color:#3d5065;margin:0 0 3px!important}
html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy h4{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;height:auto;min-height:0;overflow:hidden!important;font-size:16px!important;line-height:22px!important;font-weight:750!important;color:#142b43;margin:0 0 4px!important;letter-spacing:-.025em}
html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy .sg-store-highlight{height:auto;min-height:0;font-size:14px!important;line-height:20px!important;font-weight:550!important;color:#34465d;margin:0!important}
html body.sg-polish.sg-home-refined #store-showcase .sg-store-visual .sg-store-link{position:absolute!important;display:grid!important;place-items:center!important;width:19px!important;height:19px!important;min-width:0!important;min-height:0!important;padding:0!important;right:5px!important;bottom:5px!important;border-radius:5px!important;font-size:14px!important;line-height:1!important;background:#ffffffeb!important;color:#315fe5!important;box-shadow:none!important;border:0!important}
@media(max-width:760px){
 html body.sg-polish.sg-home-refined #store-showcase .sg-store-grid{gap:14px 9px!important}
 html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy h4{font-size:15px!important;line-height:21px!important;height:auto;min-height:0}
 html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy small{font-size:12px!important}
 html body.sg-polish.sg-home-refined #store-showcase#store-showcase .sg-store-copy .sg-store-highlight{font-size:13px!important;line-height:19px!important;height:auto;min-height:0}
}


/* Keep Korean names and service phrases together on narrow gallery cards. */
html body.sg-polish.sg-home-refined.sg-market-home.sg-finish.sg-home-polished .sg-store-card :is(h4,small,.sg-store-highlight){word-break:keep-all;overflow-wrap:break-word;line-break:strict;text-wrap:pretty}
html body.sg-polish.sg-home-refined.sg-market-home.sg-finish.sg-home-polished .sg-store-card h4{text-wrap:balance}

/* Photo click guidance; preserve desktop 6 / tablet 4 / mobile 3 columns. */
html body.sg-polish.sg-home-refined #store-showcase .sg-store-click-hint{display:inline;color:#395d89;font-size:13px;line-height:1.6;font-weight:500;margin-left:12px}
@media(max-width:760px){html body.sg-polish.sg-home-refined #store-showcase .sg-store-click-hint{display:block;margin:5px 0 0;font-size:12px}}

