.fop-pet{--fop-text:#1d2327;--fop-muted:#667085;--fop-line:#e7e7e7;--fop-soft:#f7f7f5;--fop-accent:#de582c;--fop-accent-dark:#bd4521;--fop-green:#287a4b;color:var(--fop-text);padding:34px 18px 80px}.fop-pet *,.fop-pet *:before,.fop-pet *:after{box-sizing:border-box}.fop-pet__wrap{width:min(1180px,100%);margin:0 auto}.fop-notice{margin-bottom:20px;padding:14px 18px;border:1px solid #b9dec8;border-radius:14px;background:#edf8f1;color:#245f3b;font-weight:700}.fop-pet__breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:22px;font-size:14px;color:var(--fop-muted)}.fop-pet__breadcrumb a{color:inherit;text-decoration:none}.fop-pet__hero{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr);gap:42px;align-items:start}.fop-gallery__main{position:relative;border-radius:24px;overflow:hidden;background:#eee;aspect-ratio:4/3}.fop-gallery__hero-image{width:100%;height:100%;object-fit:cover;display:block}.fop-gallery__count{position:absolute;right:14px;bottom:14px;background:rgba(0,0,0,.68);color:#fff;border-radius:100px;padding:7px 11px;font-size:13px}.fop-gallery__thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}.fop-gallery__thumb{padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;aspect-ratio:1;background:none;cursor:pointer;opacity:.68}.fop-gallery__thumb.is-active{border-color:var(--fop-accent);opacity:1}.fop-gallery__thumb img{width:100%;height:100%;display:block;object-fit:cover}.fop-gallery__empty{min-height:420px;border-radius:24px;display:grid;place-items:center;background:var(--fop-soft);color:var(--fop-muted)}.fop-pet__summary{padding-top:8px}.fop-pet__summary h1{font-size:clamp(42px,5vw,70px);line-height:.98;margin:14px 0 12px;letter-spacing:-.04em}.fop-pet__status{display:inline-flex;border-radius:100px;padding:7px 12px;font-size:13px;font-weight:700}.fop-pet__status.is-available{background:#e8f5ed;color:var(--fop-green)}.fop-pet__status.is-adopted{background:#f1eee7;color:#725f38}.fop-pet__tagline{margin:0 0 18px;color:var(--fop-muted);font-size:19px;line-height:1.55}.fop-pet__location{font-weight:700;margin:0 0 10px}.fop-pet__meta-line{color:var(--fop-muted);line-height:1.6;margin-bottom:26px}.fop-pet__actions{display:flex;flex-wrap:wrap;gap:10px}.fop-btn{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:10px 20px;border-radius:100px;font:inherit;font-weight:700;text-decoration:none;border:1px solid var(--fop-line);transition:.2s ease;cursor:pointer}.fop-btn--primary{background:var(--fop-accent);border-color:var(--fop-accent);color:#fff}.fop-btn--primary:hover{background:var(--fop-accent-dark);border-color:var(--fop-accent-dark);color:#fff}.fop-btn--secondary{color:var(--fop-text);background:#fff}.fop-btn--secondary:hover{border-color:#bbb;color:var(--fop-text)}.fop-pet__adopted-note{padding:16px;background:var(--fop-soft);border-radius:14px;color:var(--fop-muted)}.fop-owner-panel{margin-top:34px;padding:26px;border:1px solid var(--fop-line);border-radius:22px;background:var(--fop-soft)}.fop-owner-panel__heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:18px}.fop-owner-panel__heading h2{margin:4px 0 0;font-size:28px}.fop-owner-panel__hint{font-size:13px;color:var(--fop-muted)}.fop-owner-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.fop-owner-action-form{margin:0}.fop-owner-action{width:100%;height:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:16px;border:1px solid var(--fop-line);border-radius:16px;background:#fff;color:var(--fop-text);font:inherit;cursor:pointer}.fop-owner-action:hover{border-color:#c8c8c8;transform:translateY(-1px)}.fop-owner-action__icon{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f3ebe8;color:var(--fop-accent);font-size:19px;flex:0 0 auto}.fop-owner-action strong,.fop-owner-action small{display:block}.fop-owner-action small{margin-top:3px;color:var(--fop-muted);font-size:12px}.fop-pet__details,.fop-content-section,.fop-contact-card,.fop-share-section{margin-top:78px}.fop-section-heading{margin-bottom:24px}.fop-section-heading h2,.fop-contact-card h2,.fop-share-section h2{margin:3px 0 0;font-size:clamp(28px,3vw,42px);line-height:1.1;letter-spacing:-.025em}.fop-eyebrow{margin:0;font-size:12px;text-transform:uppercase;letter-spacing:.11em;font-weight:800;color:var(--fop-accent)}.fop-detail-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.fop-detail-card{border:1px solid var(--fop-line);border-radius:16px;padding:18px;min-height:100px;display:flex;flex-direction:column;justify-content:space-between}.fop-detail-card span{font-size:13px;color:var(--fop-muted)}.fop-detail-card strong{margin-top:14px;font-size:18px}.fop-content-section--split{display:grid;grid-template-columns:1fr 1fr;gap:48px}.fop-prose{max-width:800px;font-size:18px;line-height:1.75;color:#3f454b}.fop-health-list{border-top:1px solid var(--fop-line)}.fop-health-list>div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--fop-line)}.fop-health-list span{color:var(--fop-muted)}.fop-note-card{margin-top:18px;padding:22px;background:var(--fop-soft);border-radius:18px;line-height:1.7}.fop-note-card h3{margin-top:0}.fop-location-note{margin-top:8px;color:var(--fop-muted)}.fop-map-wrap{width:100%;overflow:hidden;border-radius:20px;border:1px solid var(--fop-line);background:#f5f5f5}.fop-map{display:block;width:100%;height:420px;border:0}.fop-location-actions{display:flex;margin-top:18px}.fop-share-section{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:26px;border-top:1px solid var(--fop-line);border-bottom:1px solid var(--fop-line)}.fop-share-section p:last-child{margin:7px 0 0;color:var(--fop-muted)}.fop-share-icons{display:flex;flex-wrap:wrap;gap:9px}.fop-share-icons a,.fop-share-icons button{width:46px;height:46px;display:grid;place-items:center;border:1px solid var(--fop-line);border-radius:50%;background:#fff;cursor:pointer}.fop-share-icons img{width:21px;height:21px;object-fit:contain}.fop-share-more{font-weight:900;letter-spacing:1px;color:var(--fop-muted)}.fop-contact-card{display:flex;align-items:center;justify-content:space-between;gap:36px;padding:34px;background:#151515;color:#fff;border-radius:24px}.fop-contact-card p{max-width:620px;color:#c8c8c8}.fop-contact-card .fop-btn--secondary{background:transparent;border-color:#555;color:#fff}.fop-modal[hidden]{display:none}.fop-modal{position:fixed;z-index:99999;inset:0;display:grid;place-items:center;padding:22px}.fop-modal__backdrop{position:absolute;inset:0;background:rgba(17,17,17,.62)}.fop-modal__panel{position:relative;width:min(620px,100%);max-height:calc(100vh - 44px);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.22)}.fop-modal__panel--wide{width:min(900px,100%)}.fop-modal__panel--small{width:min(460px,100%)}.fop-modal__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;border-bottom:1px solid var(--fop-line)}.fop-modal__header h2{margin:3px 0 0;font-size:28px}.fop-modal__close{border:0;background:#f2f2f2;border-radius:50%;width:40px;height:40px;font-size:27px;line-height:1;cursor:pointer}.fop-modal__footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 26px;border-top:1px solid var(--fop-line)}.fop-edit-form{padding:0}.fop-form-section{padding:24px 26px;border-bottom:1px solid var(--fop-line)}.fop-form-section h3{margin:0 0 16px}.fop-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fop-edit-form label{display:block;font-size:13px;font-weight:700;color:#40464d}.fop-edit-form input[type=text],.fop-edit-form input[type=email],.fop-edit-form input[type=number],.fop-edit-form select,.fop-edit-form textarea{width:100%;margin-top:7px;padding:11px 12px;border:1px solid #d6d8dc;border-radius:10px;background:#fff;font:inherit;font-size:16px}.fop-edit-form textarea{resize:vertical}.fop-check-grid{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:18px}.fop-check-grid label{display:flex;align-items:center;gap:8px}.fop-form-note{font-size:13px;color:var(--fop-muted);line-height:1.5}.fop-poster{margin:24px auto;width:min(420px,calc(100% - 48px));border:1px solid var(--fop-line);background:#fff}.fop-poster>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.fop-poster__body{padding:26px}.fop-poster__body>span{font-size:12px;font-weight:900;letter-spacing:.12em;color:var(--fop-accent)}.fop-poster__body h2{font-size:48px;margin:8px 0}.fop-poster__body p{color:var(--fop-muted)}.fop-poster__url{margin-top:22px;padding-top:14px;border-top:1px solid var(--fop-line);font-weight:700;word-break:break-all}.fop-social-preview{padding:24px}.fop-social-preview canvas{display:block;width:100%;height:auto;border-radius:18px;background:#eee}.fop-share-list{padding:8px 20px 20px}.fop-share-list a,.fop-share-list button{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px 4px;border:0;border-bottom:1px solid var(--fop-line);background:none;color:var(--fop-text);font:inherit;text-decoration:none;cursor:pointer;text-align:left}body.fop-modal-open{overflow:hidden}@media(max-width:900px){.fop-pet{padding-inline:14px}.fop-pet__hero{grid-template-columns:1fr;gap:26px}.fop-owner-actions{grid-template-columns:1fr 1fr}.fop-detail-grid{grid-template-columns:repeat(2,1fr)}.fop-content-section--split{grid-template-columns:1fr;gap:36px}.fop-contact-card{align-items:flex-start;flex-direction:column}.fop-share-section{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.fop-pet{padding-top:20px;padding-bottom:50px}.fop-gallery__main{border-radius:18px;aspect-ratio:1}.fop-gallery__thumbs{grid-template-columns:repeat(5,72px);overflow-x:auto;padding-bottom:4px}.fop-pet__summary h1{font-size:44px}.fop-pet__actions .fop-btn{flex:1 1 100%}.fop-owner-panel{padding:18px}.fop-owner-panel__heading{align-items:flex-start;flex-direction:column}.fop-owner-actions{grid-template-columns:1fr}.fop-detail-grid{grid-template-columns:1fr 1fr}.fop-pet__details,.fop-content-section,.fop-contact-card,.fop-share-section{margin-top:54px}.fop-map{height:320px}.fop-location-actions .fop-btn{width:100%}.fop-share-section{padding-inline:0}.fop-form-grid{grid-template-columns:1fr}.fop-modal{padding:0;place-items:end center}.fop-modal__panel,.fop-modal__panel--wide,.fop-modal__panel--small{width:100%;max-height:92vh;border-radius:22px 22px 0 0}.fop-modal__footer{position:sticky;bottom:0;background:#fff}.fop-poster__body h2{font-size:38px}}@media print{body *{visibility:hidden!important}.fop-poster,.fop-poster *{visibility:visible!important}.fop-poster{position:absolute;left:0;top:0;width:100%;margin:0;border:0}.fop-poster>img{max-height:60vh}.fop-modal__footer,.fop-modal__header{display:none!important}}

/* v2.2 owner editor refinements */
.fop-owner-panel--top{margin:0 0 28px}
.fop-pet__id{margin:-8px 0 18px;color:var(--fop-muted);font-size:11px;font-weight:600;letter-spacing:.02em}
.fop-edit-form [hidden]{display:none!important}
.fop-edit-gallery{display:grid;gap:14px}
.fop-edit-gallery__preview{display:flex;gap:10px;flex-wrap:wrap;min-height:84px;padding:12px;border:1px dashed #cfd3d8;border-radius:14px;background:#fafafa}
.fop-edit-gallery__preview:empty:before{content:'No gallery photos selected';color:var(--fop-muted);font-size:13px;align-self:center}
.fop-edit-gallery__preview span{width:84px;height:84px;border-radius:10px;overflow:hidden;background:#eee;display:block}
.fop-edit-gallery__preview img{width:100%;height:100%;object-fit:cover;display:block}
.fop-edit-map-preview{margin-top:14px;border:1px solid var(--fop-line);border-radius:14px;overflow:hidden;background:#f5f5f5;min-height:220px}
.fop-edit-map-preview:empty{display:none}
.fop-edit-map-preview iframe{width:100%;height:260px;border:0;display:block}
.fop-form-note--warning{color:#8a5b00;background:#fff8df;padding:10px 12px;border-radius:10px}
.fop-poster__id{margin-top:12px;font-size:14px;font-weight:800;color:var(--fop-text)}
@media(max-width:560px){.fop-owner-panel--top{margin-top:0}.fop-edit-gallery__preview span{width:70px;height:70px}}

/* v2.3 private gallery editor */
.fop-edit-gallery__preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-height:118px;padding:12px}
.fop-gallery-editor-item{position:relative;min-width:0;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#eee;border:2px solid transparent;cursor:grab;transition:border-color .18s ease,opacity .18s ease,transform .18s ease}
.fop-gallery-editor-item:active{cursor:grabbing}
.fop-gallery-editor-item.is-dragging{opacity:.45;transform:scale(.98)}
.fop-gallery-editor-item:first-child{border-color:var(--fop-accent)}
.fop-gallery-editor-item>img{width:100%;height:100%;object-fit:cover;display:block}
.fop-gallery-editor-item__main{position:absolute;left:8px;top:8px;padding:5px 8px;border-radius:999px;background:var(--fop-accent);color:#fff;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.fop-gallery-editor-item__controls{position:absolute;left:7px;right:7px;bottom:7px;display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:5px;border-radius:12px;background:rgba(20,20,20,.72);backdrop-filter:blur(5px)}
.fop-gallery-editor-item__controls button{min-width:0;height:30px;padding:0;border:0;border-radius:8px;background:rgba(255,255,255,.94);color:#242424;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
.fop-gallery-editor-item__controls button:hover{background:#fff;color:var(--fop-accent)}
.fop-gallery-upload{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.fop-gallery-upload__button{position:relative;overflow:hidden}
.fop-gallery-upload__button input[type=file]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.fop-gallery-upload__count{font-size:13px;font-weight:700;color:var(--fop-muted)}

@media(max-width:700px){.fop-edit-gallery__preview{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:460px){.fop-edit-gallery__preview{grid-template-columns:repeat(2,minmax(0,1fr))}.fop-gallery-editor-item__controls{gap:3px;padding:4px}.fop-gallery-editor-item__controls button{height:29px;font-size:14px}}

/* v2.4 share placement + Google Places autocomplete */
.fop-share-section--summary{
    display:block;
    margin-top:30px;
    padding:22px 0 0;
    border-top:1px solid var(--fop-line);
    border-bottom:0;
}
.fop-share-section--summary h2{
    margin:3px 0 0;
    font-size:22px;
}
.fop-share-section--summary p:last-child{
    margin:5px 0 0;
    font-size:14px;
}
.fop-share-section--summary .fop-share-icons{
    margin-top:16px;
}

/* Google renders autocomplete suggestions at document level, outside the modal. */
.pac-container{
    z-index:1000000!important;
    border-radius:12px;
    border:1px solid #e1e3e6;
    box-shadow:0 12px 35px rgba(0,0,0,.16);
    overflow:hidden;
    font-family:inherit;
}
.pac-item{
    padding:9px 12px;
    cursor:pointer;
    font-size:14px;
}
.pac-item-query{font-size:14px}

@media(max-width:900px){
    .fop-share-section--summary{align-items:initial;flex-direction:initial}
}
@media(max-width:560px){
    .fop-share-section--summary{margin-top:26px!important;padding-top:20px}
}

/* FOP v2.5 — derived fields + FAQs */
.fop-inline-check {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
}
.fop-inline-check input { width: 18px !important; height: 18px; margin: 0; }
.fop-faq-section { margin-top: 48px; }
.fop-faq-list { border-top: 1px solid var(--fop-line, #e4e4e4); }
.fop-faq-item { border-bottom: 1px solid var(--fop-line, #e4e4e4); }
.fop-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 42px 20px 0;
  position: relative;
  font-weight: 700;
  font-size: 18px;
}
.fop-faq-item summary::-webkit-details-marker { display: none; }
.fop-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
}
.fop-faq-item[open] summary::after { content: '−'; }
.fop-faq-item__answer { padding: 0 42px 20px 0; line-height: 1.7; }
.fop-faq-item__answer > :last-child { margin-bottom: 0; }

.fop-faq-wrap{width:min(1180px,100%);margin:0 auto;}

/* v2.6 share row clean-up */
.fop-share-section--summary .fop-share-icons{flex-wrap:nowrap;}

/* v2.7 final spacing refinements */
.fop-pet__id{
    padding-bottom:0;
}
p.fop-eyebrow{
    padding-bottom:0;
}
p.fop-pet__tagline{
    margin-bottom:0;
    padding-bottom:0;
}
.fop-edit-gallery__preview span{
    height:auto;
    background:transparent;
}
