/* Local extension of the existing yellow / forest Yorziki visual system. */
/* Share the two action rows; stories keep their natural, complete height. */
.product-grid{align-items:stretch}
.product-grid>.product-card{display:flex;flex-direction:column}
.hero-card-body{min-width:0;flex:1}
.hero-card-body>:last-child{margin-bottom:0}
.product-grid>.product-card>.hero-vote-control{display:flex;flex-shrink:0;margin:14px 0 10px}
.product-grid>.product-card>.hero-vote-control>.hero-vote-button{flex:1;min-width:0}
.product-grid>.product-card>.card-price{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:48px;margin:14px 0 10px}
.product-grid>.product-card>.card-link{align-self:flex-start;min-height:44px}
@supports(grid-template-rows:subgrid){
  .product-grid>.product-card{display:grid;grid-template-rows:subgrid;grid-row:span 3;row-gap:0}
  .product-grid>.product-card>.hero-card-body{grid-row:1}
  .product-grid>.product-card>.hero-vote-control,.product-grid>.product-card>.card-price{grid-row:2;align-self:stretch}
  .product-grid>.product-card>.card-link{grid-row:3;align-self:start;justify-self:start}
  .product-grid>.visiting-note{grid-row:span 3}
}
.hero-vote-nav-link{display:inline-flex;align-items:center;min-height:38px;padding:7px 12px;border-radius:8px;background:#f9df64;color:#20382d!important;font-weight:800}
.hero-vote-mobile-callout{display:none;align-items:center;justify-content:space-between;gap:12px;padding-top:9px;padding-bottom:9px;font-size:.8125rem;line-height:1.4;font-weight:700}
.hero-vote-mobile-callout a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border-radius:8px;background:#f9df64;color:#20382d;font-weight:800}
.hero-vote-control{margin:14px 0 10px}
.hero-vote-button{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:9px;width:100%;min-height:48px;padding:10px 13px;border:0;border-radius:12px;background:var(--yellow,#f9df64);color:var(--ink,#20382d);font:800 .9375rem/1.35 Manrope,sans-serif;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.hero-vote-button .icon{width:19px;height:19px;flex:none}
.hero-vote-button [data-hero-vote-label]{flex:1 1 70px;min-width:0;text-align:left;overflow-wrap:anywhere}
.hero-vote-count{display:inline-flex;align-items:center;justify-content:center;min-width:29px;max-width:100%;min-height:29px;padding:2px 7px;margin-left:auto;border-radius:6px;background:#fffdf7;color:#20382d;font-variant-numeric:tabular-nums;font-weight:800;overflow-wrap:anywhere}
.hero-vote-button:hover:not(:disabled){background:#edcf44}
.hero-vote-button:focus-visible,.hero-vote-refresh:focus-visible{outline:3px solid #20382d;outline-offset:4px}
.hero-vote-button:disabled{cursor:default;opacity:1;background:#f0eadd;color:#566056}
.hero-vote-button.is-voted{background:#20382d;color:#fffdf7}
.hero-vote-button.is-voted:hover:not(:disabled){background:#2b4b3a;color:#fffdf7}
.hero-vote-button.is-voted .icon{fill:currentColor}
.hero-vote-feedback{max-width:70ch;margin:12px 0;font-size:.9375rem;line-height:1.6;color:#334a3a;outline-offset:5px}
.hero-vote-feedback[data-error="true"]{color:#823516}
.hero-vote-state{min-width:0;margin:12px 0}
.hero-vote-refresh{padding:4px 0;min-height:44px;color:#20382d;font:700 .875rem Manrope,sans-serif;background:none;border:0;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.hero-vote-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:26px 0 30px;padding:22px 0;border-top:1px solid #d7decf;border-bottom:1px solid #d7decf}
.hero-vote-intro h2{font-family:Unbounded,Manrope,sans-serif;font-size:clamp(1.125rem,2vw,1.625rem);line-height:1.4;margin:0 0 9px;letter-spacing:-.02em}
.hero-vote-intro p{margin:0;max-width:67ch;line-height:1.6}
.hero-vote-intro a{color:#20382d;text-decoration:underline;text-underline-offset:4px}
.hero-vote-detail{margin:24px 0;padding:20px 0;border-top:1px solid #d7decf;border-bottom:1px solid #d7decf}
.hero-vote-detail h2{font-family:Manrope,sans-serif;font-size:1.25rem;font-weight:800;line-height:1.4;margin:0 0 8px}
.hero-vote-detail p{max-width:60ch;line-height:1.6;margin:8px 0}
.hero-vote-detail .hero-vote-control{max-width:330px}
.hero-vote-detail .hero-vote-button{min-height:54px;font-size:1rem}
.hero-vote-results{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding:18px 0;border-top:1px solid #d7decf;border-bottom:1px solid #d7decf;margin-bottom:24px}
.hero-vote-results p{margin:0;font-size:1rem;line-height:1.6}
.hero-vote-results strong{font-variant-numeric:tabular-nums}
.hero-voting-rules{margin-top:70px;margin-bottom:80px;max-width:850px}
.hero-voting-rules h2{font-size:clamp(1.375rem,3vw,2rem);margin-bottom:24px}
.hero-voting-rules details{border-bottom:1px solid #d7decf;padding:18px 0}
.hero-voting-rules summary{font-weight:800;line-height:1.5;cursor:pointer}
.hero-voting-rules details p{max-width:70ch;line-height:1.7;margin:12px 0}
@media(max-width:1250px){.desktop-nav .hero-vote-nav-link{display:none}.hero-vote-mobile-callout{display:flex}}
@media(max-width:600px){.hero-vote-intro{display:block;margin:18px 0 24px;padding:18px 0}.hero-vote-intro h2{font-size:1.125rem}.hero-vote-intro p,.hero-vote-feedback{font-size:.875rem}.hero-vote-button{font-size:.8125rem;gap:6px;padding:10px 8px;min-height:48px}.hero-vote-button .icon{width:16px;height:16px}.hero-vote-count{min-width:25px;min-height:27px;padding:2px 5px}.hero-vote-results{align-items:flex-start;gap:9px}.hero-vote-results p{font-size:.9375rem}.hero-voting-rules{margin-top:44px;margin-bottom:54px}.hero-vote-detail .hero-vote-button{font-size:1rem}}
@media(prefers-reduced-motion:reduce){.hero-vote-button{transition:none}}
