/* One product-card layout for home, catalogue, categories, search and related products. */
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px;align-items:stretch}
.product-card{min-width:0;margin:0;background:#fffdf8;display:flex;flex-direction:column;border:1px solid #e1e3d9}
.product-card .product-image{aspect-ratio:4/3;flex:none;overflow:hidden;margin:0;padding:0;background:#f1eee7}
.product-card .product-image img{display:block;width:100%;height:100%;object-fit:contain;transform:none}
.product-card-body{min-width:0;flex:1;display:flex;flex-direction:column;padding:20px;gap:0}
.product-card .product-category{font-size:var(--type-note);font-weight:400;line-height:1.45;color:#596953;letter-spacing:normal;text-decoration:none;justify-self:start;align-self:start;padding:0 0 10px;margin:0;overflow-wrap:break-word}
.product-card .product-category:hover{text-decoration:underline;text-underline-offset:4px}
.product-card h3{font-family:var(--family-display);font-size:max(var(--type-card),26px);font-weight:600;line-height:1.25;color:var(--green);letter-spacing:normal;margin:0;padding:0 0 14px;overflow-wrap:break-word}
.product-card .product-pack-label{font-size:var(--type-note);font-weight:600;line-height:1.5;color:var(--green);margin:0;padding:0 0 10px;overflow-wrap:break-word}
.product-card .product-short{font-size:var(--type-small);line-height:1.55;margin:0;padding:0 0 18px;overflow-wrap:break-word}
.product-card .product-cta{font-size:var(--type-note);font-weight:600;line-height:1.4;color:var(--green);display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:46px;margin-top:auto;padding:8px 0;text-decoration:none;border-bottom:1px solid #9caa96;align-self:start;justify-self:start;max-width:100%;overflow-wrap:break-word}
.product-card .product-cta:hover{color:#14532d;border-color:#14532d}
.product-card :is(.product-category,.product-cta):focus-visible{outline:3px solid #b36d13;outline-offset:5px;border-radius:2px}
@supports(grid-template-rows:subgrid){
 .product-card{display:grid;grid-row:span 6;grid-template-rows:subgrid;row-gap:0}
 .product-card-body{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
 .product-card .product-cta{align-self:end}
}
@media(max-width:1499px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1099px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}}
@media(max-width:699px){.product-grid{grid-template-columns:minmax(0,1fr);gap:24px}.product-card-body{padding:18px}.product-card h3{font-size:26px}}
/* Search reuses the same renderer in its narrower dialog. */
.search-group .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
@media(max-width:699px){.search-group .product-grid{grid-template-columns:minmax(0,1fr)}}
