/* Scoped to area listing cards only. The native Card Control remains authoritative. */
.wbp-test-shop-list .wbp-test-shop-card.wbp-pro-ready{overflow:hidden;cursor:pointer;transition:box-shadow .18s ease,transform .18s ease}
.wbp-test-shop-list .wbp-test-shop-card.wbp-pro-ready:focus-visible{outline:3px solid #ff7900;outline-offset:3px}
.wbp-test-shop-list .wbp-test-shop-card.wbp-pro-ready:hover{box-shadow:0 9px 25px rgba(4,37,54,.12)}
.wbp-test-shop-list .wbp-pro-actions{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;align-items:stretch}
.wbp-test-shop-list .wbp-pro-actions>a{min-width:0!important;width:100%!important;min-height:42px!important;box-sizing:border-box!important;display:flex!important;align-items:center;justify-content:center;text-align:center!important;border-radius:11px!important;text-decoration:none!important;font-weight:700!important;font-size:13px!important;padding:10px 5px!important;white-space:nowrap}
.wbp-test-shop-list .wbp-pro-actions>a{flex:1 1 0!important;margin:0!important;max-width:none!important}
.wbp-test-shop-list .wbp-pro-actions>a[href^="tel:"]{background:#062641!important;color:white!important}
.wbp-test-shop-list .wbp-pro-actions>a[href*="google.com/maps"],.wbp-test-shop-list .wbp-pro-actions>a[href*="maps.app.goo.gl"],.wbp-test-shop-list .wbp-pro-actions>a[href*="maps.google"]{background:#ff7900!important;color:white!important}
.wbp-test-shop-list .wbp-pro-actions>a.wbp-view-shop{background:#087e73!important;color:#fff!important;border:0!important}
.wbp-test-shop-list .wbp-pro-visual{position:relative!important;isolation:isolate;overflow:hidden!important;width:100%!important;height:175px!important;background:#e8edf0!important}
.wbp-test-shop-list .wbp-pro-visual::before{content:"";position:absolute;z-index:0;inset:-15px;background-image:var(--wbp-compact-photo);background-position:center;background-size:cover;filter:blur(15px) brightness(.9);opacity:.85;pointer-events:none}
.wbp-test-shop-list .wbp-pro-cover{display:block!important;position:relative;z-index:1;max-width:100%!important;width:100%!important;height:100%!important;object-fit:contain!important;background:transparent!important}
.wbp-test-shop-list .wbp-pro-top{margin-bottom:6px!important}
@media(max-width:480px){.wbp-test-shop-list .wbp-pro-visual{height:150px!important}.wbp-test-shop-list .wbp-pro-actions>a{font-size:11px!important;min-height:40px!important;padding:8px 3px!important}}

/* v1.2: CSS-only responsive fallback; works even when a script optimizer delays JS. */
.wbp-test-shop-list .wbp-test-shop-card.wbp-pro-ready{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:7px!important;row-gap:7px!important;
  align-content:start!important;padding:0 0 9px!important;
  border-radius:15px!important;background:#fff!important;
}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-visual{
  grid-column:1/-1!important;height:156px!important;
  background:#eff3f6!important;border-radius:14px 14px 0 0!important;
}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-cover{
  width:100%!important;height:100%!important;max-width:none!important;
  object-fit:cover!important;object-position:center!important;
}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-top{
  grid-column:1/-1!important;margin:0 8px 2px!important;padding:1px 0!important;
}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions{display:contents!important}
.wbp-test-shop-list .wbp-test-shop-card:has(.wbp-pro-actions>a:nth-child(2)):has(>a[href*="wai_shop="]:not([style*="display: none"])){
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.wbp-test-shop-list .wbp-test-shop-card:has(.wbp-pro-actions>a:nth-child(3)){
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.wbp-test-shop-list .wbp-test-shop-card:has(.wbp-pro-actions>a:nth-child(3)):has(>a[href*="wai_shop="]:not([style*="display: none"])),
.wbp-test-shop-list .wbp-test-shop-card:has(.wbp-pro-actions>a:nth-child(4)){
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.wbp-test-shop-list .wbp-test-shop-card:not(:has(>a[href*="wai_shop="]:not([style*="display: none"]))):has(.wbp-pro-actions>a:only-child){
  grid-template-columns:1fr!important;
}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a,
.wbp-test-shop-list .wbp-test-shop-card>a[href*="wai_shop="]:not([style*="display: none"]){
  width:auto!important;min-width:0!important;min-height:38px!important;
  margin:0!important;padding:7px 3px!important;
  border-radius:9px!important;box-sizing:border-box!important;
  text-decoration:none!important;font-size:12px!important;font-weight:700!important;
  display:flex;align-items:center!important;justify-content:center!important;
  text-align:center!important;white-space:nowrap!important;line-height:1.2!important;
}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a:first-child{margin-left:8px!important}
.wbp-test-shop-list .wbp-test-shop-card>a[href*="wai_shop="]:not([style*="display: none"]){
  background:#087e73!important;color:#fff!important;margin-right:8px!important;
  font-size:0!important;box-shadow:none!important;position:relative!important;
  text-indent:-9999px!important;overflow:hidden!important;
}
.wbp-test-shop-list .wbp-test-shop-card>a[href*="wai_shop="]:not([style*="display: none"])::after{
  content:"View";font-size:12px!important;position:absolute!important;inset:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  text-indent:0!important;
}
.wbp-test-shop-list .wbp-test-shop-card>a[href*="wai_shop="][style*="display: none"]{display:none!important}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a:last-child{margin-right:8px!important}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a[href^="tel:"]{order:1!important}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a[href*="wa.me"],
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a[href*="whatsapp"]{order:2!important}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a[href*="maps"]{order:3!important}
.wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a.wbp-view-shop,
.wbp-test-shop-list .wbp-test-shop-card>a[href*="wai_shop="]{order:4!important}
@media(max-width:480px){
  .wbp-test-shop-list .wbp-test-shop-card .wbp-pro-visual{height:138px!important}
  .wbp-test-shop-list .wbp-test-shop-card .wbp-pro-actions>a,
  .wbp-test-shop-list .wbp-test-shop-card>a[href*="wai_shop="]:not([style*="display: none"]){min-height:36px!important;font-size:11px!important}
}
