/* Scoped homepage examples. Product card styling and cart interactions stay with the existing renderer. */
.home-demo-section{--demo-lilac:#eee3f4;--demo-peach:#f9e8d8;--demo-blue:#e3edf8;--demo-mint:#e3efe7;--demo-copy:#4f4855;margin:44px 0 0;min-width:0}
.home-demo-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;min-width:0}
.home-demo-heading h2{font-size:28px;line-height:1.25;font-weight:600;letter-spacing:-.025em;margin:0}
.home-demo-label{display:inline-flex;align-items:center;min-height:26px;padding:3px 9px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted);font-size:11px;font-weight:400;line-height:1.5}
.home-demo-note{font-size:13px;line-height:1.6;color:var(--muted);margin:8px 0 20px;max-width:68ch}
.home-demo-promo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;min-width:0;border-radius:10px}
.home-demo-promo-grid:focus-visible{outline:3px solid var(--brand);outline-offset:5px}
.home-demo-promo{--demo-surface:var(--demo-lilac);display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden;touch-action:manipulation;transition:border-color 180ms ease,box-shadow 180ms ease}
.home-demo-promo--peach{--demo-surface:var(--demo-peach)}.home-demo-promo--blue{--demo-surface:var(--demo-blue)}.home-demo-promo--mint{--demo-surface:var(--demo-mint)}
.home-demo-promo-visual{height:178px;min-height:0;min-width:0;position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) 42%;grid-template-rows:minmax(0,1fr);align-items:center;gap:0;padding:20px 16px 20px 20px;background:var(--demo-surface);overflow:hidden}
.home-demo-promo-visual h3{position:relative;z-index:1;font-size:21px;line-height:1.25;font-weight:600;letter-spacing:-.025em;margin:0;color:var(--ink);overflow-wrap:normal;hyphens:none}
.home-demo-promo-photo{width:100%;height:138px;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);overflow:hidden;mix-blend-mode:multiply}
.home-demo-promo-photo img{width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain}
.home-demo-promo-copy{display:flex;flex-direction:column;flex:1;min-width:0;padding:16px 20px 14px;background:var(--surface)}
.home-demo-promo-copy p{font-size:14px;line-height:1.5;color:var(--demo-copy);margin:0 0 8px}
.home-demo-promo-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;min-height:44px;color:var(--brand);font-size:13px;font-weight:500;line-height:1.5}
.home-demo-promo-link svg,.home-demo-catalog-link svg{width:18px;height:18px;flex:none}
.home-demo-promo:focus-visible,.home-demo-catalog-link:focus-visible{outline:3px solid var(--brand);outline-offset:4px}
.home-demo-promo:active{border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.home-demo-catalog-link{display:inline-flex;align-items:center;gap:10px;margin-left:auto;min-height:44px;color:var(--brand);font-size:13px;line-height:1.5}
.home-demo-bestsellers{margin-bottom:44px}
.home-demo-hits{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(hover:hover) and (pointer:fine){.home-demo-promo:hover{border-color:var(--brand);box-shadow:0 5px 18px #3022350b}.home-demo-catalog-link:hover{text-decoration:underline;text-underline-offset:4px}}
@media(max-width:1100px){.home-demo-promo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-demo-promo-visual{height:168px;grid-template-columns:minmax(0,1fr) 40%;padding-inline:24px}.home-demo-promo-visual h3{font-size:24px;max-width:14ch}.home-demo-promo-photo{height:132px}.home-demo-hits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.home-demo-section{margin-top:32px}.home-demo-heading{gap:8px 12px}.home-demo-heading h2{font-size:24px;line-height:1.3}.home-demo-label{font-size:10px;min-height:24px;padding:3px 7px}.home-demo-note{font-size:12px;line-height:1.6;margin:8px 0 16px}.home-demo-promo-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(264px,82%);gap:12px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:2px;padding:3px 2px 12px;border-radius:0;scrollbar-width:thin;scrollbar-color:#b9a4c0 var(--brand-soft)}.home-demo-promo{scroll-snap-align:start}.home-demo-promo-visual{height:160px;padding:18px 18px 18px 20px}.home-demo-promo-visual h3{font-size:22px;max-width:none}.home-demo-promo-photo{height:124px}.home-demo-promo-copy{padding:14px 18px 10px}.home-demo-promo-copy p{font-size:13px}.home-demo-promo-link{font-size:12px}.home-demo-catalog-link{font-size:12px;min-height:44px}.home-demo-bestsellers{margin-bottom:32px}.home-demo-hits{gap:10px}}
@media(max-width:359px){.home-demo-hits{grid-template-columns:1fr}.home-demo-heading h2{font-size:23px}.home-demo-catalog-link{margin-left:0}.home-demo-promo-grid{grid-auto-columns:92%}}
@media(prefers-reduced-motion:reduce){.home-demo-promo{transition:none}.home-demo-promo-grid{scroll-behavior:auto;scroll-snap-type:none}}
