/* WizzMall V6.2: accessible retail cards, existing cart and favorites contracts. */
body[data-page^="/p/"] :is(.wz-v13-shell[data-mp6],.wz-v13-profile[data-mp6]){font-family:Cairo,Tajawal,Arial,sans-serif!important}
body[data-page^="/p/"] :is(.wz-v13-shell[data-mp6],.wz-v13-profile[data-mp6]) :is(button,input,select){font-family:inherit!important}
body[data-page^="/p/"] .wz-v13-shell[data-mp6] .wz-v13-actions>a[href^="https://wa.me/"]{background:#147D3D!important;color:#fff!important;border-color:transparent!important;box-shadow:none!important}
body[data-page^="/p/"] .wz-v13-shell[data-mp6] .wz-v13-actions>a[href^="tel:"]{background:#F2F2F7!important;color:#1C1C1E!important;border-color:transparent!important;box-shadow:none!important}
body[data-page^="/p/"] .wz-v13-shell[data-mp6] .wz-v13-actions>[data-follow]{background:#fff!important;color:#C2410C!important;border:1px solid #C2410C!important;box-shadow:none!important}
body[data-page^="/p/"] .wz-v13-shell[data-mp6] .wz-v13-actions>[data-follow][aria-pressed="true"]{background:#FFF2E9!important;color:#A33509!important;border-color:#C2410C!important}
body[data-page^="/p/"] .wz-v13-profile[data-mp6] [data-wz-tabs] a[aria-current="page"]{background:transparent!important;color:#B83E0A!important;border-bottom:3px solid #E8590C!important;box-shadow:none!important}
/* Retail only: keep food menu and property/service layouts intact. */
body[data-page^="/p/"] .wz-v13-profile #wdp-items:has(>.wd-item-grid>.wz-v62-retail){background:#F5F5F7!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items:has(>.wd-item-grid>.wz-v62-retail)>.wd-item-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;margin:0!important;padding:0!important;padding-block-end:max(144px,calc(var(--wz-commerce-nav,72px) + 72px))!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail{display:flex!important;flex-direction:column!important;min-width:0!important;max-width:100%!important;width:100%!important;padding:12px!important;gap:0!important;margin:0!important;border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 1px 3px rgba(28,25,23,.08)!important;box-sizing:border-box!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail[hidden]{display:none!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail>.wz-c-link{display:flex!important;flex-direction:column!important;gap:6px!important;flex:1 1 auto!important;align-items:stretch!important;min-width:0!important;width:100%!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-image{width:100%!important;inline-size:100%!important;height:auto!important;block-size:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;aspect-ratio:4/3!important;border-radius:10px!important;margin:0!important;background:#F7F7F8!important;overflow:hidden!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-image img{width:100%!important;height:100%!important;inline-size:100%!important;block-size:100%!important;object-fit:contain!important;object-position:center!important;aspect-ratio:auto!important;display:block!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-body{display:flex!important;flex-direction:column!important;flex:1 1 auto!important;gap:2px!important;min-height:0!important;padding:0!important;margin:0!important;min-width:0!important;overflow-wrap:anywhere!important;text-align:start!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-name{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:0!important;block-size:2.8em!important;max-block-size:2.8em!important;font-size:15px!important;line-height:1.4!important;color:#1C1917!important;font-weight:700!important;white-space:normal!important;overflow-wrap:anywhere!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail :is(.wz-c-category,.wz-c-property,.wz-c-description){font-size:12px!important;line-height:1.4!important;color:#78716C!important;overflow-wrap:anywhere!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-favorite{top:14px!important;left:14px!important;right:auto!important;bottom:auto!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:50%!important;color:#C2410C!important;background:#fff!important;border:1px solid #E5E5EA!important;box-shadow:0 1px 3px #00000012!important;font-size:26px!important;line-height:1!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-favorite[aria-pressed="true"]{background:#FFF2E9!important;color:#C2410C!important;border-color:#C2410C!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-purchase{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;min-width:0!important;margin:0!important;margin-block-start:auto!important;padding:0!important;position:static!important;padding-block-start:6px!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-selector{display:flex!important;flex-direction:column!important;align-items:stretch!important;flex:0 0 auto!important;gap:3px!important;font-size:13px!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-selector select{width:100%!important;min-width:0!important;min-height:44px!important;font-size:14px!important;flex:none!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-purchase-row{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:4px 8px!important;min-width:0!important;min-height:40px!important;padding:0!important;border:0!important;margin:0!important;direction:rtl!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-prices{display:flex!important;flex-wrap:wrap!important;align-items:baseline!important;gap:2px 4px!important;min-width:0!important;max-width:100%!important;padding:0!important;margin:0!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-prices b{font-size:16px!important;color:#1C1917!important;font-weight:700!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;max-width:100%!important;flex:0 0 auto!important;font-variant-numeric:tabular-nums;line-height:1.25!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-prices del{font-size:12px!important;color:#78716C!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;max-width:100%!important;flex:0 0 auto!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-saving{position:static!important;max-width:100%!important;white-space:normal!important;color:#A33509!important;background:#FFF2E9!important;overflow-wrap:anywhere!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row :is(.wz-c-add){display:grid!important;place-items:center!important;box-sizing:border-box!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:#C2410C!important;color:#fff!important;box-shadow:none!important;position:relative!important;inset:auto!important;transform:none!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-plus{width:22px!important;height:22px!important;display:block!important;pointer-events:none}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-contact{background:#C2410C!important;color:#fff!important;width:100%!important;min-height:44px!important;padding:6px!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere!important;font-size:13px!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-validation{color:#A52016!important;font-size:13px!important;line-height:1.5!important;overflow-wrap:anywhere!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail :is(button,a,select):focus-visible{outline:3px solid #155E9C!important;outline-offset:-2px!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail button:disabled{opacity:.55!important;cursor:not-allowed!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items:has(>.wd-item-grid>.wz-v62-retail) :is(.wdp-item-search button,.wdp-categories a[aria-current="true"]){background:#C2410C!important;color:#fff!important;border-color:#C2410C!important;box-shadow:none!important}
body[data-page^="/p/"] #wh27-bottom-nav .wh27-nav-item:is([href="/cart"],[href^="/cart/"]) svg{color:#E8590C!important}
@media(max-width:340px){body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail{padding:7px!important}body[data-page^="/p/"] .wz-v13-profile #wdp-items:has(>.wd-item-grid>.wz-v62-retail)>.wd-item-grid{gap:7px!important}body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-c-favorite{top:11px!important;left:11px!important}}
@media(max-width:280px){body[data-page^="/p/"] .wz-v13-profile #wdp-items:has(>.wd-item-grid>.wz-v62-retail)>.wd-item-grid{grid-template-columns:minmax(0,1fr)!important}}

/* Retail card purchase controls. Wrap the entire control only when its minimum width cannot fit. */
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-c-prices{flex:0 0 auto!important;max-width:100%!important;justify-content:flex-start!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-c-add{margin-inline-start:auto!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:0 0 106px!important;width:106px!important;max-width:100%!important;height:40px!important;min-height:40px!important;box-sizing:border-box!important;direction:rtl!important;flex-direction:row-reverse!important;padding:0!important;margin:0!important;margin-inline-start:auto!important;gap:0!important;border:0!important;border-radius:20px!important;background:transparent!important;box-shadow:none!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper:not(.has-quantity) > :is(.wz-card-minus,.wz-card-quantity){display:none!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper.has-quantity{border:1px solid #E7E5E4!important;background:#F7F7F8!important;justify-content:center!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper.has-quantity > button{display:grid!important;place-items:center!important;box-sizing:border-box!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;position:relative!important;inset:auto!important;transform:none!important;font-size:20px!important;font-weight:700!important;line-height:1!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper.has-quantity > .wz-card-minus{color:#78716C!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper.has-quantity > .wz-c-add{color:#fff!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper.has-quantity > .wz-c-add::before{content:'+'!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;position:absolute!important;inset:2px!important;border-radius:50%!important;background:#C2410C!important;color:#fff!important;font-size:22px!important;line-height:1!important;pointer-events:none!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper.has-quantity > .wz-c-add :is(svg,span){display:none!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper:not(.has-quantity) > .wz-c-add::before{content:none!important;display:none!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper.has-quantity > .wz-card-quantity{display:block!important;flex:1 0 24px!important;min-width:24px!important;text-align:center!important;color:#1C1917!important;font-size:15px!important;font-weight:700!important;font-variant-numeric:tabular-nums;line-height:1!important;white-space:nowrap!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper > button:focus-visible{outline:2px solid #1C1917!important;outline-offset:-2px!important}
body[data-page^="/p/"] .wz-v13-profile #wdp-items .wz-v62-retail .wz-v62-purchase-row > .wz-card-stepper > button:active:not(:disabled){opacity:.75!important}
