/* WIZZ homepage smart shortcuts: lightweight progressive enhancement */
.wd-smart-strip[hidden],.wd-smart-scroll[hidden]{display:none!important}
.wd-smart-strip{margin:12px 0 18px;padding:0;min-width:0}
.wd-smart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.wd-smart-heading>div{min-width:0}.wd-smart-heading h2{margin:0 0 3px;font-size:18px;line-height:1.4}
.wd-smart-heading p{margin:0;color:var(--wd-muted,#64748b);font-size:12px;line-height:1.6}
.wd-smart-heading a,.wd-smart-text-button{flex:0 0 auto;align-self:center;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e2e8f0;border-radius:999px;background:white;color:#98451d;padding:9px 12px;min-height:40px;font-size:12px;font-weight:700;text-decoration:none;cursor:pointer}
.wd-smart-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(155px,230px);gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:2px 2px 9px}
.wd-smart-shortcut{position:relative;display:flex;flex-direction:column;gap:7px;scroll-snap-align:start;min-width:0;min-height:110px;padding:14px 13px 36px;border:1px solid #e4e9f0;border-radius:15px;background:#fff;box-shadow:0 2px 10px #0f172a06;text-decoration:none;color:#202c3d;overflow-wrap:anywhere}
.wd-smart-shortcut strong{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.wd-smart-shortcut small{font-size:12px;color:#617088;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wd-smart-shortcut span{position:absolute;bottom:12px;inset-inline-end:15px;color:#ad4c1a;font-weight:800}
.wd-smart-shortcut:hover{border-color:#e8ad88;background:#fffaf5}
.wd-smart-shortcut:focus-visible,.wd-smart-heading a:focus-visible,.wd-smart-text-button:focus-visible,[data-favorite]:focus-visible{outline:3px solid #e87336;outline-offset:3px}
[data-favorite].is-active{color:#c63052!important}
[data-favorite][disabled]{cursor:wait;opacity:.65}
@media(max-width:450px){.wd-smart-heading h2{font-size:16px}.wd-smart-heading p{font-size:11px}.wd-smart-scroll{grid-auto-columns:minmax(145px,72vw)}}
@media(prefers-reduced-motion:reduce){.wd-smart-shortcut{transition:none!important}.wd-smart-scroll{scroll-behavior:auto}}

/* V15: home-only recent-business grid, integrated into the original smart-home stylesheet. */
body[data-page="/"] [data-wizz-recent] .wd-smart-scroll {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-flow:row;
  grid-auto-columns:auto;
  gap:10px;
  overflow:visible;
  padding:1px 0 4px;
  scroll-snap-type:none;
  scrollbar-width:none;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-card {
  position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;
  border:1px solid #e3e8ee;border-radius:14px;background:#fff;
  box-shadow:none;text-decoration:none;color:#152633;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-cover {
  display:flex;align-items:center;justify-content:center;
  block-size:70px;flex:0 0 70px;overflow:hidden;padding:7px;
  background:#f4f6f8;color:#b95723;font-size:26px;font-weight:800;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-cover img {
  width:100%;height:100%;object-fit:cover;border-radius:8px;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-cover.has-no-cover {
  background:#f5f6f8;color:#bb5a28;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-details {
  display:flex;flex:1;flex-direction:column;gap:6px;min-width:0;
  padding:11px 10px 12px;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-details strong {
  font-size:13px;line-height:1.6;font-weight:800;min-height:41px;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;overflow-wrap:anywhere;color:#142332;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-type {
  font-size:11px;line-height:1.5;color:#687683;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-visit {
  display:flex;align-items:center;justify-content:center;
  margin-top:auto;min-height:44px;border-radius:9px;
  background:#c74706;color:#fff;font-size:12px;font-weight:800;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-card:focus-visible {
  outline:3px solid #e86a23;outline-offset:2px;
}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-card:nth-child(n+5){display:none}
@media(min-width:640px){
  body[data-page="/"] [data-wizz-recent] .wd-smart-scroll{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:359px){
  body[data-page="/"] [data-wizz-recent] .wd-smart-scroll{gap:8px}
  body[data-page="/"] [data-wizz-recent] .wz-recent-store-details{padding-inline:8px}
}

/* V8 — recent/favorite data-driven shortcuts use the same orange card language. */
body[data-page="/"] .wd-smart-heading h2{color:#171717;font-size:18px;font-weight:900}
body[data-page="/"] .wd-smart-heading p{color:#555}
body[data-page="/"] .wd-smart-shortcut{border-color:#e9e5e1;border-radius:17px;color:#171717;box-shadow:none;background:#fff}
body[data-page="/"] .wd-smart-shortcut:hover{border-color:#f0c19f;background:#fffaf6}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-card{border-color:#e9e5e1;border-radius:17px;box-shadow:0 2px 10px #17171708}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-cover{background:#fff3ea;block-size:95px;flex-basis:95px}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-cover.has-no-cover{background:#fff3ea;color:#c2410c}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-details strong{color:#171717}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-type{color:#555}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-visit{background:#c2410c;border-radius:11px;font-size:13px}
body[data-page="/"] [data-wizz-recent] .wz-recent-store-card:focus-visible{outline-color:#c2410c}
