.rental-detail-tabs .rd-gallery .rd-hero { position: relative; touch-action: pan-y; }
.rd-gallery .rd-photo-open { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.rd-gallery .rd-photo-open > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rental-detail-tabs .rd-gallery .rd-photo-open > img.rd-reference-thumbnail { object-fit: cover; transform: scale(1.15); mix-blend-mode: multiply; }
.rd-gallery .rd-gallery-count { position: absolute; top: 12px; right: 12px; color: #19271e; background: #fffffff0; font-size: 11px; border-radius: 20px; padding: 6px 10px; pointer-events: none; }
.rd-gallery .rd-availability { left: 12px; right: auto; pointer-events: none; }
.rd-gallery .rd-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); border: 1px solid #dce8df; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #09682c; background: #fffffff0; box-shadow: 0 2px 8px #18351b0a; font-size: 16px; }
.rd-gallery .rd-gallery-prev { left: 10px; }
.rd-gallery .rd-gallery-next { right: 10px; }
.rd-gallery .rd-gallery-strip { display: flex; gap: 8px; padding: 12px 0 2px; }
.rd-gallery .rd-gallery-strip > button { flex: 1 1 0; min-width: 0; }
.rd-gallery .rd-gallery-thumb { padding: 3px; height: 62px; background: #fff; border: 1px solid #dce8df; border-radius: 12px; overflow: hidden; }
.rd-gallery .rd-gallery-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.rd-gallery .rd-gallery-thumb.active { border: 2px solid #108638; padding: 2px; box-shadow: 0 0 0 2px #10863812; }
.rd-gallery .rd-gallery-more { border: 0; border-radius: 12px; background: #108638; color: white; font-size: 13px; font-weight: 700; padding: 6px; min-height: 62px; }
.rd-gallery .rd-gallery-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.rd-gallery .rd-gallery-dialog { width: min(920px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 20px; border: 1px solid #dce8df; border-radius: 22px; color: #19271e; background: #fff; overflow: auto; box-shadow: 0 10px 70px #0003; }
.rd-gallery .rd-gallery-dialog::backdrop { background: #102018b3; }
.rd-gallery .rd-gallery-dialog-head { display: flex; align-items: flex-start; gap: 16px; justify-content: space-between; }
.rd-gallery .rd-gallery-dialog-head h2 { font-size: 18px; line-height: 1.4; margin: 8px 0; overflow-wrap: anywhere; }
.rd-gallery .rd-gallery-dialog-head button { flex: 0 0 44px; border: 1px solid #dce8df; border-radius: 50%; background: #edf7ef; color: #09682c; width: 44px; height: 44px; }
.rd-gallery .rd-gallery-dialog > p { font-size: 12px; color: #58675d; margin: 0 0 12px; }
.rd-gallery .rd-gallery-full-photo { position: relative; background: #f7faf7; border-radius: 14px; height: min(52dvh, 450px); min-height: 190px; touch-action: pan-y; }
.rd-gallery .rd-gallery-full-photo > img { width: 100%; height: 100%; object-fit: contain; }
.rd-gallery .rd-gallery-all-thumbs { display: flex; gap: 8px; padding: 14px 2px 3px; overflow-x: auto; }
.rd-gallery .rd-gallery-all-thumbs > button { flex: 0 0 76px; }
.rd-gallery .rd-gallery-noscript-image { width: 100%; max-height: 360px; object-fit: contain; }
@media(min-width:768px) { .rd-gallery .rd-gallery-strip { max-width: 560px; margin: 0 auto; }.rd-gallery .rd-gallery-thumb,.rd-gallery .rd-gallery-more { height: 76px; } }
@media(max-width:359px) { .rd-gallery .rd-gallery-strip { gap: 5px; }.rd-gallery .rd-gallery-thumb,.rd-gallery .rd-gallery-more { height: 52px; min-height: 52px; }.rd-gallery .rd-gallery-more { font-size: 11px; } }
