*{margin:0;padding:0;box-sizing:border-box}button{-webkit-tap-highlight-color:transparent;outline:none}
body{font-family:'IBM Plex Sans Arabic',-apple-system,BlinkMacSystemFont,sans-serif;background:#f5f5f7;min-height:100vh;padding:20px}

.header{max-width:1400px;margin:0 auto 18px;background:rgba(255,255,255,0.97);padding:14px 28px;border-radius:14px;box-shadow:0 2px 16px rgba(0,0,0,0.08);display:flex;justify-content:space-between;align-items:center;position:sticky;top:16px;z-index:1000;backdrop-filter:blur(12px);border:1px solid rgba(229,231,235,0.5)}
.logo{display:flex;align-items:center;gap:10px;cursor:pointer;transition:transform 0.2s ease;text-decoration:none}
.logo:hover{transform:translateY(-1px)}
.logo-circle{width:40px;height:40px;background:linear-gradient(135deg,#000 0%,#2d2d2d 100%);border-radius:10px;display:flex;align-items:center;justify-content:center;color:white;font-size:15px;font-weight:700;letter-spacing:-0.5px;box-shadow:0 3px 10px rgba(0,0,0,0.2)}
.logo-text{font-size:16px;font-weight:700;color:#111827;letter-spacing:-0.3px}
.header-left{display:flex;align-items:center;gap:10px}
.cart-btn{background:#000;color:white;padding:0;border-radius:10px;cursor:pointer;border:none;transition:all 0.2s ease;position:relative;width:42px;height:42px;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(0,0,0,0.15)}
.cart-btn:hover{background:#1f1f1f;transform:translateY(-2px);box-shadow:0 5px 15px rgba(0,0,0,0.2)}
.cart-btn:active{transform:translateY(0)}
.cart-btn svg{width:20px;height:20px;stroke:white;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.cart-count{position:absolute;top:-7px;right:-7px;background:linear-gradient(135deg,#ef4444,#dc2626);color:white;min-width:20px;height:20px;padding:0 5px;border-radius:10px;display:none;align-items:center;justify-content:center;font-size:10px;font-weight:700;border:2px solid white;box-shadow:0 2px 8px rgba(239,68,68,0.4);animation:popIn 0.3s cubic-bezier(0.34,1.56,0.64,1)}
.cart-count.show{display:flex}
@keyframes popIn{0%{transform:scale(0);opacity:0}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}

.search-card{background:white;border-radius:12px;border:1px solid #e8e8e8;box-shadow:0 1px 6px rgba(0,0,0,0.06);padding:6px 11px}
.search-wrapper{position:relative;width:100%;margin-bottom:0}
.search-icon{position:absolute;top:50%;right:14px;transform:translateY(-50%);color:#9ca3af;pointer-events:none}
.search-icon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.search-input{width:100%;padding:7px 38px 7px 12px;border:none;border-radius:8px;font-size:16px;background:transparent;font-weight:500;color:#111827;background:transparent;font-family:inherit;transition:all 0.2s ease;box-shadow:none}
.search-input:focus{outline:none;border-color:#000;box-shadow:0 0 0 3px rgba(0,0,0,0.08)}
.search-input::placeholder{color:#9ca3af}

.filter-pills::-webkit-scrollbar{display:none}
.filter-pill:hover{border-color:#9ca3af;color:#374151;background:#f9fafb}

.container{max-width:1400px;margin:0 auto;padding:0 4px}
.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;padding-bottom:80px}

/* ═══════ Regular Product Cards ═══════ */
.product-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,0.06);cursor:pointer;border:1px solid #f0f0f0;display:flex;flex-direction:column;transition:all 0.25s ease}
.product-card:hover{box-shadow:0 10px 28px rgba(0,0,0,0.1);border-color:#e0e0e0;transform:translateY(-4px)}
.product-image-wrapper{width:100%;height:175px;overflow:hidden;position:relative;background:#f8f8f8}
.product-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.product-image img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;transition:transform 0.3s ease}
.product-card:hover .product-image img{transform:scale(1.03)}
.product-info{padding:10px 12px 11px;flex:1;display:flex;flex-direction:column;gap:8px}
.product-header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.product-name{font-size:12px;font-weight:700;color:#111827;line-height:1.4}
.product-details-btn{display:inline-flex;align-items:center;gap:3px;background:#f3f4f6;color:#6b7280;padding:4px 8px;border-radius:6px;font-size:10.5px;font-weight:600;cursor:pointer;transition:all 0.2s ease;flex-shrink:0;font-family:inherit;border:none}
.product-details-btn:hover{background:#e5e7eb;color:#374151}
.product-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.product-price{font-size:11px;font-weight:600;color:#6b7280;white-space:nowrap}
.product-price span{font-size:13px;font-weight:700;color:#111827}
.buy-btn{background:#111827;color:white;border:none;padding:8px 16px;border-radius:8px;font-size:11.5px;font-weight:700;cursor:pointer;transition:all 0.2s ease;-webkit-tap-highlight-color:transparent;font-family:inherit;flex-shrink:0;letter-spacing:0.1px}
.buy-btn:hover{background:#1f2937}
.buy-btn:active{transform:scale(0.97)}

/* ═══════ Steam Game Cards ═══════ */
@keyframes sgc-pulse{0%,100%{opacity:1}50%{opacity:0.4}}
.steam-game-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,0.06);border:1px solid #f0f0f0;display:flex;flex-direction:column;transition:all 0.25s ease}
.steam-game-card:hover{box-shadow:0 10px 28px rgba(0,0,0,0.1);border-color:#e0e0e0;transform:translateY(-4px)}
.sgc-top{background:#111827;padding:14px 14px 13px;display:flex;flex-direction:column;gap:7px;position:relative;overflow:hidden}
.sgc-top::before{content:’’;position:absolute;top:0;left:0;right:0;bottom:0;background:repeating-linear-gradient(0deg,transparent,transparent 28px,rgba(255,255,255,0.018) 28px,rgba(255,255,255,0.018) 29px);pointer-events:none}
.sgc-badges{display:flex;align-items:center;gap:5px}
.sgc-offline-pill{display:inline-flex;align-items:center;gap:4px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12);color:rgba(255,255,255,0.55);font-size:9px;font-weight:700;padding:2px 8px;border-radius:5px;letter-spacing:0.5px}
.sgc-dot{width:4px;height:4px;border-radius:50%;background:#6ee7b7;animation:sgc-pulse 2.5s ease infinite;flex-shrink:0}
.sgc-count-tag{background:rgba(255,255,255,0.07);color:rgba(255,255,255,0.4);font-size:9px;font-weight:700;padding:2px 8px;border-radius:5px;border:1px solid rgba(255,255,255,0.1);letter-spacing:0.3px}
.sgc-title{font-size:13.5px;font-weight:700;color:#fff;line-height:1.35;letter-spacing:-0.2px}
.sgc-bottom{padding:11px 13px 12px;display:flex;flex-direction:column;gap:9px;flex:1}
.sgc-games{display:flex;flex-direction:column;flex:1}
.sgc-game-row{display:flex;align-items:center;gap:9px;padding:4.5px 0;border-bottom:1px solid #f4f4f5}
.sgc-game-row:last-child{border-bottom:none}
.sgc-game-num{font-size:9px;font-weight:700;color:#d1d5db;width:14px;flex-shrink:0;text-align:center}
.sgc-game-name{font-size:11.5px;font-weight:500;color:#374151;line-height:1.3;flex:1}
.sgc-footer{display:flex;align-items:center;justify-content:space-between;padding-top:9px;border-top:1px solid #f3f4f6;margin-top:auto}
.sgc-price-block{display:flex;flex-direction:column;gap:1px}
.sgc-price-label{font-size:9px;color:#9ca3af;font-weight:500;letter-spacing:0.3px}
.sgc-price-val{font-size:15px;font-weight:800;color:#111827;letter-spacing:-0.4px;line-height:1.1}
.sgc-price-cur{font-size:10px;font-weight:500;color:#9ca3af;margin-right:2px}
.sgc-cart-btn{display:inline-flex;align-items:center;gap:5px;background:#111827;color:white;border:none;padding:8px 14px;border-radius:8px;font-size:11.5px;font-weight:700;cursor:pointer;transition:all 0.2s ease;font-family:inherit;letter-spacing:0.1px}
.sgc-cart-btn:hover{background:#1f2937;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,0.2)}
.sgc-cart-btn:active{transform:scale(0.97)}
.sgc-custom-card{background:#111827;border-radius:14px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,0.06);border:1px solid #1f2937;display:flex;flex-direction:column;transition:all 0.25s ease;cursor:pointer}
.sgc-custom-card:hover{box-shadow:0 10px 28px rgba(0,0,0,0.18);transform:translateY(-4px);border-color:#374151}
.sgc-custom-body{padding:20px 16px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;min-height:160px}
.sgc-custom-icon{width:44px;height:44px;border-radius:12px;background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.1);display:flex;align-items:center;justify-content:center}
.sgc-custom-title{font-size:13.5px;font-weight:700;color:#fff;letter-spacing:-0.2px}
.sgc-custom-sub{font-size:11px;color:rgba(255,255,255,0.4);line-height:1.5;max-width:160px}
.sgc-custom-btn{display:inline-flex;align-items:center;gap:5px;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.15);color:rgba(255,255,255,0.8);padding:8px 16px;border-radius:8px;font-size:11.5px;font-weight:700;cursor:pointer;transition:all 0.2s ease;font-family:inherit;margin-top:2px}
.sgc-custom-btn:hover{background:rgba(255,255,255,0.15);color:#fff}
/* Custom order modal */
.custom-order-wrap{display:flex;flex-direction:column;gap:14px}
.custom-input{width:100%;padding:11px 14px;border:1.5px solid #e5e7eb;border-radius:10px;font-size:14px;font-family:inherit;color:#111827;transition:border-color 0.2s;outline:none;background:#fff}
.custom-input:focus{border-color:#111827;box-shadow:0 0 0 3px rgba(0,0,0,0.06)}
.custom-input::placeholder{color:#9ca3af}
.custom-label{font-size:12px;font-weight:700;color:#374151;margin-bottom:3px}
.custom-note{font-size:11px;color:#9ca3af;line-height:1.5;background:#f9fafb;border-radius:8px;padding:10px 12px;border:1px solid #f0f0f0}

/* Autocomplete */
.autocomplete-box{position:absolute;top:calc(100% + 6px);right:0;left:0;background:white;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,0.12);border:1px solid #e8e8e8;overflow:hidden;z-index:5000;display:none}
.autocomplete-box.show{display:block}
.ac-item{padding:9px 14px;font-size:13px;font-weight:500;color:#111827;cursor:pointer;display:flex;align-items:center;gap:8px;transition:background 0.15s}
.ac-item:hover,.ac-item.focused{background:#f5f5f7}
.ac-item-icon{color:#9ca3af;flex-shrink:0;font-size:11px}
.ac-match{color:#111827;font-weight:700}

/* ═══════ Notification & Modal ═══════ */
.notification{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(120px);background:#111827;color:white;padding:14px 28px;border-radius:50px;font-weight:700;font-size:13px;box-shadow:0 8px 32px rgba(0,0,0,0.35);z-index:10000;opacity:0;transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1);display:flex;align-items:center;gap:8px;white-space:nowrap}
.notification::before{content:“✓”;font-size:15px;font-weight:900}
.notification.show{opacity:1;transform:translateX(-50%) translateY(0)}

.modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);display:none;align-items:center;justify-content:center;z-index:20000;padding:20px;backdrop-filter:blur(4px)}
.modal.show{display:flex}
.modal-content{background:white;border-radius:18px;max-width:500px;width:100%;max-height:80vh;overflow-y:auto;position:relative;animation:modalSlideIn 0.28s cubic-bezier(0.34,1.4,0.64,1)}
@keyframes modalSlideIn{from{opacity:0;transform:translateY(20px) scale(0.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.modal-header{padding:20px 20px 16px;border-bottom:1px solid #f3f4f6;position:sticky;top:0;background:white;z-index:1;border-radius:18px 18px 0 0;display:flex;align-items:center;justify-content:space-between}
.modal-title{font-size:17px;font-weight:700;color:#111827}
.modal-close{background:none;border:none;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:8px;cursor:pointer;color:#9ca3af;font-size:20px;transition:all 0.2s ease}
.modal-close:hover{background:#f3f4f6;color:#374151}
.modal-body{padding:20px}

.plans-grid{display:grid;grid-template-columns:1fr;gap:8px}
.plan-card{background:white;border:2px solid #e5e7eb;border-radius:10px;padding:14px 16px;cursor:pointer;transition:all 0.2s ease;display:flex;justify-content:space-between;align-items:center}
.plan-card:hover{border-color:#9ca3af;background:#fafafa}
.plan-card.selected{border-color:#000;background:#f9fafb;box-shadow:0 2px 8px rgba(0,0,0,0.1)}
.plan-duration{font-size:14px;font-weight:700;color:#111827}
.plan-price{font-size:17px;font-weight:700;color:#000}
.plan-price .currency{font-size:11px;color:#6b7280;margin-right:3px}

.add-to-cart-modal{background:#000;color:white;border:none;padding:13px 32px;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;transition:all 0.2s ease;width:100%;margin-top:16px;font-family:inherit}
.add-to-cart-modal:hover{background:#1f2937}
.add-to-cart-modal:active{transform:scale(0.98)}

.detail-item{display:flex;gap:8px;margin-bottom:8px;align-items:flex-start;line-height:1.6}
.detail-bullet{color:#000;font-weight:700;flex-shrink:0;margin-top:2px}
.detail-text{color:#374151;font-size:13px;font-weight:500}
.detail-text strong{color:#111827;font-weight:700}

.skeleton-card{background:#fff;border-radius:14px;overflow:hidden;border:1px solid #f0f0f0}
.skeleton{background:linear-gradient(90deg,#f0f0f0 25%,#e0e0e0 50%,#f0f0f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:6px}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.skeleton-img{width:100%;height:175px;border-radius:0}
.skeleton-info{padding:14px 16px}
.skeleton-title{height:14px;width:70%;margin-bottom:10px}
.skeleton-price{height:12px;width:45%}

.no-results{grid-column:1/-1;text-align:center;padding:60px 20px;color:#9ca3af}
.no-results-icon{font-size:48px;margin-bottom:14px;opacity:0.6}
.no-results p{font-size:14px;font-weight:600;color:#b0b0b0}

.footer{max-width:1400px;margin:50px auto 20px;background:linear-gradient(135deg,#0d0d0d 0%,#1a1a1a 100%);color:white;padding:40px 30px 25px;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,0.12)}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:30px;margin-bottom:30px}
.footer-section{display:flex;flex-direction:column;gap:10px}
.footer-section-title{font-size:15px;font-weight:700;color:#fff;margin-bottom:6px}
.footer-text{font-size:13px;line-height:1.7;color:#d1d5db}
.whatsapp-link{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#25D366,#128C7E);color:white;width:46px;height:46px;border-radius:12px;text-decoration:none;transition:all 0.3s ease;box-shadow:0 4px 15px rgba(37,211,102,0.3)}
.whatsapp-link:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 6px 20px rgba(37,211,102,0.45)}
.whatsapp-link svg{width:26px;height:26px;fill:white}
.footer-divider{height:1px;background:rgba(255,255,255,0.08);margin:25px 0 20px}
.footer-bottom{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.footer-social{display:flex;align-items:center;gap:8px}
.footer-instagram{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#E1306C,#C13584 50%,#833AB4);width:46px;height:46px;border-radius:12px;text-decoration:none;transition:all 0.3s ease;box-shadow:0 4px 15px rgba(193,53,132,0.3)}
.footer-instagram:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 6px 20px rgba(193,53,132,0.45)}
.footer-instagram svg{width:24px;height:24px;stroke:white;fill:none;stroke-width:2}
.footer-copyright{color:#6b7280;font-size:12px;font-weight:500}

@media(max-width:768px){
.header{padding:12px 18px}
.logo-text{display:none}
.products-grid{grid-template-columns:repeat(2,1fr);gap:12px}
.product-image-wrapper{height:150px}
.notification{bottom:80px;padding:12px 22px;font-size:12px}
.footer{padding:28px 18px 20px;margin:30px auto 20px}
.footer-grid{grid-template-columns:1fr;gap:22px}
.footer-section{text-align:center;align-items:center}
.search-filter-section{gap:10px}
}
@media(max-width:480px){
.products-grid{grid-template-columns:1fr;gap:14px}
.product-image-wrapper{height:200px}
.notification{bottom:20px}
}

/* ═══════ Filter Card Wrapper ═══════ */
.search-filter-section{max-width:1400px;margin:0 auto 24px;padding:0 4px;display:flex;flex-direction:column;gap:0}
.filter-card{background:transparent;border:none;box-shadow:none;padding:0;display:flex;flex-direction:column;gap:0}
/* ═══════ Main Category Circles ═══════ */
.main-categories{display:flex;gap:4px;background:#e8e8ea;border-radius:50px;padding:3px}
.main-cat-btn{flex:1;display:flex;align-items:center;justify-content:center;cursor:pointer;border:none;background:transparent;font-family:inherit;padding:8px 6px;border-radius:50px;transition:all 0.22s ease;white-space:nowrap;-webkit-tap-highlight-color:transparent;outline:none;user-select:none}
.main-cat-btn:hover:not(.active){background:rgba(255,255,255,0.55)}
.main-cat-btn.active{background:#111827;box-shadow:0 3px 12px rgba(0,0,0,0.22)}
.mcat-text{font-size:12.5px;font-weight:600;color:#888;transition:all 0.2s ease;white-space:nowrap;letter-spacing:-0.1px}
.main-cat-btn.active .mcat-text{color:white;font-weight:700;letter-spacing:-0.2px}
.cat-divider{height:1px;background:#e8e8e8;margin:10px 0}
/* ═══════ Filter Pills ═══════ */
.filter-pills{display:flex;gap:0;flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:none;-ms-overflow-style:none}
.filter-pills::-webkit-scrollbar{display:none}
.filter-pill{display:flex;flex-direction:column;align-items:center;gap:5px;flex-shrink:0;padding:3px 8px;background:transparent;border:none;cursor:pointer;font-family:inherit;transition:all 0.2s ease;-webkit-tap-highlight-color:transparent;outline:none;user-select:none}
.pill-circle{width:52px;height:52px;border-radius:50%;background:white;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:all 0.25s cubic-bezier(0.34,1.4,0.64,1);border:1.5px solid #e5e5e5;box-shadow:0 1px 6px rgba(0,0,0,0.09)}
.pill-circle img{width:100%;height:100%;object-fit:cover;border-radius:50%;transition:transform 0.2s ease}
.pill-circle svg{stroke:#6b7280;transition:all 0.2s ease;width:22px;height:22px;flex-shrink:0}
.pill-label{font-size:10px;font-weight:600;color:#aaa;white-space:nowrap;transition:all 0.2s ease}
.filter-pill.active .pill-circle{border-color:#111827;border-width:2.5px;box-shadow:0 4px 14px rgba(0,0,0,0.18);transform:scale(1.06)}
.filter-pill.active .pill-circle img{width:100%;height:100%}
.filter-pill.active .pill-circle svg{stroke:#6b7280}.filter-pill.active .pill-circle.icon-only{background:#111827}.filter-pill.active .pill-circle.icon-only svg{stroke:white}
.filter-pill.active .pill-label{color:#111827;font-weight:700}
.filter-pill:hover:not(.active) .pill-circle{background:#ebebeb;transform:translateY(-2px);box-shadow:0 4px 10px rgba(0,0,0,0.08)}.filter-pill:focus .pill-circle,.filter-pill:active:not(.active) .pill-circle{outline:none;box-shadow:none}
/* ═══════ Steam Sub-Pills ═══════ */
.steam-sub-section{display:none}
.steam-sub-section.show{display:flex;background:#edf1f7;border-radius:12px;padding:4px;gap:0;margin-top:12px}
.steam-sub-pill{flex:1;padding:9px 10px;border:none;border-radius:9px;font-size:12.5px;font-weight:600;color:#6b7280;background:transparent;cursor:pointer;font-family:inherit;transition:all 0.2s ease;text-align:center;white-space:nowrap;-webkit-tap-highlight-color:transparent;outline:none;user-select:none}
.steam-sub-pill:hover:not(.active){background:rgba(255,255,255,0.6);color:#374151}
.steam-sub-pill.active{background:#1b2838;color:white;font-weight:700;box-shadow:0 3px 12px rgba(27,40,56,0.28)}
@media(max-width:768px){.main-cat-btn{padding:8px 6px;gap:5px}.mcat-icon{font-size:14px}.mcat-text{font-size:12px}.filter-card{padding:12px 14px;gap:10px}}