/* TAIF's marble-letter signature and scented candle seal */
body:has(.taif-mast) {--taif-paper:#fbf6ef;--taif-surface:#eadacf;--taif-clay:#774b40;--ti-olive:#394538;--ti-cream:#fff5de;--ti-gold:#d8af70}
body .taif-mast {background:#f8eee3;color:#382d26;border-bottom:1px solid #d9c4aa}
body .taif-mast a.th-wordmark {padding:0;display:inline-flex;gap:.47rem;min-height:48px;direction:ltr;color:#493c30;font:400 clamp(21px,2.2vw,33px)/1 Georgia,serif;letter-spacing:.13em}
.th-wordmark .ti-mini {position:relative;display:inline-block;width:70px;height:44px;overflow:hidden;margin:0;isolation:isolate;mix-blend-mode:multiply}
.th-wordmark .ti-mini img {position:absolute;width:100%;height:auto;max-width:none;left:0;top:-6%;mask-image:radial-gradient(ellipse 65% 51% at 50% 34%,black 58%,transparent 92%)}
.th-wordmark .ti-mini:after,.ti-art:after {content:"";position:absolute;pointer-events:none;background:radial-gradient(ellipse at 52% 74%,#fffbd7 8%,#ffdb71 40%,#ef9a29 66%,transparent 76%);border-radius:75% 14% 60% 47%;transform-origin:50% 95%;box-shadow:0 0 5px #efa52b;animation:ti-flame 1.85s ease-in-out infinite}
.th-wordmark .ti-mini:after {left:48.1%;top:28.5%;width:2.5%;height:8%}
@keyframes ti-flame {0%,100%{transform:rotate(-6deg) scale(.91,1);opacity:.8}32%{transform:rotate(7deg) scale(1.06,1.15);opacity:1}56%{transform:rotate(-3deg) scale(.94,.92);opacity:.88}76%{transform:rotate(4deg) scale(1,1.07);opacity:1}}
body .taif-hero.taif-hero--cinema:has(.ti-panel) {display:grid;grid-template:1fr / minmax(0,.85fr) minmax(0,1.22fr);height:auto;min-height:0;background:#ead5c0}
body .taif-hero.taif-hero--cinema .ti-panel {position:relative;grid-area:1/1;margin:0;min-width:0;min-height:clamp(440px,41vw,665px);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(10px,1.2vw,18px);text-align:center;padding:clamp(22px,3.5vw,68px);color:#3d3029;background:radial-gradient(ellipse at 50% 36%,#f2dcc5 0%,#ebd1b8 56%,#dfbfa5 100%)}
.ti-panel:before {content:"";position:absolute;inset:12px;pointer-events:none;border:1px solid #946e494a}
.ti-art {display:block;position:relative;isolation:isolate;width:clamp(185px,18vw,285px);aspect-ratio:1;flex:none;max-width:100%;margin:0}
.ti-art img {width:100%;height:100%;display:block;mix-blend-mode:multiply;mask-image:linear-gradient(to right,transparent,black 7%,black 94%,transparent),linear-gradient(to bottom,transparent,black 7%,black 91%,transparent);mask-composite:intersect}
.ti-art:after {left:48.25%;top:22.3%;width:1.9%;height:4.2%;box-shadow:0 0 9px 3px #ffd78399}
.ti-art:before {content:"";position:absolute;z-index:1;left:42%;top:14%;width:14%;height:14%;border-radius:50%;pointer-events:none;background:radial-gradient(ellipse,#fff9cc8a,transparent 70%);mix-blend-mode:screen;animation:ti-lustre 3s ease-in-out infinite alternate}
@keyframes ti-lustre {from{opacity:.35;transform:scale(.8)}to{opacity:.95;transform:scale(1.18)}}
body .taif-hero.taif-hero--cinema .ti-panel h1 {font:500 clamp(2.05rem,3.4vw,4rem)/1.28 var(--taif-display,Georgia,serif);margin:0;max-width:17ch;text-align:center;color:#3d3029;letter-spacing:normal;text-shadow:none}
body .taif-hero.taif-hero--cinema .ti-panel p {margin:0;color:#594439;font:500 clamp(.95rem,1.08vw,1.15rem)/1.68 var(--taif-body,Arial,sans-serif);max-width:34ch}
.ti-shop,.ti-map {display:inline-flex;align-items:center;justify-content:center;gap:.65em;text-decoration:none;font-weight:650}
body .ti-shop {color:#fff9ed;background:#394538;border:1px solid #394538;padding:.55em 1.35em;min-height:44px;box-sizing:border-box;border-radius:2px}
body .ti-shop:hover,body .ti-shop:focus-visible{color:white;background:#27382c}
.ti-shop:after,.ti-map:after{content:"↗";font:1em Georgia,serif}
[dir=rtl] .ti-shop:after,[dir=rtl] .ti-map:after{content:"↖"}
body .taif-hero.taif-hero--cinema:has(.ti-panel) .taif-hero-film {grid-area:1/2;position:relative;inset:auto;min-width:0;min-height:100%;width:100%;height:100%;margin:0}
body .taif-hero.taif-hero--cinema:has(.ti-panel) .taif-hero-film video {object-fit:cover!important;object-position:center}
body .taif-hero.taif-hero--cinema:has(.ti-panel) .taif-hero-film:before {background:#8d7763;filter:none;inset:0}
body .tf-scent-badge,.ti-seal {box-sizing:border-box;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:.48em;width:max-content;max-width:calc(100% - 14px);border-radius:3px 15px 3px 15px;border:1px solid #c9a46c;background:linear-gradient(116deg,#303d32,#49513c 65%,#344137);color:#fff6df;box-shadow:0 2px 6px #23180e38;font:650 clamp(.71rem,.86vw,.85rem)/1.5 var(--taif-body,Arial,sans-serif);letter-spacing:normal;padding:.32em .8em;white-space:nowrap}
body .tf-scent-badge {top:auto;bottom:.58rem;inset-inline-start:.55rem;inset-inline-end:auto;pointer-events:none}
body .tf-scent-badge:before,.ti-seal:before {content:"";display:inline-block;width:.68em;height:1.04em;flex:none;border-radius:85% 12% 60% 45%;background:radial-gradient(ellipse at 55% 78%,#fffcdb 12%,#ffdb83 43%,#e99e49 73%,#f1c38a);box-shadow:0 0 4px #edb85985;transform-origin:center 93%;animation:ti-flame 1.85s ease-in-out infinite}
body .tf-scent-badge:after,.ti-seal:after {content:"";order:1;width:.26em;height:.26em;background:#dbb57c;transform:rotate(45deg);margin-inline-start:.08em}
.ti-materials {margin:.8em 0 0;display:grid;gap:0}
.ti-materials div {padding:.65rem 0;border-top:1px solid #bfa68d80}
.ti-materials dt {font-weight:700;color:#4c5540}
.ti-materials dd {margin:.17em 0 0;font-size:.98rem;line-height:1.7}
.ti-location {position:relative;box-sizing:border-box;color:#fff7e9;background:#394538;border-block:1px solid #b89b70;padding:clamp(22px,3vw,48px) max(var(--taif-gutter,5%),22px);display:flex;align-items:center;justify-content:space-between;gap:1rem;text-align:start}
.ti-location h2 {font:500 clamp(1.45rem,2.7vw,2.5rem)/1.35 var(--taif-display,Georgia,serif);margin:0;color:inherit}
.ti-location p {font-size:.97rem;line-height:1.65;margin:.35em 0 0;color:#f0e5d2}
body .ti-location a.ti-map {flex:none;color:#fff4dc;min-height:42px;border-bottom:1px solid #dec393;padding:.15em .12em}
body .ti-location a.ti-map:hover {color:white;border-color:white}
.maison-page .ti-location {margin-block:1.5rem}
@media(max-width:760px) {
 .th-wordmark .ti-mini{width:57px;height:36px}
 body .taif-mast a.th-wordmark {font-size:20px;gap:.24rem}
 body .taif-hero.taif-hero--cinema:has(.ti-panel) {grid-template:auto auto / 1fr}
 body .taif-hero.taif-hero--cinema .ti-panel {grid-area:1/1;min-height:0;display:grid;grid-template-columns:minmax(82px,.72fr) minmax(0,1.28fr);align-content:center;align-items:center;justify-items:start;text-align:start;column-gap:14px;row-gap:6px;padding:22px max(18px,4vw)}
 .ti-panel:before {inset:6px}
 .ti-art {grid-area:1/1/4/2;width:100%;max-width:150px;justify-self:center}
 body .taif-hero.taif-hero--cinema .ti-panel h1 {grid-area:1/2;text-align:start;font-size:clamp(1.46rem,5.6vw,2.25rem);max-width:none}
 body .taif-hero.taif-hero--cinema .ti-panel p {grid-area:2/2;font-size:.88rem;line-height:1.55}
 body .ti-shop {grid-area:3/2;font-size:.86rem;min-height:40px;padding:.35em .9em;margin-top:2px}
 body .taif-hero.taif-hero--cinema:has(.ti-panel) .taif-hero-film {grid-area:2/1;height:auto;min-height:0;aspect-ratio:16/10}
 .ti-location {flex-wrap:wrap;gap:.55rem}
 body .tf-scent-badge{bottom:.37rem;inset-inline-start:.35rem;padding:.25em .65em}
}
@media(prefers-reduced-motion:reduce) {
 .ti-art:after,.ti-art:before,.th-wordmark .ti-mini:after,body .tf-scent-badge:before,.ti-seal:before{animation:none}
}
/* The large and compact signatures share one coordinate system with the original art. */
.ti-art {width:clamp(210px,21vw,316px)}
.ti-art .ti-light,.th-wordmark .ti-light {position:absolute;inset:0;width:100%;height:auto;aspect-ratio:1;overflow:visible;z-index:2;pointer-events:none;display:block}
.th-wordmark .ti-mini .ti-light {top:-6%}
.th-wordmark .ti-mini img {mask-image:radial-gradient(ellipse 63% 45% at 50% 32%,#000 67%,transparent 97%)}
.ti-art:after,.th-wordmark .ti-mini:after {display:none}
.ti-light .ti-breath {transform-origin:752px 412px;animation:ti-dance 2.45s cubic-bezier(.45,.05,.4,.98) infinite}
.ti-light .ti-amber {fill:#ffac38;opacity:.32}
.ti-light .ti-fire {fill:#ffd477;filter:drop-shadow(0 0 13px #ffb53d)}
.ti-light .ti-core {fill:#fff8cf}
.ti-light .ti-edge,.ti-light .ti-gild {fill:none;stroke-linecap:round;stroke-linejoin:round}
.ti-light .ti-edge {stroke:#ffdd91;stroke-width:9;stroke-dasharray:25 76;animation:ti-outline 4.8s ease-in-out infinite}
.ti-light .ti-gild {stroke:#ffe59c;stroke-width:11;stroke-dasharray:13 93;filter:drop-shadow(0 0 6px #e8a747);animation:ti-script 4.8s ease-in-out infinite}
.ti-light .ti-ember {fill:#fff0bd;filter:drop-shadow(0 0 8px #f8a83e);opacity:0;animation:ti-sparks 3.1s ease-out infinite}
.ti-light .e2 {animation-delay:-1.15s}
.ti-light .e3 {animation-delay:-2.3s}
@keyframes ti-dance {0%,100%{transform:scale(.94,1.01) rotate(-2deg);opacity:.85}27%{transform:skewX(-3deg) scale(.88,1.15) rotate(3deg);opacity:1}52%{transform:scale(1.04,.95) rotate(-4deg);opacity:.82}78%{transform:skewX(3deg) scale(.91,1.08) rotate(-2deg);opacity:1}}
@keyframes ti-outline {0%{stroke-dashoffset:30;opacity:0}16%{opacity:1}48%{stroke-dashoffset:-75;opacity:1}59%,100%{stroke-dashoffset:-76;opacity:0}}
@keyframes ti-script {0%,18%{stroke-dashoffset:15;opacity:0}27%{opacity:1}72%{stroke-dashoffset:-92;opacity:.96}83%,100%{stroke-dashoffset:-94;opacity:0}}
@keyframes ti-sparks {0%{transform:translate(0,0);opacity:0}14%{opacity:.88}76%{opacity:.69}100%{transform:translate(25px,-206px);opacity:0}}
@media(max-width:760px){.ti-art{width:100%}}
@media(prefers-reduced-motion:reduce){.ti-light{display:none!important}.ti-light *{animation:none!important}}
@media(prefers-reduced-motion:no-preference){body:has(.taif-film-toggle[data-playing="no"]) .ti-panel *{animation-play-state:paused}}

/* Keep the seal away from the floating contact control on narrow screens. */
@media(max-width:760px){body .tf-scent-badge{inset-inline:auto;left:.4rem;right:auto}}

/* Responsive masthead */
body .taif-mast a.th-wordmark {display:flex;width:max-content;align-items:center;justify-content:center;min-height:48px;padding:0;line-height:0;letter-spacing:normal}
.th-wordmark .th-signature {display:block;flex:none;width:clamp(90px,8.6vw,124px);height:auto;overflow:visible;filter:drop-shadow(0 1px 1px #7a4b301c)}
.th-wordmark .th-signature .th-signature-light {position:static;display:inline}
body .taif-mast .th-language-slot .th-locale {display:inline-flex;align-items:center;gap:5px;border:1px solid #b9a58c;border-radius:22px;background:#fffaf2;color:#3c4838;min-height:38px;box-sizing:border-box;padding:3px 6px 3px 9px;direction:ltr;line-height:1;text-decoration:none;letter-spacing:0;font:600 12px/1.2 var(--taif-body,Arial,sans-serif)}
.th-locale svg {width:15px;height:15px;flex:none;stroke:currentColor;stroke-width:1.55;fill:none}
.th-locale .th-locale-name {display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:4px 6px;margin:0;background:#394538;color:#fff9ea;border-radius:16px;min-height:18px}
.th-locale:hover,.th-locale:focus-visible {box-shadow:0 0 0 2px #b3a28055}
.th-locale:focus-visible {outline:2px solid #344434;outline-offset:2px}
body .taif-hero.taif-hero--cinema:has(.taif-hero-film):not(:has(.ti-panel)) {display:block;height:auto;min-height:0;max-height:none;aspect-ratio:16/9;margin:0}
body .taif-hero.taif-hero--cinema:not(:has(.ti-panel)) .taif-hero-film {inset:0;position:absolute;margin:0}
body .taif-hero.taif-hero--cinema:not(:has(.ti-panel)) .taif-hero-film video {object-fit:contain!important;object-position:center}
body .taif-collections h1 {color:var(--taif-ink);font:500 clamp(2rem,4vw,4.4rem)/1.24 var(--taif-display,Georgia,serif);letter-spacing:normal;text-align:start}
@media(max-width:760px){
 .th-wordmark .th-signature{width:89px;height:54px}
 body .taif-mast .th-row{padding-inline:clamp(8px,3.2vw,20px);column-gap:5px}
 body .taif-mast .th-language-slot .th-locale{gap:4px;padding:2px 4px 2px 6px;min-height:38px}
 .th-locale .th-locale-name{min-width:24px;font-size:11px;padding:3px 5px}
 .th-locale svg{width:14px;height:14px}
}
@media(max-width:370px){.th-wordmark .th-signature{width:75px}.taif-mast .th-end{gap:0}.taif-mast .th-start{gap:2px}}
@media(prefers-reduced-motion:reduce){.th-wordmark .th-signature .th-signature-light{display:none}}
/* The offer always names the new list; the crossed-out comparison is the formerly charged price. */
.ti-offer-line {display:flex;flex-wrap:wrap;align-items:center;gap:.1em .55em;justify-content:inherit}
.ti-offer-line ins {font-weight:750;color:#4c3228;background:none;text-decoration:none}
.ti-offer-line del {font-size:.81em;color:#655b51;opacity:1}
.ti-offer-stack {display:inline-flex;flex-direction:column;align-items:flex-start;gap:.24rem;font-family:var(--taif-body,Arial,sans-serif);line-height:1.35;text-align:start;white-space:normal}
body .ti-offer-badge {display:inline-flex;align-items:center;gap:.42em;width:fit-content;max-width:100%;padding:.31em .7em;background:#733e38;color:#fff9e9;border:1px solid #9d6659;border-radius:3px;box-sizing:border-box;font:700 clamp(.72rem,.85vw,.84rem)/1.4 var(--taif-body,Arial,sans-serif);white-space:normal}
.ti-offer-badge:before{content:"";display:block;width:5px;height:5px;flex:none;background:#f5d296;transform:rotate(45deg)}
.ti-price-history{color:#5f5145;font:500 clamp(.71rem,.85vw,.81rem)/1.5 var(--taif-body,Arial,sans-serif)}
.ti-offer-stack .ti-price-history .amount,.ti-offer-stack .ti-price-history bdi{font:inherit;color:inherit}
.wc-block-product:has(.ti-offer-stack) .wc-block-components-product-sale-badge,.wc-block-product:has(.ti-offer-stack) .onsale,.product:has(.ti-offer-stack)>.onsale{display:none}

/* Showroom and shared brand signature */
.ti-location.ti-showroom, .maison-page .ti-location:has(.ti-showroom-map) {
    display:grid;
    grid-template-columns:minmax(0, .9fr) minmax(0, 1.25fr);
    gap:clamp(18px, 4vw, 64px);
    align-items:center;
}
.ti-showroom-map {
    display:block;
    width:100%;
    min-width:0;
    height:clamp(220px, 23vw, 315px);
    box-sizing:border-box;
    border:1px solid #bda780;
    border-radius:6px;
    background:#efe8db;
}
.maison-foot .taif-footer-brand {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
}
.maison-foot .taif-footer-home {display:inline-flex;line-height:0;padding:2px 0;text-decoration:none}
.taif-footer-home:focus-visible {outline:2px solid #f0ce93;outline-offset:5px}
.taif-footer-home .th-signature {display:block;width:clamp(120px,12vw,160px);height:auto;overflow:visible}
.taif-footer-home .th-signature-light {display:inline}
.maison-foot .taif-footer-brand > p {margin:0;text-align:center}
@media(max-width:760px) {
    .ti-location.ti-showroom, .maison-page .ti-location:has(.ti-showroom-map) {grid-template-columns:minmax(0,1fr);gap:15px}
    .maison-foot .taif-footer-brand {align-items:center}
}

/* The amount paid at checkout leads the price block below each product title. */
body :is(.ts-piece, .wc-block-product, .product) .ti-offer-stack {gap:.28rem;max-width:100%;white-space:normal;vertical-align:top}
body .ti-offer-stack .ti-payable, body .ti-offer-stack .ti-payable .amount, body .ti-offer-stack .ti-payable bdi {
    display:inline-block;margin:0;color:#48212b;font-family:var(--taif-body,Arial,sans-serif);
    font-size:clamp(1.43rem, 1.8vw, 1.85rem);font-weight:800;line-height:1.25;letter-spacing:0;
    font-variant-numeric:tabular-nums;white-space:nowrap;
}
body .ti-payable .woocommerce-Price-currencySymbol {font-size:.69em;font-weight:700}
body .ti-offer-stack .ti-price-history {color:#55493e;font:500 .84rem/1.5 var(--taif-body,Arial,sans-serif)}
body .ti-offer-stack .ti-price-history :is(.amount,bdi) {font:inherit;color:inherit;white-space:nowrap}
body .ti-offer-stack .ti-offer-badge {margin-top:.12rem;line-height:1.45;max-width:100%}
body .ts-piece .ts-price:has(.ti-offer-stack) {display:block;height:auto;max-height:none;margin-block:.45rem .65rem;overflow:visible}
body .wp-block-woocommerce-product-price .has-text-align-center .ti-offer-stack {align-items:center;text-align:center}
body.single-product main .wp-block-column > .wp-block-woocommerce-product-price .ti-payable,
body.single-product main .wp-block-column > .wp-block-woocommerce-product-price .ti-payable :is(.amount,bdi) {
    font-size:clamp(1.85rem,3vw,2.5rem)
}
body .tc-lead .tc-offer {margin:.75rem 0 0}
body .tc-lead .tc-offer .ti-offer-stack {display:flex;align-items:center;flex-wrap:wrap;gap:.24rem .7rem}
body .tc-offer .ti-payable, body .tc-offer .ti-payable :is(.amount,bdi) {color:#fff7ec;font-size:1.45rem}
body .tc-offer .ti-price-history {color:#f2dccf}
body .tc-offer .ti-offer-badge {background:#f5d8c3;border-color:#f5d8c3;color:#46202a}
body .tc-offer .ti-offer-badge:before {background:#854736}
body .tc-lead .tc-offer + .tc-actions {margin-top:.8rem}
@media(max-width:760px) {
    body .tc-lead .tc-offer {margin-top:.4rem}
    body .tc-cover:has(.tc-offer) {height:clamp(445px,122vw,605px)}
    body .tc-lead:has(.tc-offer) {background:linear-gradient(0deg,#301820 0%,#301820fb 19%,#301820cb 36%,#341a234a 57%,transparent 70%)}
    body .tc-lead .tc-offer + .tc-actions {margin-top:.5rem}
}

body .ti-offer-stack .ti-current-label {display:block;color:#513a35;font:650 .86rem/1.35 var(--taif-body,Arial,sans-serif)}
body .ti-offer-stack:has(.ti-current-label) {row-gap:.15rem}
body .ti-offer-stack .ti-price-history {display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .36em;margin:0}
body .ti-offer-stack .ti-price-history > .amount {display:inline-block;font-weight:650}
body .ti-offer-stack .ti-payable .ti-money,body .ti-offer-stack .ti-price-history .ti-money {display:inline-flex;align-items:baseline;gap:.22em;white-space:nowrap}
body .ti-number {unicode-bidi:isolate}
body .ti-offer-stack .ti-offer-badge {margin-block-start:.35rem}
body .tc-offer .ti-current-label {color:#fff5eb}
body .tc-offer .ti-price-history {color:#f5e4d8}
body .tc-offer .ti-offer-badge {margin:0}
body .tc-lead .tc-offer .ti-offer-stack {column-gap:.6rem}
