/* Approved catalog 08: compact controls, pale category tiles and a two-column phone catalog. */
html.catalog-store-root{--header-height:104px;scroll-padding-top:120px}
.catalog-store{background:#fff;color:#091f4b}
.catalog-store .site-header{background:#fffffffa;border-bottom:1px solid #f0f3f9;backdrop-filter:blur(16px)}
.store-header-inner{height:104px;max-width:1280px;padding:10px 24px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:20px;margin:auto;direction:ltr}
.store-header-tools{display:flex;align-items:center;gap:22px;min-width:0}
.catalog-store .menu-btn{display:block;width:38px;min-height:44px;flex:none;padding:0;cursor:pointer}
.catalog-store .menu-btn span{height:3px;margin:6px 3px;background:#0a2555}
.store-brand{display:block;line-height:0}.store-brand img{width:143px;height:82px;object-fit:contain}
.store-cart{justify-self:end;position:relative;display:grid;place-items:center;width:48px;height:48px;color:#082752}
.store-cart .yk-icon{width:34px;height:34px}.store-cart .cart-badge{position:absolute;top:0;right:0;min-width:21px;height:21px}
.catalog-store .language-bar{background:transparent;border:0}.catalog-store .language-bar-inner{min-height:0;padding:0}
.catalog-store .language-switch{width:auto;gap:7px}.catalog-store .language-switch button{position:relative;flex:none;min-width:30px;min-height:44px;padding:8px 3px;border:0;border-radius:0;color:#153057;background:transparent;font-size:14px}
.catalog-store .language-switch button[aria-pressed=true]{color:#004fe6;background:transparent}.catalog-store .language-switch button[aria-pressed=true]:after{content:'';position:absolute;bottom:1px;inset-inline:4px;height:3px;border-radius:2px;background:#ffc900}
.catalog-store .main-nav{display:none;position:fixed;top:104px;right:auto;left:24px;width:min(360px,calc(100vw - 48px));padding:16px;background:#fff;border:1px solid #e5ebf5;border-radius:16px;box-shadow:0 16px 45px #102d5926;max-height:calc(100dvh - 200px);overflow-y:auto;gap:2px}
.catalog-store .main-nav.open{display:flex;flex-direction:column;align-items:stretch}.catalog-store .main-nav a{padding:10px 12px;min-height:44px;font-size:16px}.catalog-store .main-nav a:after{display:none}.catalog-store .main-nav a.active{background:#edf4ff;border-radius:8px}
.store-install{border:0;background:#fff5cd;color:#183259;border-radius:8px;min-height:44px;cursor:pointer;font-size:16px;font-weight:700}
html.catalog-store-root .site-page{max-width:1280px;margin:auto;padding:120px 24px 42px;background:linear-gradient(#fff 210px,#f8faff 540px);min-height:85vh}
.store-search-row{display:flex;direction:ltr;gap:12px;align-items:stretch;margin-bottom:18px}.store-search{display:flex;align-items:center;gap:12px;flex:1;min-width:0;direction:rtl;border:1px solid #dce5f2;box-shadow:0 2px 8px #102d5903;border-radius:12px;padding:0 17px;background:#fff}
html[dir=ltr] .store-search{direction:ltr}.store-search input{width:100%;min-width:0;border:0;background:transparent;min-height:56px;padding:9px 0;color:#142d51;font:500 16px/1.5 Tajawal,Arial,sans-serif;outline:0}.store-search input::placeholder{color:#75859e}
.store-search:focus-within{outline:2px solid #0755e6;outline-offset:1px}.store-search .yk-icon{width:26px;height:26px;color:#193c70}
.store-filter-toggle{display:grid;place-items:center;width:58px;flex:none;border:1px solid transparent;border-radius:12px;background:#f0f5fc;color:#15396f;cursor:pointer}.store-filter-toggle .yk-icon{width:27px;height:27px}.store-filter-toggle[aria-expanded=true]{border-color:#0755e6;background:#e6f0ff}
.store-categories{display:flex;overflow-x:auto;gap:9px;padding:0 0 7px;margin:0 0 15px;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#dce5f3 transparent}
.store-category{display:flex;flex:1 0 106px;min-width:106px;max-width:140px;min-height:104px;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:12px 9px;color:#0b2454;background:#f2f6fc;border:1px solid transparent;border-radius:13px;position:relative;text-align:center;scroll-snap-align:start}
.store-category .yk-icon{width:34px;height:34px;color:#0755e6;flex:none}.store-category>span{font-size:14px;font-weight:700;line-height:1.35;overflow-wrap:break-word}
.store-category[aria-current=true]{background:#eaf2ff}.store-category[aria-current=true]:after{content:'';position:absolute;bottom:0;inset-inline:10px;height:3px;background:#ffca00;border-radius:2px}
.store-filter-panel{background:#f0f5fd;border:1px solid #e0e9f6;padding:16px;border-radius:12px;display:grid;grid-template-columns:1.5fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:18px}
.store-filter-panel label{display:grid;gap:7px;font-size:14px;font-weight:700;min-width:0}.store-filter-panel input,.store-filter-panel select{min-width:0;width:100%;min-height:44px;border:1px solid #cad9ed;border-radius:8px;background:#fff;color:#102c53;padding:8px;font:500 16px/1.4 Tajawal,Arial,sans-serif}
.store-filter-panel button,.store-clear-search{border:1px solid #c2d6f2;background:#fff;color:#0755e6;border-radius:8px;min-height:44px;padding:8px 14px;font-weight:700;cursor:pointer}
.catalog-store .catalog-products-shell{padding:0;max-width:none}
.catalog-store .catalog-toolbar{position:static;padding:0;margin:0 0 16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:transparent;box-shadow:none;backdrop-filter:none;border:0}
.catalog-store #result-count{font-size:16px;font-weight:500;color:#6b7c97}.store-sort{display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #e2e9f3;border-radius:9px;background:#fff;min-height:44px;max-width:100%}.store-sort .yk-icon{width:20px;height:20px;color:#244974}
.store-sort select{border:0;min-width:0;max-width:210px;min-height:44px;padding:7px 4px;color:#18355b;background:transparent;font:500 15px/1.4 Tajawal,Arial,sans-serif}
.catalog-store .product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.catalog-store .product-card{display:grid;grid-template-columns:44% minmax(0,1fr);direction:ltr;padding:10px;border-radius:15px;border:1px solid #ecf0f6;background:#fff;box-shadow:0 4px 20px #15376405;transition:box-shadow .18s,border-color .18s}
.catalog-store .product-card:hover{transform:none;box-shadow:0 7px 26px #1537640c;border-color:#d2e0f3}
.catalog-store .product-visual{height:100%;min-height:170px;border-radius:10px;background:#f5f7fa;display:grid;place-items:center;overflow:hidden}
.catalog-store .product-visual:before,.catalog-store .product-visual:after{display:none}.catalog-store .product-visual img{display:block;width:100%;height:100%;max-height:240px;object-fit:contain;padding:0;mix-blend-mode:normal}
.store-photo-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:16px;color:#7391b9;text-align:center;direction:rtl}.store-photo-fallback .yk-icon{width:48px;height:48px;stroke-width:1.25}.store-photo-fallback span{font-size:13px;line-height:1.4}
.catalog-store .product-card-body{padding:9px 0 3px 12px;display:flex;flex-direction:column;min-width:0;text-align:start;direction:rtl}html[dir=ltr] .catalog-store .product-card-body{direction:ltr}
.catalog-store .product-card h3{font-size:16px;line-height:1.4;margin:0 0 15px;min-height:0;font-weight:800;overflow-wrap:anywhere;direction:ltr;text-align:left}.catalog-store .product-card h3 a{display:block}
.catalog-store .product-card-footer{border:0;padding:0;margin-top:auto;display:block}.catalog-store .product-card-footer>b{display:block;color:#0755e6;font-size:24px;font-weight:800;line-height:1.35;white-space:normal}
.store-stock{display:block;font-size:14px;color:#09845c;margin-top:4px;font-weight:700;line-height:1.35}
.catalog-store .quick-add{border:0;border-radius:9px;background:#0755e6;color:#fff;min-height:44px;margin-top:12px;padding:9px 7px;gap:6px;font-size:14px;line-height:1.35;flex-wrap:wrap}.catalog-store .quick-add .yk-icon{width:20px;height:20px}.catalog-store .quick-add:hover{background:#0048cc;transform:none}
.catalog-store .pagination{flex-wrap:wrap;margin-top:30px;gap:7px}.catalog-store .pagination button{min-height:44px;min-width:40px;font-size:15px;border-radius:9px}.catalog-store .inventory-note{font-size:14px;color:#6b7c97;text-align:center;margin:22px 0 0}
.catalog-store .empty-state{padding:40px 20px;line-height:1.6}.catalog-store .empty-state a{display:inline-block;margin:14px;color:#0755e6;text-decoration:underline;font-size:16px}
.catalog-store .site-footer{border-top:1px solid #e5edf8;background:#fff;color:#466180;padding-block:28px;font-size:14px}.catalog-store .site-footer img{width:130px;filter:none}
.catalog-store .app-install-trigger{display:none}.catalog-store .floating-wa{display:none}
.catalog-store .mobile-app-nav{grid-template-columns:repeat(4,minmax(0,1fr));direction:ltr;background:#fffffffa;border-top:1px solid #edf1f7;box-shadow:0 -5px 24px #18365a05;padding:7px 12px calc(7px + env(safe-area-inset-bottom))}
.catalog-store .mobile-app-nav a{position:relative;background:transparent!important;color:#153258;border-radius:0;min-height:54px;gap:5px;padding:0 3px}.catalog-store .mobile-app-nav a span{font-size:14px;line-height:1.3}.catalog-store .mobile-app-nav a .yk-icon{width:25px;height:25px;color:inherit}
.catalog-store .mobile-app-nav a.active{color:#091f4b}.catalog-store .mobile-app-nav a.active>.yk-icon{color:#efb800;fill:#ffe078}.catalog-store .mobile-app-nav a.active:after{content:'';position:absolute;bottom:-5px;width:56px;max-width:80%;height:3px;background:#ffc800;border-radius:2px}.catalog-store .mobile-app-nav .cart-badge{font-size:12px;min-width:17px;height:17px}
.catalog-store :is(a,button,input,select):focus-visible{outline:3px solid #0755e6;outline-offset:3px}
@media(max-width:1050px){.catalog-store .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html.catalog-store-root{--header-height:88px;scroll-padding-top:104px}.store-header-inner{height:88px;padding:8px 14px;gap:6px}.store-header-tools{gap:6px}.store-brand img{width:113px;height:67px}.catalog-store .language-switch{gap:2px}.catalog-store .language-switch button{min-width:25px;font-size:13px}.catalog-store .menu-btn{width:31px}.store-cart{width:35px}.store-cart .yk-icon{width:30px;height:30px}.catalog-store .main-nav{top:88px;left:14px;width:calc(100vw - 28px)}html.catalog-store-root .site-page{padding:101px 12px 30px}.store-search-row{gap:9px;margin-bottom:13px}.store-search{padding-inline:12px;gap:7px;border-radius:10px}.store-search input{min-height:49px}.store-search .yk-icon{width:23px;height:23px}.store-filter-toggle{width:48px;border-radius:10px}.store-categories{gap:7px;margin-bottom:12px}.store-category{min-width:91px;flex-basis:91px;min-height:95px;padding:10px 7px;gap:7px;border-radius:10px}.store-category .yk-icon{width:29px;height:29px}.store-category>span{font-size:14px}.catalog-store .catalog-toolbar{gap:8px;margin-bottom:12px}.catalog-store #result-count{font-size:14px}.store-sort{padding-inline:8px;max-width:63%}.store-sort select{font-size:14px;max-width:175px}.store-sort .yk-icon{width:17px}.store-filter-panel{grid-template-columns:1fr 1fr;padding:12px;gap:10px}.store-filter-panel label:first-child{grid-column:1/-1}.store-filter-panel button{grid-column:1/-1}.catalog-store .product-grid{gap:10px}.catalog-store .product-card{display:flex;flex-direction:column;padding:8px;border-radius:12px}.catalog-store .product-visual{height:auto;min-height:0;aspect-ratio:1/1;border-radius:8px;flex:none}.catalog-store .product-visual img{max-height:none;position:absolute;inset:0}.store-photo-fallback .yk-icon{width:42px;height:42px}.catalog-store .product-card-body{padding:11px 2px 2px;flex:1}.catalog-store .product-card h3{font-size:15px;line-height:1.4;margin-bottom:12px}.catalog-store .product-card-footer>b{font-size:21px}.store-stock{font-size:14px}.catalog-store .quick-add{font-size:14px;margin-top:10px;padding-inline:4px;gap:5px}.catalog-store .quick-add .yk-icon{width:18px;height:18px}.catalog-store .site-footer{padding-inline:20px}.catalog-store .shop-notice{bottom:calc(88px + env(safe-area-inset-bottom));font-size:15px}}
@media(max-width:370px){.store-brand img{width:91px;height:62px}.store-header-inner{padding-inline:10px;gap:2px}.store-header-tools{gap:3px}.catalog-store .language-switch button{min-width:23px}.catalog-store .product-card-footer>b{font-size:19px}.catalog-store .product-card h3{font-size:14px}.catalog-store .quick-add{font-size:14px}.catalog-store .quick-add .yk-icon{display:none}.catalog-store .mobile-app-nav a span{font-size:13px}}
@media(prefers-reduced-motion:reduce){.catalog-store *{scroll-behavior:auto!important;transition:none!important}}
