/* Read-only presentation. All selectors are isolated to HDM customer surfaces. */
.hdm-visual{--hdmv-olive:#405b25;--hdmv-cream:#f6f5f0;--hdmv-ink:#20251b;--hdmv-line:rgba(64,91,37,.14);color:var(--hdmv-ink);background:var(--hdmv-cream)}
/* Keep content typography; let the header inherit the unchanged native Astra fonts. */
.hdm-visual :is(#content,.site-footer){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.hdm-visual :is(h1,h2,h3,h4){color:var(--hdmv-ink);font-family:inherit;letter-spacing:-.035em;line-height:1.15;text-transform:none}
.hdm-visual :is(h1,h2){font-weight:650}
.hdm-visual p{line-height:1.7}
.hdm-visual a{color:var(--hdmv-olive)}
.hdm-visual :is(a,button,input,select,textarea):focus-visible{outline:3px solid var(--hdmv-olive);outline-offset:4px}
.hdm-visual :is(button,input[type=submit],.button,.wp-element-button){border-radius:14px;min-height:48px}
.hdm-visual #content :is(button,input[type=submit],.button,.wp-element-button){font-weight:650;letter-spacing:0;text-transform:none}
.hdm-visual :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea){color:var(--hdmv-ink);border:1px solid var(--hdmv-line);border-radius:12px;background:white;min-height:48px}
.hdm-visual .site-header{background:white;border-bottom:1px solid var(--hdmv-line)}
.hdm-visual .main-header-menu .menu-link{padding-inline:12px}
.hdm-visual .site-header :is(button,.ast-custom-button){background:var(--hdmv-olive);color:white;border-radius:14px}
.hdm-visual .site-header :is(.ast-menu-toggle,.menu-toggle){background:transparent;color:var(--hdmv-olive);min-width:44px}
.hdm-visual:not(.hdm-visual-booking) #content>.ast-container{max-width:1240px;padding:36px 24px 56px}
.hdm-visual .site-footer{border-top:1px solid var(--hdmv-line);background:var(--hdmv-cream)}
.hdm-visual .hdm-eyebrow{font-size:11px;font-weight:700;letter-spacing:2px;color:var(--hdmv-olive);text-transform:uppercase;line-height:1.5;margin:0 0 12px}
.hdm-visual .hdm-primary{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px;padding:14px 22px;border-radius:14px;background:var(--hdmv-olive);color:white!important;font-size:15px;font-weight:650;text-decoration:none}
.hdm-visual .hdm-primary:hover{filter:brightness(.92)}
.hdm-visual .hdm-text-link{display:inline-flex;align-items:center;gap:18px;min-height:44px;font-weight:650;text-decoration:none;border-bottom:1px solid var(--hdmv-line)}
.hdm-visual .hdm-caption{font-size:13px;margin-top:16px}
.hdm-visual .hdm-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;padding:20px 0 64px}
.hdm-visual .hdm-hero-copy h1{font-size:clamp(38px,4.5vw,64px);line-height:1.03;margin:0 0 24px}
.hdm-visual .hdm-lead{max-width:440px;font-size:18px;line-height:1.6;margin-bottom:26px}
.hdm-visual .hdm-hero-copy>.hdm-text-link{display:table;margin-top:14px}
.hdm-visual .hdm-hero-photo{border-radius:140px 24px 24px 24px;overflow:hidden;aspect-ratio:1.04;background:white}
.hdm-visual .hdm-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.hdm-visual .hdm-section-heading{max-width:640px;margin:8px 0 26px}
.hdm-visual .hdm-section-heading h2{font-size:clamp(30px,3vw,42px);margin:0 0 14px}
.hdm-visual .hdm-stays-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:64px}
.hdm-visual .hdm-stay-card{background:white;border:1px solid var(--hdmv-line);border-radius:24px;overflow:hidden}
.hdm-visual .hdm-stay-photo{display:block;aspect-ratio:1.6;background:var(--hdmv-cream)}
.hdm-visual .hdm-stay-photo img{display:block;width:100%;height:100%;object-fit:cover}
.hdm-visual .hdm-stay-copy{padding:24px}
.hdm-visual .hdm-stay-copy h3{font-size:28px;margin:0 0 12px}
.hdm-visual .hdm-stay-copy p:not(.hdm-eyebrow){font-size:15px}
/* Original Elementor hero remains in the database and returns on deactivation. */
.hdm-home-enhanced .hdm-home-original .elementor-element-2cb5f4f{display:none}
.hdm-visual-home .elementor-invisible{visibility:visible;opacity:1;transform:none;animation:none}
.hdm-visual-home .hdm-home-original :is(.e-con,.elementor-widget-container){transition:none!important}
/* This existing events block used absolute desktop offsets, overflowing mobile. */
.hdm-visual-home .hdm-home-original .elementor-element-1a9e96e{position:relative!important;inset:auto!important;margin:0!important;width:100%;max-width:100%;align-self:stretch}
.hdm-visual-home .hdm-home-original h2{font-size:clamp(28px,3.3vw,44px);text-transform:none;line-height:1.15}
.hdm-visual-home .hdm-home-original .elementor-button{border-radius:14px;background:var(--hdmv-olive);color:white;min-height:48px}
/* Single glamping: keep native description, details, rate and calendar; remove blog furniture. */
.hdm-visual-glamping :is(.entry-meta,.post-navigation,#comments,#secondary,.ast-post-social-sharing){display:none}
.hdm-visual-glamping #primary{width:100%;border:0;padding:0;margin:0}
.hdm-visual-glamping .ast-article-single{background:transparent;padding:0}
.hdm-visual-glamping .entry-title{font-size:clamp(36px,4vw,56px);margin:0 0 24px}
.hdm-visual-glamping .hdm-room-story{display:flex;flex-direction:column;gap:18px;max-width:1060px}
.hdm-visual-glamping .hdm-room-story>p{max-width:780px;margin:0}
.hdm-visual-glamping .hdm-room-story>.hdm-eyebrow{order:-3}
.hdm-visual-glamping .mphb-single-room-type-gallery-wrapper{order:-2;margin:0 0 12px}
.hdm-visual-glamping .hdm-room-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hdm-visual-glamping .hdm-room-gallery figure{margin:0;background:white;border:1px solid var(--hdmv-line);border-radius:18px;overflow:hidden}
.hdm-visual-glamping .hdm-room-gallery figure:first-child{grid-column:1/-1}
.hdm-visual-glamping .hdm-room-gallery img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain}
.hdm-visual-glamping :is(.mphb-details-title,.mphb-calendar-title){font-size:25px;margin-top:20px}
.hdm-visual-glamping .mphb-single-room-type-attributes{display:flex;flex-wrap:wrap;gap:12px 28px;list-style:none;margin:0;padding:20px;background:white;border:1px solid var(--hdmv-line);border-radius:20px}
.hdm-visual-glamping .mphb-single-room-type-attributes li{margin:0}
.hdm-visual-glamping .mphb-booking-form,.hdm-visual-glamping .mphb-reservation-form-title{display:none}
.hdm-visual-glamping .hdm-room-booking{padding:28px;background:white;border:1px solid var(--hdmv-line);border-radius:24px}
.hdm-visual-glamping .hdm-room-booking h2{font-size:28px;margin:0 0 12px}
/* Native WooCommerce templates, data and actions are unchanged. */
.hdm-visual.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;clear:both}
.hdm-visual.woocommerce ul.products:before,.hdm-visual.woocommerce ul.products:after{display:none}
.hdm-visual.woocommerce ul.products li.product{width:100%!important;margin:0!important;float:none!important;border:1px solid var(--hdmv-line);border-radius:22px;background:white;overflow:hidden;padding:0 0 22px}
.hdm-visual.woocommerce ul.products li.product :is(h2,.price,.button,.star-rating,.ast-woo-product-category){margin-left:20px;margin-right:20px}
.hdm-visual.woocommerce ul.products li.product img{width:100%;aspect-ratio:1.15;object-fit:contain;background:white;padding:14px}
.hdm-visual.woocommerce ul.products li.product h2{font-size:19px;font-weight:650;padding:0;margin-top:16px}
.hdm-visual.woocommerce .price{color:var(--hdmv-olive);font-weight:650}
.hdm-visual.woocommerce div.product :is(.woocommerce-product-gallery,.summary){margin-top:12px}
.hdm-visual.woocommerce div.product .woocommerce-product-gallery{border-radius:24px;overflow:hidden;background:white;border:1px solid var(--hdmv-line)}
.hdm-visual.woocommerce div.product .woocommerce-product-gallery img{max-height:620px;object-fit:contain}
.hdm-visual.woocommerce div.product .product_title{font-size:clamp(30px,3vw,44px)}
.hdm-visual.woocommerce div.product .quantity input{min-width:76px}
.hdm-visual :is(.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,.woocommerce-MyAccount-content,.woocommerce form.login,.woocommerce form.register,.hdmp-panel){background:white;border:1px solid var(--hdmv-line);border-radius:22px;padding:24px}
.hdm-visual :is(.woocommerce-message,.woocommerce-info){background:white;border-top-color:var(--hdmv-olive);border-radius:14px;color:var(--hdmv-ink)}
.hdm-visual .woocommerce-MyAccount-navigation{background:white;border:1px solid var(--hdmv-line);border-radius:20px;padding:16px}
.hdm-visual .woocommerce-MyAccount-navigation li{border:0}
.hdm-visual .woocommerce-MyAccount-navigation a{display:block;padding:12px;border-radius:12px}
.hdm-visual .woocommerce-MyAccount-navigation .is-active a{background:var(--hdmv-cream);font-weight:700}
.hdm-visual .woocommerce table.shop_table{border-radius:16px;border-color:var(--hdmv-line);overflow:hidden}
@media(max-width:760px){
 .hdm-visual:not(.hdm-visual-booking) #content>.ast-container{padding:24px 20px 40px}
 .hdm-visual .hdm-hero-grid{grid-template-columns:1fr;gap:28px;padding:10px 0 42px}
 .hdm-visual .hdm-hero-copy h1{font-size:42px}
 .hdm-visual .hdm-hero-photo{aspect-ratio:1.35;border-radius:80px 22px 22px 22px}
 .hdm-visual .hdm-stays-grid{grid-template-columns:1fr;gap:20px;margin-bottom:42px}
 .hdm-visual .hdm-stay-copy{padding:22px}
 .hdm-visual.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .hdm-visual.woocommerce ul.products li.product :is(h2,.price,.button,.star-rating,.ast-woo-product-category){margin-left:12px;margin-right:12px}
 .hdm-visual.woocommerce ul.products li.product h2{font-size:16px}
 .hdm-visual.woocommerce ul.products li.product .button{padding:10px;font-size:12px}
 .hdm-visual :is(.woocommerce-cart-form,.cart_totals,.woocommerce-checkout-review-order,.woocommerce-MyAccount-content,.woocommerce form.login,.woocommerce form.register,.hdmp-panel){padding:18px}
 .hdm-visual-glamping .hdm-room-gallery{gap:10px}
 .hdm-visual-glamping .hdm-room-gallery img{max-height:400px}
 .hdm-visual-glamping .datepick{width:100%!important;max-width:100%}
 .hdm-visual-glamping .datepick-month-row{display:flex;flex-direction:column;width:100%}
 .hdm-visual-glamping .datepick-month{float:none;width:100%!important}
}
@media(prefers-reduced-motion:reduce){.hdm-visual *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
