.gcard { --oc-ink: #162640; --oc-muted: #5b677c; --oc-line: #e0e5ec; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--oc-line); color: var(--oc-ink); overflow-wrap: anywhere; }
.gcard:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.oc-ph { position: relative; overflow: hidden; background: #e6ebf2; }
.oc-ph img, .oc-ph .ph0 { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.oc-src { position: absolute; left: 8px; bottom: 8px; padding: 2px 6px; border-radius: 5px; background: #fff; font-size: 11px; font-weight: 600; }
.oc-fav { position: absolute; z-index: 3; top: 2px; right: 2px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .95) 52%, transparent 55%); color: #21354f; }
.oc-fav.on { color: #c43f30; }
.oc-fav .i { width: 18px; height: 18px; }
.gcard h3 { margin: 0; font-size: 14.5px; font-weight: 650; line-height: 1.3; letter-spacing: -.1px; text-wrap: pretty; }
.oc-link { color: inherit; }
.oc-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.oc-val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin: 3px 0 0; }
.oc-val strong { font: 800 22px/1.1 var(--display); letter-spacing: -.5px; color: #c34c13; }
.oc-val.k-price strong { color: var(--oc-ink); }
.oc-val.k-free strong, .oc-val.k-cash strong { color: #147345; }
.oc-val s { color: #6b7686; font-size: 12px; white-space: nowrap; }
.oc-noprice { margin: 0; color: var(--oc-muted); font-size: 12px; }
.oc-gift, .oc-cond { display: flex; align-items: flex-start; gap: 5px; margin: 0; font-size: 12.5px; line-height: 1.35; }
.oc-gift { color: #22603f; font-weight: 600; }
.oc-cond { color: #75491a; font-weight: 500; }
.oc-gift .i, .oc-cond .i { flex: none; width: 14px; height: 14px; margin-top: 1px; }
.oc-also { margin: 0; color: var(--oc-muted); font-size: 12px; }
.oc-place { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 3px 0 0; color: var(--oc-muted); font-size: 12px; line-height: 1.3; }
.oc-biz { overflow-wrap: anywhere; }
.oc-rt { white-space: nowrap; color: #45556c; }
.oc-rt i { font-style: normal; color: #ba7119; }
.oc-dist { white-space: nowrap; }
.oc-more { position: relative; z-index: 2; display: inline-flex; align-items: center; align-self: flex-start; min-height: 32px; margin-bottom: -6px; color: #004aad; font-size: 12px; font-weight: 600; }

.ggrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; padding: 12px var(--gut-r) 16px var(--gut); }
.gcard { display: flex; flex-direction: column; border-radius: 14px; }
.gcard .oc-ph { aspect-ratio: 4 / 3; }
.gcard-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 9px 10px 10px; }
.gcard .oc-place { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px; margin-top: auto; padding-top: 3px; }
.hs > .gcard { width: 172px; }

.lbar { padding: 8px var(--gut-r) 10px var(--gut); border-bottom: 1px solid var(--line); background: var(--bg); }
.lbar-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; }
.lbar-row b { font-size: 15px; font-weight: 700; white-space: nowrap; }
.lbar-sort { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 0 2px 0 6px; color: var(--blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.lbar-sort .i { width: 15px; height: 15px; }
.lbar-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lbar-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; padding: 0 13px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.lbar-btn .i { width: 14px; height: 14px; opacity: .7; }
.lbar-btn small { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.lbar-btn.on { background: #eef4fd; box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); }
.lbar-btn.on .i { opacity: 1; }
.lbar-pick { padding: 0; overflow: hidden; }
.lbar-pick > button { height: 40px; padding: 0 4px 0 13px; color: inherit; font: inherit; }
.lbar-pick > .lbar-x { display: grid; place-items: center; min-width: 36px; padding: 0 10px 0 4px; }

@media (max-width: 359px) {
  .ggrid { gap: 8px; }
  .gcard-body { padding: 8px; }
  .gcard h3 { font-size: 13.5px; }
  .oc-val strong { font-size: 19px; }
  .lbar-row b { font-size: 14px; }
  .lbar-sort { gap: 3px; font-size: 13px; }
  .lbar-sort > .i:first-child { display: none; }
}
