:root,body:has(.taif-mast) {
  --taif-paper:#f9f6f0; --taif-surface:#e8dfd5; --taif-ink:#1c1c1c;
  --taif-rule:#d8cec2; --taif-clay:#794739;
}
body .taif-hero.taif-hero--cinema:has(.taif-hero-film) {
  position:relative; isolation:isolate; overflow:hidden; margin:0; padding:0;
  height:calc(100vh - 65px); height:calc(100svh - 65px); min-height:24rem;
  background:#645344; display:grid; grid-template:1fr / 1fr;
}
body .taif-hero.taif-hero--cinema .taif-hero-film {
  position:absolute; inset:0; width:100%; height:100%; max-height:none; aspect-ratio:auto;
  margin:0; background:#5c4f43;
}
.taif-hero-film::before {
  content:""; position:absolute; inset:-22px; background:linear-gradient(0deg,#31251fd4,transparent 56%),url('/wp-content/uploads/2026/11/taif-gifting-candles-resin-home-decor.webp') center / cover;
  filter:blur(14px); pointer-events:none;
}
body .taif-hero.taif-hero--cinema .taif-hero-film video {
  position:absolute; inset:0; height:100%; width:100%; max-height:none; aspect-ratio:auto; object-fit:contain!important; object-position:center 36%;
}
body .taif-hero.taif-hero--cinema:has(.taif-hero-film) .taif-hero__copy {
  position:absolute; z-index:2; inset-inline:0; bottom:0; display:grid; grid-template-columns:1fr auto; align-items:end;
  padding:clamp(5.5rem,12vh,10rem) var(--taif-gutter) clamp(1.4rem,4.5vh,3rem); gap:.4rem 1.5rem;
  background:linear-gradient(0deg,#271e19ef 0%,#2e211ac7 39%,transparent 100%); color:#fff9ee;
}
body .taif-hero.taif-hero--cinema:has(.taif-hero-film) .taif-hero__copy h1 {
  font-size:clamp(2.5rem,5vw,6rem); max-width:24ch; text-align:start; line-height:1.25; text-shadow:0 1px 14px #221b1880;
}
body .taif-hero.taif-hero--cinema .taif-hero__copy > p:first-child {color:#fff8ed; font-weight:500}
body .taif-hero.taif-hero--cinema .wp-block-button__link {color:#26221f; background:#f9f6f0; border-color:#f9f6f0}
body .taif-hero.taif-hero--cinema .wp-block-button__link:hover {background:#e8dfd5;color:#1c1c1c}
.taif-hero-film .taif-film-toggle {top:1rem; bottom:auto; inset-inline-start:auto; inset-inline-end:var(--taif-gutter); border-color:#f9f6f099}
#collection-edit{scroll-margin-block-start:4.7rem}
body .tf-unboxing {display:grid; grid-template-columns:1.15fr .85fr; align-items:stretch; background:var(--taif-surface); margin:0; max-width:none; width:100%}
.tf-unboxing figure {position:relative; display:flex; min-width:0; margin:0}
.tf-unboxing img {display:block; width:100%; height:100%; object-fit:cover; aspect-ratio:3/2}
.tf-unboxing figcaption {position:absolute; inset-inline-start:.75rem; bottom:.6rem; padding:.2rem .6rem; background:#f9f6f0e6; color:#443c36; font:500 .73rem/1.55 var(--taif-body)}
.tf-unboxing > div {align-self:center; box-sizing:border-box; padding:clamp(1.75rem,5vw,5.5rem)}
.tf-unboxing h2 {font:500 clamp(2.1rem,4.3vw,4.8rem)/1.25 var(--taif-display); margin:.4rem 0 1rem; color:var(--taif-ink)}
.tf-unboxing p {max-width:38ch; font:400 clamp(1rem,1.22vw,1.2rem)/1.8 var(--taif-body); margin:0}
.tf-unboxing .tf-gift-kicker {color:var(--taif-clay);font-size:.88rem}
.tf-unboxing a,.tf-scent a {display:inline-block; color:var(--taif-ink); font-weight:600; text-underline-offset:.3em; margin-top:1rem}
.taif-gift-form {grid-column:1/-1; flex-basis:100%; width:100%; box-sizing:border-box; min-width:0; text-align:start; margin:1rem 0; padding:.9rem 1rem; border:1px solid var(--taif-rule); background:var(--taif-paper)}
.taif-gift-form legend {padding-inline:.4rem; font-weight:600}
.taif-gift-choice {display:flex; align-items:center; gap:.55rem; min-height:40px; font-weight:600; cursor:pointer}
.taif-gift-choice input {width:18px; height:18px; accent-color:var(--taif-clay)}
.taif-gift-fields {display:grid; gap:.4rem; padding-block:.55rem .2rem}
.taif-gift-fields textarea {box-sizing:border-box; width:100%; min-height:4.5rem; font:inherit; border:1px solid #988b7f; padding:.5rem; background:#fffdf9;color:#1c1c1c}
.taif-gift-form:not(:has(.taif-gift-choice input:checked)) .taif-gift-fields {display:none}
.tf-scent {margin-block:1.2rem; padding-block:1.2rem; border-block:1px solid var(--taif-rule)}
.tf-scent h2 {margin:0; font:500 clamp(1.4rem,2.4vw,2.2rem)/1.45 var(--taif-display)}
.tf-scent dl {margin:.4rem 0}
.tf-scent dl div {display:flex; gap:1em; align-items:baseline; justify-content:space-between; padding:.45rem 0}
.tf-scent dd {margin:0}
.tf-scent a {font-size:.94rem; margin-top:.45rem}
.tw-preview {display:none!important}
.tf-badge-host,.ts-photo {position:relative}
.tf-scent-badge {position:absolute; z-index:6; inset-inline-start:.55rem; top:.55rem; padding:.22rem .58rem; border:1px solid #e0d5c6; border-radius:2px; background:#faf6edef; color:#443831; pointer-events:none; font:600 .78rem/1.55 var(--taif-body); letter-spacing:normal}
.tf-scene {position:absolute; z-index:4; inset:0; display:block; opacity:0; pointer-events:none; transition:opacity .32s ease}
body .tf-scene > img {display:block; width:100%; height:100%; object-fit:contain!important; margin:0}
@media(hover:hover) { :is(.ts-photo,.wc-block-components-product-image,.wc-block-grid__product-image,.woocommerce-loop-product__link):hover .tf-scene-ready {opacity:1} }
:is(.ts-photo,.wc-block-components-product-image,.wc-block-grid__product-image,.woocommerce-loop-product__link):focus-within .tf-scene-ready {opacity:1}
@media(max-width:700px){
  body .taif-hero.taif-hero--cinema:has(.taif-hero-film){height:calc(100svh - 119px);min-height:22rem}
  body .taif-hero.taif-hero--cinema:has(.taif-hero-film) .taif-hero__copy{display:grid; grid-template-columns:1fr;gap:.5rem;padding:4rem 1.1rem 1.65rem}
  body .taif-hero.taif-hero--cinema:has(.taif-hero-film) .taif-hero__copy h1{font-size:clamp(2.1rem,8vw,3.55rem);max-width:19ch}
  body .tf-unboxing {grid-template-columns:1fr}
  .tf-unboxing > div {padding:1.55rem 1.15rem 1.9rem}
  .tf-unboxing figure img{height:auto}
}
@media(prefers-reduced-motion:reduce){.tf-scene{transition:none}}
.tf-credit-row {display:flex; justify-content:center; padding:1.15rem var(--taif-gutter) 1.5rem; background:#24221f; border-block-start:1px solid #ffffff26}
.maison-foot .tf-ezz-credit {display:inline-flex; align-items:center;gap:12px;min-height:64px;box-sizing:border-box;padding:8px 14px;border:1px solid #d5a45a60;border-radius:12px;background:linear-gradient(120deg,#ffffff08,#ffffff02);color:#f3d59d;text-decoration:none;text-align:start}
.tf-ezz-copy {display:grid;gap:3px}
.tf-ezz-copy small {color:#e9dfce;font:500 .8rem/1.3 var(--taif-body)}
.tf-ezz-copy strong {font:700 15px/1.3 Arial,sans-serif;letter-spacing:1.25px}
.tf-ezz-crest img {display:block;width:40px;height:46px}
.tf-ezz-credit:focus-visible {outline:2px solid #f3d59d;outline-offset:3px}
@media(prefers-reduced-motion:no-preference) {
  .tf-ezz-crest {transition:transform .4s ease}
  .tf-ezz-credit:hover .tf-ezz-crest,.tf-ezz-credit:focus-visible .tf-ezz-crest {transform:perspective(650px) rotateY(-20deg) rotateZ(-6deg) translateY(-2px) scale(1.08)}
}

/* Ezz Technology footer signature */
@media (prefers-reduced-motion:no-preference) {
.tf-ezz-crest{position:relative;isolation:isolate;display:grid;place-items:center;width:48px;height:52px;flex:0 0 48px;overflow:hidden;border-radius:8px;transform-origin:center;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.tf-ezz-crest::before{content:"";position:absolute;inset:2px;border:1px solid #e8be744d;border-radius:50%;opacity:0;transform:scale(.5);pointer-events:none}
.tf-ezz-crest::after{content:"";position:absolute;inset:-40% -70%;pointer-events:none;background:linear-gradient(110deg,transparent 38%,#ffe9b4e6 50%,transparent 62%);opacity:0;transform:translateX(-120%)}
.tf-ezz-reveal .tf-ezz-crest{animation:tf-logo-entrance 1.65s cubic-bezier(.16,.8,.22,1) backwards}
.tf-ezz-reveal .tf-ezz-crest::before{animation:tf-lion-ring 1.6s .15s 1}
.tf-ezz-reveal .tf-ezz-crest::after{animation:tf-logo-light 1.2s .85s 2}
.tf-ezz-reveal .tf-ezz-copy{animation:tf-wordmark-entrance .8s .25s backwards}
@keyframes tf-logo-entrance{0%{transform:perspective(650px) rotateY(-210deg) rotateZ(-18deg) translateY(-9px) scale(.62);opacity:.25}52%{transform:perspective(650px) rotateY(24deg) rotateZ(7deg) translateY(-3px) scale(1.13);opacity:1}76%{transform:perspective(650px) rotateY(-12deg) rotateZ(-3deg) scale(.97)}100%{transform:none;opacity:1}}
@keyframes tf-logo-hover-light{0%{transform:translateX(-120%);opacity:0}15%{opacity:1}100%{transform:translateX(120%);opacity:0}}
@keyframes tf-logo-light{0%{transform:translateX(-120%);opacity:0}12%{opacity:1}82%,100%{transform:translateX(120%);opacity:0}}
@keyframes tf-lion-ring{0%{opacity:0;transform:scale(.5)}35%{opacity:.8}100%{opacity:0;transform:scale(1.3)}}
@keyframes tf-wordmark-entrance{0%{transform:translateY(10px);opacity:.3}100%{transform:none;opacity:1}}
@media (hover:hover) { .tf-ezz-credit.tf-ezz-reveal:hover .tf-ezz-crest::after{animation:tf-logo-hover-light .9s 1} }
}
/* Pin the chat button to the physical right in both reading directions. */
body .ts-side-contact {
  inset-inline:auto; left:auto; right:max(14px, env(safe-area-inset-right));
  width:50px; height:50px; min-width:50px; min-height:50px; padding:0;
  background:#25d366; color:#fff!important; border:1px solid #ffffffd1;
  border-radius:50%; box-shadow:0 3px 12px #10351d38;
}
body .ts-side-contact svg {width:32px;height:32px}
body .ts-side-contact > span {display:none}
body .ts-side-contact:hover,body .ts-side-contact:focus-visible {background:#128c7e}
body .ts-side-contact:focus-visible {outline:3px solid #113d33;outline-offset:3px}
body .taif-mast .tf-mobile-language {display:none}
@media (max-width:950px) {
  body .taif-mast .th-start {justify-self:start;gap:4px}
  body .taif-mast .th-start > .th-lang {display:inline-flex;align-items:center;justify-content:center;min-width:44px}
  body .taif-mast .th-menu-label {display:none}
}
