/* Targeted purchasing UX; retain the existing layouts and visual language. */
.purchase-specs{margin:18px 0 22px;font-size:13px;line-height:1.8;border-top:1px solid #d0c9ba;padding-top:12px}
.purchase-specs>div{display:grid;grid-template-columns:5.5em minmax(0,1fr);gap:12px;padding:5px 0}.purchase-specs dt{color:#777568}.purchase-specs dd{margin:0;overflow-wrap:anywhere}
.stock.is-sold-out{color:#66645c;letter-spacing:.09em}.type-filter:disabled{opacity:.32;cursor:default;border-color:transparent}.type-filter:disabled:hover{color:inherit}
.object-media{display:block;width:100%;height:100%;object-fit:cover}.media-unavailable{display:flex;width:100%;height:100%;min-height:100px;align-items:center;justify-content:center;background:#23251e;color:#aeaa9d;font-size:13px}
.product-media-gallery{min-width:0}.product-media-gallery .detail-image{height:100%}.product-media-gallery:has(.product-thumbnails) .detail-image{height:auto;min-height:0;aspect-ratio:1}.product-thumbnails{display:flex;gap:10px;overflow-x:auto;padding-top:12px}.product-thumbnails button{padding:0;width:58px;height:58px;flex:0 0 58px;border:1px solid transparent}.product-thumbnails [aria-pressed=true]{border-color:var(--brass)}
.purchase-first .product-media-gallery .detail-image{height:auto;aspect-ratio:1}.cart-object-image{display:block;width:80px;height:80px}.cart-object-image .object-media{height:80px}
.detail-text .product-story-link{display:block;width:100%;text-align:center;margin-top:13px;min-height:44px;padding:10px 0}.detail-text .add-button{min-height:48px}.quantity button{min-width:34px;min-height:34px}.quantity button:disabled{opacity:.35;cursor:not-allowed}
.journal-related{border-top:1px solid #cec6b5;margin-top:32px;padding-top:25px}.journal-related h3{font-size:18px;font-weight:400;letter-spacing:.08em;margin:0 0 16px}.journal-related .eyebrow{color:#89724d;margin:0 0 6px!important;font-size:12px!important;line-height:1.6!important}.related-brands{display:flex;flex-wrap:wrap;gap:10px 25px}.related-brands a{min-height:44px}.related-objects{display:grid;gap:16px}.related-object{display:grid;grid-template-columns:76px minmax(0,1fr) 20px;align-items:center;gap:15px;font-size:14px;padding:6px 0}.related-object-image{width:76px;height:76px}.related-object>span:nth-child(2)>span{display:block}.related-object small{display:block;font-size:12px;color:#777266}.brand-center h1>.object-media,.brand-center h2>.object-media{max-width:280px;max-height:90px;object-fit:contain;margin:auto}
@media(max-width:680px){.hero-text .text-link{display:inline-block;position:absolute;top:100%;left:0;margin-top:8px;min-height:44px;padding:8px 0;white-space:nowrap;font-size:14px}.hero-text .text-link span{margin-left:22px}.purchase-specs{font-size:13px}.purchase-specs>div{grid-template-columns:5em minmax(0,1fr);gap:10px}.detail-text .price{margin:14px 0 8px}.detail-text .demo-note{margin-top:17px}.detail-grid .product-media-gallery .detail-image{height:auto;min-height:0;aspect-ratio:1}.detail-text .product-story-link{font-size:14px}.related-object{grid-template-columns:64px minmax(0,1fr) 16px;gap:12px}.related-object-image{width:64px;height:64px}.quantity button{min-width:44px;min-height:44px}.type-filter{min-height:64px}.header-actions button{min-width:40px;min-height:44px}.search-actions .search{min-width:0;flex:1}.search-actions .search input{min-width:0;width:100%}.filter-open{flex-shrink:0;min-height:44px}}

/* Keep the featured visual full-width without changing brand-page artwork. */
.featured-brand .brand-media.atlas-media .photo{inset:0;width:100%}
@media(min-width:681px){.featured-brand .brand-media:after{background:linear-gradient(90deg,#11120f70,#11120f15),linear-gradient(0deg,#0005,transparent 50%)}}
/* Brand exhibition media and quiet crossfades, scoped to the two brand heroes. */
.featured-brand-content{position:relative;transition:none}
.featured-brand-content .featured-brand-link{position:absolute;inset:0}
.brand-incoming{animation:brand-reveal .9s ease both;z-index:1}
.brand-outgoing{animation:brand-retire .9s ease both;pointer-events:none}
@keyframes brand-reveal{from{opacity:0}to{opacity:1}}
@keyframes brand-retire{from{opacity:1}to{opacity:0}}
.brand-page-hero{overflow:hidden}
.exhibition-media{container-type:size}
.exhibition-media img,.exhibition-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.exhibition-atlas{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100cqw,100cqh);height:max(100cqw,100cqh);background-size:200% 200%;background-repeat:no-repeat}
.featured-brand .exhibition-media:after,.brand-page-hero .exhibition-media:after{background:linear-gradient(0deg,#0006,transparent 65%),linear-gradient(90deg,#1114,#1112)}
.brand-dots .active span{position:relative;overflow:hidden;background:#827354}
.brand-dots .active span:after{content:'';position:absolute;inset:0;background:#d2bd8a;transform:scaleX(0);transform-origin:left}
.brand-running .brand-dots .active span:after{animation:brand-progress 4s linear forwards}
@keyframes brand-progress{to{transform:scaleX(1)}}
.brand-carousel-controls .brand-pause{font-size:13px;min-width:32px;min-height:34px;padding:5px;opacity:.7}
@media(max-width:680px){.brand-carousel-controls{gap:10px}.brand-carousel-controls .brand-pause{min-width:26px}}
@media(prefers-reduced-motion:reduce){.brand-incoming,.brand-outgoing,.brand-running .brand-dots .active span:after{animation:none}.brand-pause{display:none}}
@media(prefers-reduced-motion:reduce){.brand-outgoing .brand-center,.brand-incoming .brand-center{animation:none}}

/* A single layer carries the entire exhibition, including its navigation state. */
.brand-stage{position:absolute;inset:0;--brand-shift:28px}
.brand-stage.brand-incoming{animation:exhibition-enter .8s cubic-bezier(.45,0,.2,1) both;z-index:1}
.brand-stage.brand-outgoing{animation:exhibition-leave .8s cubic-bezier(.45,0,.2,1) both;z-index:2;pointer-events:none}
/* Non-overlapping visibility windows: retire the whole old layer before revealing the new one. */
.featured-brand{overflow:hidden;isolation:isolate}
.brand-stage{overflow:hidden}
@keyframes exhibition-enter{0%,55%{opacity:0;transform:translateX(var(--brand-shift))}100%{opacity:1;transform:translateX(0)}}
@keyframes exhibition-leave{0%{opacity:1;transform:translateX(0)}45%,100%{opacity:0;transform:translateX(calc(-1 * var(--brand-shift)))}}
.brand-stage .brand-center{animation:none}
.categories{background:#111111;padding:54px 5%;gap:26px;border-bottom:1px solid #b4a07826}
.categories .category{padding:0;background:transparent;border:0;color:#eeece6;height:auto;aspect-ratio:4/5}
.categories .category .photo{position:absolute;inset:0;transition:transform .7s ease,filter .7s ease}
.categories .category .arrow{transition:transform .7s ease}
.categories .category:hover .photo{transform:none}
@media(hover:hover) and (pointer:fine){.categories .category:hover .photo{transform:scale(1.025);filter:brightness(1.06)}.categories .category:hover .arrow{transform:translateX(4px)}}
@media(max-width:1000px){.categories{padding:38px 5%;gap:18px}}
@media(max-width:680px){.categories{grid-template-columns:repeat(2,minmax(0,1fr));padding:30px 6%;gap:20px 16px}.brand-stage{--brand-shift:16px}}
@media(prefers-reduced-motion:reduce){.brand-stage{--brand-shift:0px}.categories .category .photo,.categories .category .arrow{transition:none}.categories .category:hover .photo,.categories .category:hover .arrow{transform:none}}
.featured-brand-content{height:100%}

/* Gallery cards: stable image boxes and aligned, untruncated text rows. */
#gallery #products{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
#gallery #products .product{display:flex;flex-direction:column;align-items:stretch;min-width:0}
#gallery #products .product-image{position:relative;width:100%;height:auto;aspect-ratio:1 / 1;flex:none}
#gallery #products .product-image>.photo,
#gallery #products .product-image>.object-media{position:absolute;inset:0;width:100%;height:100%}
#gallery #products .product>.eyebrow{min-height:3.2em}
#gallery #products .product-name{line-height:1.9;min-height:3.8em;flex-grow:1;overflow-wrap:anywhere}
@media(max-width:680px){#gallery #products{grid-template-columns:repeat(2,minmax(0,1fr))}}
