/* ===== Hookah Cigars: окно 18+ и мобильное меню (общие правки для всех страниц) ===== */

/* --- окно подтверждения возраста --- */
html body #allrecords .hc dialog.hc-age{max-width:min(500px,calc(100vw - 24px));width:100%;overflow:visible;}
html body #allrecords .hc dialog.hc-age::backdrop{background:radial-gradient(70% 55% at 50% 45%,rgba(200,164,107,.12),transparent 70%),rgba(8,6,4,.9);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);}
html body #allrecords .hc dialog.hc-age[open]{animation:hcAgeIn .6s cubic-bezier(.23,1,.32,1) both;}
@keyframes hcAgeIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
html body #allrecords .hc .hc-age__in{position:relative;gap:0;border:0;padding:64px clamp(26px,7vw,60px) 44px;background:radial-gradient(90% 60% at 50% 0%,rgba(200,164,107,.10),transparent 70%),linear-gradient(180deg,#17120C,#0E0A07);box-shadow:0 40px 120px rgba(0,0,0,.65);}
html body #allrecords .hc .hc-age__in::before{content:"";position:absolute;inset:10px;border:1px solid rgba(200,164,107,.3);pointer-events:none;}
html body #allrecords .hc #hc-age-a::after{content:"18+";position:absolute;top:10px;left:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:#0E0A07;border:1px solid rgba(200,164,107,.55);color:var(--leaf);font:500 13px/1 var(--sans);letter-spacing:.06em;}
html body #allrecords .hc .hc-age__in img{width:92px;height:92px;margin:0 0 26px;box-shadow:0 0 0 1px rgba(200,164,107,.35),0 0 0 7px rgba(200,164,107,.06);}
html body #allrecords .hc .hc-age__in h2{margin:0 0 14px;font-size:clamp(32px,7vw,42px);line-height:1.08;font-weight:500;text-wrap:balance;}
html body #allrecords .hc .hc-age__in h2:focus{outline:none;}
html body #allrecords .hc .hc-age__in p{margin:0 0 32px;max-width:32ch;font-size:15px;line-height:1.6;color:rgba(238,229,211,.72);}
html body #allrecords .hc .hc-age__btns{flex-direction:column;align-items:center;gap:6px;}
html body #allrecords .hc #hc-age-yes{flex:0 0 auto;width:100%;max-width:320px;}
html body #allrecords .hc #hc-age-no{flex:0 0 auto;width:auto;min-height:44px;padding:10px 16px;background:transparent;border:0;border-radius:0;color:var(--mute);font-size:12px;letter-spacing:.2em;box-shadow:none;}
html body #allrecords .hc #hc-age-no:hover,html body #allrecords .hc #hc-age-no:focus-visible{color:var(--ivory);background:transparent;}
html body #allrecords .hc #hc-age-b p{margin-bottom:0;}

/* --- мобильное меню --- */
@media (max-width:1079px){
  /* фон шапки с размытием ломал полноэкранное меню после прокрутки */
  html body.hc-menu-open #allrecords .hc .hc-header{-webkit-backdrop-filter:none;backdrop-filter:none;transform:none;background:transparent;border-bottom-color:transparent;}
  html body #allrecords .hc .hc-nav{justify-content:flex-start;align-items:stretch;gap:0;padding:104px var(--g) 36px;overflow-y:auto;-webkit-overflow-scrolling:touch;counter-reset:hcm;background:radial-gradient(90% 50% at 100% 0%,rgba(217,133,58,.10),transparent 70%),var(--ink);}
  html body #allrecords .hc .hc-nav a:not(.hc-nav__award){display:flex;align-items:baseline;gap:18px;width:100%;padding:18px 0 16px;border-bottom:1px solid var(--rule2);font-size:clamp(30px,8.4vw,42px);line-height:1.05;}
  html body #allrecords .hc .hc-nav a:not(.hc-nav__award)::before{counter-increment:hcm;content:"0" counter(hcm);flex:0 0 28px;font:500 11px/1 var(--sans);letter-spacing:.18em;color:var(--leaf);transform:translateY(-6px);}
  html body #allrecords .hc .hc-nav a:not(.hc-nav__award):first-child{border-top:1px solid var(--rule2);}
  html body #allrecords .hc .hc-nav a[aria-current="page"]{color:var(--leaf2);}
  html body #allrecords .hc .hc-nav .hc-nav__award{margin-top:34px;align-self:stretch;display:flex;justify-content:center;align-items:center;min-height:54px;padding:0 20px;text-align:center;font-size:13px;}
}

/* --- форма рассылки (T1015) на телефоне --- */
@media (max-width:640px){
  html body #allrecords .t-rec[data-record-type="1015"] .t-container{padding-left:var(--g,20px);padding-right:var(--g,20px);}
  html body #allrecords .t-rec[data-record-type="1015"] .t-col{width:100%;max-width:none;margin:0;padding:0;}
  html body #allrecords .t-rec[data-record-type="1015"] .t1015__content{padding:0;}
  html body #allrecords .t-rec[data-record-type="1015"] .t1015__input-wrapper{width:100%;max-width:none;margin:0;}
  html body #allrecords .t-rec[data-record-type="1015"] .t-form__inputsbox{flex-direction:column;align-items:stretch;gap:12px;}
  html body #allrecords .t-rec[data-record-type="1015"] .t-input-group,
  html body #allrecords .t-rec[data-record-type="1015"] .t-form__submit,
  html body #allrecords .t-rec[data-record-type="1015"] .t-submit{width:100%;max-width:none;margin:0;}
}

/* --- формы отзывов/заявок (T678) на телефоне: на всю ширину колонки текста --- */
@media (max-width:640px){
  html body #allrecords .t-rec[data-record-type="678"] .t-container{padding-left:var(--g,20px);padding-right:var(--g,20px);}
  html body #allrecords .t-rec[data-record-type="678"] .t-col{width:100%;max-width:none;margin:0;padding:0;}
}
