/* One compact banner per collection, with model navigation and a full gallery. */
.catalog-heading{flex-wrap:wrap}
.catalog-view-switch{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #30425c;border-radius:9px;background:#09111e}
.catalog-view-switch button{min-height:36px;padding:7px 12px;border:0;border-radius:6px;font-size:.875rem;font-weight:600;background:transparent;color:#b9c9de}
.catalog-view-switch button[aria-pressed=true]{background:#1c78df;color:#fff}
.collection-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;align-items:start}
.collection-card{min-width:0;overflow:hidden;background:#0e1725;border:1px solid #2c3e57;border-radius:12px}
.collection-card>header{padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;align-items:center;background:linear-gradient(115deg,#142844,#101827)}
.collection-card>header>span{font-size:.75rem;color:#95b5dc;grid-column:1/-1}
.collection-card h3{margin:0;font-size:1rem;line-height:1.35;font-weight:750;overflow-wrap:anywhere}
.collection-card>header>small{font-size:.75rem;color:#b3c5dd}
.collection-cover{display:block;position:relative;width:100%;padding:0;border:0;aspect-ratio:1;background:#05080e;cursor:zoom-in;overflow:hidden}
.collection-cover img{display:block;width:100%;height:100%;object-fit:contain}
.collection-cover>span{position:absolute;bottom:7px;left:7px;padding:4px 7px;border:1px solid #8197b24d;background:#091222e8;border-radius:5px;color:#d3e6ff;font-size:.75rem}
.collection-preview-info{padding:10px 12px 4px;min-width:0}
.collection-preview-info h4{font-size:.875rem;line-height:1.4;min-height:2.8em;margin:0 0 6px;overflow-wrap:anywhere;font-weight:600}
.collection-preview-info strong{font-size:1.125rem;display:inline-block;color:#fff}
.collection-preview-info small{display:block;font-size:.75rem;color:#aebed4;margin-top:1px}
.collection-arrows{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 10px}
.collection-arrows button,.collection-model-nav button{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:1px solid #405c7e;border-radius:8px;background:#182a42;color:#e7f3ff;font-size:1.6rem;line-height:1}
.collection-arrows span{font-size:.875rem;color:#b9cce5;text-align:center}
.collection-arrows button:disabled,.collection-model-nav button:disabled{opacity:.35;cursor:default}
.collection-see-all{display:block;width:calc(100% - 20px);min-height:38px;margin:0 10px 10px;border:1px solid #388bdd;border-radius:7px;background:#103257;color:#d1e8ff;font-size:.875rem;font-weight:700;padding:8px}
.collection-coming{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px;background:#0a101b}
.collection-coming>span{font-size:1.5rem;font-weight:750;color:#667e9e}
.collection-coming p,.collection-unavailable{font-size:.875rem;color:#a1b5d0}
.collection-unavailable{padding:0 12px 12px;margin:12px 0 0}
.collection-dialog{width:min(1120px,calc(100% - 24px));padding:20px;scrollbar-gutter:stable}
.collection-dialog .shopping-dialog-head{margin-bottom:12px}
#collection-subtitle{font-size:.875rem;color:#aebed4;margin:4px 0 0}
.collection-dialog-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;position:sticky;top:-20px;z-index:6;background:#0a1220;padding:8px 0;border-bottom:1px solid #263b55}
.collection-model-nav{display:flex;align-items:center;gap:12px}
.collection-model-nav[hidden]{display:none}
#collection-model-counter{font-size:.875rem;color:#d1e0f3;text-align:center;min-width:100px}
.collection-single>.product-card{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);border:0;background:transparent;box-shadow:none;border-radius:10px}
.collection-single>.product-card:hover{transform:none}
.collection-single .product-gallery{grid-column:1;grid-row:1/3;min-width:0;background:#04070d;border-radius:10px;overflow:hidden}
.collection-single .product-gallery .product-image{aspect-ratio:auto;height:min(60dvh,650px);min-height:280px;background:#04070d}
.collection-single .product-gallery .product-slide{object-fit:contain;padding:0}
.collection-single .product-info{padding:20px;justify-content:center}
.collection-single .product-info h3{font-size:1.125rem;min-height:0;margin-bottom:12px}
.collection-single .product-meta{font-size:.875rem}
.collection-single .product-details summary{min-height:36px;display:flex;align-items:center}
.collection-single .price{font-size:1.4rem}
.collection-single .size-select{font-size:1rem;min-height:42px}
.collection-single .buy-button{min-height:44px}
.collection-single .add-bag-button{grid-column:2;min-height:40px;margin:0 20px 20px;width:calc(100% - 40px)}
.collection-all{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}
.collection-all>.product-card{min-width:0}
.collection-dialog .gallery-controls button{width:36px;height:36px}
.collection-dialog .gallery-controls{gap:4px}
.collection-card button:focus-visible,.catalog-view-switch button:focus-visible,.collection-model-nav button:focus-visible{outline:3px solid #8dc7ff;outline-offset:2px}
@media(max-width:1279px){.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.collection-all{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){
 .collection-single>.product-card{display:flex}
 .collection-single .product-gallery .product-image{height:min(48dvh,480px);min-height:240px}
 .collection-single .product-info{padding:14px 4px 10px}
 .collection-single .product-info h3{font-size:1rem;margin-bottom:8px}
 .collection-single .add-bag-button{margin:0 4px 8px;width:calc(100% - 8px)}
 .collection-single .product-bottom.direct-purchase{flex-direction:row;align-items:center;justify-content:space-between}
 .collection-single .buy-button{width:auto;min-width:120px}
 .collection-all{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .collection-dialog{padding:14px;max-height:94dvh}
 .collection-dialog-tools{top:-14px;justify-content:center;gap:8px}
 .collection-dialog .shopping-dialog-head h2{font-size:1.25rem}
 .collection-dialog .gallery-controls{gap:1px;bottom:4px;right:4px}
 .collection-all .gallery-controls button{width:26px;height:28px}
 .collection-model-nav{justify-content:space-between;width:100%}
 .collection-dialog-tools>.catalog-view-switch{width:100%}.collection-dialog-tools>.catalog-view-switch button{flex:1}
}
@media(max-width:580px){
 .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .collection-card>header{padding:10px;grid-template-columns:1fr;gap:2px;min-height:80px;align-content:center}
 .collection-card h3{font-size:.9375rem}.collection-card>header>small{font-size:.75rem}
 .collection-preview-info{padding:9px 10px 3px}.collection-arrows{gap:4px}
 .collection-arrows button{width:34px;height:36px}
 .catalog-heading>.catalog-view-switch{margin-left:auto}
 .catalog-view-switch button{padding:7px 9px}
 .collection-coming{padding:10px}.collection-coming>span{font-size:1.25rem}
}
#collection-status{color:#a9d3ff;font-size:.875rem;margin:0 0 12px}#collection-status:empty{display:none}
