/* Additions to the retained v0.10 product layout; original images are never cropped. */
.page-catalog section.section{padding-block:32px}
.collection-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:16px;margin:24px 0}
.collection-toolbar .search-field{flex:1;max-width:500px}.collection-toolbar p{margin-left:auto;padding-block:12px;font-size:12px}
.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.collection-card{display:flex;flex-direction:column}.collection-card>div:last-child{display:flex;flex-direction:column;flex:1;padding:16px}.collection-card .text-link{margin-top:auto;padding-top:10px;min-height:44px;display:flex;align-items:center}
.collection-card h3{font-size:15px}.collection-card p{font-size:12px;line-height:1.5;margin-block:8px}
.collection-card .collection-visual{padding:0;aspect-ratio:4/3;background:var(--bg);display:flex;align-items:center;justify-content:center;overflow:hidden}
.collection-card .collection-visual img{width:100%;height:100%;max-height:none;object-fit:contain}
.collection-card .collection-placeholder{padding:24px;background:var(--surface);justify-content:space-between;color:var(--muted)}
.collection-placeholder>span:first-child{font:800 42px/1 var(--display);opacity:.35}.collection-placeholder>span:last-child{font:600 10px/1.6 var(--body);letter-spacing:.16em}
.catalog-outline{background:var(--bg);color:var(--accent);border-color:var(--accent)}.catalog-outline:hover{color:var(--bg);background:var(--accent)}
.catalog-empty{padding:36px;border:1px dashed var(--border);background:var(--surface);border-radius:3px}.catalog-empty p{max-width:680px;line-height:1.65;margin:12px 0}.catalog-empty h2{margin-top:8px}
.collection-hero .hero-copy{padding-top:32px;padding-bottom:32px}.collection-hero .hero-media{background:var(--bg)}
.collection-hero .hero-media img{max-height:440px;width:100%;height:auto;object-fit:contain}.hero-media.collection-placeholder{min-height:310px;display:flex;align-items:center;justify-content:space-around;background:var(--surface);color:var(--muted)}.hero-media.collection-placeholder>span:first-child{font-size:84px}
.collection-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:20px;font-size:12px}.collection-breadcrumb a{min-height:44px;display:inline-flex;align-items:center}.collection-breadcrumb a:hover{text-decoration:underline}
.catalog-products-toolbar{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin-block:20px}.catalog-products-toolbar .search-field{flex:1;max-width:500px}.catalog-products-toolbar p{padding-block:12px}
.catalog-grid.directory-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.catalog-card .product-photo img{max-height:240px;width:100%;height:auto;object-fit:contain}
.draft-label{display:inline-block;border:1px solid var(--border);font-size:10px;padding:4px 8px;border-radius:3px;background:var(--surface);color:var(--muted);margin-block:8px}
.product-detail-hero .hero-media img{max-height:520px;width:100%;object-fit:contain}.product-detail-hero .hero-product-image{padding:0;border:0;background:var(--bg)}
.product-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.product-info-grid article{min-width:0}.product-info-grid h3{margin-bottom:14px}
.product-specs{width:100%;border-collapse:collapse;font:13px/1.6 var(--body)}.product-specs th,.product-specs td{text-align:left;border-bottom:1px solid var(--border);padding:12px;vertical-align:top;overflow-wrap:anywhere}.product-specs th{width:44%;background:var(--surface);font-weight:600}.product-equipment{padding-left:20px;line-height:1.8}
.product-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}.product-gallery figure{margin:0}.product-gallery button{width:100%;padding:0;background:var(--bg);border:1px solid var(--border);cursor:zoom-in}.product-gallery img{width:100%;height:auto;object-fit:contain}
#product-large-photo{width:auto;max-width:100%;max-height:70vh;height:auto;margin:auto}
.page-catalog .section-head>div{max-width:100%}
@media(max-width:1200px){.collection-grid,.catalog-grid.directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.collection-grid,.catalog-grid.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-info-grid{grid-template-columns:1fr}.collection-hero .hero-media img{max-height:380px}.hero-media.collection-placeholder{min-height:210px}}
@media(max-width:600px){.page-catalog section.section{padding-block:28px}.collection-grid{gap:12px}.collection-card>div:last-child{padding:12px}.collection-card h3{font-size:13px}.collection-card p{font-size:11px}.collection-card .collection-placeholder{padding:14px;gap:10px}.collection-placeholder>span:first-child{font-size:30px}.collection-placeholder>span:last-child{font-size:8px}.collection-toolbar{gap:10px}.collection-toolbar .search-field{flex-basis:100%}.collection-toolbar p{margin-left:0}.catalog-empty{padding:22px}.collection-hero .hero-copy{padding-block:26px}.product-gallery{grid-template-columns:1fr 1fr}.product-specs{font-size:12px}.product-specs td,.product-specs th{padding:10px}.catalog-grid.directory-grid{gap:12px}}
