.stone-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.swatch img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.material-preview{margin:20px 0 22px;min-width:0}.material-preview img{width:100%;height:145px;object-fit:cover;display:block;border:1px solid #424736}.material-preview figcaption{padding-top:9px;color:#b5bba9;font-size:11px;line-height:1.6}.material-preview figcaption strong{color:#e0cd9e;font-weight:400}.material-preview[hidden]{display:none}.stone-photo-source{font-size:9px;color:#a5ad9b;text-decoration:none;display:inline-block;margin-bottom:12px}.stone-photo-source:hover{text-decoration:underline}.stone-source-note{font-size:10px;color:#a5ad9b}.hardstone-detail{display:flex;align-items:center;gap:16px;margin-top:25px;border-top:1px solid #414333;padding-top:22px}.hardstone-detail img{width:120px;height:90px;object-fit:cover;border:1px solid #535547}.hardstone-detail figcaption{font-size:11px;line-height:1.7;color:#bfc3b5}.hardstone-detail strong{display:block;color:#dfc993;font-weight:400}.hardstone-detail figure{margin:0}@media(max-width:1060px){.stone-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.stone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.material-preview img{height:130px}.hardstone-detail{gap:12px}.hardstone-detail img{width:95px;height:75px}}.swatch img,.material-preview img{transform:scale(var(--material-photo-scale,1))}.material-photo-frame{height:145px;overflow:hidden;border:1px solid #424736}.material-preview .material-photo-frame img{height:100%;border:0}@media(max-width:540px){.material-photo-frame{height:130px}}
.moca-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:5px;background:#101410}
.moca-gallery button{border:1px solid #464c42;background:#141915;padding:0;height:49px;overflow:hidden;cursor:zoom-in}
.moca-gallery button:focus-visible{outline:2px solid #dfbb7e;outline-offset:2px}
.moca-gallery img{width:100%;height:100%;object-fit:cover}
.stone-card .swatch img{cursor:zoom-in}
.material-lightbox{position:fixed;max-width:min(92vw,900px);max-height:90vh;border:1px solid #a48753;background:#0b0e0b;color:#eee4d1;padding:16px;box-shadow:0 20px 80px #000b}
.material-lightbox::backdrop{background:#000d}
.material-lightbox img{max-height:75vh;max-width:100%;width:auto;height:auto;object-fit:contain;margin:auto}
.material-lightbox p{font:12px/1.5 Arial,sans-serif;margin:10px 42px 0 0;color:#c9cfc0}
.lightbox-close{position:absolute;right:13px;top:9px;background:#151a14;color:#efdbac;border:1px solid #786646;font-size:25px;width:39px;height:39px;cursor:pointer}

.swatch:after{pointer-events:none}
