.product-grid{display:block}
.catalog-category+.catalog-category{margin-top:42px}
.category-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:4px 0 20px;border-bottom:1px solid var(--line);padding-bottom:14px}
.category-heading>div{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.category-heading h3{font-size:29px;line-height:1.1}
.category-number{font-size:12px;color:var(--terra-text);letter-spacing:1px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;width:31px;height:31px;flex-shrink:0}
.category-article-count{font-size:12px;color:var(--muted)}
.category-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 18px;align-items:stretch}

/* Every row shares image, producer, title, variant and price baselines. */
.product-card{color:var(--ink);display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--paper)}
.product-card .product-image-button{flex-shrink:0;align-self:start;max-height:none;border-radius:0;background:#f7f4ed;border-bottom:1px solid var(--line)}
.product-image.generated{object-fit:cover;aspect-ratio:1;background:#f7f4ed}
.product-card .product-vendor{margin:14px 16px 7px;font-size:12px;line-height:1.4;font-weight:500;letter-spacing:.65px;text-transform:uppercase;min-height:2.8em;overflow-wrap:anywhere}
.product-card .product-title{margin:0 16px;padding:0;display:block;align-self:start;min-height:2.5em;font-size:1.25rem;font-weight:600;line-height:1.25;text-align:left;overflow-wrap:anywhere}
.product-card .group-options{margin:8px 16px 0;min-height:18px;font-size:12px;line-height:1.5;color:var(--muted)}
.product-card .product-price-row{margin:14px 16px 16px;margin-top:auto;padding-top:13px;border-top:1px solid var(--line);display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-height:57px}
.product-pricing{min-width:0}
.price-line{display:flex;align-items:baseline;align-content:center;flex-wrap:wrap;gap:4px 6px;min-height:44px}
.price-prefix{font-size:12px;line-height:1.3;color:var(--muted)}
.product-card .product-price{font-size:1.3125rem;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.product-card .product-unit{font-size:12px;line-height:1.35;margin-top:5px}
.product-card .sold-out{display:block;font-size:12px;margin-top:5px}
.product-card .add-button{width:44px;height:44px;border-radius:10px;flex-shrink:0;transform:none}
.product-card .add-button:hover{transform:none}
.product-card .add-button svg{width:22px;height:22px;stroke-width:1.5}
@supports(grid-template-rows:subgrid){
 .product-card{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:0}
 .product-card .product-title,.product-card .product-vendor{min-height:0}
 .product-card .product-price-row{margin-top:14px;align-self:stretch}
}

.catalog-layout{grid-template-columns:235px minmax(0,1fr);gap:30px}
.catalog-category-links{display:grid;gap:2px;margin-top:12px}
.catalog-category-links a{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:8px 9px;border-radius:4px;font-size:12px;line-height:1.4}
.catalog-category-links a:hover{background:var(--sage)}
.catalog-category-links a.active{background:var(--olive);color:var(--paper)}
.catalog-category-links small{font-size:11px;opacity:.8;padding:0 3px}
.variant-label{display:block;font-size:14px;font-weight:600;margin:24px 0 9px}
.variant-select{width:100%;max-width:100%;white-space:normal;min-height:48px}
.selected-reference{font-size:16px;margin:18px 0 6px;font-weight:600}
.selected-producer{font-size:13px;color:var(--muted);margin-bottom:16px}
.dialog-gallery{position:relative;align-self:start}
.dialog-gallery>.product-image{width:100%;aspect-ratio:1;object-fit:contain}
.product-image-note{padding:8px 4px;font-size:12px;line-height:1.5;color:var(--muted)}
.product-unit{line-height:1.5}
.product-description{overflow-wrap:anywhere}
body[data-catalog-category] .catalog-heading h2,body[data-catalog-category] .category-heading{display:none}
body[data-catalog-category] .catalog-heading p{margin-top:0;font-size:16px}
@media(min-width:1800px){.category-products{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1200px){
 .category-products{grid-template-columns:repeat(3,minmax(0,1fr))}
 .catalog-layout{grid-template-columns:210px minmax(0,1fr);gap:22px}
 .category-heading h3{font-size:25px}
 .category-heading>.text-link{font-size:12px}
}
@media(max-width:900px){
 .category-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .category-heading{align-items:flex-start;flex-direction:column}
}
@media(max-width:600px){
 .catalog-layout{grid-template-columns:1fr}
 .catalog-category-links{display:none}
 .category-products{gap:18px 12px}
 .category-heading{margin-bottom:15px}
 .category-heading h3{font-size:27px}
 .category-article-count{margin-left:43px;margin-top:-7px;width:100%}
 .category-heading>.text-link{margin-left:43px}
 .category-number{width:29px;height:29px}
 .product-card .product-vendor{margin:12px 12px 6px;font-size:12px;letter-spacing:.25px}
 .product-card .product-title{margin-inline:12px;font-size:1.125rem;line-height:1.3}
 .product-card .group-options{margin:8px 12px 0}
 .product-card .product-price-row{margin:12px;padding-top:10px;gap:5px;min-height:54px}
 .product-card .product-price{font-size:1.125rem}
 .price-line{column-gap:4px}
 .product-card .add-button{width:40px;height:40px;border-radius:8px}
 .variant-select{font-size:16px}
}
