/* HomeFlowe Premium Pages (scoped) */

:root{
  --hf-bg:#fbfaf8;
  --hf-paper:#ffffff;
  --hf-ink:#121212;
  --hf-muted:#6b6b6b;
  --hf-line:rgba(18,18,18,.10);
  --hf-shadow: 0 18px 60px rgba(18,18,18,.10);
  --hf-shadow2: 0 10px 28px rgba(18,18,18,.10);
  --hf-radius: 22px;
  --hf-radius2: 16px;
  --hf-ease: cubic-bezier(.2,.8,.2,1);

  /* Dark graphite */
  --hf-graphite:#121316;
  --hf-graphite-2:#1a1b20;
  --hf-champagne:#d9c3a3; /* champagne brass */
}

.hf-premium{
  color: var(--hf-ink);
}

.hf-premium .hf-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hf-premium .hf-hero{
  padding: 64px 0 28px;
}
.hf-premium .hf-kicker{
  font-family: Arial, sans-serif;
  letter-spacing:.14em; text-transform:uppercase;
  font-size:12px; color:var(--hf-muted);
  margin:0 0 12px;
}
.hf-premium .hf-h1{
  font-size: 54px;
  line-height: 1.05;
  margin:0 0 14px;
  letter-spacing:-.01em;
}
.hf-premium .hf-sub{
  font-size:18px;
  line-height:1.7;
  color:#2a2a2a;
  margin:0 0 22px;
  max-width: 900px;
}
@media (max-width: 980px){
  .hf-header__actions{ display:flex !important; align-items:center !important; gap:12px !important; opacity:1 !important; visibility:visible !important; pointer-events:auto !important; }
  .hf-burger{ display:inline-grid !important; }
  .hf-call{ display:inline-flex !important; }

  .hf-premium .hf-h1{ font-size: 40px; }
}

/* Chips */
.hf-premium .hf-chips{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 18px; }
.hf-premium .hf-chip{
  font-family: Arial, sans-serif;
  font-size: 12px;
  color:#3a3a3a;
  padding: 10px 12px;
  border:1px solid var(--hf-line);
  border-radius:999px;
  background: rgba(255,255,255,.65);
}

/* Buttons */
.hf-premium .hf-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 16px; }
.hf-premium .hf-btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family: Arial, sans-serif;
  font-size: 13px;
  letter-spacing:.04em;
  padding: 12px 16px;
  border-radius: 999px;
  border:1px solid var(--hf-line);
  background: rgba(255,255,255,.78);
  text-decoration:none;
  transition: transform .25s var(--hf-ease), background .25s var(--hf-ease), color .25s var(--hf-ease);
}
.hf-premium .hf-btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.95); }
.hf-premium .hf-btn--primary{
  background: var(--hf-ink);
  color: #fff;
  border-color: rgba(18,18,18,.30);
}
.hf-premium .hf-btn--primary:hover{ transform: translateY(-1px); }

/* Special: champagne hover text (requested style) */
.hf-premium .hf-btn--champagne:hover{ color: var(--hf-champagne); }

/* Section */
.hf-premium .hf-section{ padding: 40px 0; }
.hf-premium .hf-section--tight{ padding: 26px 0; }

.hf-premium .hf-section--graphite{
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(255,255,255,.08), transparent 55%),
    radial-gradient(700px 420px at 90% 10%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, var(--hf-graphite), var(--hf-graphite-2));
  color: rgba(245,243,244,.92);
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.hf-premium .hf-section--graphite .hf-kicker{ color: rgba(245,243,244,.70); }
.hf-premium .hf-section--graphite .hf-sub{ color: rgba(245,243,244,.82); }
.hf-premium .hf-section--graphite .hf-chip{
  color: rgba(245,243,244,.82);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}

/* Cards / grids */
.hf-premium .hf-card{
  position: relative;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--hf-line);
  border-radius: var(--hf-radius);
  box-shadow: var(--hf-shadow2);
  overflow: hidden;
}
.hf-premium .hf-card:before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(255,255,255,.06), transparent 40%),
    radial-gradient(900px 500px at 90% 10%, rgba(255,255,255,.04), transparent 45%);
  opacity: .55;
  transition: opacity .4s var(--hf-ease);
}
.hf-premium .hf-card:hover:before{ opacity: .85; }

.hf-premium .hf-grid-2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
@media (max-width: 980px){
  .hf-premium .hf-grid-2{ grid-template-columns: 1fr; }
}

.hf-premium .hf-media-grid{
  display:grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  padding: 14px;
}
.hf-premium .hf-media-grid .hf-main{ grid-row: 1 / 3; }
@media (max-width: 900px){
  .hf-premium .hf-media-grid{ grid-template-columns: 1fr; }
  .hf-premium .hf-media-grid .hf-main{ grid-row:auto; }
}

/* Figure */
.hf-premium .hf-figure{
  position:relative;
  display:block;
  border-radius: var(--hf-radius2);
  overflow:hidden;
  background: #f0eeea;
  border:1px solid rgba(18,18,18,.08);
  transform: translateZ(0);
  transition: transform .45s var(--hf-ease);
}
.hf-premium .hf-figure:after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 340px at 30% 0%, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.06));
  pointer-events:none;
  opacity:.9;
}
.hf-premium .hf-figure:hover{ transform: translateY(-2px); }

.hf-premium .hf-figure img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.001);
  transition: transform .7s var(--hf-ease), filter .7s var(--hf-ease);
  will-change: transform;
}
.hf-premium .hf-figure:hover img{
  transform: scale(1.03);
  filter: saturate(1.03) contrast(1.02);
}
.hf-premium .hf-tag{
  position:absolute; left:12px; top:12px;
  font-family: Arial, sans-serif;
  font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color: rgba(255,255,255,.92);
  background: rgba(18,18,18,.58);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* Keep thumbnails compact */
.hf-premium .hf-media-grid .hf-figure{ aspect-ratio: 4 / 3; max-height: 320px; }
.hf-premium .hf-media-grid .hf-main .hf-figure{ aspect-ratio: 16 / 9; max-height: 520px; }
@media (max-width: 1100px){
  .hf-premium .hf-media-grid .hf-main .hf-figure{ max-height: 420px; }
  .hf-premium .hf-media-grid .hf-figure{ max-height: 260px; }
}
@media (max-width: 700px){
  .hf-premium .hf-media-grid .hf-main .hf-figure{ max-height: 320px; }
  .hf-premium .hf-media-grid .hf-figure{ max-height: 220px; }
}

/* Info */
.hf-premium .hf-info{ padding: 6px 16px 18px; }
.hf-premium .hf-info p{
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.65;
  color:#222;
}
.hf-premium .hf-info strong{
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color: var(--hf-muted);
  font-weight:700;
  margin-right: 6px;
}

/* Dark card variant */
.hf-premium .hf-card--dark{
  background: rgba(18,19,22,.88);
  border-color: rgba(255,255,255,.10);
  color: rgba(245,243,244,.92);
}
.hf-premium .hf-card--dark:before{ opacity:.35; }
.hf-premium .hf-card--dark .hf-info p{ color: rgba(245,243,244,.86); }
.hf-premium .hf-card--dark .hf-info strong{ color: rgba(245,243,244,.60); }

/* Feature list */
.hf-premium .hf-list{
  margin: 0; padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.hf-premium .hf-li{
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.hf-premium .hf-li b{
  display:block;
  font-family: Arial, sans-serif;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size: 12px;
  color: rgba(245,243,244,.70);
  margin-bottom: 6px;
}

/* Footer block inside page */
.hf-premium .hf-page-footer{
  padding: 54px 0 76px;
  border-top: 1px solid var(--hf-line);
  margin-top: 18px;
}
.hf-premium .hf-note{
  font-size: 14px;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 880px;
}

/* Lightbox */
.hf-lightbox{
  position: fixed; inset: 0;
  background: rgba(18,18,18,.86);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 24px;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hf-lightbox.open{ display:flex; }
.hf-lightbox img{
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
  transition: opacity .22s var(--hf-ease), transform .22s var(--hf-ease);
  will-change: opacity, transform;
}
.hf-lightbox.swap img{ opacity:0; transform: scale(.992); }

.hf-lightbox .hf-close{
  position:absolute; top:18px; right:18px;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color:#fff;
  cursor:pointer;
  font-size:18px;
  display:flex; align-items:center; justify-content:center;
}
.hf-lightbox .hf-nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  opacity: .92;
  transition: opacity .15s ease, transform .15s ease;
}
.hf-lightbox .hf-nav:hover{ opacity:1; transform: translateY(-50%) scale(1.03); }
.hf-lightbox .hf-nav.prev{ left: 18px; }
.hf-lightbox .hf-nav.next{ right: 18px; }
@media (max-width: 700px){
  .hf-lightbox .hf-nav{ width:40px; height:40px; font-size:26px; line-height:40px; }
  .hf-lightbox .hf-nav.prev{ left: 10px; }
  .hf-lightbox .hf-nav.next{ right: 10px; }
  .hf-lightbox.open:after{
    content:"Свайп ←/→ для листания • вниз — закрыть";
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    font-size: 12px;
    color: rgba(255,255,255,.72);
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.14);
    padding: 8px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    opacity: 0;
    animation: hfHint 3.2s var(--hf-ease) .35s 1 forwards;
  }
  @keyframes hfHint{
    0%{ opacity:0; transform: translateX(-50%) translateY(8px); }
    18%{ opacity:1; transform: translateX(-50%) translateY(0); }
    72%{ opacity:1; transform: translateX(-50%) translateY(0); }
    100%{ opacity:0; transform: translateX(-50%) translateY(6px); }
  }
}

/* Reveal */
.hf-reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity .7s var(--hf-ease), transform .7s var(--hf-ease);
  will-change: opacity, transform;
}
.hf-reveal.in{ opacity:1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .hf-reveal{ opacity:1; transform:none; transition:none; }
}

/* Active menu link styling (applies to header widget menus too) */
.menu__link.is-active,
.header a.is-active,
.menu a.is-active{
  text-decoration: none;
  position: relative;
}
.menu__link.is-active:after,
.header a.is-active:after,
.menu a.is-active:after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1px;
  background: rgba(245,243,244,.55);
  opacity: .9;
}


/* =========================
   HF Premium Header (global)
   ========================= */
:root{
  --hf-bg: rgba(255,255,255,.78);
  --hf-text:#121212;
  --hf-muted:#6b6b6b;
  --hf-line: rgba(0,0,0,.08);
  --hf-shadow: 0 18px 55px rgba(18,18,18,.14);
  --hf-shadow2: 0 10px 30px rgba(18,18,18,.10);
  --hf-r: 18px;
  --hf-header-h: 82px;

  --hf-dd-bg: rgba(18,18,18,.92);
  --hf-dd-line: rgba(255,255,255,.10);
  --hf-dd-text: rgba(255,255,255,.92);
  --hf-dd-muted: rgba(255,255,255,.68);
  --hf-dd-chip: rgba(255,255,255,.06);
  --hf-dd-hover: rgba(255,255,255,.10);

  --hf-accent: #c6a469;   /* латунь */
  --hf-accent-2: #f2e2c6; /* шампань */
}


html{scroll-padding-top: calc(var(--hf-header-h, 82px) + 14px);} 
[id]{scroll-margin-top: calc(var(--hf-header-h, 82px) + 14px);} 
body{
  padding-top: var(--hf-header-h, 82px);
}

.hf-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  background: var(--hf-bg);
  border-bottom: 1px solid var(--hf-line);
  backdrop-filter: blur(12px) saturate(140%);
}
.hf-container{ max-width:1180px; margin:0 auto; padding:0 20px; }
.hf-header__in{ display:flex; align-items:center; justify-content:space-between; gap:18px; min-height: var(--hf-header-h); min-width:0; }

.hf-brand{ display:flex; align-items:center; gap:12px; text-decoration:none; min-width:0; }
.hf-brand__mark{
  width:44px; height:44px; display:grid; place-items:center;
  border-radius:16px;
  background: radial-gradient(14px 14px at 20% 20%, rgba(255,255,255,.75), transparent 60%),
              linear-gradient(135deg, rgba(18,18,18,.08), rgba(18,18,18,.02));
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 26px rgba(18,18,18,.10);
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--hf-text);
  flex:0 0 auto;
}
.hf-brand__text{ display:flex; flex-direction:column; line-height:1.1; min-width:0; }
.hf-brand__name{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing:.02em;
  color: var(--hf-text);
  white-space:nowrap;
}
.hf-brand__tag{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  color: var(--hf-muted);
  margin-top: 2px;
  white-space:nowrap;
}
@media (max-width:420px){ .hf-brand__tag{ display:none; } }

.hf-nav{ display:flex; gap:10px; align-items:center; min-width:0; }
.hf-nav__link{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:16px;
  color: rgba(18,18,18,.88);
  padding:12px 12px;
  border-radius:14px;
  border:1px solid transparent;
  background: transparent;
  text-decoration:none;
  transition: background .16s ease, transform .16s ease, border-color .16s ease, color .16s ease;
  white-space:nowrap;
}
.hf-nav__link:hover{
  background: rgba(18,18,18,.05);
  border-color: rgba(0,0,0,.06);
  transform: translateY(-1px);
}
.hf-nav__link.is-active{ color: var(--hf-accent); }
.hf-nav__link--btn{ cursor:pointer; display:inline-flex; gap:10px; align-items:center; }
.hf-nav__chev{ opacity:.75; font-size:12px; }

.hf-header__actions{ display:flex; align-items:center; gap:12px; min-width:0; }
@media (max-width:980px){
  .hf-header__actions{ width:132px; justify-content:space-between; gap:10px; }
  .hf-call{ order:3; }
  .hf-burger{ order:2; }
}

.hf-pill{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(18,18,18,.04);
  color: rgba(18,18,18,.90);
  min-height:44px;
  text-decoration:none;
  transition: transform .15s ease, background .18s ease, box-shadow .18s ease;
  white-space:nowrap;
}
.hf-pill:hover{
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(180,150,255,.20), rgba(120,210,255,.18) 55%, rgba(255,180,210,.18));
  box-shadow: var(--hf-shadow2);
}

/* Dropdown */
.hf-nav__dropdown{ position:relative; }
.hf-dd{
  position:absolute;
  z-index: 1210;
  top: calc(100% + 12px);
  left: 0;
  min-width: 720px;
  border-radius: 20px;
  background: var(--hf-dd-bg);
  border: 1px solid var(--hf-dd-line);
  box-shadow: var(--hf-shadow);
  padding: 14px;
  opacity:0;
  transform: translateY(-6px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  color: var(--hf-dd-text);
}
.hf-nav__dropdown.is-open .hf-dd{ opacity:1; transform: translateY(0); pointer-events:auto; }

.hf-dd__grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:14px; position:relative; }
.hf-dd__col{
  border-radius: 18px;
  padding: 12px;
  background: var(--hf-dd-chip);
  border: 1px solid var(--hf-dd-line);
}
.hf-dd__col--cta{
  background: radial-gradient(220px 160px at 20% 10%, rgba(180,150,255,.20), transparent 60%),
              var(--hf-dd-chip);
}

/* === Textile panel: show ONLY on hover of "Текстильный дизайн" === */
.hf-dd__col--panel{
  opacity:0;
  transform: translateY(-6px);
  pointer-events:none;
  transition: opacity .20s ease, transform .20s ease;
}
.hf-nav__dropdown.show-textile .hf-dd__col--panel{
  opacity:1;
  transform: translateY(0);
  pointer-events:auto;
}
/* Mobile: never show the right panel inside dropdown */
@media (max-width: 980px){
  .hf-dd__col--panel{ display:none !important; }
}
.hf-dd__title{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  letter-spacing:.02em;
  margin-bottom:10px;
  color: var(--hf-dd-text);
}
.hf-dd__note{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--hf-dd-muted);
  line-height:1.55;
  font-size: 13px;
  margin-bottom: 12px;
}
.hf-dd__note a{ color: var(--hf-dd-text); opacity:.92; }
.hf-dd__note a:hover{ opacity:1; text-decoration:underline; }

.hf-dd__link{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding: 12px 12px;
  border-radius: 14px;
  color: var(--hf-dd-text);
  border: 1px solid var(--hf-dd-line);
  background: rgba(255,255,255,.04);
  margin: 8px 0 10px;
  text-decoration:none;
  transition: .18s ease;
}
.hf-dd__link:hover{ background: var(--hf-dd-hover); color: var(--hf-accent); }
.hf-dd__sublink{
  display:block;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--hf-dd-muted);
  text-decoration:none;
  transition: .18s ease;
}
.hf-dd__sublink:hover{ background: var(--hf-dd-hover); color: var(--hf-accent); }
.hf-nav__dropdown.is-open > [data-hf-dd-btn]{ color: var(--hf-accent); }

.hf-burger{
  display:none;
  width:46px; height:46px;
  border-radius:16px;
  background: rgba(18,18,18,.04);
  border: 1px solid rgba(0,0,0,.10);
  cursor:pointer;
  pointer-events:auto;
  position:relative;
  z-index:1201;
  touch-action: manipulation;
}
.hf-burger span{
  display:block;
  height:2px; width:20px;
  margin:4px auto;
  background: rgba(18,18,18,.82);
  border-radius:99px;
}

/* Drawer (mobile) */
.hf-drawer{ position:fixed; inset:0; z-index:12050; pointer-events:none; }
.hf-drawer.is-open{ pointer-events:auto; }
.hf-drawer__backdrop{
  position:fixed; inset:0;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(10,14,20,.55);
  border:0;
  opacity:0;
  transition: opacity .35s cubic-bezier(.22,.9,.32,1);
  z-index:1;
  touch-action: manipulation;
}
.hf-drawer.is-open .hf-drawer__backdrop{ opacity:1; }

.hf-drawer__panel{
  position:fixed;
  top: max(12px, calc(env(safe-area-inset-top, 0px) + 12px));
  right:12px; left:12px;
  bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  width: calc(100% - 24px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.82));
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.6);
  transform: translateY(-20px) scale(.96);
  opacity:0;
  transition: transform .42s cubic-bezier(.22,1,.32,1), opacity .32s ease;
  padding: 14px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  z-index:2;
  max-height: calc(100dvh - 24px);
}
.hf-drawer.is-open .hf-drawer__panel{ transform: translateY(0) scale(1); opacity:1; }

.hf-drawer__top{
  display:flex; align-items:center; justify-content:space-between;
  padding: 6px 6px 10px;
  position: sticky; top:0;
  background: rgba(255,255,255,.96);
  z-index:3;
  border-radius: 16px;
}
.hf-drawer__title{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
}
.hf-iconbtn{
  width:44px; height:44px;
  border-radius: 16px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(18,18,18,.04);
  cursor:pointer;
}

.hf-drawer__links{ display:flex; flex-direction:column; gap:8px; padding:6px; }
.hf-drawer__link{
  display:block;
  padding:14px 16px;
  border-radius:14px;
  font-size:16px;
  font-weight:500;
  color:#1a1a1a;
  background:#f4f4f4;
  border:1px solid rgba(0,0,0,.06);
  transition: all .18s ease;
  text-decoration:none;
}
.hf-drawer__link:hover{ background:#ececec; transform:translateY(-1px); }
.hf-drawer__group{
  margin-top:6px;
  padding:12px;
  border-radius:16px;
  background:#fafafa;
  border:1px solid rgba(0,0,0,.06);
}
.hf-drawer__groupTitle{
  font-size:13px;
  font-weight:600;
  color:#888;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:6px;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.hf-drawer__subTitle{ font-size:12px; font-weight:600; color:#999; margin-top:10px; margin-bottom:4px; font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* Mobile drawer accordion (Textile design) */
.hf-drawer__subTitle--btn{
  width:100%;
  text-align:left;
  background:transparent;
  border:0;
  padding:10px 12px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
}
.hf-drawer__subTitle--btn:hover{
  background: rgba(0,0,0,.05);
}
.hf-drawer__accPanel{
  display:none;
}
.hf-drawer__acc.is-open .hf-drawer__accPanel{
  display:block;
}
.hf-drawer__acc .hf-drawer__chev{
  transition: transform .18s ease;
}
.hf-drawer__acc.is-open .hf-drawer__chev{
  transform: rotate(180deg);
}

.hf-drawer__sublink{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  font-size:15px;
  color:#333;
  transition:all .15s ease;
  text-decoration:none;
}
.hf-drawer__sublink:hover{ background:#eeeeee; color:#000; }

.hf-call{
  width:46px; height:46px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(18,18,18,.04);
  text-decoration:none;
  transition: transform .15s ease, background .18s ease, box-shadow .18s ease;
}
.hf-call:hover{
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(180,150,255,.20), rgba(120,210,255,.18) 55%, rgba(255,180,210,.18));
  box-shadow: var(--hf-shadow2);
}
.hf-call svg{ width:20px; height:20px; fill: rgba(18,18,18,.86); }

@media (max-width: 980px){
  .hf-nav{ display:none; }
  .hf-burger{ display:inline-grid; place-items:center; }
  .hf-pill{ display:none; }
  .hf-dd{ display:none; }
}
@media (max-width: 860px){
  .hf-dd{ min-width: 92vw; }
  .hf-dd__grid{ grid-template-columns: 1fr; }
}

html.hf-lock, html.hf-lock body{ overflow:hidden !important; }
.hf-body-lock{ overflow:hidden !important; touch-action:auto !important; }


/* HF TECH BRANDS (premium grid) */
.hf-premium .hf-section-head{ margin: 0 0 18px; }
.hf-premium .hf-h2{
  font-size: 34px;
  line-height: 1.15;
  margin: 6px 0 10px;
  letter-spacing: -.01em;
}
@media (max-width: 980px){
  .hf-premium .hf-h2{ font-size: 28px; }
}

.hf-premium .hf-brands-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 1100px){
  .hf-premium .hf-brands-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .hf-premium .hf-brands-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px){
  .hf-premium .hf-brands-grid{ grid-template-columns: 1fr; }
}

.hf-premium .hf-brand-card{
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px 14px 12px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  transition: transform .25s var(--hf-ease), border-color .25s var(--hf-ease), background .25s var(--hf-ease);
}
.hf-premium .hf-brand-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.18);
}
.hf-premium .hf-brand-top{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.hf-premium .hf-brand-name{
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.92);
}
.hf-premium .hf-brand-badge{
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,.78);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  white-space: nowrap;
}
.hf-premium .hf-brand-desc{
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 12px;
}
.hf-premium .hf-brand-cta{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.hf-premium .hf-link{
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding-bottom: 2px;
}
.hf-premium .hf-link:hover{ border-bottom-color: rgba(255,255,255,.52); }

/* Ensure notes in graphite are readable */
.hf-premium .hf-section--graphite .hf-note{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
}
.hf-premium .hf-section--graphite .hf-note-title{ color: rgba(255,255,255,.92); }



/* ================= HF FIX: top content not hidden + mobile header icons always visible ================= */
/* Keep the first screen tight: reserve only the real header height.
   Extra space is handled via scroll-padding (for anchor jumps / smooth scroll). */
html{ scroll-padding-top: calc(var(--hf-header-h, 68px) + 14px) !important; }
body{ padding-top: var(--hf-header-h, 68px) !important; }

/* On some templates InSales adds wrappers that start at top; add a safety offset */
.page_layout, .page_layout_clear, .page_layout_clear .content, .content, main{
  scroll-margin-top: calc(var(--hf-header-h, 68px) + 14px);
}

/* Mobile header: avoid absolute-position trap that can hide burger/phone on some pages */
@media (max-width: 980px){
  .hf-header{ position: sticky !important; top: 0 !important; }
  .hf-header__in{ justify-content: space-between !important; }
  .hf-header__actions{
    width: auto !important;
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
  }
  .hf-burger, .hf-call{
    position: static !important;
    transform: none !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .hf-pill{ display:none !important; }
  /* keep burger on the left inside actions if needed */
  .hf-burger{ order: 0 !important; }
  .hf-call{ order: 1 !important; }
}

/* HF BURGER FIX (robust icon across pages, incl. admin preview) */
.hf-burger{
  position: relative !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background-image: none !important;
}
.hf-burger span{
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  width: 20px !important;
  height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(18,18,18,.82) !important;
  border-radius: 2px !important;
  transform: translateX(-50%) !important;
}
.hf-burger span:nth-of-type(1){ top: 15px !important; }
.hf-burger span:nth-of-type(2){ top: 21px !important; }
.hf-burger span:nth-of-type(3){ top: 27px !important; }
/* /HF BURGER FIX */
