.p-products-page{--primary-blue:#0284c7;--primary-blue-hover:#0369a1;--soft-blue:#f0f7ff;--border-light:#e2e8f0;--text-dark:#0f172a;--text-muted:#64748b;--text-light:#94a3b8;width:100%;max-width:1380px;margin:0 auto;padding:40px 24px 100px;direction:rtl;font-family:inherit;color:var(--text-dark)}.p-page-header{display:flex;align-items:center;justify-content:flex-start;margin-bottom:24px}.p-page-title{font-size:22px;font-weight:800;color:var(--primary-blue);margin:0}.p-filter-bar{justify-content:space-between;background:#ffffff;border-radius:9999px;padding:8px 14px;box-shadow:0 4px 24px rgba(0,50,100,.05);border:1px solid #eef2f6;margin-bottom:32px;gap:16px}.p-filter-bar,.p-filter-group{display:flex;align-items:center;flex-wrap:wrap}.p-filter-group{gap:10px}.p-filter-pill-wrap{position:relative}.p-filter-pill-btn{display:inline-flex;align-items:center;gap:8px;background:#ffffff;border:1px solid #e2e8f0;border-radius:9999px;padding:8px 18px;color:#334155;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;font-family:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}.p-filter-pill-btn:hover{border-color:#cbd5e1;background:#f8fafc}.p-filter-pill-btn.active,.p-filter-pill-btn.has-value{border-color:#0284c7;background:#f0f9ff;color:#0284c7;box-shadow:0 0 0 3px rgba(2,132,199,.12)}.p-filter-pill-btn svg{color:#0284c7}.p-filter-chevron{margin-right:2px;transition:transform .2s ease;color:#94a3b8}.p-filter-pill-btn.active .p-filter-chevron{transform:rotate(180deg);color:#0284c7}.p-filter-popup{position:absolute;top:calc(100% + 8px);right:0;min-width:250px;max-width:320px;background:#ffffff;border-radius:20px;border:1px solid #e2e8f0;box-shadow:0 16px 36px -4px rgba(15,23,42,.16),0 4px 12px rgba(0,0,0,.04);padding:10px;z-index:9999;animation:pMenuIn .2s cubic-bezier(.16,1,.3,1);transform-origin:top right}@keyframes pMenuIn{0%{opacity:0;transform:scale(.95) translateY(-6px)}to{opacity:1;transform:scale(1) translateY(0)}}.p-popup-search{padding:4px 4px 8px;border-bottom:1px solid #f1f5f9;margin-bottom:6px}.p-popup-search-input{width:100%;padding:8px 12px;border-radius:12px;border:1px solid #e2e8f0;background:#f8fafc;font-size:12px;color:#1e293b;outline:none;font-family:inherit;transition:all .15s ease}.p-popup-search-input:focus{border-color:#0284c7;background:#ffffff;box-shadow:0 0 0 2px rgba(2,132,199,.1)}.p-popup-list{max-height:240px;overflow-y:auto;display:flex;flex-direction:column;gap:3px;padding-left:2px}.p-popup-list::-webkit-scrollbar{width:5px}.p-popup-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.p-popup-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border-radius:12px;font-size:13px;font-weight:500;color:#334155;cursor:pointer;transition:all .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:none;background:transparent;width:100%;text-align:right;font-family:inherit}.p-popup-item:hover{background:#f0f9ff;color:#0284c7}.p-popup-item.selected{background:#e0f2fe;color:#0369a1;font-weight:700}.p-popup-item-check{color:#0284c7}.p-popup-empty{padding:16px;text-align:center;font-size:12px;color:#94a3b8}.p-search-group{display:flex;align-items:center;gap:8px;flex:1 1;max-width:400px;-webkit-margin-start:auto;margin-inline-start:auto}.p-search-input{flex:1 1;border:none;background:transparent;outline:none;font-size:13px;color:#1e293b;font-family:inherit;padding:6px 12px}.p-search-input::placeholder{color:#94a3b8}.p-search-btn{width:36px;height:36px;min-width:36px;border-radius:50%;background:#0284c7;color:#ffffff;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 10px rgba(2,132,199,.3)}.p-search-btn:hover{background:#0369a1;transform:scale(1.05)}.p-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:22px;gap:22px}.p-product-card{background:#ffffff;border-radius:22px;border:1px solid #edf2f7;box-shadow:0 4px 20px rgba(0,0,0,.04);overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding-bottom:34px;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.p-product-card:hover{transform:translateY(-6px);box-shadow:0 16px 36px rgba(2,132,199,.12);border-color:#bae6fd}.p-product-image-box{background:linear-gradient(180deg,#f8fafc,#edf2f7);border-radius:18px;margin:12px 12px 8px;width:calc(100% - 24px);height:155px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-product-image{max-width:85%;max-height:130px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(0,0,0,.08));transition:transform .35s ease}.p-product-card:hover .p-product-image{transform:scale(1.08)}.p-product-brand-sku{font-size:11px;color:#94a3b8;font-weight:500;margin-top:6px;padding:0 12px}.p-product-title{font-size:14px;font-weight:700;color:#0f172a;margin:6px 12px;min-height:42px}.p-product-desc,.p-product-title{line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.p-product-desc{font-size:11px;color:#64748b;margin:0 14px 10px;min-height:33px}.p-product-specs{display:flex;flex-direction:column;gap:3px;font-size:10.5px;color:#64748b;margin-bottom:12px;padding:0 12px;line-height:1.4}.p-product-spec-item{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.p-product-price{font-size:15px;font-weight:800;color:#0284c7;margin-top:auto;margin-bottom:14px}.p-product-actions{gap:10px;width:100%;padding:0 16px;position:relative;z-index:2}.p-btn-add,.p-product-actions{display:flex;justify-content:center}.p-btn-add{flex:1 1;height:38px;border-radius:10px;background:#0284c7;color:#ffffff;font-weight:700;font-size:12px;border:none;cursor:pointer;align-items:center;gap:4px;box-shadow:0 4px 12px rgba(2,132,199,.25);transition:all .2s ease;font-family:inherit}.p-btn-add:hover{background:#0369a1;transform:translateY(-1px)}.p-btn-details{flex:1 1;height:38px;border-radius:10px;background:#f0f7ff;color:#0284c7;font-weight:600;font-size:12px;border:1px solid #dbeafe;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;font-family:inherit}.p-btn-details:hover{background:#e0f2fe;border-color:#bae6fd}.p-card-wave-container{position:absolute;bottom:0;left:0;right:0;height:50px;pointer-events:none;z-index:1;overflow:hidden;border-bottom-left-radius:22px;border-bottom-right-radius:22px;line-height:0}.p-card-wave-wrap{position:relative;width:100%;height:100%}.p-card-wave-layer{position:absolute;bottom:0;left:-15%;width:130%;height:100%;object-fit:fill;display:block;transform-origin:center bottom;will-change:transform}.p-card-wave-back{opacity:.5;filter:hue-rotate(-10deg) brightness(1.05);animation:pSeaWaveBack 6.5s ease-in-out infinite alternate}.p-card-wave-front{opacity:.92;animation:pSeaWaveFront 4.2s ease-in-out infinite alternate}.p-product-card:hover .p-card-wave-front{animation-duration:3s}.p-product-card:hover .p-card-wave-back{animation-duration:4.5s}@keyframes pSeaWaveFront{0%{transform:translateZ(0) scaleY(1)}25%{transform:translate3d(-3%,-2px,0) scaleY(1.05) skewX(-1deg)}50%{transform:translate3d(-6%,1px,0) scaleY(.96) skewX(1deg)}75%{transform:translate3d(-2%,-3px,0) scaleY(1.08) skewX(-.5deg)}to{transform:translate3d(4%,0,0) scaleY(.98) skewX(.5deg)}}@keyframes pSeaWaveBack{0%{transform:translate3d(4%,-2px,0) scaleY(1.06) skewX(1deg)}30%{transform:translate3d(0,1px,0) scaleY(.94) skewX(-1deg)}70%{transform:translate3d(-5%,-3px,0) scaleY(1.08) skewX(.8deg)}to{transform:translate3d(-2%,2px,0) scaleY(.96) skewX(-.8deg)}}.p-products-section-wrap{position:relative;min-height:420px;width:100%}.p-blue-loading-overlay{position:absolute;inset:-8px;background:rgba(248,250,252,.72);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:20;border-radius:24px;justify-content:center;gap:16px;animation:pFadeIn .2s ease;pointer-events:none}.p-blue-loading-overlay,.p-blue-spinner-box{display:flex;flex-direction:column;align-items:center}.p-blue-spinner-box{gap:12px;background:#ffffff;padding:22px 34px;border-radius:22px;box-shadow:0 14px 40px rgba(2,132,199,.18),0 0 0 1px #e0f2fe;animation:pPopIn .25s cubic-bezier(.16,1,.3,1)}.p-blue-spinner{width:38px;height:38px;border:3.5px solid #e0f2fe;border-top-color:#0284c7;border-radius:50%;animation:pSpin .75s linear infinite;box-shadow:0 0 14px rgba(2,132,199,.2)}.p-blue-loading-text{color:#0284c7;font-size:13.5px;font-weight:700;font-family:inherit}.p-skeleton-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:22px;gap:22px;width:100%}.p-skeleton-card{background:#ffffff;border-radius:22px;border:1px solid #e0f2fe;padding:14px;display:flex;flex-direction:column;align-items:center;gap:12px;box-shadow:0 4px 20px rgba(2,132,199,.04);position:relative;overflow:hidden;min-height:420px}.p-skeleton-img{width:100%;height:155px;border-radius:16px}.p-skeleton-img,.p-skeleton-line{background:linear-gradient(90deg,#f0f7ff 25%,#e0f2fe 50%,#f0f7ff 75%);background-size:200% 100%;animation:pShimmer 1.5s infinite}.p-skeleton-line{height:12px;border-radius:8px}@keyframes pShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes pFadeIn{0%{opacity:0}to{opacity:1}}@keyframes pPopIn{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.p-empty-state,.p-loading-state{grid-column:1/-1;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#ffffff;border-radius:20px;border:1px dashed #cbd5e1;color:#64748b;padding:40px}.p-spinner{width:32px;height:32px;border:3px solid #e0f2fe;border-top-color:#0284c7;border-radius:50%;animation:pSpin .7s linear infinite}@keyframes pSpin{to{transform:rotate(1turn)}}.p-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.6);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px;direction:rtl;animation:pFadeIn .2s ease}.p-modal-box{background:#ffffff;border-radius:24px;max-width:650px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 25px 50px -12px rgba(0,0,0,.25);position:relative;padding:28px;animation:pPopIn .25s cubic-bezier(.16,1,.3,1)}.p-modal-close{position:absolute;top:18px;left:18px;width:34px;height:34px;border-radius:50%;background:#f1f5f9;border:none;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;transition:all .2s}.p-modal-close:hover{background:#e2e8f0;color:#0f172a}@media (max-width:1200px){.p-products-grid,.p-skeleton-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}@media (max-width:860px){.p-products-page{padding:24px 16px 90px}.p-products-grid,.p-skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.p-filter-bar{border-radius:20px;padding:12px;gap:12px}.p-search-group{max-width:100%;width:100%;order:-1}.p-filter-group{width:100%;gap:8px}}@media (max-width:580px){.p-products-page{padding:16px 12px 90px}.p-page-header{margin-bottom:16px}.p-page-title{font-size:19px}.p-products-grid,.p-skeleton-grid{grid-template-columns:1fr;gap:16px}.p-filter-group{width:100%;display:flex;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px;scrollbar-width:none;flex-wrap:nowrap}.p-filter-group::-webkit-scrollbar{display:none}.p-filter-pill-btn{padding:8px 14px;font-size:12px;white-space:nowrap;flex-shrink:0}.p-filter-popup{position:fixed;top:auto;bottom:24px;right:14px;left:14px;min-width:auto;max-width:none;border-radius:24px;box-shadow:0 20px 60px rgba(15,23,42,.28),0 0 0 1px rgba(0,0,0,.05);z-index:100000;max-height:70vh;display:flex;flex-direction:column;animation:pSlideUpMobile .25s cubic-bezier(.16,1,.3,1)}@keyframes pSlideUpMobile{0%{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.p-modal-backdrop{padding:12px}.p-modal-box{padding:20px 16px;border-radius:20px;max-height:88vh}.p-modal-actions{flex-direction:column;gap:10px}.p-modal-actions button{width:100%}.p-product-card{min-height:380px}.p-product-img-box{height:180px}}