/* Owner main photo and gallery editor — Nexar Web Services. */
.cth-owner-photos{margin:30px 0;border:1px solid #ccddd2;border-radius:30px;background:#f6f9f3;overflow:hidden;color:#123f46}
.cth-owner-photo-section{padding:28px}
.cth-owner-photo-section+.cth-owner-photo-section{border-top:1px solid #cfdfd4;background:#fffaf2}
.cth-owner-photo-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px}
.cth-owner-photos .cth-owner-photo-heading h3{margin:0 0 8px;font-size:25px;line-height:1.3;color:#123f46}
.cth-owner-photos .cth-owner-photo-heading p{margin:0;font-size:13px;line-height:1.65;color:#345b59}
.cth-owner-main-photo{display:grid;grid-template-columns:minmax(200px,340px) minmax(0,1fr);align-items:center;gap:26px}
.cth-owner-main-photo>div{min-width:0}
.cth-owner-main-preview{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;border:1px solid #c5d8cb;border-radius:30px;background:#e6eee4}
.cth-owner-photo-placeholder{display:flex;align-items:center;justify-content:center;min-height:210px;aspect-ratio:1.5;padding:26px;border:1px dashed #7d9e91;border-radius:30px;background:#e7f0e5;text-align:center;color:#335a57;font-size:14px;font-weight:650;line-height:1.6}
.cth-owner-editor .cth-owner-photos input[type=file]{padding:9px;border:1px solid #b4ccbe;border-radius:20px;background:white;color:#123f46;font-size:12px;max-width:100%}
.cth-owner-photos input[type=file]::file-selector-button{padding:10px 15px;margin-right:12px;border:0;border-radius:20px;background:#123f46;color:white;cursor:pointer;font:inherit;font-size:12px;font-weight:650}
.cth-owner-photos input[type=file]::file-selector-button:hover{background:#25655f}
.cth-owner-photo-help{margin:10px 0 0;color:#345b59;font-size:12px;line-height:1.65}
.cth-owner-photos .cth-owner-photo-remove{display:flex;align-items:center;gap:7px;margin-top:14px;color:#664638;font-size:12px;line-height:1.5;font-weight:600;cursor:pointer}
.cth-owner-photos .cth-owner-photo-remove input[type=checkbox]{flex:none;margin:0;width:18px;height:18px}
.cth-owner-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:15px;margin:18px 0}
.cth-owner-photo-grid:empty{display:none}
.cth-owner-photo-card{position:relative;min-width:0;padding:9px;border:1px solid #c6d9cd;border-radius:23px;background:#fff;transition:border-color .15s}
.cth-owner-photo-card>img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;border-radius:16px;background:#e8efe6}
.cth-owner-photo-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 3px 2px}
.cth-owner-photos .cth-owner-photo-actions .cth-owner-photo-remove{margin:0;font-size:11px}
.cth-owner-photo-move{display:flex;align-items:center;gap:5px}
.cth-owner-photos [data-gallery-move],.cth-owner-photos [data-gallery-clear]{display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:36px;padding:6px 10px;border:1px solid #bdd2c6;border-radius:20px;background:#edf4e9;color:#123f46;font:inherit;font-size:12px;font-weight:650;line-height:1.3;box-shadow:none;cursor:pointer}
.cth-owner-photos [data-gallery-clear]{margin-top:5px;padding:10px 16px;background:white}
.cth-owner-photos [data-gallery-move]:hover,.cth-owner-photos [data-gallery-clear]:hover{background:#dcebdd;border-color:#6a9685}
.cth-owner-photos [data-gallery-move]:disabled{opacity:.45;cursor:default;background:#f1f3ed;border-color:#d5e0d6}
.cth-owner-photos button:focus-visible{outline:3px solid #6db7a4;outline-offset:3px}
.cth-owner-photo-card.is-removed{border-style:dashed;border-color:#c3937f;background:#fff3eb}
.cth-owner-photo-card.is-removed>img{opacity:.38;filter:grayscale(.7)}
.cth-owner-photo-card.is-new{border-color:#6d9a87;background:#f7fbf3}
.cth-owner-photo-filename{margin:10px 3px 6px;color:#234f53;font-size:11px;line-height:1.45;overflow-wrap:anywhere}
.cth-owner-photo-new{display:inline-flex;padding:3px 8px;margin:0 3px 4px;border-radius:20px;background:#deeedc;color:#205047;font-size:10px;font-weight:700}
.cth-owner-photos [data-gallery-count]{font-size:12px;font-weight:700;color:#234f53;line-height:1.5}
.cth-owner-photos [data-gallery-count].is-error{color:#903c26}
.cth-owner-photo-error{margin:20px 28px;padding:15px 18px;border:1px solid #d6a387;border-radius:20px;background:#fff0e5;color:#7a3421;font-size:13px;line-height:1.6}
.cth-owner-photos [hidden]{display:none!important}
@media(max-width:750px){.cth-owner-main-photo{grid-template-columns:1fr;gap:20px}.cth-owner-main-photo>div:first-child{max-width:480px}.cth-owner-photo-heading{flex-direction:column;gap:10px}}
@media(max-width:480px){.cth-owner-photo-section{padding:20px 16px}.cth-owner-photos .cth-owner-photo-heading h3{font-size:22px}.cth-owner-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cth-owner-photo-card{padding:7px}.cth-owner-photo-actions{padding:9px 0 2px;gap:9px}.cth-owner-photo-error{margin:16px}.cth-owner-photos input[type=file]::file-selector-button{padding:9px 11px;margin-right:8px}}
.cth-owner-main-preview>img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;border-radius:inherit}
.cth-owner-photo-placeholder{flex-direction:column;gap:10px}
.cth-owner-photo-placeholder>span{font-size:32px;line-height:1}
.cth-owner-photo-placeholder>p{margin:0}
.cth-owner-photos>.cth-owner-photo-help{margin:18px 28px}
@media(max-width:480px){.cth-owner-photos>.cth-owner-photo-help{margin:16px}}

@media(max-width:480px){.cth-owner-photos [data-gallery-move]{padding:6px;font-size:11px;min-height:40px;white-space:nowrap}.cth-owner-photo-move{gap:4px}}
