/* ==========================================================================
   IVY SECRETS — design "Г" (approved by Hristo 21.11.2026): big photo first screen, condensed
   bold caps (Sofia Sans Condensed, SIL OFL 1.1), soft blush sections. Loaded after style.css
   on every page; switched on by class "theme-g" on <html>.
   ========================================================================== */
@font-face{font-family:"Sofia Sans Condensed";font-style:normal;font-weight:400 700;font-display:swap;src:url(../fonts/sofia-sans-condensed.woff2) format("woff2")}

/* first screen */
.ghero{position:relative;overflow:hidden;height:46vw;max-height:calc(100vh - 6rem);min-height:44rem;background:linear-gradient(#777775,#80807c);color:#fff}
.ghero__ph{position:absolute;left:50%;top:0;height:100%;width:44vw;max-width:none;transform:translateX(-38%);object-fit:cover;object-position:50% 14%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent);mask-image:linear-gradient(90deg,transparent,#000 22%,#000 78%,transparent)}
.ghero__txt{position:absolute;left:5vw;top:50%;transform:translateY(-50%);z-index:2;max-width:30vw}
html.theme-g .ghero .ghero__txt h1{font-size:clamp(3.4rem,3.9vw,7rem);line-height:1.02;color:#f6d6bd;margin:0 0 1.6rem;max-width:9em}
.ghero p{font-size:clamp(1.5rem,1.15vw,2rem);line-height:1.6;margin:0 0 2.2rem;max-width:36ch}
html.theme-g .ghero .button{background:#fff;color:#2b1d16}
html.theme-g .ghero .button:hover{background:#f6d6bd}
.ghero :focus-visible{outline-color:#fff}
@media (max-width:749px){
  .ghero{height:150vw;max-height:none;min-height:0}
  .ghero__ph{left:0;width:100%;transform:none;-webkit-mask-image:none;mask-image:none;object-position:50% 10%}
  .ghero::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(40,32,26,0) 45%,rgba(40,32,26,.82) 85%)}
  .ghero__txt{left:2rem;right:2rem;top:auto;bottom:2.6rem;transform:none;max-width:none}
  html.theme-g .ghero .ghero__txt h1{font-size:11vw}
  .ghero p{font-size:1.6rem}
}

/* product tiles under the first screen */
.gtiles{display:grid;grid-template-columns:repeat(4,1fr);gap:1.6rem;padding:3.2rem max(2rem,calc((100% - 140rem)/2));background:#f7f0ec}
.gtiles a{position:relative;aspect-ratio:1;border-radius:6px;overflow:hidden;display:grid;place-items:center;text-decoration:none}
.gtiles img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s}
.gtiles a::before{content:"";position:absolute;inset:0;background:rgba(255,246,238,.55);z-index:1}
.gtiles a:hover img{transform:scale(1.06)}
.gtiles b{position:relative;z-index:2;text-align:center;font-family:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;font-weight:700;text-transform:uppercase;font-size:clamp(2.2rem,2.9vw,4.2rem);line-height:1.05;color:#9c5f4a}
@media (max-width:749px){.gtiles{grid-template-columns:repeat(2,1fr);gap:1rem;padding:1.6rem 1.2rem}}

/* ---------- shared by all four: elegant headings, pill buttons ---------- */
html.theme-g :is(h1,h2):not(:where(.ev h1,.ev h2)),html.theme-g .title{font-family:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;font-weight:500;letter-spacing:0;text-transform:none;line-height:1.08}
html.theme-g .title,html.theme-g .band h2,html.theme-g .compare__copy h2,html.theme-g .vt__content h2{font-size:clamp(3.4rem,4.4vw,5.6rem)}
html.theme-g .pcard__body h3{font-family:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;font-weight:600;font-size:2.4rem;line-height:1.15;letter-spacing:0}
html.theme-g .subtitle{font-size:1.7rem;margin-bottom:4rem}
html.theme-g .section{padding:7rem 0}
html.theme-g .facts-wrap{padding:2.6rem 0}
html.theme-g .facts b{font-weight:700;letter-spacing:.1em;font-size:1.3rem}
html.theme-g .button{border-radius:99px;letter-spacing:.05em;padding-inline:3rem}
html.theme-g .vt__list li{font-family:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;font-weight:500;font-style:italic;text-transform:none;font-size:3.6rem;letter-spacing:0}
html.theme-g .band{padding:8rem 0}
html.theme-g .band h2 em{font-style:italic}
html.theme-g .howto__n{font-family:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;font-weight:500}
html.theme-g .ticker__track{font-weight:700;letter-spacing:.18em;font-size:1.25rem}

/* ============ D — БЮТИ БРАНД: big photos, bold condensed caps, soft blush (inspired by large beauty-brand sites) ============ */
html.theme-g{--bg:#ffffff;--tint:#f7f0ec;--light:#ffffff;--r-card:6px;--r-media:6px;--r-btn:4px;--shadow:none;--accent-ink:#9c5f4a;--accent-ink-hover:#7f4a38;--line:rgba(43,29,22,.12)}
html.theme-g :is(h1,h2):not(:where(.ev h1,.ev h2)),html.theme-g .title{font-family:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.01em;color:#9c5f4a;line-height:1.05}
html.theme-g .title,html.theme-g .band h2,html.theme-g .compare__copy h2{font-size:clamp(3rem,3.4vw,4.6rem)}
html.theme-g .vt__content h2{color:#fff}
html.theme-g .header__menu{text-transform:lowercase;font-weight:400;font-size:1.6rem}
html.theme-g .announcement{background:#f3dccf;color:#2b1d16;font-weight:600}
html.theme-g .button{border-radius:4px;text-transform:lowercase;font-weight:500;letter-spacing:0;font-size:1.5rem;min-height:4.2rem;padding-inline:2.2rem}
html.theme-g .button--outline,html.theme-g .pcard__actions .button + .button{background:#fff;color:#2b1d16;box-shadow:inset 0 0 0 1px rgba(43,29,22,.3)}
html.theme-g .section--tint{background:#f7f0ec}
html.theme-g .pcard{border:0;background:transparent}
html.theme-g .pcard:hover{transform:none;box-shadow:none}
html.theme-g .pcard__media{border-radius:6px}
html.theme-g .pcard__body h3{font-family:"Montserrat",sans-serif;font-weight:600;font-size:1.6rem;text-transform:lowercase;letter-spacing:0}
html.theme-g .pcard__body{padding-inline:.4rem}
html.theme-g .card{box-shadow:none;background:#fff;border-radius:6px}
html.theme-g .card__icon{background:#f7f0ec;color:#9c5f4a}
html.theme-g .ticker{background:#f3dccf;color:#2b1d16}
html.theme-g .ticker__track{text-transform:lowercase;letter-spacing:.02em;font-weight:500;font-size:1.5rem}
html.theme-g .ticker__track span::after{background:#9c5f4a}
html.theme-g .band{background:#f7f0ec;color:#2b1d16}
html.theme-g .band h2{color:#9c5f4a}
html.theme-g .band h2 em{color:#2b1d16;font-style:normal}
html.theme-g .faq details,html.theme-g .section:not(.section--tint) .faq details{border-radius:6px;border-color:transparent;background:#f7f0ec}
html.theme-g .faq summary{color:#2b1d16;font-weight:600}
html.theme-g .rcard,html.theme-g .reviews-empty,html.theme-g .ctable{box-shadow:none;border:1px solid var(--line);border-radius:6px}
html.theme-g .ctable tbody tr:first-child th.name{border-radius:6px 0 0 0}html.theme-g .ctable tbody tr:last-child th.name{border-radius:0 0 0 6px}
html.theme-g .facts svg,html.theme-g .howto__n{color:#9c5f4a}
html.theme-g .facts b{font-family:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;font-size:1.8rem;letter-spacing:.02em;color:#9c5f4a}
html.theme-g .vt__list li{font-family:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;font-style:normal;font-weight:700;text-transform:uppercase;font-size:3.4rem}
html.theme-g .slider__item{border-radius:6px}

html.theme-g{--cond:"Sofia Sans Condensed","Arial Narrow",Arial,sans-serif;--rose:#9c5f4a;--blush:#f7f0ec;--blush2:#f3dccf}
/* no lowercase anywhere */
html.theme-g .header__menu{text-transform:uppercase;font-weight:600;font-size:1.3rem;letter-spacing:.1em}
html.theme-g .button{font-weight:600;font-size:1.45rem}
html.theme-g .section{padding:8.5rem 0}
html.theme-g .facts-wrap{padding:2.4rem 0}
html.theme-g .title{font-size:clamp(3.6rem,4.2vw,6rem);margin-bottom:1.2rem}
html.theme-g .ticker__track{text-transform:uppercase;font-family:var(--cond);font-weight:700;font-size:1.9rem;letter-spacing:.04em;color:var(--rose)}

/* products: tall photos, condensed names, one clear button */
html.theme-g .pgrid{gap:2rem}
html.theme-g .pcard__media{aspect-ratio:4/5;border-radius:6px}
html.theme-g .pcard__body{text-align:left;padding:1.6rem .2rem 0;gap:.5rem}
html.theme-g .pcard__body h3{font-family:var(--cond);font-weight:700;text-transform:uppercase;font-size:2.3rem;line-height:1.05;color:var(--rose)}
html.theme-g .pcard__price{justify-content:flex-start}
html.theme-g .price__now{color:#2b1d16;font-size:2rem}
html.theme-g .pcard__actions{gap:1rem;justify-items:start}
html.theme-g .pcard__actions .button:first-child{width:100%}
html.theme-g .pcard__actions .button + .button{background:none;box-shadow:none;padding:0;min-height:0;text-decoration:underline;text-underline-offset:.3em;font-weight:500;color:#2b1d16}

/* "what is a hydrogel mask" -> photo | text split */
html.theme-g .band{display:grid;grid-template-columns:1fr 1fr;padding:0;text-align:left;min-height:60rem;background:var(--blush)}
html.theme-g .band::before{content:"";background:url(../img/branded/iva-face1.jpg) 50% 22%/cover no-repeat;min-height:44rem}
html.theme-g .band .page-width{align-self:center;margin:0;max-width:66rem;padding:6rem 7rem}
html.theme-g .band h2{font-size:clamp(3.6rem,4.2vw,6rem);margin-bottom:2rem}
html.theme-g .band p{margin:0;font-size:1.75rem;line-height:1.75}

/* compare */
html.theme-g .compare__copy{text-align:left}
html.theme-g .compare__copy h2{font-size:clamp(3.6rem,4.2vw,6rem)}
html.theme-g .ctable tbody th.name{background:var(--blush2);color:#2b1d16;box-shadow:inset 0 -1px 0 rgba(255,255,255,.7)}
html.theme-g .ctable{border:0;background:var(--blush)}

/* four benefits: no boxes, big icons, condensed titles */
html.theme-g .cards{gap:0}
html.theme-g .card{background:none;border-radius:0;padding:1rem 3rem;align-items:flex-start;text-align:left;border-left:1px solid rgba(156,95,74,.35)}
html.theme-g .card:first-child{border-left:0;padding-left:0}
html.theme-g .card__icon{width:auto;height:auto;background:none}
html.theme-g .card__icon svg{width:5.4rem;height:5.4rem;stroke-width:1.1}
html.theme-g .card p b{font-family:var(--cond);font-weight:700;text-transform:uppercase;font-size:2.6rem;line-height:1.05;color:var(--rose);margin-bottom:.8rem}

/* the set (photo + moving list) */
html.theme-g .vt{min-height:62rem}
html.theme-g .vt__content{justify-content:flex-start;text-align:left;padding:6rem 7rem}
html.theme-g .vt__content::before{background:linear-gradient(90deg,rgba(30,20,15,.72),rgba(30,20,15,.05) 75%)}
html.theme-g .vt__content h2{font-size:clamp(4rem,5vw,7rem)}
html.theme-g .vt__content p{margin-inline:0}
html.theme-g .vt .button{background:#fff;color:#2b1d16}
html.theme-g .vt__ticker{background:var(--blush2);color:var(--rose)}
html.theme-g .vt__list li{font-size:4.4rem;line-height:1.25}

/* ritual in 4 steps: huge numerals */
html.theme-g .hsteps{gap:3rem;margin-top:5rem}
html.theme-g .hsteps li{text-align:left;justify-items:start;border-top:2px solid var(--rose);padding-top:1.4rem;gap:.6rem}
html.theme-g .howto__n{width:auto;height:auto;background:none;border-radius:0;display:block;font-family:var(--cond);font-weight:700;font-size:9rem;line-height:.95;color:var(--rose)}
html.theme-g .howto__n::before{content:"0"}
html.theme-g .hsteps b{font-family:var(--cond);font-weight:700;text-transform:uppercase;font-size:2.8rem;line-height:1.1}
html.theme-g .hsteps p{font-size:1.65rem;max-width:none}

/* Iva: light, big name */
html.theme-g .face{background:var(--blush);color:#3a2a21;padding:0}
html.theme-g .face__grid{max-width:none;padding:0;gap:0;grid-template-columns:1fr 1fr}
html.theme-g .face__img{align-self:stretch}
html.theme-g .face__img img{aspect-ratio:auto;height:100%;min-height:64rem;border-radius:0;object-position:50% 20%}
html.theme-g .face__grid>div:last-child{padding:6rem 7rem;max-width:70rem}
html.theme-g .face__eyebrow{color:var(--rose)}
html.theme-g .face h2{color:var(--rose);font-size:clamp(4.4rem,5.6vw,8rem);margin:1rem 0 2rem}
html.theme-g .face p{font-size:1.75rem;line-height:1.75}
html.theme-g .face .button{background:#2b1d16;color:#fff}

/* media logos */
html.theme-g .media{background:#fff;border-block:1px solid var(--line);padding:3.4rem 0}
html.theme-g .media__logo{font-family:var(--cond);font-weight:700;text-transform:uppercase;font-size:2.8rem;color:#2b1d16;opacity:.55}

/* photo strip (added by the prototype script) */
.gstrip{display:grid;grid-template-columns:repeat(6,1fr)}
.gstrip img{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}

/* reviews, faq, footer */
html.theme-g .rcard{background:var(--blush);border:0}
html.theme-g .faq{max-width:90rem;gap:0}
html.theme-g .faq details,html.theme-g .section:not(.section--tint) .faq details,html.theme-g .faq details[open]{background:none;border:0;border-bottom:1px solid rgba(156,95,74,.4);border-radius:0}
html.theme-g .faq summary{font-family:var(--cond);font-weight:700;text-transform:uppercase;font-size:2.3rem;padding:2.2rem .4rem;color:#2b1d16}
html.theme-g .faq .a{padding-inline:.4rem;font-size:1.65rem}
html.theme-g .footer__h{font-family:var(--cond);text-transform:uppercase;font-size:2.4rem;color:var(--blush2)}

@media (max-width:989px){
  html.theme-g .section{padding:5.6rem 0}
  html.theme-g .band,html.theme-g .face__grid{grid-template-columns:1fr}
  html.theme-g .band{min-height:0}
  html.theme-g .vt__content::before{background:rgba(30,20,15,.55)}
  html.theme-g .band::before{min-height:0;aspect-ratio:4/5}
  html.theme-g .band .page-width,html.theme-g .face__grid>div:last-child,html.theme-g .vt__content{padding:4.4rem 2rem}
  html.theme-g .face__img img{min-height:0;aspect-ratio:4/5}
  html.theme-g .cards{gap:3rem 0}
  html.theme-g .card{padding:0 1.6rem}
  html.theme-g .card:nth-child(odd){border-left:0;padding-left:0}
  html.theme-g .howto__n{font-size:6.4rem}
  html.theme-g .hsteps b{font-size:2.3rem}
  html.theme-g .vt__list li{font-size:3rem}
  html.theme-g .pcard__body h3{font-size:2rem}
  .gstrip{grid-template-columns:repeat(3,1fr)}
}

/* sentence case on buttons and the moving line (no lowercase anywhere) */
html.theme-g .button{text-transform:none}
html.theme-g .header__menu{text-transform:uppercase}
