/* تحفة فن — إضافات ثيم رائد | Tuhfa Fann add-on for Raed. للرجوع: احذف كل ما تحت هذا السطر واحفظ. */
@view-transition { navigation: auto; }
.tuhfa-brand{--tf-ink: #0F2E2B;--tf-ivory: #F6F2EA;--tf-sand: #EFE8DA;--tf-stone: #E4DCCB;--tf-floor: #CDBFA6;--tf-brass: #B08D57;--tf-gold: #D9B97E;--tf-muted: #3E5552;--tf-line: #E2D9C6;--tf-input: #BBAE95;--tf-paper: #FFFDF8;--tf-font-display: 'El Messiri', var(--font-main), serif;--tf-font-body: 'IBM Plex Sans Arabic', var(--font-main), sans-serif;--tf-radius: 10px;--tf-shadow-art: 0 18px 40px rgba(15, 46, 43, .18)}.tuhfa-brand{background-color:var(--tf-ivory);color:var(--tf-ink);font-family:var(--tf-font-body)}.tuhfa-brand h1,.tuhfa-brand h2,.tuhfa-brand .s-block__title h2,.tuhfa-brand .s-slider-block__title h2,.tuhfa-brand .tf-display{font-family:var(--tf-font-display);color:var(--tf-ink)}.tuhfa-brand .store-header,.tuhfa-brand .main-nav-container{background-color:var(--tf-ivory)}.tuhfa-brand .main-nav-container{border-bottom:1px solid var(--tf-line);box-shadow:none}.tuhfa-brand .top-navbar{background-color:var(--tf-ink);color:var(--tf-ivory)}.tuhfa-brand .top-navbar a,.tuhfa-brand .top-navbar .topnav-link-item,.tuhfa-brand .top-navbar i{color:var(--tf-ivory)}.tuhfa-brand .menu-item>a,.tuhfa-brand .main-menu>li>a{color:var(--tf-ink);font-weight:500}.tuhfa-brand .menu-item>a:hover,.tuhfa-brand .main-menu>li>a:hover{color:var(--tf-brass)}.tuhfa-brand .tf-chips{display:none;gap:.5rem;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:.6rem 1rem .75rem;border-top:1px solid var(--tf-line)}.tuhfa-brand .tf-chips::-webkit-scrollbar{display:none}@media(max-width: 1023.98px){.tuhfa-brand .tf-chips{display:flex}}.tuhfa-brand .tf-chips[hidden]{display:none}.tuhfa-brand .tf-chip{flex:none;scroll-snap-align:start;display:inline-flex;align-items:center;gap:.5rem;min-height:40px;padding:4px 14px 4px 6px;border:1px solid var(--tf-line);border-radius:999px;background:var(--tf-paper);color:var(--tf-ink);font-size:.875rem;white-space:nowrap}.tuhfa-brand .tf-chip[aria-current]{border-color:var(--tf-ink);background:var(--tf-stone)}.tuhfa-brand .tf-chip__thumb{width:30px;height:30px;flex:none;border-radius:50%;overflow:hidden;background:var(--tf-stone);display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:var(--tf-muted)}.tuhfa-brand .tf-chip__thumb img{width:100%;height:100%;object-fit:cover}.tuhfa-brand salla-button[color=primary][fill=solid] .s-button-element,.tuhfa-brand .s-button-primary{background-color:var(--tf-ink);border-color:var(--tf-ink);color:var(--tf-ivory);border-radius:999px}.tuhfa-brand salla-button[color=primary][fill=solid] .s-button-element:hover,.tuhfa-brand .s-button-primary:hover{background-color:#163f3b}.tuhfa-brand .s-product-card-entry{background-color:var(--tf-paper);border:1px solid var(--tf-line);border-radius:var(--tf-radius);box-shadow:none;transition:transform .25s ease,box-shadow .25s ease}.tuhfa-brand .s-product-card-entry:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(15,46,43,.1)}.tuhfa-brand .s-product-card-image{background-color:var(--tf-stone);border-radius:6px}.tuhfa-brand .s-product-card-content-title a{color:var(--tf-ink);font-weight:600;line-height:1.6}.tuhfa-brand .s-product-card-price,.tuhfa-brand .s-product-card-starting-price h4,.tuhfa-brand .s-product-card-sale-price h4{color:var(--tf-ink);font-weight:700}.tuhfa-brand .s-product-card-starting-price p{color:var(--tf-muted)}.tuhfa-brand .s-block__title h2,.tuhfa-brand .s-slider-block__title h2{font-size:1.9rem;font-weight:700}.tuhfa-brand .product-form section.bg-white,.tuhfa-brand .product-form>section{background-color:var(--tf-paper);border:1px solid var(--tf-line)}.tuhfa-brand.footer-is-dark .store-footer__inner{background-color:var(--tf-ink)}.tf-nb{background:var(--tf-paper, #FFFDF8);border:1px solid var(--tf-line, #E2D9C6);border-radius:var(--tf-radius, 10px);padding:1.25rem;margin-bottom:1.25rem;display:grid;gap:1.25rem}.tf-nb__stage{position:relative;height:300px;border-radius:8px;background:var(--tf-stone, #E4DCCB);overflow:hidden;display:flex;align-items:center;justify-content:center}@media(min-width: 768px){.tf-nb__stage{height:340px}}.tf-nb__floor{position:absolute;inset-inline:0;bottom:0;height:70px;background:var(--tf-floor, #CDBFA6)}.tf-nb__console{position:absolute;bottom:48px;inset-inline:16%;height:36px;background:#7d6a55;border-radius:6px}.tf-nb__panel{position:relative;container-type:inline-size;width:78%;max-height:62%;aspect-ratio:1.7;margin-bottom:70px;box-sizing:border-box;background:#f4efe6;border:10px solid var(--tf-brass, #B08D57);box-shadow:0 18px 40px rgba(15,46,43,.25);display:flex;align-items:center;justify-content:center;padding:.5rem 1rem;transition:aspect-ratio .3s ease,width .3s ease,border-color .3s ease}.tf-nb__text{color:#1b1b1b;text-align:center;line-height:1.35;font-size:2rem;overflow-wrap:anywhere}.tf-nb__badge{position:absolute;top:.75rem;inset-inline-start:.75rem;background:var(--tf-ivory, #F6F2EA);font-size:.8rem;padding:.3rem .75rem;border-radius:999px}.tf-nb__controls{display:flex;flex-direction:column;gap:.6rem}.tf-nb__label{font-weight:700;font-size:.95rem}.tf-nb__input,.tf-nb__search{height:48px;width:100%;border:1px solid var(--tf-input, #BBAE95);border-radius:8px;padding:0 .9rem;background:#fff;font-size:1rem}.tf-nb__input:focus,.tf-nb__search:focus{border-color:var(--tf-ink, #0F2E2B);box-shadow:0 0 0 3px rgba(15,46,43,.12)}.tf-nb__hint,.tf-nb__note{font-size:.82rem;color:var(--tf-muted, #3E5552)}.tf-nb__note{background:var(--tf-sand, #EFE8DA);border-radius:8px;padding:.6rem .8rem}.tf-nb__fonts{display:flex;flex-direction:column;gap:.6rem;margin-top:.4rem}.tf-nb__fonts-head{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:space-between}.tf-nb__fonts-head .tf-nb__search{max-width:15rem;height:44px}.tf-nb__chips{display:flex;flex-wrap:wrap;gap:.5rem;max-height:11.5rem;overflow-y:auto;padding:2px 2px 1.25rem;mask-image:linear-gradient(to bottom, #000 calc(100% - 1.5rem), transparent)}.tf-nb__chip{min-height:44px;padding:0 1rem;border-radius:999px;border:1px solid var(--tf-input, #BBAE95);background:rgba(0,0,0,0);color:var(--tf-ink, #0F2E2B);font-size:1.15rem;line-height:1}.tf-nb__chip:hover{border-color:var(--tf-ink, #0F2E2B)}.tf-nb__chip.is-active{border:2px solid var(--tf-ink, #0F2E2B);background:var(--tf-stone, #E4DCCB)}.tf-nb__chip:focus-visible{outline:2px solid var(--tf-brass, #B08D57);outline-offset:2px}.tf-nb__empty{font-size:.9rem;color:var(--tf-muted, #3E5552)}.tf-motion .tuhfa-brand .tf-reveal{opacity:0;transform:translateY(18px);transition:opacity .6s cubic-bezier(0.22, 0.61, 0.36, 1),transform .6s cubic-bezier(0.22, 0.61, 0.36, 1);transition-delay:var(--tf-delay, 0ms)}.tf-motion .tuhfa-brand .tf-reveal.is-in{opacity:1;transform:none}@keyframes tf-hang{0%{opacity:0;transform:translateY(-14px) rotate(-1.6deg)}60%{opacity:1;transform:translateY(2px) rotate(0.4deg)}100%{opacity:1;transform:none}}.tuhfa-brand .tf-wall__art{transform-origin:50% 0;animation:tf-hang .9s cubic-bezier(0.22, 0.61, 0.36, 1) .15s both}.tuhfa-brand .s-product-card-image,.tuhfa-brand .tf-room__img{position:relative;overflow:hidden}.tuhfa-brand .s-product-card-image img{transition:transform .5s cubic-bezier(0.22, 0.61, 0.36, 1)}.tuhfa-brand .s-product-card-entry:hover .s-product-card-image img{transform:scale(1.035)}.tuhfa-brand .s-product-card-image::after,.tuhfa-brand .tf-room::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg, transparent 35%, rgba(255, 248, 230, 0.35) 50%, transparent 65%);transform:translateX(120%);transition:transform .9s cubic-bezier(0.22, 0.61, 0.36, 1)}.tuhfa-brand .tf-room{position:relative;overflow:hidden;border-radius:8px}.tuhfa-brand .s-product-card-entry:hover .s-product-card-image::after,.tuhfa-brand .tf-room:hover::after{transform:translateX(-120%)}.tuhfa-brand .tf-btn{transition:background-color .2s ease,color .2s ease,transform .2s cubic-bezier(0.22, 0.61, 0.36, 1)}.tuhfa-brand .tf-btn:active{transform:scale(0.97)}.tf-nb__panel{transition:aspect-ratio .45s cubic-bezier(0.22, 0.61, 0.36, 1),width .45s cubic-bezier(0.22, 0.61, 0.36, 1),border-color .35s ease,border-width .35s ease}.tf-nb__text{transition:opacity .18s ease}.tf-nb__text.is-swapping{opacity:0}.tf-nb__chip{transition:border-color .15s ease,background-color .15s ease,transform .15s cubic-bezier(0.22, 0.61, 0.36, 1)}.tf-nb__chip:active{transform:scale(0.96)}@keyframes tf-pop{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}.tf-boxcalc__out.is-updated{animation:tf-pop .3s cubic-bezier(0.22, 0.61, 0.36, 1)}::view-transition-old(root),::view-transition-new(root){animation-duration:.25s;animation-timing-function:ease}@media(prefers-reduced-motion: reduce){.tf-motion .tuhfa-brand .tf-reveal{opacity:1;transform:none;transition:none}.tuhfa-brand .tf-wall__art,.tf-boxcalc__out.is-updated{animation:none}.tuhfa-brand .s-product-card-image::after,.tuhfa-brand .tf-room::after{display:none}.tuhfa-brand .s-product-card-image img,.tf-nb__panel,.tf-nb__text,.tf-nb__chip,.tuhfa-brand .tf-btn{transition:none}::view-transition-old(root),::view-transition-new(root){animation:none}}.tf-dialog{position:fixed;inset:0;z-index:99999999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(15,46,43,.5);backdrop-filter:blur(4px)}.tf-dialog[hidden]{display:none}.tf-dialog__box{position:relative;width:100%;max-width:430px;padding:32px 24px 24px;background:#fffdf8;border-radius:18px;text-align:center;direction:rtl;box-shadow:0 20px 60px rgba(0,0,0,.2);animation:tf-dialog-in .28s cubic-bezier(0.2, 0.8, 0.2, 1)}@keyframes tf-dialog-in{from{opacity:0;transform:translateY(14px) scale(0.97)}to{opacity:1;transform:none}}.tf-dialog__close{position:absolute;top:12px;left:12px;width:40px;height:40px;border-radius:50%;background:#efe8da;color:#0f2e2b;font-size:22px;line-height:1}.tf-dialog__icon{width:64px;height:64px;margin:0 auto 16px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#efe8da;color:#0f2e2b;font-size:28px}.tf-dialog__title{margin:0 0 10px;color:#0f2e2b;font-size:20px;font-weight:700;line-height:1.6}.tf-dialog__text{margin:0 auto 20px;color:#3e5552;font-size:15px;line-height:1.8}.tf-dialog__text.is-ok{color:#1f6f43;font-weight:600}.tf-dialog__btn{width:100%;min-height:48px;padding:12px 20px;border-radius:999px;background:#0f2e2b;color:#f6f2ea;font-weight:600;font-size:15px}.tf-dialog__btn:hover{background:#163f3b}body.tf-dialog-open{overflow:hidden}.tf-marquee{background:#0f2e2b;color:#eadfc8;overflow:hidden;direction:ltr;font-size:14px;font-weight:500}.tf-marquee__inner{display:flex;width:max-content}.tf-marquee__track{display:flex;flex-shrink:0;gap:3rem;padding:9px 1.5rem;white-space:nowrap;animation:tf-marquee 28s linear infinite}.tf-marquee__track span{direction:rtl}.tf-marquee:hover .tf-marquee__track{animation-play-state:paused}@keyframes tf-marquee{from{transform:translateX(-100%)}to{transform:translateX(0)}}.tf-pay{padding:40px 16px;background:#efe8da;direction:rtl}.tf-pay__inner{max-width:700px;margin:0 auto;text-align:center}.tf-pay h2{margin:0 0 6px;font-family:"El Messiri",var(--font-main),serif;font-size:24px;color:#0f2e2b}.tf-pay p{margin:0 0 22px;font-size:14px;color:#3e5552}.tf-pay ul{display:grid;grid-template-columns:repeat(3, 76px);justify-content:center;gap:14px 16px;margin:0;padding:0;list-style:none}.tf-pay li{width:76px;height:54px;padding:9px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 2px rgba(0,0,0,.04),0 3px 8px rgba(0,0,0,.05)}.tf-pay img{max-width:58px;max-height:36px;object-fit:contain}@media(min-width: 768px){.tf-pay ul{grid-template-columns:repeat(6, 76px)}}@media(prefers-reduced-motion: reduce){.tf-marquee__track{animation:none;flex-wrap:wrap;justify-content:center;white-space:normal}.tf-dialog__box{animation:none}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}
/* Category tiles as portrait cards with captions */
.tuhfa-brand .square-photos-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
@media (min-width:1024px){.tuhfa-brand .square-photos-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important}}
.tuhfa-brand .banner-entry.square-photos{position:relative;display:block;aspect-ratio:3/4;height:auto!important;min-height:0!important;border-radius:14px;overflow:hidden;background:#EFE8DA}
.tuhfa-brand .banner-entry.square-photos .lazy__bg{position:absolute!important;inset:0;width:100%!important;height:100%!important;background-size:cover!important;background-position:center!important;transition:transform .5s ease}
.tuhfa-brand .banner-entry.square-photos:hover .lazy__bg{transform:scale(1.05)}
.tuhfa-brand .banner-entry.square-photos::before,.tuhfa-brand .banner-entry.square-photos::after{display:none!important}
.tuhfa-brand .banner-entry.square-photos h3{position:absolute!important;inset:auto 0 0 0!important;margin:0!important;padding:28px 6px 10px!important;background:linear-gradient(to top,rgba(15,46,43,.9),rgba(15,46,43,0))!important;color:#fff!important;font-size:13px!important;line-height:1.4!important;text-align:center!important;opacity:1!important;visibility:visible!important;transform:none!important;border:0!important;width:auto!important;height:auto!important}
.tuhfa-brand .banner-entry.square-photos h3 span{border:0!important;padding:0!important;color:#fff!important;background:none!important}
.tuhfa-brand .s-block--banners + .s-block--banners{margin-top:12px}
@media (min-width:1024px){.tuhfa-brand .banner-entry.square-photos h3{font-size:15px!important}}
/* «تسوق حسب الأقسام» rail — swipeable row of tall cards */
.tuhfa-brand .tf-rail-merged{display:none!important}
.tuhfa-brand .tf-rail-host{position:relative}
.tuhfa-brand .square-photos-grid.tf-rail{display:flex!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;padding:6px 16px 16px!important;margin:0 -16px!important;scroll-padding-inline:16px}
.tuhfa-brand .tf-rail::-webkit-scrollbar{display:none}
.tuhfa-brand .tf-rail>.banner-entry.square-photos{flex:0 0 40%;max-width:none;aspect-ratio:3/4.3;scroll-snap-align:start;border-radius:16px;border:1px solid rgba(15,46,43,.08);box-shadow:0 6px 18px rgba(15,46,43,.10);transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s ease}
@media (min-width:640px){.tuhfa-brand .tf-rail>.banner-entry.square-photos{flex-basis:27%}}
@media (min-width:1024px){.tuhfa-brand .square-photos-grid.tf-rail{gap:18px!important;padding:8px 4px 20px!important;margin:0!important}.tuhfa-brand .tf-rail>.banner-entry.square-photos{flex-basis:calc((100% - 5*18px)/6)}}
.tuhfa-brand .tf-rail>.banner-entry.square-photos:hover{transform:translateY(-6px);box-shadow:0 14px 30px rgba(15,46,43,.18)}
.tuhfa-brand .tf-rail>.banner-entry.square-photos h3{font-size:16px!important;font-weight:700!important;padding:40px 8px 14px!important;background:linear-gradient(to top,rgba(10,30,28,.92) 0%,rgba(10,30,28,.55) 45%,rgba(10,30,28,0) 100%)!important}
@media (min-width:1024px){.tuhfa-brand .tf-rail>.banner-entry.square-photos h3{font-size:17px!important}}
/* staggered entrance */
html.tf-motion .tuhfa-brand .tf-rail>.banner-entry.square-photos{opacity:0;transform:translateY(22px) scale(.96)}
html.tf-motion .tuhfa-brand .tf-rail.is-in>.banner-entry.square-photos{opacity:1;transform:none;transition:opacity .7s ease calc(var(--i,0)*70ms),transform .8s cubic-bezier(.2,.7,.2,1) calc(var(--i,0)*70ms),box-shadow .45s ease}
html.tf-motion .tuhfa-brand .tf-rail.is-in>.banner-entry.square-photos:hover{transform:translateY(-6px)}
/* arrows (desktop) */
.tuhfa-brand .tf-rail-nav{display:none}
@media (min-width:768px){.tuhfa-brand .tf-rail-nav{display:flex;gap:8px;position:absolute;top:6px;left:0;z-index:2}
.tuhfa-brand .tf-rail-btn{width:38px;height:38px;border-radius:50%;border:1px solid rgba(15,46,43,.18);background:#fff;color:#0F2E2B;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:background .25s,color .25s,transform .25s}
.tuhfa-brand .tf-rail-btn:hover{background:#0F2E2B;color:#fff;transform:scale(1.06)}}
@media (prefers-reduced-motion:reduce){.tuhfa-brand .square-photos-grid.tf-rail{scroll-behavior:auto}.tuhfa-brand .tf-rail>.banner-entry.square-photos{transition:none}}
/* tuhfa: bigger one-line header logo */
.navbar-brand img{max-width:230px!important;max-height:52px!important;width:auto!important;height:auto!important}
@media (max-width:767px){.navbar-brand img{max-width:172px!important;max-height:42px!important}}