/* Casa Mia tap comfort (v4.7, 2026-10-29). Bigger tap areas, clear press feedback, anchors that land below the sticky bars.
   Look stays the same: small links get invisible padding (with matching negative margin) instead of a new size. */
html{-webkit-text-size-adjust:100%}
a,button,summary,select,label,input[type=checkbox],input[type=radio],.cmc-day{-webkit-tap-highlight-color:rgba(180,129,62,.18);touch-action:manipulation}
/* Anchors: land below header + room bar on the home pages */
body.cm-property-page{scroll-padding-top:140px}
html:has(body.cm-property-page){scroll-padding-top:140px}
/* Small text links: 44px-tall invisible tap area */
.text-link,.journal-card a,details p a,.cm-room-copy>a,.cm-reviews-foot a,.cm-direct-save a,.cm-hosts a,.footer-family a,.footer-meta a,.cm-faq a,.cm-cancel-note a,.cmc-card a:not(.primary-btn),.cm-contact-list a{padding-block:14px;margin-block:-14px}
.footer-family a,.cm-contact-list a{display:inline-block;padding-block:12px;margin-block:-12px}
/* Room jump bar (The Hall, King Ragnar's Quarters…): 10px-tall links -> full bar height */
.cm-room-jump a{padding-block:17px;margin-block:-17px}
/* Header nav and Book now */
.nav a{padding-block:15px;margin-block:-15px}
.book-btn,.cm-filter,.cmc-tabs button{position:relative}
.book-btn::after,.cm-filter::after,.cmc-tabs button::after{content:"";position:absolute;inset:-6px 0}
/* Find a Stay form: the whole field area is tappable */
.stay-finder select,.stay-finder input{min-height:44px;padding-block:11px;margin-block:-11px;cursor:pointer}
/* FAQ questions: taller rows */
details>summary{padding-block:8px;margin-block:-8px;cursor:pointer}
/* Calendar controls */
.cmc-prev,.cmc-next{min-width:44px;min-height:44px}
.cmc-clear{padding:13px 8px;margin:-13px -8px;cursor:pointer}
.cmc-fields select{min-height:40px;cursor:pointer}
.cmc-day:active:not([disabled]){background:rgba(180,129,62,.18)}
/* Press feedback on buttons */
.primary-btn,.book-btn,.cm-filter,.cmc-go,.stay-finder button,.cm-contact-form button,.cmb-paybtn,.quick-book{transition:transform .12s ease,filter .12s ease,background-color .2s ease}
.primary-btn:active,.book-btn:active,.cm-filter:active,.cmc-go:active,.stay-finder button:active,.cm-contact-form button:active,.cmb-paybtn:active,.quick-book:active{transform:scale(.97);filter:brightness(.94)}
/* Keyboard focus that is easy to see */
a:focus-visible,button:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid #b4813e;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.primary-btn:active,.book-btn:active,.cm-filter:active,.cmc-go:active{transform:none}}

/* v5.1 (2026-10-29): photo frames always fill their box (fixes the zoomed-in first Rustic photo on iPhone). */
.mlx-img{background-size:cover;background-position:center}
/* Floating Find a Stay button: slides away while scrolling down on phones so it never covers headings. */
.quick-book{transition:opacity .25s ease,visibility .25s ease,transform .25s ease}
.quick-book.is-tucked{transform:translateY(160%);opacity:0;pointer-events:none}
