.catalog-page { background: #f1f0ed; }
.catalog-header { position: absolute; }
.catalog-back { font: 10px 'Jost', sans-serif; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.catalog-hero { min-height: 72vh; padding: 22vh clamp(50px, 9vw, 170px) 10vh; border-bottom: 1px solid var(--line); }
.catalog-kicker { font: 10px 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.catalog-hero h1 { margin: 5vh 0 0; font: 400 clamp(86px, 11vw, 178px)/.76 Georgia, serif; letter-spacing: -.07em; }
.catalog-hero h1 em { margin-left: .6em; font-weight: 400; }
.catalog-lead { width: min(470px, 44vw); margin: 6vh 4vw 0 auto; font: 300 17px/1.65 'Barlow', sans-serif; }
.collection-hero { min-height: 100vh; padding: 16vh clamp(48px, 6vw, 110px) 7vh; display: grid; grid-template-columns: minmax(360px, .78fr) minmax(650px, 1.22fr); align-items: center; gap: 3vw; overflow: hidden; border-bottom: 1px solid var(--line); }
.collection-heading { position: relative; z-index: 4; }
.collection-heading h1 { margin: 5vh 0 0; font: 400 clamp(76px, 8vw, 142px)/.78 Georgia, serif; letter-spacing: -.07em; }
.collection-heading h1 em { margin-left: .25em; font-weight: 400; }
.coverflow { position: relative; height: min(680px, 76vh); perspective: 1400px; }
.coverflow-stage { position: absolute; inset: 20px 42px 80px; transform-style: preserve-3d; }
.collection-card { position: absolute; top: 50%; left: 50%; width: min(390px, 34vw); aspect-ratio: .79; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: #d8d1c7; color: white; text-align: left; cursor: pointer; transform-origin: center; transition: transform .7s cubic-bezier(.2,.75,.15,1), opacity .55s, filter .55s; box-shadow: 0 30px 70px rgba(29,24,18,.18); }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.collection-card:hover img { transform: scale(1.025); }
.collection-card__number { position: absolute; top: 22px; left: 24px; font: 10px 'IBM Plex Mono', monospace; letter-spacing: .12em; }
.collection-card__title { position: absolute; left: 25px; bottom: 49px; font: 300 clamp(37px, 3.2vw, 58px)/1 'Advent Pro', sans-serif; }
.collection-card__meta { position: absolute; left: 27px; bottom: 25px; font: 9px 'IBM Plex Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.collection-card[data-position="0"] { z-index: 4; transform: translate(-50%,-50%) translateZ(80px); opacity: 1; }
.collection-card[data-position="1"] { z-index: 3; transform: translate(-5%,-50%) translateZ(-120px) rotateY(-13deg) scale(.78); opacity: .72; filter: saturate(.72); }
.collection-card[data-position="-1"] { z-index: 3; transform: translate(-95%,-50%) translateZ(-120px) rotateY(13deg) scale(.78); opacity: .72; filter: saturate(.72); }
.collection-card[data-position="2"], .collection-card[data-position="-2"] { z-index: 1; transform: translate(-50%,-50%) translateZ(-300px) scale(.58); opacity: 0; pointer-events: none; }
.coverflow-arrow { position: absolute; z-index: 7; top: 50%; width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; background: rgba(241,240,237,.82); font-size: 20px; cursor: pointer; transform: translateY(-50%); }
.coverflow-prev { left: 0; }.coverflow-next { right: 0; }
.coverflow-footer { position: absolute; z-index: 6; right: 42px; bottom: 18px; left: 42px; display: flex; justify-content: space-between; align-items: center; }
.coverflow-count { font: 9px 'IBM Plex Mono', monospace; letter-spacing: .12em; }
.coverflow-explore { padding: 12px 18px; border: 1px solid var(--ink); border-radius: 100px; background: transparent; font: 9px 'Jost', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.coverflow-all { border: 0; border-bottom: 1px solid currentColor; padding: 5px 0; background: transparent; font: 9px 'Jost', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.catalog-tools { position: sticky; z-index: 5; top: 0; display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 28px clamp(38px, 5vw, 90px); background: rgba(241,240,237,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.catalog-search { display: grid; gap: 7px; width: min(310px, 28vw); font: 9px 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; }
.catalog-search input { padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); outline: none; background: transparent; font: 300 16px 'Barlow', sans-serif; }
.catalog-filters { display: none; }
.filter-button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; background: transparent; font: 9px 'Jost', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.filter-button.active { background: var(--ink); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, 300px); justify-content: center; gap: 24px; padding: 40px clamp(28px, 5vw, 90px) 70px; background: #f1f0ed; }
.product-card { width: 300px; height: 500px; min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #f8f7f4; }
.product-image { position: relative; width: 300px; height: 300px; flex: 0 0 300px; overflow: hidden; background: #e7e2da; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-number { position: absolute; top: 18px; left: 18px; font: 9px 'IBM Plex Mono', monospace; }
.product-content { height: 200px; min-height: 0; padding: 15px 16px 14px; display: flex; flex-direction: column; }
.product-meta { display: flex; justify-content: space-between; font: 9px 'IBM Plex Mono', monospace; letter-spacing: .08em; text-transform: uppercase; }
.product-content h2 { margin: 12px 0 5px; font: 300 25px/1 'Advent Pro', sans-serif; }
.product-material { margin: 0; color: #6e685f; font-size: 12px; line-height: 1.35; }
.product-actions { display: flex; gap: 7px; margin-top: auto; padding-top: 10px; }
.product-actions button { padding: 7px 9px; border: 1px solid var(--ink); background: transparent; font: 8px 'Jost', sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.product-actions button:first-child { background: var(--ink); color: white; }
.product-actions button:disabled { opacity: .35; cursor: not-allowed; }
.catalog-empty { grid-column: 1 / -1; padding: 12vh; text-align: center; background: #f8f7f4; }
.preview-dialog { width: min(1180px, 92vw); height: min(760px, 88vh); padding: 0; border: 0; background: #efeeeb; color: var(--ink); overflow: hidden; }
.preview-dialog::backdrop { background: rgba(14,13,11,.72); backdrop-filter: blur(5px); }
.preview-close { position: absolute; z-index: 12; top: 20px; right: 20px; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; background: #efeeeb; font-size: 28px; cursor: pointer; }
.preview-canvas-wrap { position: absolute; inset: 0 31% 0 0; }
#preview-canvas { width: 100%; height: 100%; display: block; }
.preview-info { position: absolute; inset: 0 0 0 69%; padding: 12vh 34px 30px; border-left: 1px solid var(--line); }
.preview-category { font: 9px 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.preview-info h2 { margin: 25px 0; font: 300 46px/1 'Advent Pro', sans-serif; }
.preview-info p { line-height: 1.6; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 300px)); padding-inline: 20px; } }
