/* WIZZ Arabic UI clarity patch: presentation only, original endpoints intact */
:root{--wza-ink:#10242b;--wza-orange:#ff5a00;--wza-line:#d5dbd8}
html,body,button,input,select,textarea,.wd-main,.wz-phase-a,.wz-e-dock,.wz-item-detail,.wz-tabs,.wdp-profile{font-family:'Tajawal',Tahoma,Arial,sans-serif!important}
html{font-size:16px;scroll-behavior:smooth}
body{font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;letter-spacing:0}
:is(.wd-main,.wz-phase-a,.wz-item-detail) :is(p,span,small,li,dd,dt){line-height:1.65}
:is(.wd-main,.wz-phase-a,.wz-item-detail) h1{font-size:clamp(23px,5.5vw,30px);font-weight:800;line-height:1.4;overflow-wrap:anywhere}
:is(.wd-main,.wz-phase-a,.wz-item-detail) h2{font-size:clamp(19px,4.5vw,24px);font-weight:800;line-height:1.45}
:is(.wd-main,.wz-phase-a,.wz-item-detail) :is(button,a,input,select,textarea){font-size:max(14px,1em)}
:is(.wd-main,.wz-phase-a,.wz-item-detail) :is(button,a){touch-action:manipulation}
.wd-header,.wz-head,.wz-item-top{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-bottom:1px solid var(--wza-line)}
/* Item: true product photo in a modest reserved rectangle; no oversized white gap */
body[data-page^='/item/'] .wz-item-gallery,body[data-page^='/item/'] .wz-item-gallery-track{height:clamp(210px,62vw,310px);max-height:310px;overflow:hidden}
body[data-page^='/item/'] .wz-item-gallery-track{display:flex;overflow-x:auto;overflow-y:hidden}
body[data-page^='/item/'] .wz-item-gallery-slide{height:100%;max-height:310px;aspect-ratio:auto;flex:0 0 100%;min-width:100%;overflow:hidden;display:block}
body[data-page^='/item/'] .wz-item-gallery-slide img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 50%;background:#f4f6f3}
body[data-page^='/item/'] .wz-item-placeholder{height:150px;min-height:150px;max-height:150px}
body[data-page^='/item/'] .wz-item-content{padding:15px 15px 90px}
body[data-page^='/item/'] .wz-item-content>h1{font-family:'Tajawal',Tahoma,sans-serif!important;font-size:24px;line-height:1.42;margin-bottom:10px}
body[data-page^='/item/'] .wz-item-price-sign{margin-bottom:14px;padding-block:10px}
body[data-page^='/item/'] .wz-item-price-primary{font-size:25px!important;font-weight:800!important;line-height:1.3;white-space:nowrap;direction:ltr}
body[data-page^='/item/'] .wz-item-merchant-name strong{font-size:17px}
body[data-page^='/item/'] .wz-item-visit{font-size:15px}
body[data-page^='/item/'] .wz-item-description p{font-size:17px;line-height:1.85}
body[data-page^='/item/'] .wz-item-similar-card b{font-size:15px}
body[data-page^='/item/'] .wz-item-similar-card :is(img,.wz-item-similar-fallback){aspect-ratio:4/3;object-fit:cover;background:#f4f6f3}
body[data-page^='/item/'] .wz-item-advisory{display:none!important}
/* Profile: remove redundant product counts, smaller follow, flatter layout */
body[data-page^='/p/'] .wz-store-name{font-family:'Tajawal',Tahoma,sans-serif!important;font-size:clamp(23px,5vw,28px);line-height:1.45;font-weight:800}
body[data-page^='/p/'] .wz-intro{padding-bottom:12px}
body[data-page^='/p/'] .wz-phase-a .wz-actions{gap:8px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}
body[data-page^='/p/'] .wz-phase-a .wz-follow{flex:0 1 116px;min-width:96px;max-width:132px;padding-inline:12px;min-height:44px;font-size:15px}
body[data-page^='/p/'] .wz-phase-a .wz-btn-wa{flex:1 1 128px;font-size:15px}
body[data-page^='/p/'] .wz-phase-a .wz-small-action{flex:0 0 44px}
body[data-page^='/p/'] .wdp-count{display:none!important}
body[data-page^='/p/'] .wdp-section-heading{display:flex;align-items:center;gap:8px;justify-content:space-between}
body[data-page^='/p/'] .wdp-section-heading h2{font-size:19px}
body[data-page^='/p/'] .wz-e-dock{gap:6px;font-family:'Tajawal',Tahoma,sans-serif!important}
body[data-page^='/p/'] .wz-e-contact{order:0}
body[data-page^='/p/'] .wz-e-cart{order:1;min-height:40px;font-size:14px;border-radius:8px}
body[data-page^='/p/'] .wz-e-cart [data-wz-e-total]{font-size:14px}
body[data-page^='/p/'] .wz-e-primary{font-size:16px!important}
/* Native bottom navigation is the single home for the cart, not the old floating FAB */
body.wza-has-bottom-cart .wd-cart-fab[data-cart-open]{display:none!important}
body.wza-has-bottom-cart .wdp-section-heading>.wd-cart-fab{display:none!important}
body.wza-has-bottom-cart .wh27-nav-cart-count[hidden]{display:none!important}
body.wza-has-bottom-cart .wh27-nav-item{font-size:13px;min-width:0}
/* Explicitly eliminate hidden internal labels and the old advisory, not merchant-authored text */
.wza-hide-internal{display:none!important}
/* Product cards legible with real display prices and no fabricated pricing */
.wd-item-price,.wd-price,.wz-card-price,.wz-card--product .wz-price,.wz-item-similar-card small,.wds-prices b,.wz-c-prices b{font-variant-numeric:tabular-nums;font-weight:800;font-size:16px}
.wz-item-price-before del,.wz-item-price-before small{font-size:13px}
.wz-item-detail .wz-item-dock{background:#fff}
@media(max-width:390px){body[data-page^='/item/'] .wz-item-gallery,body[data-page^='/item/'] .wz-item-gallery-track{height:225px}body[data-page^='/p/'] .wz-phase-a .wz-follow{flex-basis:103px;max-width:110px}}
