/* Shared, prominent navigation for the two sides of Yalla's parts market. */
.yap-market-switch{display:grid;grid-template-columns:1fr 1fr;gap:7px;flex:0 1 390px;min-width:300px;padding:5px;background:#f1f3ef;border:1px solid #dce4d6;border-radius:14px;margin-inline:auto;line-height:1.35}
.yap-market-switch a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px 17px;border:1px solid transparent;border-radius:10px;text-decoration:none;font-size:16px;font-weight:700;white-space:nowrap;transition:background .15s,color .15s;box-sizing:border-box}
.yap-market-switch svg{width:23px;height:23px;flex-shrink:0}.yap-switch-sale{color:#37552e;background:#fff}.yap-switch-sale[aria-current]{background:#294d2b;color:#fff;box-shadow:0 3px 9px #23402418}.yap-switch-wanted{background:#fff1ca;color:#70500c;border-color:#f0d795!important}.yap-switch-wanted[aria-current]{background:#f2b747;color:#342707;border-color:#dea133!important;box-shadow:0 3px 9px #9970211c}.yap-market-switch a:hover{filter:brightness(.97)}.yap-market-switch a:focus-visible,.yap-requests-promo a:focus-visible,.yap-bottom-nav a:focus-visible{outline:3px solid #88b856;outline-offset:3px}
.yap-switch-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;background:#fff9;border-radius:7px;font-size:12px;line-height:1;color:#584210}.yap-switch-count[hidden]{display:none}
.yap-browse .brand-row{gap:15px}.yap-browse .desktop-links{margin:0;gap:0}.yap-browse .header-actions{gap:9px}.yap-browse .header-actions button{font-size:11px}.yap-browse .header-actions .pilot{display:none}.yap-browse .desktop-links a{font-size:11px;white-space:nowrap}
.yap-requests .header .wrap{gap:20px}.yap-requests .header .nav{gap:0}.yap-requests .header .brand{flex-shrink:0}.yap-requests .header .header-end{margin:0}
.yap-requests-promo{display:flex;align-items:center;gap:20px;background:linear-gradient(110deg,#fff9e9,#fff1c9);border:1px solid #eed59b;border-radius:15px;padding:21px 26px;margin:19px 0 3px;color:#332f21;box-sizing:border-box}.yap-promo-icon{width:66px;height:66px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#806017;border-radius:18px;background:#fff9;border:1px solid #eed8a7}.yap-promo-icon svg{width:35px;height:35px}.yap-promo-copy>span{font-size:11px;color:#806a35;font-weight:700}.yap-promo-copy h2{font-size:26px;line-height:1.45;margin:3px 0;color:#2b3525}.yap-promo-copy p{font-size:13px;margin:0;color:#716344;line-height:1.7}.yap-promo-actions{margin-inline-start:auto;display:flex;flex-direction:column;gap:8px;align-items:center}.yap-requests-promo a{text-decoration:none;font-weight:700}.yap-promo-publish{display:flex;gap:8px;align-items:center;justify-content:center;background:#4a8b1c;color:#fff;border:1px solid #418116;border-radius:10px;min-height:46px;padding:11px 22px;font-size:14px;white-space:nowrap;box-shadow:0 3px 9px #3f6e1c16}.yap-promo-publish svg{width:20px;height:20px}.yap-promo-browse{font-size:11px;color:#70541d;min-height:28px;display:flex;align-items:center;gap:9px}.yap-bottom-nav{display:none}
@media(max-width:1100px){.yap-market-switch{flex-basis:330px;min-width:280px}.yap-market-switch a{font-size:14px;padding-inline:12px}.yap-browse .desktop-links{display:none}.yap-browse .brand-row{gap:10px}.yap-requests .header .guest{display:none}}
@media(max-width:760px){
 .yap-browse{padding-bottom:calc(76px + env(safe-area-inset-bottom));--header:190px}.yap-browse .store-header{padding-bottom:10px}.yap-browse .brand-row{display:grid;grid-template-columns:minmax(105px,1fr) auto;align-items:center;gap:8px;padding-top:7px;min-height:0}.yap-browse .brand-row>.brand{grid-column:1;grid-row:1;gap:6px}.yap-browse .brand img{width:31px;height:31px}.yap-browse .brand h1{font-size:18px;white-space:nowrap}.yap-browse .brand small{font-size:8px;white-space:nowrap}.yap-browse .header-actions{grid-column:2;grid-row:1;display:flex;align-items:center;gap:5px;flex-wrap:nowrap;min-width:0}.yap-browse .header-actions [data-cart-open],.yap-browse .header-actions [data-my-orders]{font-size:10px;min-height:34px;padding:5px 7px;white-space:nowrap}.yap-browse .header-actions>.icon-button{width:32px;height:32px;min-width:32px}.yap-browse .header-actions .icon-button svg{width:18px;height:18px}.yap-browse .merchant-link{font-size:9px;min-height:32px;padding-inline-start:6px;white-space:nowrap}.yap-browse .yap-legacy-search{display:none!important}.yap-browse .brand-row>.desktop-links{display:none}.yap-browse .brand-row>.yap-market-switch{grid-column:1/-1;grid-row:2;margin:2px 0 9px}
 .yap-market-switch{width:100%;min-width:0;padding:4px;gap:6px;border-radius:12px;box-sizing:border-box}.yap-market-switch a{min-height:47px;padding:10px 12px;border-radius:9px;font-size:16px;gap:8px}.yap-market-switch svg{width:23px;height:23px}.yap-switch-count{min-width:23px;height:23px;font-size:12px}
 .yap-browse .search-row{gap:7px}.yap-browse .search{min-width:0}.yap-browse .filter-button{width:42px;flex-shrink:0}.yap-browse .filter-button span{display:none}
 .yap-requests .header .wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;gap:8px;padding:10px 0 9px}.yap-requests .header .brand{grid-column:1;grid-row:1;gap:7px}.yap-requests .header .brand img{width:33px;height:33px}.yap-requests .header .brand strong{font-size:19px}.yap-requests .header .brand small{font-size:9px}.yap-requests .header .header-end{grid-column:2;grid-row:1;margin:0}.yap-requests .header .header-end>.btn{font-size:12px;min-height:36px;padding:7px 11px}.yap-requests .header .guest,.yap-requests .header .nav{display:none}.yap-requests .header .yap-market-switch{grid-column:1/-1;grid-row:2;margin:0}.yap-requests .intro{min-height:105px;padding:15px 0;gap:10px}.yap-requests .intro h1{font-size:25px}.yap-requests .intro p{font-size:11px}.yap-requests .intro-action .btn{font-size:12px;padding:10px 12px;min-height:43px}.yap-requests .intro-action small{font-size:9px}
 .yap-requests-promo{position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:11px;padding:15px 16px;margin:13px 0 3px;border-radius:12px}.yap-promo-icon{position:absolute;inset-inline-end:16px;top:16px;width:44px;height:44px;border-radius:12px}.yap-promo-icon svg{width:26px;height:26px}.yap-promo-copy{padding-inline-end:48px}.yap-promo-copy>span{font-size:9px}.yap-promo-copy h2{font-size:22px;margin:2px 0}.yap-promo-copy p{font-size:11px;line-height:1.65}.yap-promo-actions{margin:0;display:flex;flex-direction:row;gap:12px;justify-content:space-between;align-items:center}.yap-promo-publish{min-height:42px;font-size:12px;padding:8px 14px;gap:6px}.yap-promo-publish svg{width:18px;height:18px}.yap-promo-browse{font-size:10px;gap:5px}
 .yap-bottom-nav.mobile-nav{display:flex;align-items:center;justify-content:space-around;position:fixed;inset-inline:0;bottom:0;z-index:40;background:#fffffff7;border-top:1px solid #dce5d7;padding:6px 8px calc(6px + env(safe-area-inset-bottom));min-height:68px;gap:5px;backdrop-filter:blur(15px)}.yap-bottom-nav.mobile-nav>a,.yap-bottom-nav.mobile-nav>button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:48px;padding:5px 3px;border:0;border-radius:11px;background:transparent;color:#6b7663;text-decoration:none;font:inherit;font-size:10px;font-weight:700;line-height:1.35;box-shadow:none;position:static;margin:0;transform:none}.yap-bottom-nav.mobile-nav svg{width:23px;height:23px;flex-shrink:0;stroke-width:1.8}.yap-bottom-nav.mobile-nav>.yap-bottom-wanted{background:#fff0c9;color:#72500a;border:1px solid #eed391}.yap-bottom-nav.mobile-nav>.yap-bottom-wanted[aria-current]{background:#f4bb51;color:#382b0c;border-color:#e1a62e}.yap-bottom-nav.mobile-nav>.yap-bottom-add{background:#edf6e7;color:#3c7619}.yap-bottom-nav.mobile-nav>[aria-current]:not(.yap-bottom-wanted){color:#3d7f16}.yap-requests{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
}
@media(max-width:359px){.yap-browse .brand h1{font-size:16px}.yap-browse .brand small{font-size:7px}.yap-browse .merchant-link{display:none}.yap-browse .header-actions{gap:4px}.yap-market-switch a{font-size:15px}.yap-promo-actions{gap:7px}.yap-promo-publish{font-size:11px;padding-inline:10px}.yap-promo-browse{font-size:9px}.yap-requests .intro p{max-width:180px}}
@media(prefers-reduced-motion:reduce){.yap-market-switch a{transition:none}}
