.misk-language-switcher{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.misk-language-switcher a{border:1px solid currentColor;border-radius:999px;padding:.45rem .8rem;text-decoration:none}.misk-language-switcher [aria-current=page]{background:#b1582b;color:white;border-color:#b1582b}.misk-language-switcher a:focus-visible{outline:3px solid #b1582b;outline-offset:3px}html[dir=rtl] .misk-language-switcher{direction:rtl}

/* A single scroller lets swipes over any selected product reach the summary footer. */
@media (max-width: 900px) {
  body.misk-gift-page #misk-gift-builder .mgb-summary {
    max-height: calc(100vh - 116px);
    max-height: calc(100dvh - 116px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom;
  }
  body.misk-gift-page #misk-gift-builder .mgb-selected {
    overflow: visible;
    overscroll-behavior: auto;
  }
}

@font-face{font-family:MiskAlmarai;src:url("fonts/almarai-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:MiskAlmarai;src:url("fonts/almarai-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
html[lang=ar] body{--wd-text-font:MiskAlmarai,sans-serif;--wd-title-font:MiskAlmarai,sans-serif;--wd-alternative-font:MiskAlmarai,sans-serif;font-family:MiskAlmarai,sans-serif}
html[lang=ar] :is(h1,h2,h3,h4,h5,h6,p,.menu-item a,.btn,.misk-global-announcements,.misk-language-dropdown){font-family:MiskAlmarai,sans-serif!important;letter-spacing:normal}

html[lang=ar] .misk-slide-layout{align-items:flex-end!important}
html[lang=ar] .misk-slide-copy{align-items:flex-start!important;text-align:right}
html[lang=ar] .misk-slide-title{font-style:normal}

html[lang=ar] .misk-slide-copy{align-self:flex-end!important}
html[lang=ar] :is(h1,h2,h3,h4,h5,h6) em{font-family:inherit!important;font-style:normal}

/* Source layouts contain physical left alignment; Arabic copy follows inline start. */
html[lang=ar] .page-id-15 :is(.misk-editorial-card-copy,.misk-editorial-card-copy .btn,.misk-editorial-heading-aside,.misk-guide-expanded){text-align:start!important}
html[lang=ar] .page-id-15 .misk-editorial-card-copy .btn::after{content:"←"}
html[lang=ar] .page-id-15 .misk-four-collections .wp-block-wd-cover > .wp-block-wd-container{direction:rtl;text-align:start!important}
html[lang=ar] .wd-product :is(.product-element-bottom,.wd-entities-title,.woodmart-product-cats){text-align:start!important}

/* The moving belt retains its coordinate system; each review has its own reading direction. */
html[lang=ar] .page-id-15 :is(.misk-review-card,.misk-review-person){direction:rtl;text-align:start}
html[lang=ar] .page-id-15 .misk-review-card :is(.misk-review-name,.misk-review-meta,.misk-review-title,.misk-review-copy,.misk-review-demo,.misk-review-stars){direction:rtl;text-align:start!important}
html[lang=ar] .page-id-15 .misk-review-card::before{right:auto!important;left:18px}

html[lang=ar] #misk-gift-builder{direction:rtl;text-align:start;font-family:MiskAlmarai,sans-serif}
html[lang=ar] :is(main,.wd-footer) :is(button,input,select,textarea,label,legend){font-family:MiskAlmarai,sans-serif!important}
html[lang=ar] body.misk-gift-page .wd-el-breadcrumbs,
html[lang=ar] #misk-gift-builder :is(.mgb-color,.mgb-color > span:last-child,.mgb-stock-filter,.mgb-message,.mgb-mobile-tray button:first-child){text-align:start!important}
html[lang=ar] #misk-gift-builder .mgb-steps b{margin-right:0;margin-inline-end:6px}
html[lang=ar] :is(.misk-card-options,.misk-card-personalise,.misk-card-tile,.misk-card-label,.misk-card-help,.misk-card-summary){direction:rtl;text-align:start!important}
html[lang=ar] .misk-card-sample{direction:ltr;unicode-bidi:isolate}
html[lang=ar] :is(.woocommerce-Price-amount,.mgb-price,.mgb-line-price){direction:ltr;unicode-bidi:isolate}
html[lang=ar] :is(main,.wd-footer) input:is([type=email],[type=url],[type=tel]){direction:ltr;text-align:left;unicode-bidi:isolate}
@media(max-width:767px){
    html[lang=ar] .page-id-15 .wd-slider-pagin{left:50%!important;right:auto!important;transform:translateX(-50%)!important;max-width:calc(100% - 32px)}
    html[lang=ar] .page-id-15 .wd-slider-pagin .wd-nav-pagin{flex-wrap:wrap;justify-content:center}
    html[lang=ar] .page-id-15 :is(.misk-review-heading-wrap,.misk-editorial-heading-aside){align-items:flex-start!important;text-align:start!important}
    html[lang=ar] #misk-gift-builder .mgb-steps b{margin-inline-end:4px}
}
@media(max-width:380px){
    html:is([lang=ar],[lang=tr]) .whb-mobile-center .wd-logo img{max-width:100px}
}

/* Let translated mobile copy determine slide height instead of cropping a fixed 650px box. */
@media(max-width:767px){
    .page-id-15 .wd-6384878c{--misk-mobile-photo-height:clamp(190px,62vw,270px)}
    .page-id-15 .wd-6384878c .wd-slide{height:auto!important;min-height:0!important}
    .page-id-15 .wd-6384878c .wd-slide-container{position:relative!important;inset:auto!important;height:auto!important;padding-block-start:var(--misk-mobile-photo-height)!important}
    .page-id-15 .wd-6384878c .wd-slide-bg{height:var(--misk-mobile-photo-height)!important}
    .page-id-15 .wd-6384878c .misk-slide-layout{width:100%;padding:20px 20px 76px!important}
    .page-id-15 .wd-6384878c .misk-slide-copy{row-gap:10px!important;min-width:0}
    .page-id-15 .wd-6384878c .misk-slide-eyebrow{font-size:10px!important;line-height:1.4}
    .page-id-15 .wd-6384878c .misk-slide-title{font-size:clamp(27px,7.6vw,36px)!important;line-height:1.18!important;margin:0!important}
    .page-id-15 .wd-6384878c .misk-slide-description{font-size:13px!important;line-height:1.6!important;margin:0!important}
    .page-id-15 .wd-6384878c .misk-slide-copy .btn{min-height:44px;padding:12px 16px;border-radius:10px!important;font-size:11px;max-width:100%;white-space:normal}
    .page-id-15 .wd-6384878c .wd-slider-pagin{inset-inline:auto!important;left:50%!important;bottom:12px;padding:0 6px;border:0;border-radius:10px!important;transform:translateX(-50%)}
    .page-id-15 .wd-6384878c .wd-nav-pagin{gap:2px;flex-wrap:nowrap!important}
    .page-id-15 .wd-6384878c .wd-nav-pagin-item{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:0;border:0!important}
    .page-id-15 .wd-6384878c .wd-nav-pagin-item span{display:none}
    .page-id-15 .wd-6384878c .wd-nav-pagin-item::after{display:none}
    .page-id-15 .wd-6384878c .wd-nav-pagin-item::before{content:"";width:7px;height:7px;border-radius:50%;background:#cbbcaf;transition:background .2s}
    .page-id-15 .wd-6384878c .wd-nav-pagin-item.wd-active::before{background:#9c5835}
    .page-id-15 .wd-6384878c .wd-slider-arrows .wd-btn-arrow{top:calc(var(--misk-mobile-photo-height)/2)}
    .page-id-15 .wd-6384878c .wd-arrow-inner{border-radius:10px!important}
}

/* Theme blocks and custom sections share one text family per storefront language. */
:root{--misk-store-font:Inter,Arial,sans-serif}
html[lang=ar]{--misk-store-font:MiskAlmarai,sans-serif}
html body{
    --wd-text-font:var(--misk-store-font)!important;
    --wd-title-font:var(--misk-store-font)!important;
    --wd-entities-title-font:var(--misk-store-font)!important;
    --wd-alternative-font:var(--misk-store-font)!important;
    --wd-widget-title-font:var(--misk-store-font)!important;
    --wd-header-el-font:var(--misk-store-font)!important;
    font-family:var(--misk-store-font)!important;
}
html body :is(.website-wrapper,.mobile-nav,.cart-widget-side,.wd-popup,.wd-dropdown-results) :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,legend,summary,li,dt,dd,td,th,figcaption,blockquote,small,strong,b,em,time,address,bdi,text,textPath,span:not([class*="icon"]):not([class*="dashicon"])){
    font-family:var(--misk-store-font)!important;
}
html[lang=ar] body :is(.website-wrapper,.mobile-nav,.cart-widget-side,.wd-popup,.wd-dropdown-results) :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,legend,summary,li,dt,dd,td,th,small,strong,b,em,time,address,bdi,span:not([class*="icon"]):not([class*="dashicon"])){
    letter-spacing:normal!important;
}
html[lang=ar] body :is(.website-wrapper,.mobile-nav,.cart-widget-side,.wd-popup) em{font-style:normal!important}

/* RTL theme offsets must not compete with the hero's physical center anchor. */
html[lang=ar] .page-id-15 .wd-6384878c .wd-slider-pagin{
    inset-inline:auto!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
}

/* Keep the taller Arabic wordmark inside the existing header rows. */
html[lang=ar] .whb-header .wd-logo .misk-ar-logo{width:auto;height:auto;max-height:72px;object-fit:contain}
@media(max-width:1024px){
    html[lang=ar] .whb-header .wd-logo .misk-ar-logo{max-height:40px}
}

/* Infographic coordinates stay fixed; captions and badges own their reading direction. */
.misk-world-diagram{direction:ltr}
.misk-world-diagram text{text-anchor:middle}
.misk-world-diagram .misk-world-number{direction:ltr;unicode-bidi:isolate;letter-spacing:0}
html[lang=ar] .misk-world-diagram :is(.misk-world-label,.misk-world-caption,.misk-world-you){font-family:MiskAlmarai,sans-serif;direction:rtl;unicode-bidi:plaintext;letter-spacing:0;font-style:normal}
html[lang=ar] .misk-world-diagram .misk-world-label{font-size:27px;font-weight:700}
html[lang=ar] .misk-world-diagram .misk-world-caption{font-size:20px}
html[lang=ar] .misk-world-diagram .misk-world-you{font-size:34px;font-weight:700}
html[lang=tr] .misk-world-diagram .misk-world-label{font-size:27px}

/* Keep Arabic gift prices at the reading edge while isolating numeric content. */
html[lang=ar] #misk-gift-builder :is(.mgb-price,.mgb-line-price){text-align:right!important;direction:ltr;unicode-bidi:isolate}
html[lang=ar] #misk-gift-builder .mgb-total{flex-direction:column;align-items:flex-start;gap:8px}
html[lang=ar] #misk-gift-builder .mgb-total > strong{direction:ltr;unicode-bidi:isolate;text-align:right}
