.taif-mast{position:relative;isolation:isolate;z-index:30;background:#401c28;color:#fff8ec;border-bottom:1px solid #79574f;font-family:Tajawal,Arial,sans-serif}
header:has(.taif-mast){position:relative;z-index:31}
.taif-mast *{box-sizing:border-box}
.taif-mast p{display:contents}
.th-row{max-width:1600px;margin:auto;padding-inline:clamp(20px,4vw,74px);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-height:78px;gap:16px}
.th-start,.th-end,.th-desktop,.th-brand{display:flex;align-items:center}
.th-end{justify-self:end;gap:16px}
.th-desktop{gap:clamp(13px,1.6vw,28px)}
.taif-mast a,.taif-mast summary{color:inherit;text-decoration:none;font-size:15px;font-weight:550;white-space:nowrap}
.taif-mast a:hover,.taif-mast summary:hover{color:#f0c9a5}
.taif-mast :focus-visible{outline:2px solid #d7aa80;outline-offset:2px}
.th-brand{justify-self:center}
.taif-mast a.th-wordmark{display:flex;align-items:center;justify-content:center;min-height:52px;padding-inline:5px;font:400 39px/1 Georgia,'Times New Roman',serif;letter-spacing:.16em}
.th-wordmark span{margin-inline-end:-.16em}
.taif-mast .th-lang{font:500 13px/1.4 Georgia,Tajawal,serif;align-content:center;min-height:44px}
.taif-mast summary,.th-bag{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;gap:10px;cursor:pointer;list-style:none}
.taif-mast summary::-webkit-details-marker{display:none}
.th-search,.th-menu{position:static}
.th-menu{display:none}
.th-bag{position:relative}
.th-bag-icon,.th-bars,.th-glass{position:relative;display:inline-block;color:inherit;flex:none}
.th-bag-icon{width:17px;height:17px;margin-top:4px;border:1.5px solid currentColor;border-radius:2px 2px 4px 4px}
.th-bag-icon::before{content:"";position:absolute;bottom:100%;left:3px;width:8px;height:6px;border:1.5px solid currentColor;border-bottom:0;border-radius:8px 8px 0 0}
.th-bag .tfs-count{position:absolute;top:1px;right:1px;display:grid;place-items:center;min-width:15px;height:15px;padding:0 2px;border-radius:12px;color:#401c28;background:#ebd5b8;font:650 10px/1 Arial,sans-serif}
.th-bars{width:20px;height:12px;border-block:1.5px solid currentColor}
.th-bars::before{content:"";position:absolute;inset:4px 0 auto;border-top:1.5px solid currentColor}
.th-glass{width:16px;height:16px;border:1.5px solid currentColor;border-radius:50%}
.th-glass::after{content:"";position:absolute;width:7px;height:1.5px;background:currentColor;left:11px;top:13px;transform:rotate(43deg);transform-origin:0 0}
.th-panel{box-sizing:border-box;position:absolute;top:100%;z-index:2;padding:14px 20px;background:#faf6ee;color:#401c28;border:1px solid #d9c6b5;box-shadow:0 10px 22px #3214261c}
.th-links{inset-inline-start:0;min-width:260px}
.th-links a{display:flex;align-items:center;min-height:45px;border-bottom:1px solid #e6d8ca}
.th-links a:last-child{border-bottom:0}
.taif-mast .th-panel a:hover{color:#742f47}
.th-form{inset-inline-end:20px;display:flex;align-items:stretch;gap:8px;width:min(410px,100%);margin:0}
.th-form label{display:flex;flex:1;min-width:0}
.th-form input[type=search]{width:100%;min-width:0;min-height:42px;padding:6px 12px;border:1px solid #bea69a;background:#fffdf9;color:#381d27;font:inherit;border-radius:3px}
.th-form button{padding:8px 16px;border:0;background:#481d29;color:#fffaf4;border-radius:3px;font:inherit;cursor:pointer}
.taif-mast details:not([open])>.th-panel{display:none}
@media(max-width:950px){
 .th-row{min-height:60px;padding-inline:12px;gap:6px}
 .th-end{gap:0}
 .th-desktop,.th-end>.th-lang{display:none}
 .th-menu{display:block}
 .th-menu summary{padding-inline:6px;gap:8px}
 .taif-mast .th-menu-label{font-size:14px}
 .taif-mast a.th-wordmark{font-size:31px;min-height:48px}
 .th-links{width:min(320px,100%);padding:8px 20px 12px}
 .th-form{inset-inline:0;margin-inline:auto}
}
@media(max-width:340px){.th-menu-label{display:none}}
/* A complete source photograph fits inside each frame. Only the wick has motion. */
.tf-atelier .tf-film{background:#eee6dc}
.tf-atelier .tf-frame .tf-living-art{inset:0;width:100%;height:100%;translate:none;animation:none!important;transform:none!important}
.tf-atelier .tf-frame img,.tf-atelier .tf-frame .tf-living-art>img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important;animation:none!important;transform:none!important;filter:none}
.tf-atelier .tf-film::after{display:none}
.tf-atelier .tf-frame.is-entering{animation:taif-image-in .4s ease-out both}
@keyframes taif-image-in{from{opacity:0}to{opacity:1}}
.tf-collection-list .tf-card{display:flex;flex-direction:column;background:transparent;color:#481d29!important;gap:0;overflow:visible}
.tf-collection-list .tf-card::after{display:none}
.tf-collection-list .tf-card>img,.tf-collection-list .tf-card:hover>img{width:100%;height:auto;aspect-ratio:4/5;object-fit:contain!important;object-position:center!important;background:#efe8dd;transform:none!important}
.tf-collection-list .tf-card>.tw-layer{transform:none!important}
.tf-collection-list .tf-card h3{align-self:stretch;margin:0;padding:12px 1px 2px;font-size:clamp(20px,2vw,32px);color:#481d29}
.tf-collection-list .tf-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.maison-edit .maison-products figure{aspect-ratio:4/5!important;background:#efe8dd;overflow:hidden}
.maison-edit .maison-products figure img,.maison-story>img,.woocommerce .wc-block-components-product-image img,.woocommerce .woocommerce-product-gallery__image img:not(.zoomImg),.woocommerce ul.products li.product a img,.woocommerce .wc-block-cart-item__image img,.woocommerce table.cart img{object-fit:contain!important;object-position:center!important;transform:none!important;filter:none!important}
.maison-edit .maison-products figure img{width:100%;height:100%}
.woocommerce .wc-block-product-template .wc-block-components-product-image img{width:100%;height:auto;aspect-ratio:4/5!important}
.maison-story>img{height:auto!important;max-height:530px;width:100%;background:#efe8dd}
@media(max-width:650px){
 .tf-atelier .tf-film{aspect-ratio:3/4;height:auto;max-height:calc(100svh - 128px);flex:none}
 .tf-collection-list .tf-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .tf-collection-list .tf-card:first-child{grid-column:1/-1}
 .tf-collection-list .tf-card:first-child>img{height:min(100vw,44svh);aspect-ratio:auto;object-position:center}
 .tf-collection-list .tf-card h3{padding-block:8px;font-size:21px}
}
@media(prefers-reduced-motion:reduce){.tf-atelier .tf-frame.is-entering{animation:none}}
@media(max-width:782px){
 html:has(body.admin-bar .taif-mast){margin-top:0!important}
 body.admin-bar:has(.taif-mast) #wpadminbar{display:none!important}
}
/* Keep the language switch in the masthead, including in shortcode markup formatted by WordPress. */
.taif-mast .th-language-slot, .taif-mast .th-language-slot p { display:flex; align-items:center; margin:0; }
body .taif-mast a.taif-language-switch {
  display:inline-flex; align-items:center; justify-content:center; min-width:46px; min-height:44px;
  padding-inline:5px; box-sizing:border-box; white-space:nowrap; text-decoration:underline;
  text-decoration-color:#cbbba9; text-underline-offset:4px; color:#2c2825;
  font:500 14px/1.25 Georgia,Tajawal,serif;
}
body .taif-mast .th-start {gap:clamp(8px,1.8vw,24px)}
.taif-touch-photo {display:block; width:100%; margin:0}
body .ts-photo .taif-touch-photo img {display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:contain!important}
@media(max-width:950px) {
  body .taif-mast .th-start {gap:0}
  body .taif-mast .th-row {padding-inline:clamp(6px,2.2vw,18px);column-gap:4px}
  body .taif-mast .th-menu-label {display:none}
}
@media(max-width:700px) {
  body .taif-hero.taif-hero--cinema .taif-hero__copy .wp-block-buttons {
    box-sizing:border-box; width:100%; padding-right:64px; align-self:stretch;
  }
  body .taif-hero.taif-hero--cinema .taif-hero__copy .wp-block-button__link {
    max-width:100%; box-sizing:border-box;
  }
}
