/* Additions to the original compiled stylesheet. Self-hosted, no external requests. */

/* Anything marked hidden must really be hidden, even when a utility class sets display. */
[hidden] { display: none !important; }

/* Links that replaced the original <button> navigation behave like those buttons did. */
/* In the "base" layer so every Tailwind utility class (which lives in a later layer) still wins. */
@layer base {
  a[data-cc^="nav:"] { display: inline-block; text-align: center; text-transform: none; }
}

/* Logged-in admins: keep the sticky header below the WordPress toolbar. */
.admin-bar header.sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar header.sticky { top: 46px; } }

/* FAQ chevrons */
[data-cc-faq][aria-expanded="true"] .cc-chev-closed,
[data-cc-faq][aria-expanded="false"] .cc-chev-open { display: none; }

/* Booking dialog platform toggle */
.cc-platform-on { border-color: #1C1917 !important; background-color: #F2ECE1 !important; color: #1C1917 !important; font-weight: 600; }

/* Fallbacks for helpers used only by pages written in this theme (404, fallback template) */
.space-x-6 > * + * { margin-left: 1.5rem; }

/* ------------------------------------------------------------------ forms (cc-forms.js) */
.cc-fe { font-size: 12px; line-height: 1.4; color: #B91C1C; margin-top: 4px; }
[data-cc-dark] .cc-fe { color: #FCA5A5; }
.cc-invalid { border-color: #DC2626 !important; }

.cc-banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; margin: 0 0 16px; border: 1px solid #FECACA; background: #FEF2F2; color: #991B1B; font-size: 12px; line-height: 1.5; border-radius: 2px; }
.cc-banner strong { display: block; font-weight: 600; }
.cc-banner-ok { border-color: #A7F3D0; background: #ECFDF5; color: #065F46; }
[data-cc-dark] .cc-banner { background: #2A1515; border-color: #7F1D1D; color: #FECACA; }
[data-cc-dark] .cc-banner-ok { background: #0F2A21; border-color: #065F46; color: #A7F3D0; }

.cc-busy { opacity: .6; cursor: progress !important; }
.cc-spin { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: cc-rot .8s linear infinite; }
@keyframes cc-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cc-spin { animation-duration: 2.4s; } }

/* Success panel that replaces a form after a confirmed save */
.cc-panel { text-align: center; padding: 24px 0; }
.cc-panel-icon { width: 56px; height: 56px; border-radius: 50%; background: #E8E2D5; color: #8C5832; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.cc-panel-kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8C5832; font-weight: 600; margin: 0 0 8px; }
.cc-panel-title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; line-height: 1.15; font-weight: 500; margin: 0 0 12px; }
.cc-panel-text { font-size: 14px; line-height: 1.6; max-width: 440px; margin: 0 auto 16px; color: #57534E; }
.cc-panel-box { text-align: left; background: #F6F2EA; border: 1px solid #E7E3DC; padding: 16px; font-size: 12px; line-height: 1.6; color: #57534E; max-width: 440px; margin: 0 auto 20px; }
.cc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border-radius: 9999px; background: #1C1917; color: #FAF8F5; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; text-decoration: none; border: 1px solid #1C1917; cursor: pointer; }
.cc-btn:hover { background: #332E2A; }
.cc-btn-ghost { background: transparent; color: #1C1917; }
.cc-btn-ghost:hover { background: #EFEAE1; }
.cc-panel .cc-btn + .cc-btn { margin-left: 8px; margin-top: 8px; }
[data-cc-dark-panel] .cc-panel-title { color: #FAF8F5; }
[data-cc-dark-panel] .cc-panel-text, [data-cc-dark-panel] .cc-panel-box { color: #D6D3D1; }
[data-cc-dark-panel] .cc-panel-box { background: #2A2623; border-color: #38332E; }
[data-cc-dark-panel] .cc-panel-icon { background: #38332E; color: #C29B38; }
[data-cc-dark-panel] .cc-panel-kicker { color: #C29B38; }
[data-cc-dark-panel] .cc-btn { background: #FAF8F5; color: #1C1917; border-color: #FAF8F5; }
[data-cc-dark-panel] .cc-btn-ghost { background: transparent; color: #FAF8F5; }
.cc-newsletter-done { padding: 24px 0; }
.cc-newsletter-done h4 { font-size: 36px; font-weight: 400; letter-spacing: -.01em; margin: 0 0 8px; }
.cc-newsletter-done p { font-size: 14px; color: #57534E; margin: 0; }

/* Touch targets in dialogs: at least 44 x 44 px (inline text links inside sentences are exempt). */
[data-cc-modal] input:not([type="checkbox"]):not([type="hidden"]),
[data-cc-modal] select,
[data-cc-modal] button[data-platform] { min-height: 44px; }
[data-cc-modal] [data-cc="close"] { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
