.abachi-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin:2rem 0}
.abachi-gallery figure{min-width:0;margin:0}
.abachi-gallery img,.wood-media .abachi-gallery img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center}
.abachi-gallery figcaption{font:400 .875rem/1.5 Helvetica,Arial,sans-serif;margin:.65rem 0 0}
.abachi-gallery a{display:block}
.wood-media .abachi-main-photo img{aspect-ratio:3/4;object-fit:cover;object-position:center}
.article-cover.abachi-cover{max-width:760px;margin-left:auto;margin-right:auto;padding:0 22px}
.article-cover.abachi-cover img{width:100%;height:auto;max-height:780px;object-fit:contain}
.abachi-spec-table{max-width:100%;overflow-x:auto;margin:1.5rem 0}
.abachi-spec-table table{border-collapse:collapse;width:100%;font:400 1rem/1.5 Helvetica,Arial,sans-serif}
.abachi-spec-table caption{text-align:left;margin-bottom:.8rem;font-weight:600}
.abachi-spec-table th,.abachi-spec-table td{text-align:left;padding:.8rem .6rem;border-bottom:1px solid #85968c;white-space:nowrap}
.abachi-measure-note{font-size:.875rem!important;line-height:1.6}
.abachi-product-specs h3{margin-top:2rem}
@media(max-width:500px){.abachi-gallery{gap:.8rem}.abachi-gallery figcaption{font-size:.875rem}.abachi-spec-table th,.abachi-spec-table td{padding:.65rem .4rem}}

/* Square display crop; preserve the original photograph. */
.wood-media .abachi-main-photo img,.article-cover.abachi-cover img{aspect-ratio:1/1;max-height:none;object-fit:cover;object-position:center 60%}
.timber-carousel .wood-carousel-photo.abachi-square{aspect-ratio:1/1}
img.abachi-primary{object-fit:cover;object-position:center 60%}

/* Keep the legacy deep link outside the two-column layout flow. */
#abachi{position:relative}
#abachi>#apachi{position:absolute;top:0;left:0;width:0;height:0;scroll-margin-top:2rem}
