.htl-page,.htl-title-block{--htl-bg:var(--ep-bg,var(--bg-primary,#fff));--htl-card:var(--ep-card-bg,var(--bg-secondary,#fff));--htl-soft:var(--ep-bg-soft,var(--bg-tertiary,#f6f7fb));--htl-text:var(--ep-text,var(--text-primary,#111827));--htl-muted:var(--ep-text-muted,var(--text-secondary,#667085));--htl-border:var(--ep-border,var(--border,#e5e7eb));--htl-accent:var(--ep-accent,var(--accent,#2563eb));--htl-accent-soft:var(--ep-accent-soft,var(--accent-soft,rgba(37,99,235,.1)));--htl-radius:var(--ep-radius-card,var(--radius-lg,24px));--htl-btn-radius:var(--ep-radius-btn,var(--radius-md,14px));--htl-shadow:var(--ep-shadow-card,var(--shadow-sm,0 10px 30px rgba(15,23,42,.08)));box-sizing:border-box}.htl-page *,.htl-title-block *{box-sizing:border-box}.htl-page{max-width:1280px;margin:0 auto;padding:clamp(18px,4vw,34px) clamp(14px,4vw,20px);color:var(--htl-text)}.htl-title-block{max-width:1280px;margin:0 auto;padding:clamp(34px,7vw,58px) clamp(14px,4vw,20px);color:var(--htl-text)}.htl-section-head{text-align:center;max-width:780px;margin:0 auto clamp(22px,4vw,34px)}.htl-label{display:inline-flex;align-items:center;gap:8px;width:max-content;max-width:100%;color:var(--htl-accent);font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.htl-section-head h2,.htl-hero h1,.htl-detail-copy h1{margin:9px 0;color:var(--htl-text);font-weight:950;letter-spacing:-.04em;line-height:1.05}.htl-section-head h2{font-size:clamp(1.55rem,4vw,2.35rem)}.htl-hero h1,.htl-detail-copy h1{font-size:clamp(1.7rem,5vw,2.7rem)}.htl-section-head p,.htl-hero p,.htl-detail-copy p{margin:0;color:var(--htl-muted);line-height:1.65}.htl-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,430px);gap:clamp(16px,4vw,28px);align-items:stretch;margin-bottom:18px;padding:clamp(18px,4vw,30px);border:1px solid var(--htl-border);border-radius:calc(var(--htl-radius) + 6px);background:linear-gradient(135deg,var(--htl-card),var(--htl-soft));overflow:hidden}.htl-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.htl-hero-meta span{display:inline-flex;border:1px solid var(--htl-border);border-radius:999px;background:var(--htl-card);padding:8px 11px;color:var(--htl-muted);font-size:.78rem;font-weight:850}.htl-search{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:14px;border:1px solid var(--htl-border);border-radius:var(--htl-radius);background:var(--htl-card);box-shadow:var(--htl-shadow)}.htl-search label,.htl-book-form label{display:flex;flex-direction:column;gap:6px;color:var(--htl-text);font-size:.84rem;font-weight:850}.htl-search input,.htl-book-form input,.htl-book-form textarea{width:100%;border:1px solid var(--htl-border);border-radius:var(--htl-btn-radius);background:var(--htl-bg);color:var(--htl-text);padding:11px 12px;font:inherit;outline:none}.htl-search input:focus,.htl-book-form input:focus,.htl-book-form textarea:focus{border-color:var(--htl-accent);box-shadow:0 0 0 3px var(--htl-accent-soft)}.htl-search button{grid-column:1/-1}.htl-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:var(--htl-btn-radius);background:var(--htl-accent);color:var(--ep-accent-text,#fff);padding:12px 16px;text-decoration:none;font-weight:900;cursor:pointer;min-height:44px;line-height:1.1}.htl-btn:disabled{opacity:.55;cursor:not-allowed}.htl-btn-soft{background:var(--htl-accent-soft);color:var(--htl-accent);border:1px solid var(--htl-border)}.htl-how{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 18px}.htl-how div{display:flex;align-items:center;gap:10px;border:1px solid var(--htl-border);border-radius:18px;background:var(--htl-card);padding:13px 15px;color:var(--htl-muted);font-weight:800}.htl-how b{flex:0 0 auto;width:30px;height:30px;border-radius:999px;background:var(--htl-accent-soft);color:var(--htl-accent);display:inline-flex;align-items:center;justify-content:center}.htl-results-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;margin:0 0 16px}.htl-results-head div{display:grid;gap:3px}.htl-results-head b{font-size:1.2rem;color:var(--htl-text)}.htl-results-head span,.htl-results-head em{color:var(--htl-muted);font-size:.9rem;font-style:normal;font-weight:750}.htl-room-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr));gap:clamp(14px,3vw,22px)}.htl-room-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--htl-border);border-radius:var(--htl-radius);background:var(--htl-card);color:inherit;text-decoration:none;box-shadow:var(--htl-shadow);transition:transform .18s ease,border-color .18s ease,opacity .18s ease}.htl-room-card:hover{transform:translateY(-2px);border-color:var(--htl-accent)}.htl-room-card.is-disabled{opacity:.72}.htl-room-photo{position:relative;min-height:210px;background:linear-gradient(135deg,var(--htl-accent-soft),var(--htl-soft));background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;font-size:2.2rem}.htl-room-photo em{position:absolute;left:14px;top:14px;border-radius:999px;background:var(--htl-card);color:var(--htl-accent);font-size:.76rem;font-weight:900;font-style:normal;padding:7px 10px;border:1px solid var(--htl-border);box-shadow:0 8px 18px rgba(15,23,42,.08)}.htl-room-content{display:flex;flex-direction:column;gap:12px;padding:clamp(16px,3vw,22px);flex:1}.htl-room-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.htl-room-top h3{margin:0;color:var(--htl-text);font-size:1.12rem;line-height:1.2;font-weight:950}.htl-room-top b{white-space:nowrap;color:var(--htl-accent)}.htl-room-content p{margin:0;color:var(--htl-muted);line-height:1.55;font-size:.92rem}.htl-tags,.htl-facts,.htl-amenity-list,.htl-room-amenities{display:flex;flex-wrap:wrap;gap:8px}.htl-tags span,.htl-facts span,.htl-amenity-list span,.htl-room-amenities span{border:1px solid var(--htl-border);border-radius:999px;background:var(--htl-soft);color:var(--htl-muted);padding:7px 10px;font-size:.78rem;font-weight:850}.htl-room-amenities span{background:var(--htl-bg);color:var(--htl-text)}.htl-room-amenities i,.htl-amenity-list i{font-style:normal;margin-right:6px}.htl-card-more{margin-top:auto;color:var(--htl-accent);font-weight:950}.htl-title-actions{text-align:center;margin-top:24px}.htl-empty,.htl-state{display:grid;gap:8px;border:1px solid var(--htl-border);border-radius:var(--htl-radius);background:var(--htl-card);padding:clamp(22px,5vw,34px);text-align:center;color:var(--htl-muted);box-shadow:var(--htl-shadow)}.htl-empty b{color:var(--htl-text);font-size:1.1rem}.htl-back{display:inline-flex;margin:0 0 14px;color:var(--htl-muted);text-decoration:none;font-weight:850}.htl-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:22px;align-items:start}.htl-detail-main{min-width:0}.htl-gallery{display:grid;gap:10px;margin-bottom:20px}.htl-gallery-main{min-height:390px;border:1px solid var(--htl-border);border-radius:calc(var(--htl-radius) + 4px);background:linear-gradient(135deg,var(--htl-accent-soft),var(--htl-soft));background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;font-size:3rem;overflow:hidden}.htl-gallery-thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.htl-gallery-thumbs button{height:76px;border:1px solid var(--htl-border);border-radius:16px;background:var(--htl-soft);background-size:cover;background-position:center;cursor:pointer;transition:border-color .18s ease,transform .18s ease;padding:0}.htl-gallery-thumbs button:hover,.htl-gallery-thumbs button.is-active{border-color:var(--htl-accent);transform:translateY(-1px)}.htl-detail-copy{border:1px solid var(--htl-border);border-radius:var(--htl-radius);background:var(--htl-card);padding:clamp(18px,4vw,28px);box-shadow:var(--htl-shadow)}.htl-detail-copy h2{margin:22px 0 12px;color:var(--htl-text);font-size:1.15rem}.htl-facts{margin:18px 0}.htl-amenity-list span{background:var(--htl-bg);color:var(--htl-text)}.htl-mini-info{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0 4px}.htl-mini-info div{border:1px solid var(--htl-border);border-radius:18px;background:var(--htl-soft);padding:12px}.htl-mini-info b{display:block;color:var(--htl-text);font-size:.82rem}.htl-mini-info span{display:block;color:var(--htl-muted);font-size:.85rem;margin-top:4px}.htl-policy{margin-top:10px;border:1px solid var(--htl-border);border-radius:18px;background:var(--htl-soft);padding:14px 16px}.htl-policy summary{cursor:pointer;font-weight:900;color:var(--htl-text)}.htl-policy p{margin:10px 0 0}.htl-book-box{position:sticky;top:16px}.htl-book-form{display:flex;flex-direction:column;gap:12px;border:1px solid var(--htl-border);border-radius:var(--htl-radius);background:var(--htl-card);padding:18px;box-shadow:var(--htl-shadow)}.htl-price{display:grid;gap:2px;padding:14px;border-radius:18px;background:var(--htl-accent-soft)}.htl-price span{color:var(--htl-muted);font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.htl-price b{font-size:clamp(1.75rem,4vw,2.25rem);color:var(--htl-accent);line-height:1}.htl-price em{font-style:normal;color:var(--htl-muted);font-weight:850}.htl-book-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px}.htl-book-summary span{border:1px solid var(--htl-border);border-radius:14px;background:var(--htl-soft);padding:9px 10px;color:var(--htl-muted);font-size:.82rem;font-weight:850}.htl-free{border-radius:14px;background:var(--htl-soft);padding:10px 12px;color:var(--htl-text);font-weight:850}.htl-free.warn,.htl-error{background:rgba(239,68,68,.1);color:#dc2626}.htl-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.htl-consent{flex-direction:row!important;align-items:flex-start!important;color:var(--htl-muted)!important;font-weight:600!important;line-height:1.45}.htl-consent{gap:10px!important;cursor:pointer;user-select:none}.htl-consent input[type=checkbox]{appearance:none;-webkit-appearance:none;width:20px!important;height:20px!important;min-width:20px;flex:0 0 20px;margin:1px 0 0!important;padding:0!important;border:1.5px solid var(--htl-border)!important;border-radius:7px!important;background:var(--htl-bg)!important;display:inline-flex!important;align-items:center;justify-content:center;box-shadow:none!important;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.htl-consent input[type=checkbox]:checked{border-color:var(--htl-accent)!important;background:var(--htl-accent)!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 10.3l3.1 3.1L15.5 6' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-size:16px 16px!important;background-repeat:no-repeat!important;background-position:center!important}.htl-consent input[type=checkbox]:focus-visible{box-shadow:0 0 0 3px var(--htl-accent-soft)!important}.htl-consent span{flex:1;min-width:0;padding-top:1px;color:var(--htl-muted);font-size:.88rem;line-height:1.45}.htl-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.htl-error{border-radius:14px;padding:10px 12px;font-weight:850}.htl-book-form small{color:var(--htl-muted);line-height:1.45}.htl-state.success{max-width:720px;margin:30px auto}.htl-state-icon{width:56px;height:56px;border-radius:999px;background:var(--htl-accent-soft);color:var(--htl-accent);display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:950;margin:0 auto 12px}.htl-state h1{margin:0 0 8px;color:var(--htl-text)}.htl-state-actions{margin-top:18px}.htl-price-breakdown{border:1px solid var(--htl-border);border-radius:16px;background:var(--htl-soft);padding:11px 12px}.htl-price-breakdown summary{cursor:pointer;font-weight:900;color:var(--htl-text)}.htl-price-breakdown div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--htl-border);color:var(--htl-muted)}.htl-price-breakdown div:first-of-type{margin-top:8px}.htl-price-breakdown b{color:var(--htl-text)}@media(max-width:860px){.htl-hero,.htl-detail{grid-template-columns:1fr}.htl-book-box{position:static}.htl-how{grid-template-columns:1fr}.htl-gallery-main{min-height:260px}.htl-gallery-thumbs{grid-template-columns:repeat(4,1fr)}.htl-book-form{position:relative}.htl-price{position:sticky;top:8px;z-index:3}.htl-mini-info{grid-template-columns:1fr 1fr 1fr}}@media(max-width:560px){.htl-page,.htl-title-block{padding-left:12px;padding-right:12px}.htl-search{grid-template-columns:1fr}.htl-hero-meta,.htl-results-head{display:grid;align-items:start}.htl-room-top{display:block}.htl-room-top b{display:block;margin-top:7px}.htl-form-row,.htl-book-summary,.htl-mini-info{grid-template-columns:1fr}.htl-gallery-thumbs{grid-template-columns:repeat(3,1fr)}.htl-room-photo{min-height:180px}.htl-book-form{padding:14px}.htl-how div{align-items:flex-start}.htl-gallery-main{min-height:230px}}
.htl-datepicker{position:fixed;z-index:99999;border:1px solid var(--ep-border,var(--border,#e5e7eb));border-radius:22px;background:var(--ep-card-bg,var(--bg-secondary,#fff));color:var(--ep-text,var(--text-primary,#111827));box-shadow:0 24px 70px rgba(15,23,42,.22);padding:12px;font:inherit}.htl-dp-head{display:grid;grid-template-columns:40px 1fr 40px;gap:8px;align-items:center;margin-bottom:10px}.htl-dp-head b{text-align:center;font-size:.96rem}.htl-dp-head button,.htl-dp-foot button{border:1px solid var(--ep-border,var(--border,#e5e7eb));border-radius:12px;background:var(--ep-bg-soft,var(--bg-tertiary,#f6f7fb));color:var(--ep-text,var(--text-primary,#111827));height:38px;font:inherit;font-weight:900;cursor:pointer}.htl-dp-head button:hover,.htl-dp-foot button:hover{border-color:var(--ep-accent,var(--accent,#2563eb));color:var(--ep-accent,var(--accent,#2563eb))}.htl-dp-days,.htl-dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.htl-dp-days span{text-align:center;color:var(--ep-text-muted,var(--text-secondary,#667085));font-size:.72rem;font-weight:900}.htl-dp-grid{margin-top:7px}.htl-dp-grid button,.htl-dp-grid .empty{height:36px;border-radius:12px}.htl-dp-grid button{border:1px solid transparent;background:var(--ep-bg-soft,var(--bg-tertiary,#f6f7fb));color:var(--ep-text,var(--text-primary,#111827));font:inherit;font-weight:850;cursor:pointer}.htl-dp-grid button:hover{border-color:var(--ep-accent,var(--accent,#2563eb));color:var(--ep-accent,var(--accent,#2563eb))}.htl-dp-grid button.today{border-color:var(--ep-border,var(--border,#e5e7eb))}.htl-dp-grid button.selected{background:var(--ep-accent,var(--accent,#2563eb));border-color:var(--ep-accent,var(--accent,#2563eb));color:var(--ep-accent-text,#fff)}.htl-dp-grid button.disabled{opacity:.35;cursor:not-allowed}.htl-dp-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid var(--ep-border,var(--border,#e5e7eb));color:var(--ep-text-muted,var(--text-secondary,#667085));font-size:.82rem;font-weight:850}.htl-dp-foot button{height:34px;padding:0 10px}.htl-gallery-main{cursor:zoom-in;position:relative}.htl-gallery-main em{position:absolute;right:14px;bottom:14px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;font-style:normal;font-size:.78rem;font-weight:900;padding:8px 11px;backdrop-filter:blur(10px)}.htl-lightbox{position:fixed;inset:0;z-index:100000;display:none;align-items:center;justify-content:center;background:rgba(3,7,18,.84);padding:clamp(14px,4vw,34px)}.htl-lightbox.is-open{display:flex}.htl-lightbox figure{margin:0;display:grid;gap:12px;max-width:min(1120px,92vw);max-height:92vh}.htl-lightbox img{display:block;max-width:100%;max-height:82vh;border-radius:22px;object-fit:contain;box-shadow:0 30px 90px rgba(0,0,0,.4)}.htl-lightbox figcaption{text-align:center;color:rgba(255,255,255,.82);font-weight:800}.htl-lb-close,.htl-lb-nav{position:absolute;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);color:#fff;border-radius:999px;display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(12px)}.htl-lb-close{top:18px;right:18px;width:46px;height:46px;font-size:2rem;line-height:1}.htl-lb-nav{top:50%;transform:translateY(-50%);width:52px;height:52px;font-size:2.4rem}.htl-lb-nav.prev{left:18px}.htl-lb-nav.next{right:18px}.htl-lb-close:hover,.htl-lb-nav:hover{background:rgba(255,255,255,.22)}html.htl-lb-lock,html.htl-lb-lock body{overflow:hidden}@media(max-width:640px){.htl-datepicker{left:10px!important;right:10px!important;width:auto!important}.htl-lb-nav{width:44px;height:44px;font-size:2rem}.htl-lb-nav.prev{left:10px}.htl-lb-nav.next{right:10px}.htl-lb-close{top:10px;right:10px}.htl-lightbox img{max-height:76vh;border-radius:16px}}

/* Phase 09: title-блок hotel должен наследовать общий дизайн страницы, даже если на сайте временно остался старый template_title.php. */
.ep-main .htl-title-block{background:transparent!important;box-shadow:none!important;color:var(--ep-text,var(--text-primary,#111827));padding:var(--ep-section-gap,clamp(48px,10vw,80px)) 0!important;max-width:none!important;margin:0!important;overflow:visible!important}.ep-main .htl-title-block .htl-section-head{max-width:760px;margin:0 auto clamp(22px,5vw,36px);text-align:center}.ep-main .htl-title-block .htl-label{display:inline-flex!important;width:auto!important;color:var(--ep-accent,var(--accent,#2563eb))!important;font-size:.76rem!important;font-weight:800!important;letter-spacing:var(--ep-uppercase-spacing,.1em)!important;text-transform:uppercase!important}.ep-main .htl-title-block .htl-section-head h2{margin:10px 0 0;color:var(--ep-text,var(--text-primary,#111827));font-size:var(--ep-h2,clamp(1.5rem,3.5vw,2.4rem));letter-spacing:var(--ep-heading-spacing,-.03em);line-height:var(--ep-heading-line,1.08)}.ep-main .htl-title-block .htl-section-head p{margin:10px auto 0;max-width:720px;color:var(--ep-text-muted,var(--text-secondary,#667085));line-height:1.65}.ep-main .htl-title-block .htl-room-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:var(--ep-card-gap,var(--space-md,18px))}.ep-main .htl-title-block .htl-room-card{border:1px solid var(--ep-border,var(--border,#e5e7eb));border-radius:var(--ep-radius-card,var(--radius-lg,18px));background:var(--ep-card-bg,var(--bg-secondary,#fff));box-shadow:var(--ep-shadow-card,var(--shadow-sm,none));overflow:hidden;text-decoration:none;color:inherit}.ep-main .htl-title-block .htl-room-photo{min-height:clamp(178px,22vw,230px);background-color:var(--ep-bg-soft,var(--bg-tertiary,#f6f7fb));background-size:cover;background-position:center}.ep-main .htl-title-block .htl-room-content{padding:clamp(16px,3vw,22px)}.ep-main .htl-title-block .htl-room-top h3{margin:0;color:var(--ep-text,var(--text-primary,#111827));font-size:1.08rem;line-height:1.2}.ep-main .htl-title-block .htl-room-top b,.ep-main .htl-title-block .htl-card-more{color:var(--ep-accent,var(--accent,#2563eb))}.ep-main .htl-title-block .htl-tags span{background:var(--ep-bg-soft,var(--bg-tertiary,#f6f7fb));border-color:var(--ep-border,var(--border,#e5e7eb));color:var(--ep-text-muted,var(--text-secondary,#667085))}@media(max-width:640px){.ep-main .htl-title-block .htl-section-head{text-align:left}.ep-main .htl-title-block .htl-title-actions .htl-btn{width:100%}}

.htl-amenity-groups{display:grid;gap:16px}
.htl-amenity-cat h3{margin:0 0 9px;color:var(--htl-text);font-size:.95rem;font-weight:700;letter-spacing:-.01em}
.ep-main .htl-amenity-cat h3{color:var(--ep-text,var(--text-primary,#111827))}
