.viewable-photo { cursor: zoom-in; transition: filter .25s ease; }
.viewable-photo:hover { filter: brightness(.93); }
.viewable-photo:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.viewer-open { overflow: hidden; }
.photo-viewer { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: clamp(10px,2vw,28px); background: rgba(10,10,9,.97); }
.photo-viewer.open { display: flex; }
.photo-viewer-frame { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.photo-viewer img { width: auto; height: auto; max-width: 98vw; max-height: 91vh; object-fit: contain; }
.photo-viewer p { margin: 0; color: #fff; font-size: 14px; letter-spacing: .04em; text-align: center; }
.photo-viewer-close { position: absolute; right: clamp(18px,3vw,44px); top: clamp(16px,3vw,36px); z-index: 2; border: 1px solid rgba(255,255,255,.5); background: rgba(0,0,0,.3); color: #fff; padding: 10px 14px; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.photo-viewer-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tile, main figure, main article { cursor: zoom-in; }

.available-piece-alt { background: #e8e2d8; }
.available-single { width: min(100%, 1080px); margin: 0 auto; }
.available-single figure { margin: 0; }
.available-single img { display: block; width: 100%; height: auto; max-height: 760px; object-fit: contain; background: #fff; padding: clamp(18px, 4vw, 52px); }
.available-single figcaption { padding-top: 12px; border-top: 1px solid var(--line); margin-top: 10px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.studio-collections { background: #f4f1eb; }
.studio-collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); }
.studio-collection-card { cursor: default; }
.studio-collection-card > img, .studio-raven-art { height: 480px; margin-bottom: 28px; }
.studio-collection-card > img { object-fit: contain; background: #fff; padding: clamp(18px, 3vw, 38px); }
.studio-collection-card h3 { font: 40px var(--serif); margin: 0 0 12px; }
.studio-collection-card > a { display: inline-block; border-bottom: 1px solid; margin-top: 10px; }
.studio-raven-art { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #151514; color: #fff; text-align: center; }
.studio-raven-art span { margin-bottom: 18px; color: #c9a97e; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.studio-raven-art strong { max-width: 340px; font: 48px/1.05 var(--serif); }
@media (max-width: 700px) { .studio-collection-grid { grid-template-columns: 1fr; } .studio-collection-card > img, .studio-raven-art { height: 390px; } }
.studio-shop-button { margin-top: 22px; }
.refined-vanities { grid-template-columns: 1.18fr .82fr; gap: 34px clamp(30px, 5vw, 72px); align-items: start; }
.refined-vanities .hero-vanity { grid-column: 1; grid-row: 1 / 3; width: 100%; }
.refined-vanities .hero-vanity img { max-height: 900px; }
.refined-vanities figure:not(.hero-vanity) img { max-height: 470px; }
.refined-vanities img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 760px) { .refined-vanities { grid-template-columns: 1fr; gap: 48px; } .refined-vanities .hero-vanity { grid-column: 1; grid-row: auto; } }


.photo-viewer{padding:0;background:#10100f}.photo-viewer.open{display:block}.photo-viewer-tools{position:absolute;top:16px;left:20px;z-index:3;display:flex;gap:8px;align-items:center;color:#fff}.photo-viewer-tools button{color:#fff;background:#30302d;border:1px solid #777;padding:9px 15px;min-width:44px;min-height:44px;cursor:pointer;font:inherit;border-radius:3px}.photo-viewer-tools button:disabled{opacity:.4;cursor:default}.photo-viewer-tools span{min-width:52px;text-align:center}.photo-viewer-stage{position:absolute;inset:80px 24px 54px;overflow:hidden;touch-action:none;cursor:default}.photo-viewer-frame{display:contents}.photo-viewer .photo-viewer-stage img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;object-fit:contain;transform-origin:center;user-select:none;pointer-events:none}.photo-viewer-stage.zoomed{cursor:grab}.photo-viewer-stage.zoomed:active{cursor:grabbing}.photo-viewer p{position:fixed;bottom:14px;left:20px;right:20px;margin:0;color:#fff;text-align:center;font-size:14px;pointer-events:none}.photo-viewer-close{top:16px;right:20px;min-height:44px}.photo-viewer-tools button:focus-visible{outline:2px solid #fff;outline-offset:2px}@media(max-width:600px){.photo-viewer-stage{inset:80px 8px 54px}.photo-viewer-tools{left:10px;gap:5px}.photo-viewer-close{right:10px}.photo-viewer-tools button{padding:8px 12px}}

/* Keep approved master colors and preserve native rendering. */
img[data-full-src],img[data-full-src]:hover,.studio-raven-grid .single-product-image a:hover{filter:none!important}
.photo-viewer img{image-rendering:auto;filter:none!important}

/* Bound the viewer to the visible screen, including mobile browser bars. */
.photo-viewer{height:100vh;height:100dvh;overflow:hidden}
.photo-viewer .photo-viewer-stage img{min-width:0;min-height:0}
.photo-viewer p{max-height:40px;overflow:hidden;line-height:1.4}

.bench-detail-tools{display:flex;gap:8px}.bench-detail-tools[hidden]{display:none}
@media(max-width:600px){.photo-viewer-tools{flex-wrap:wrap;right:76px}.bench-detail-tools{flex-basis:100%;gap:5px}.photo-viewer:has(.bench-detail-tools:not([hidden])) .photo-viewer-stage{top:128px}.bench-detail-tools button{font-size:12px;min-height:36px;padding:6px 10px}}

.photo-viewer .photo-viewer-stage img{will-change:auto}
.photo-viewer-stage.smooth-zoom img{transition:width 240ms cubic-bezier(.2,.7,.2,1),height 240ms cubic-bezier(.2,.7,.2,1),transform 240ms cubic-bezier(.2,.7,.2,1)}
@media(prefers-reduced-motion:reduce){.photo-viewer-stage.smooth-zoom img{transition:none}}

/* Preserve approved photo clarity and colors in every Studio view. */
main img,main img:hover,main figure>img,.studio-raven-grid .single-product-image a:hover{filter:none!important;image-rendering:auto}
@media(max-width:600px){.photo-viewer-tools [data-native-detail]{font-size:12px;padding:8px}.photo-viewer-tools span{font-size:12px;min-width:40px}}
