/* Certificate rhythm: independent of the old Bricks paragraph resets. */
body .rif-gift p{margin:0 0 18px}
body .rif-gift .rf26-label{margin:0 0 18px}
body .rif-gift h1{margin:0 0 26px}
body .rif-gift .rf26-lead{margin-bottom:20px}
body .rif-gift .rf26-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;margin:28px 0 22px}
body .rif-gift .rf26-actions .rf26-btn{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:15px 26px;font-size:16px;font-weight:800;line-height:1.4}
body .rif-gift .rf26-actions .rf26-link{display:inline-flex;align-items:center;min-height:44px;font-size:16px;line-height:1.5}
body .rif-gift .rf26-actions+.gift-mini{margin:0;line-height:1.65}
body .rif-gift .rf26-card h3{margin:0 0 16px}
body .rif-gift .rf26-card p{margin:0}
body .rif-gift .rf26-card p+a{display:inline-block;margin-top:18px}
body .rif-gift .gift-check p{margin:0}
body .rif-gift .rf26-answer p{margin:0 0 16px}
body .rif-gift .rf26-answer p:last-child{margin-bottom:0}
body .rif-gift .gift-contact{padding:44px}
body .rif-gift .gift-contact .rf26-label{color:#f2dcc5;margin-bottom:18px}
body .rif-gift .gift-contact h2{margin:0 0 24px;font-size:clamp(34px,4.5vw,56px);line-height:1.12}
body .rif-gift .gift-contact p{max-width:820px;margin:0 0 22px}
body .rif-gift .gift-contact .rf26-actions{gap:18px 24px;margin:28px 0 26px}
body .rif-gift .gift-contact .rf26-actions+p{margin:0;line-height:1.8}
body .rif-gift .gift-contact .rf26-actions>a:not(.rf26-btn){display:inline-flex;align-items:center;min-height:44px;font-size:16px}
@media(max-width:780px){
 body .rif-gift .gift-contact{padding:28px 24px}
 body .rif-gift .rf26-actions{gap:12px 18px;margin:24px 0 20px}
 body .rif-gift .gift-contact .rf26-actions{gap:12px;margin:24px 0}
 body .rif-gift .gift-contact .rf26-actions>a{width:100%;justify-content:center}
 body .rif-gift .gift-contact h2{font-size:36px;line-height:1.13}
}

/* Keep one scroll area and give the actual booking module the available screen. */
#booking-modal{box-sizing:border-box!important;width:calc(100vw - 24px)!important;max-width:1800px!important;height:calc(100dvh - 24px)!important;max-height:none!important;inset:0!important;margin:auto!important;padding:0!important;border:1px solid #eadfd4!important;border-radius:20px!important;overflow:hidden!important;background:#fffdf9}
#booking-modal .booking-modal__panel{display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;overflow:hidden!important;border-radius:inherit}
#booking-modal .booking-modal__header{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:20px!important;position:relative;flex:0 0 auto!important;min-height:76px!important;height:auto!important;padding:16px 76px 16px 24px!important;border-bottom:1px solid #e3d7cb;background:#f3eade}
#booking-modal .booking-modal__intro>p{display:none!important}
#booking-modal #booking-modal-title{margin:0!important;font-family:SourceSerif4,Georgia,serif;font-size:28px!important;line-height:1.15!important;font-weight:400!important}
#booking-modal .booking-modal__contacts{display:flex!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;gap:8px 18px!important;padding:0!important;border:0!important}
#booking-modal .booking-modal__contacts>span{display:none!important}
#booking-modal .booking-modal__contacts>a{font-size:14px!important;line-height:1.5!important;margin:0!important;white-space:nowrap}
#booking-modal .booking-modal__close{position:absolute!important;inset:50% 12px auto auto!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;font-size:28px!important;line-height:1!important;border:1px solid #d4bfae!important;background:#fffdf9!important;border-radius:50%!important}
#booking-modal .booking-modal__embed{flex:1 1 auto!important;min-height:0!important;width:100%!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}
#booking-modal #rif-bnovo-modal-frame{width:100%;min-height:0!important;padding-bottom:26px}
@media(max-width:780px){
 #booking-modal{width:100vw!important;max-width:100vw!important;height:100dvh!important;inset:0!important;margin:0!important;border:0!important;border-radius:0!important}
 #booking-modal .booking-modal__header{grid-template-columns:minmax(0,1fr)!important;gap:5px!important;min-height:76px!important;padding:12px 68px 12px 18px!important}
 #booking-modal #booking-modal-title{font-size:23px!important;line-height:1.15!important}
 #booking-modal .booking-modal__contacts>a{font-size:13px!important;line-height:1.4!important}
 #booking-modal .booking-modal__contacts{justify-content:flex-start!important;align-items:flex-start!important;gap:3px 14px!important;width:100%;text-align:left!important}
 #booking-modal .booking-modal__contacts>a{display:inline-flex!important;align-items:center;min-height:24px;justify-content:flex-start!important}
 #booking-modal .booking-modal__contacts>a[href="tel:+73532764888"]{display:inline-flex!important}
 #booking-modal .booking-modal__embed{scrollbar-gutter:auto}
}

/* Reserve the normal form height; the calendar still opens as an overlay. */
[data-bnovo-widget-slot]{height:104px!important;min-height:104px!important}
@media(max-width:800px){[data-bnovo-widget-slot]{height:334px!important;min-height:334px!important}}

/* Keep navigation within reach, without adding space above the desktop hero. */
#brx-header:has(.rif-native-page--shared-header){position:fixed!important;inset:var(--rif-header-top,0px) 0 auto!important;width:100%;z-index:1000}
#brx-header .rif-native-page--shared-header .header{position:relative!important;top:0!important;transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,backdrop-filter .22s ease}
#brx-header .rif-native-page--shared-header .header__inner{transition:min-height .22s ease}
#brx-header.is-scrolled .rif-native-page--shared-header .header{background:rgba(43,33,30,.97)!important;border-bottom-color:rgba(255,253,249,.15)!important;box-shadow:0 6px 24px rgba(31,20,17,.14);backdrop-filter:blur(12px)}
#brx-header.is-scrolled .rif-native-page--shared-header .header__inner{min-height:74px!important}
html:has(#brx-header .rif-native-page--shared-header){scroll-padding-top:calc(var(--rif-header-height,95px) + var(--rif-header-top,0px) + 14px)}
@media(max-width:1000px){
 #brx-header .mobile-nav{position:absolute!important;inset:100% 0 auto!important;width:100%}
 #brx-header .mobile-nav.is-open{max-height:calc(100dvh - var(--rif-header-height,74px) - var(--rif-header-top,0px))!important;overflow-y:auto!important;overscroll-behavior:contain}
 #brx-header .mobile-nav.is-open .rf26-nav-inner{max-height:none!important}
}
@media(max-width:780px){
 body:has(#brx-header .rif-native-page--shared-header){padding-top:71px}
 #brx-header .rif-native-page--shared-header .header,#brx-header.is-scrolled .rif-native-page--shared-header .header{background:rgba(255,253,249,.98)!important;border-bottom-color:#e3d7cb!important;backdrop-filter:blur(12px)}
 #brx-header .rif-native-page--shared-header .header__inner,#brx-header.is-scrolled .rif-native-page--shared-header .header__inner{min-height:70px!important}
 #brx-header.is-scrolled .rif-native-page--shared-header .header{box-shadow:0 4px 18px rgba(31,20,17,.08)}
}
