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

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(18,18,18,.05), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(18,18,18,.04), transparent 55%),
              var(--bg);
  color:var(--ink);
  font-family: "Times New Roman", Times, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(251,250,248,.72);
  border-bottom:1px solid var(--line);
}
.topbar .inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.brand-mark{
  width:10px; height:10px; border-radius:999px;
  background: var(--ink);
  box-shadow: 0 0 0 6px rgba(18,18,18,.06);
}
.brand-name{
  font-family: Arial, sans-serif;
  letter-spacing:.14em; text-transform:uppercase;
  font-size:12px; color:var(--muted);
}
.nav{
  display:flex; gap:18px; align-items:center;
  font-family: Arial, sans-serif; font-size:13px; color:var(--muted);
}
.nav a{ text-decoration:none; padding:10px 12px; border-radius:999px; transition: all .25s var(--ease);}
.nav a:hover{ background: rgba(18,18,18,.06); color:var(--ink);}

.hero{
  padding:64px 0 30px;
}
.kicker{
  font-family: Arial, sans-serif;
  letter-spacing:.14em; text-transform:uppercase;
  font-size:12px; color:var(--muted);
  margin:0 0 12px;
}
.h1{
  font-size:54px; line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.01em;
}
.sub{
  font-size:18px; line-height:1.7;
  color:#2a2a2a;
  margin:0 0 20px;
  max-width: 860px;
}
.chips{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.chip{
  font-family: Arial, sans-serif; font-size:12px; color:#3a3a3a;
  padding:10px 12px; border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.6);
}

.grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:18px;
}
@media (max-width: 980px){
  .grid{grid-template-columns: 1fr; }
  .h1{font-size:42px}
}

.card{
  background: rgba(255,255,255,.85);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  overflow:hidden;
}

.project{
  margin: 34px 0 56px;
}
.project-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:16px;
  margin-bottom: 16px;
}
.project-title{
  font-size:30px; line-height:1.12; margin:0;
}
.project-meta{
  font-family: Arial, sans-serif;
  color: var(--muted);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space: nowrap;
}

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

.figure{
  position:relative;
  border-radius: var(--radius2);
  overflow:hidden;
  background:#f0eeea;
  border:1px solid rgba(18,18,18,.08);
  transform: translateZ(0);
}
.figure img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transition: transform .7s var(--ease), filter .7s var(--ease);
  will-change: transform;
}
.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;
}
.figure:hover img{
  transform: scale(1.035);
  filter: contrast(1.02) saturate(1.02);
}
.figure .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);
}

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

.footer{
  padding: 60px 0 80px;
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.footer .note{
  font-size:14px; line-height:1.8; color:#3a3a3a;
  max-width: 880px;
}

.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(--line);
  background: rgba(255,255,255,.7);
  text-decoration:none;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.95); }
.btn.primary{
  background: var(--ink);
  color:#fff;
  border-color: rgba(18,18,18,.30);
}
.btn.primary:hover{ transform: translateY(-1px); }

.actions{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 16px;
}

/* Lightbox */
.lightbox{
  position:fixed; inset:0;
  background: rgba(18,18,18,.86);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 24px;
  z-index: 2147483647;
}
.lightbox.open{display:flex;}
.lightbox img{
  max-width:1180px;
  width:92%;
  max-height: 86vh;
  border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0,0,0,.45);
}
.lightbox .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;
}


/* INSALES PATCH: keep portfolio thumbnails compact (prevents huge images on load) */
.media-grid .figure{ aspect-ratio: 16 / 10; }
.media-grid .main .figure{ aspect-ratio: 16 / 12; }
@media (max-width: 900px){
  .media-grid .figure{ aspect-ratio: 16 / 11; }
  .media-grid .main .figure{ aspect-ratio: 16 / 11; }
}


/* INSALES PATCH: lightbox navigation */
.lightbox .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;
}
.lightbox .nav:hover{ opacity: 1; transform: translateY(-50%) scale(1.03); }
.lightbox .nav.prev{ left: 18px; }
.lightbox .nav.next{ right: 18px; }
@media (max-width: 700px){
  .lightbox .nav{ width: 40px; height: 40px; font-size: 26px; line-height: 40px; }
  .lightbox .nav.prev{ left: 10px; }
  .lightbox .nav.next{ right: 10px; }
}

/* Product page readability fix:
   ensure dark CTA buttons keep high-contrast white label text. */
.template-product .button--primary,
.template-product .button-primary,
.template-product .button--filled,
.template-product .btn--primary,
.template-product .btn-primary,
.template-product .btn--dark,
.template-product .hf-pdp__btn--dark,
.template-product .hf-pdp__cart button,
.product .button--primary,
.product .button-primary,
.product .button--filled,
.product .btn--primary,
.product .btn-primary,
.product .btn--dark,
.product .hf-pdp__btn--dark,
.product .hf-pdp__cart button {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
  opacity: 1 !important;
}

.template-product .button--secondary,
.template-product .button-secondary,
.template-product .btn--secondary,
.template-product .btn-secondary,
.template-product .button--ghost,
.template-product .btn--ghost,
.product .button--secondary,
.product .button-secondary,
.product .btn--secondary,
.product .btn-secondary,
.product .button--ghost,
.product .btn--ghost {
  color: #1f1f1f !important;
  -webkit-text-fill-color: #1f1f1f !important;
}


/* STUDIO-LEVEL PATCH v6 */
:root{
  --hf-ease: cubic-bezier(.2,.8,.2,1);
}

/* Subtle depth + hover micro-interactions */
.card{
  position: relative;
  overflow: hidden;
}
.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);
}
.card:hover:before{ opacity: .85; }

.figure{
  transform: translateZ(0);
  transition: transform .45s var(--hf-ease), box-shadow .45s var(--hf-ease);
}
.figure img{
  transform: scale(1.001);
  transition: transform .7s var(--hf-ease), filter .7s var(--hf-ease);
  will-change: transform;
}
.figure:hover{
  transform: translateY(-2px);
}
.figure:hover img{
  transform: scale(1.03);
  filter: saturate(1.03) contrast(1.02);
}

/* Premium tag look */
.tag{
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* Scroll reveal (added by JS) */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--hf-ease), transform .7s var(--hf-ease);
  will-change: opacity, transform;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .figure, .figure img, .card:before{ transition:none; }
}

/* Lightbox: richer backdrop + smoother image swaps */
.lightbox{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.lightbox img{
  transition: opacity .22s var(--hf-ease), transform .22s var(--hf-ease);
  will-change: opacity, transform;
}
.lightbox.swap img{
  opacity: 0;
  transform: scale(.992);
}

/* Touch hints (mobile) */
@media (max-width: 700px){
  .lightbox .nav{
    opacity: .78;
  }
  .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); }
  }
}


/* THUMBNAIL SIZE PATCH v7 */
/* Reduce preview sizes to avoid blur and keep sharpness */

.media-grid{
  gap: 18px;
}

.media-grid .main .figure{
  aspect-ratio: 16 / 9;      /* was taller */
  max-height: 520px;         /* limit visual dominance */
}

.media-grid .figure{
  aspect-ratio: 4 / 3;
  max-height: 320px;
}

.media-grid .figure img{
  object-fit: cover;
  image-rendering: auto;
}

@media (max-width: 1100px){
  .media-grid .main .figure{
    max-height: 420px;
  }
  .media-grid .figure{
    max-height: 260px;
  }
}

@media (max-width: 700px){
  .media-grid .main .figure{
    max-height: 320px;
  }
  .media-grid .figure{
    max-height: 220px;
  }
}


/* LIGHTBOX IMAGE FIX v9 */
/* Prevent vertical squish: keep natural aspect ratio in fullscreen */
.lightbox img{
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
}

/* Sticky Header */
.hf-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    transition: background-color 0.3s ease;
}

.hf-header.is-scrolled {
    background-color: rgba(0, 0, 0, 0.9);
}

.contact-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.contact-icons a {
    margin: 5px;
    display: inline-block;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-icons a:hover {
    background-color: #c8a96a;
}


/* ===== HomeFlowe Premium Header behavior (transparent on top, dark on scroll) ===== */
.hf-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  background: transparent;
  transition: background-color .25s ease, backdrop-filter .25s ease, box-shadow .25s ease;
}
body[data-theme-template="index"] .hf-header{
  color:#fff;
}
body[data-theme-template="index"] .hf-header .hf-nav__link,
body[data-theme-template="index"] .hf-header .hf-brand__name,
body[data-theme-template="index"] .hf-header .hf-brand__tag{
  color:#fff;
}
body[data-theme-template="index"] .hf-header .hf-brand__mark{
  background: rgba(255,255,255,.14);
  color:#fff;
  border-color: rgba(255,255,255,.22);
}

.hf-header.is-scrolled{
  background: rgba(10,10,10,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
}
.hf-header.is-scrolled,
.hf-header.is-scrolled .hf-nav__link,
.hf-header.is-scrolled .hf-brand__name,
.hf-header.is-scrolled .hf-brand__tag{
  color:#fff !important;
}

/* Non-index pages: light header at top for readability */
body:not([data-theme-template="index"]) .hf-header{
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}
body:not([data-theme-template="index"]) .hf-header .hf-nav__link,
body:not([data-theme-template="index"]) .hf-header .hf-brand__name,
body:not([data-theme-template="index"]) .hf-header .hf-brand__tag{
  color:#111 !important;
}
body:not([data-theme-template="index"]) .hf-header.is-scrolled{
  background: rgba(10,10,10,.86);
}
body:not([data-theme-template="index"]) .hf-header.is-scrolled .hf-nav__link,
body:not([data-theme-template="index"]) .hf-header.is-scrolled .hf-brand__name,
body:not([data-theme-template="index"]) .hf-header.is-scrolled .hf-brand__tag{
  color:#fff !important;
}

/* Bigger header action icons + CTA */
.hf-header__actions{ display:flex; align-items:center; gap:12px; }
.hf-call{ width:44px; height:44px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; }
.hf-call{ background:#fff; border:1px solid rgba(0,0,0,.16); box-shadow: 0 6px 14px rgba(0,0,0,.10); transition: transform .18s ease, box-shadow .18s ease; }
.hf-call:hover{ transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.hf-call svg{ width:22px; height:22px; }
.hf-call__icon{ width:22px; height:22px; display:block; }

.hf-soc{
  width:44px; height:44px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:12px; letter-spacing:.4px;
  text-decoration:none;
  border:1px solid rgba(200,169,106,.35);
  background: rgba(255,255,255,.10);
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.hf-header.is-scrolled .hf-soc{ background: rgba(255,255,255,.08); }
body:not([data-theme-template="index"]) .hf-soc{ background: rgba(0,0,0,.10); color:#111; border:1px solid rgba(0,0,0,.16); }
body:not([data-theme-template="index"]) .hf-call{ background:#fff; border:1px solid rgba(0,0,0,.16); }
body:not([data-theme-template="index"]) .hf-header.is-scrolled .hf-soc{ color:#fff; background: rgba(255,255,255,.08); }
.hf-soc:hover{ transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.18); }

.hf-pill{
  font-weight:800 !important;
  color:#ffffff !important;
}
body:not([data-theme-template="index"]) .hf-pill{
  color:#111 !important;
}

/* ===== Floating contact bar (big icons, all pages) ===== */
.hf-floatbar{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10001;
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.hf-floatbar__btn{
  width:56px;
  height:56px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:13px;
  letter-spacing:.4px;
  text-decoration:none;
  color:#111;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(200,169,106,.35);
  box-shadow: 0 14px 32px rgba(0,0,0,.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hf-floatbar__btn:hover{ transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0,0,0,.26); }
.hf-floatbar__btn--phone{ font-size:18px; }
@media (max-width: 480px){
  .hf-floatbar{ right: 12px; bottom: 12px; }
  .hf-floatbar__btn{ width:52px; height:52px; }
}


/* === HomeFlowe: force PNG logo in header (no SVG, no initials) === */
.hf-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.hf-logo-img{
  height: 34px;
  width: auto;
  display: block;
}
@media (max-width: 520px){
  .hf-logo-img{ height: 28px; }
}

/* === HomeFlowe: header compact + logo offset (mobile & landscape) === */
/* Смещаем знак HF чуть выше и левее, чтобы не перекрывал контент */
.hf-brand__mark{ margin-left:-6px !important; margin-top:-6px !important; }

/* Делаем шапку и меню компактнее на мобильных */
@media (max-width: 980px){
  :root{ --hf-header-h: 62px; }
  .hf-header__inner{ height: var(--hf-header-h) !important; }
  .hf-brand__mark{ width:56px !important; height:56px !important; }
  .hf-nav__link{ padding: 8px 10px !important; font-size: 14px !important; }
  .hf-cta{ padding: 8px 12px !important; font-size: 13px !important; }
}

/* Ещё компактнее в горизонтальной ориентации телефона */
@media (max-width: 980px) and (orientation: landscape){
  :root{ --hf-header-h: 44px; }
  .hf-header__inner{ height: var(--hf-header-h) !important; }
  .hf-brand__mark{ width:38px !important; height:38px !important; margin-left:0 !important; margin-top:0 !important; }
  .hf-nav__link{ padding: 4px 7px !important; font-size: 12px !important; }
  .hf-actions{ gap:6px !important; }
  .hf-cta{ padding: 5px 9px !important; font-size: 12px !important; }
}

/* Extra-compact header for small-height landscape phones */
@media (orientation: landscape) and (max-height: 460px){
  :root{ --hf-header-h: 44px; }
  .hf-header{ height: var(--hf-header-h) !important; }
  .hf-header__inner{ height: var(--hf-header-h) !important; padding: 4px 8px !important; }
  .hf-brand__sub{ display:none !important; }
  .hf-nav__link{ padding: 3px 6px !important; font-size: 12px !important; }
  .hf-actions{ gap:6px !important; }
  .hf-actions__btn{ width:32px !important; height:32px !important; }
  .hf-cta{ padding: 5px 9px !important; font-size: 12px !important; }
}


/* =========================================================
   HF FIX: solid header everywhere + phone icon consistent
   + appliances block structure (photo -> text -> cards -> text)
   ========================================================= */

/* Hard-disable any blur/backdrop in theme */
*, *::before, *::after{
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Solid white header on all pages and states */
.hf-header,
.hf-header.is-scrolled,
body .hf-header,
html body .hf-header{
  background: #ffffff !important;
  color: #121212 !important;
  border-bottom: 1px solid rgba(18,18,18,.08) !important;
  box-shadow: 0 10px 24px rgba(18,18,18,.10) !important;
}

/* Ensure header links stay readable on white */
.hf-header a,
.hf-header nav a,
.hf-header .menu a,
.hf-header .hf-brand__tag{
  color:#121212 !important;
}

/* Phone button: same on главной и внутренних */
.hf-call{
  background:#1677ff !important;
  border: 1px solid rgba(18,18,18,.10) !important;
  box-shadow: 0 10px 20px rgba(18,18,18,.12) !important;
}
.hf-call svg,
.hf-call svg *{
  fill:#ffffff !important;
  stroke:#ffffff !important;
}

/* WA / VK / Max readable on white */
.hf-soc{
  background:#ffffff !important;
  color:#121212 !important;
  border:1px solid rgba(18,18,18,.14) !important;
}
.hf-soc:hover{ transform: translateY(-2px); }

/* CTA "Рассчитать стоимость": black text always, clear border */
.hf-cta{
  color:#121212 !important;
  border:1px solid rgba(18,18,18,.22) !important;
  background:#ffffff !important;
}
body[data-theme-template="index"] .hf-cta{
  background: linear-gradient(135deg, #c8a96a, #e8c987) !important;
  border-color: rgba(0,0,0,.10) !important;
}

/* ===== Appliances block: no text-on-photo, no card darkening ===== */
.hf-appl__photo{
  border-radius: 22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}
.hf-appl__photoImg{
  display:block;
  width:100%;
  height:auto;
}

/* Put the copy as a separate block under the photo */
.hf-appl__text{
  margin-top: 18px;
  max-width: 760px;
}

/* Remove any overlays/dimming on brand cards */
.hf-applCard{
  background: transparent !important;
}
.hf-applCard__overlay{ display:none !important; }
.hf-applCard__bg{
  filter:none !important;
}

/* If old card text exists anywhere, hide it */
.hf-applCard__content{ display:none !important; }

/* Brand captions under each appliance card */
.hf-applItem{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.hf-applCard__caption{
  padding: 0 2px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.86);
}
.hf-applCard__capTitle{
  font-weight: 600;
  letter-spacing: .02em;
}
.hf-applCard__capText{
  margin-top: 2px;
  color: rgba(255,255,255,.80);
}

/* Old common text block under the grid: keep in markup, but hide visually */
.hf-appl__brandText{ display:none !important; }

/* Brand description block under cards */
.hf-appl__brandText{
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.86);
}
.hf-appl__brandTextTitle{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
  margin-bottom: 8px;
}
.hf-appl__brandLine strong{ color:#ffffff; font-weight:800; }

/* Mobile spacing */
@media (max-width: 640px){
  .hf-appl__text{ margin-top: 14px; }
  .hf-appl__brandText{ font-size: 13px; }
}

/* ===== HF FIX: phone icon as BLUE TUBE only (no circle) ===== */
.hf-call{
  width:auto !important;
  height:auto !important;
  padding:0 !important;
  border:0 !important;
  background: transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  line-height:0 !important;
}
.hf-call::before, .hf-call::after{ content:none !important; display:none !important; }
.hf-call:hover{
  background: transparent !important;
  box-shadow:none !important;
  transform: translateY(-1px) scale(1.06) !important;
}
.hf-call svg{ width:24px !important; height:24px !important; display:block !important; }
.hf-call svg path{ fill:#1976ff !important; }
.hf-call__icon{ width:24px !important; height:24px !important; display:block !important; object-fit:contain !important; }

/* removed floating phone widgets */
.hf-floatbar,.fp-wrap{display:none !important;}

/* ===== CTA contrast hardening (product + dark buttons) ===== */
body[data-theme-template="product"] .button,
body[data-theme-template="product"] a.button,
body[data-theme-template="product"] button.button,
body[data-theme-template="product"] .hf-pdp__btn--dark,
body[data-theme-template="product"] .hf-pdp__cart button{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  opacity:1 !important;
}
body[data-theme-template="product"] .hf-pdp__btn--ghost,
body[data-theme-template="product"] .button--ghost{
  color:#121212 !important;
  -webkit-text-fill-color:#121212 !important;
  opacity:1 !important;
}

/* Portfolio lightbox: hide header while fullscreen is open */
body.hf-portfolio-lightbox-open .hf-header,
body.hf-portfolio-lightbox-open .topbar{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
