/* Shared information zones; image sizing and theme settings stay in their own sheets. */
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gnn-packshot{line-height:0}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-hp-product-brand{flex:none;height:1.4em;min-height:1.4em;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 4px}
/* Show every word; only the natural height of the longest title in this row is shared. */
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-product-info h3{flex:none;height:auto;min-height:var(--gna-title-row-height,0px);max-height:none;line-height:1.4;margin:0 0 6px;overflow:visible}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-product-info h3 a{display:block;height:auto;max-height:none;-webkit-line-clamp:unset;line-clamp:unset;-webkit-box-orient:initial;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-specs{position:relative;flex:none;min-width:0}
body.gna-home-reference .gna-home-products .woocommerce ul.products:has(.gna-home-specs dl) .gna-home-specs{height:44px;margin:0 0 6px}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-specs dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;height:100%;margin:0;padding:4px 0;border:1px solid #edf0f3;border-radius:7px;background:#fafbfc;box-sizing:border-box}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-specs dl>div{min-width:0;padding:0 7px}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-specs dl>div+div{border-left:1px solid #e3e7ec}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-specs dt{font-size:10px;font-weight:500;color:#697382;line-height:1.3;margin:0 0 1px}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-specs dd{font-size:12px;font-weight:750;line-height:1.25;color:#28313d;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Details open over the card, never adding a reserved note row. */
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-spec-with-note dd{padding-right:20px}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-spec-details{height:0;margin:0;padding:0}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-spec-details summary{position:absolute;right:2px;bottom:1px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;background:transparent;list-style:none;cursor:pointer;color:#69788c;touch-action:manipulation}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-spec-details summary::-webkit-details-marker{display:none}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-spec-details summary span{display:grid;place-items:center;width:13px;height:13px;border:1px solid currentColor;border-radius:50%;font:600 10px/1 Georgia,serif}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-spec-note{position:absolute;top:calc(100% + 4px);left:0;z-index:12;width:100%;min-width:0;padding:10px;background:#fff;border:1px solid #dce2ea;border-radius:7px;box-shadow:0 5px 18px #17212f20;color:#404b5a;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card:has(.gna-home-spec-details[open]){z-index:8}
/* Stock and the original price share the small first line; the current price follows. */
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions{margin-top:auto;padding-top:0;gap:6px 8px}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-cost{grid-column:1/-1;grid-row:1;display:flex;flex-direction:column;gap:2px;width:100%;min-width:0}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-cost-head{display:flex;align-items:flex-start;align-content:flex-start;justify-content:space-between;gap:2px 5px;min-height:var(--gna-cost-head-height,0px);min-width:0;flex-wrap:wrap-reverse}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-stock{margin:0;padding:0;min-height:0;font-size:10px;line-height:16px;gap:3px}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-stock .gna-icon{flex:none}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-cost-head del{margin:0 0 0 auto;padding:0;max-width:100%;font-size:10px;line-height:16px;font-weight:400;color:#7b838e;white-space:normal}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions .gna-home-price{display:block;min-height:var(--gna-price-row-height,1.3em);line-height:1.3;margin:0;padding:0;width:100%;min-width:0}
body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-price-value{display:block}
@media(min-width:761px){
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions .button{height:48px;padding-top:8px;padding-bottom:8px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions>.gnd-compare-button{min-height:48px;margin:0;padding:8px;background:#fff;border-color:#d2d7df;color:#4d5665}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions>.gnd-compare-button:is(:hover,[aria-pressed=true]){color:var(--gnd-accent,#f45127);border-color:var(--gnd-accent,#f45127)}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions>.gnd-compare-button[aria-pressed=true]{background:color-mix(in srgb,var(--gnd-accent,#f45127) 8%,#fff)}
 @container gna-home-card-info(max-width:215px){
  body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions:has(>.gnd-compare-button:not([hidden])) .button>.gna-icon{display:none}
 }
}
@media(max-width:760px){
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card{--gnn-rail-width:52px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-product-info{container-type:normal}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-hp-product-brand{margin-bottom:4px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-specs dl>div{padding:0 5px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-specs dd{font-size:11px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions{display:block;margin-top:auto;padding-top:0}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-cost{margin-bottom:6px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-buy{padding-top:0}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions .button{height:48px;min-height:48px;padding:5px 4px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card :is(.gna-favorite-toggle-card,.gna-home-actions>.gnd-compare-button){position:absolute;top:4px;left:auto;right:4px;bottom:auto;z-index:6;display:grid;place-items:center;box-sizing:border-box;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:12px;border:0;border-radius:50%;background:transparent;color:#687383;box-shadow:none;line-height:1;cursor:pointer;isolation:isolate;touch-action:manipulation}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card :is(.gna-favorite-toggle-card,.gna-home-actions>.gnd-compare-button)::before{content:"";position:absolute;inset:4px;z-index:-1;background:#fff;border:1px solid #dce1e7;border-radius:50%;box-shadow:0 2px 7px #17212f08}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card:has(>.gna-favorite-toggle-card) .gna-home-actions>.gnd-compare-button{right:48px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-home-actions>.gnd-compare-button>span{display:none}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card :is(.gna-favorite-toggle-card,.gna-home-actions>.gnd-compare-button)>svg{width:18px;height:18px;margin:0}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card :is(.gna-favorite-toggle-card,.gna-home-actions>.gnd-compare-button):focus-visible{outline:2px solid #d74725;outline-offset:-2px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card :is(.gna-favorite-toggle-card.is-saved,.gna-home-actions>.gnd-compare-button[aria-pressed=true]){color:var(--gnd-accent,#f45127)}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card :is(.gna-favorite-toggle-card.is-saved,.gna-home-actions>.gnd-compare-button[aria-pressed=true])::before{background:#fff1e9;border-color:currentColor}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card:has(>.gnn-rail[data-side=right]) .gna-favorite-toggle-card{left:4px!important;right:auto!important}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card:has(>.gnn-rail[data-side=right]) .gna-home-actions>.gnd-compare-button{left:4px;right:auto}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card:has(>.gnn-rail[data-side=right]):has(>.gna-favorite-toggle-card) .gna-home-actions>.gnd-compare-button{left:48px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gnn-rail .gnn-toggle{height:48px;min-height:48px;justify-content:flex-start;gap:1px;padding:6px 4px;width:36px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gnn-rail[data-side=right] .gnn-toggle{align-self:flex-end}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gnn-rail.is-collapsed{width:36px}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card .gna-card-badge{left:auto!important;right:8px!important;top:54px!important;max-width:calc(100% - 72px)}
 body.gna-home-reference .gna-home-products .woocommerce ul.products li.gna-home-card:has(>.gnn-rail[data-side=right]) .gna-card-badge{left:8px!important;right:auto!important}
}
