@font-face { font-family: vazir; src: url(Vazir-Bold.woff); } * { box-sizing: border-box; margin: 0; padding: 0; font-family: 'vazir', 'Roboto', sans-serif; } body { background: linear-gradient(135deg, #0a0a14, #1a1230); color: #e0e0f0; overflow-x: hidden; direction: rtl; } .shop-container { display: flex; max-width: 1400px; margin: 0 auto; gap: 24px; padding: 24px; min-height: 100vh; position: relative; flex-wrap: nowrap; } .cart-sidebar { width: 360px; background: #151524; border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); position: fixed; top: 24px; bottom: 24px; right: 24px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #7b68ee #1f1f33; } .cart-sidebar::-webkit-scrollbar { width: 6px; } .cart-sidebar::-webkit-scrollbar-track { background: #1f1f33; border-radius: 10px; } .cart-sidebar::-webkit-scrollbar-thumb { background: #7b68ee; border-radius: 10px; } .cart-sidebar h2 { color: #7b68ee; text-align: center; margin-bottom: 24px; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; } .clear-cart { background: #ff5a6e; border: none; color: #fff; font-size: 16px; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; } .clear-cart:hover { background: #ff8090; transform: scale(1.1); } .clear-cart:active::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: ripple 0.6s ease-out forwards; } .cart-items { min-height: 200px; display: flex; flex-direction: column; gap: 12px; } .cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #1f1f33; border-radius: 12px; padding: 24px; } .cart-empty i { font-size: 48px; color: #7b68ee; margin-bottom: 16px; } .cart-empty p { font-size: 16px; color: #e0e0f0; text-align: center; } .cart-item { display: flex; align-items: center; background: #1f1f33; border-radius: 12px; padding: 16px; transition: all 0.3s ease; position: relative; } .cart-item:hover { background: #2a2a44; box-shadow: 0 4px 16px rgba(123, 104, 238, 0.2); } .cart-item img { width: 56px; height: 56px; border-radius: 8px; margin-left: 12px; } .cart-item-details { flex: 1; } .cart-item-details h3 { font-size: 15px; color: #e0e0f0; margin-bottom: 6px; font-weight: 600; } .cart-item-details p { font-size: 13px; color: #7b68ee; } .cart-item-remove { background: none; border: none; color: #ff5a6e; font-size: 18px; cursor: pointer; transition: all 0.3s ease; position: relative; } .cart-item-remove:hover { color: #ff8090; transform: scale(1.1); } .cart-item-remove:active::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 90, 110, 0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: ripple 0.6s ease-out forwards; } .cart-item-discount { position: absolute; top: 8px; left: 8px; background: #4be6a5; color: #0a0a14; font-size: 12px; padding: 4px 8px; border-radius: 6px; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; } .cart-item-discount.active { opacity: 1; transform: translateY(0); } .cart-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid #2a2a44; } .input-step { display: none; opacity: 0; transform: translateX(100%); transition: all 0.5s ease; } .input-step.active { display: block; opacity: 1; transform: translateX(0); } .input-step.exiting { transform: translateX(-100%); opacity: 0; } .input-step.pass::before { content: '✓'; position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%) scale(0); font-size: 32px; color: #4be6a5; animation: passCheck 0.5s ease forwards; } @keyframes passCheck { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } } .input-wrapper { position: relative; margin-bottom: 20px; } .input-wrapper input { width: 100%; padding: 12px 40px 12px 16px; border: 1px solid #2a2a44; border-radius: 10px; background: #1f1f33; color: #e0e0f0; font-size: 14px; transition: all 0.3s ease; } .input-wrapper label { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); color: #8a8a9e; font-size: 14px; transition: all 0.3s ease; pointer-events: none; } .input-wrapper input:focus, .input-wrapper input:not(:placeholder-shown) { border-color: #7b68ee; background: none; backdrop-filter: blur(20px); box-shadow: 0 0 10px rgba(123, 104, 238, 0.3); } .input-wrapper input:focus + label, .input-wrapper input:not(:placeholder-shown) + label { top: 0; right: 12px; transform: translateY(-55%); font-size: 12px; color: #7b68ee; background: #151524; padding: 0 4px; } .input-wrapper i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #7b68ee; font-size: 16px; } .discount-wrapper { position: relative; margin-bottom: 20px; } .discount-input { width: 100%; padding: 12px 40px 12px 16px; border: 1px solid #2a2a44; border-radius: 10px; background: #1f1f33; color: #e0e0f0; font-size: 14px; transition: all 0.3s ease; } .discount-input:focus { border-color: #7b68ee; background: #2a2a44; box-shadow: 0 0 10px rgba(123, 104, 238, 0.3); outline: none; } .discount-wrapper i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #7b68ee; font-size: 16px; } .discount-success { background: #4be6a5; color: #0a0a14; padding: 12px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: center; display: flex; align-items: center; justify-content: space-between; animation: slideIn 0.3s ease; } .discount-success i { font-size: 16px; color: #0a0a14; } .discount-success .remove-discount { background: none; border: none; color: #0a0a14; font-size: 16px; cursor: pointer; transition: all 0.3s ease; } .discount-success .remove-discount:hover { color: #ff5a6e; } @keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .discount-message { font-size: 13px; margin: 8px 0; text-align: center; } .discount-message.checking { color: #ffd700; } .discount-message.success { color: #4be6a5; } .discount-message.error { color: #ff5a6e; } .cart-total-box { background: #4be6a5; color: #0a0a14; font-size: 16px; font-weight: 700; padding: 12px; border-radius: 10px; text-align: center; margin: 20px 0; box-shadow: 0 4px 16px rgba(75, 230, 165, 0.3); } .savings-box { background: #1f1f33; border: 1px solid #7b68ee; border-radius: 10px; padding: 16px; margin: 20px 0; text-align: center; box-shadow: 0 4px 16px rgba(123, 104, 238, 0.2); } .savings-box h3 { color: #7b68ee; font-size: 16px; margin-bottom: 12px; } .savings-box p { color: #e0e0f0; font-size: 14px; line-height: 1.5; } .savings-box .highlight { color: #4be6a5; font-weight: 700; } .step-buttons { display: flex; gap: 12px; } .next-step, .prev-step, .cart-submit { width: 100%; padding: 14px; border: none; border-radius: 10px; color: #0a0a14; font-size: 16px; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; } .next-step { background: linear-gradient(45deg, #ffd700, #ffca28); } .prev-step { background: #8a8a9e; color: #e0e0f0; } .cart-submit { background: linear-gradient(45deg, #ffd700, #ffca28); box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4); } .cart-submit:disabled { background: #2a2a44; color: #8a8a9e; cursor: not-allowed; box-shadow: none; } .next-step:active, .prev-step:active, .cart-submit:not(:disabled):active { position: relative; } .next-step:active::after, .prev-step:active::after, .cart-submit:not(:disabled):active::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: ripple 0.6s ease-out forwards; } .info-panel { width: 360px; background: #151524; border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); position: fixed; top: 24px; bottom: 24px; left: -384px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #7b68ee #1f1f33; transition: all 0.5s ease; z-index: 10; } .info-panel.active { left: 24px; } .info-panel::-webkit-scrollbar { width: 6px; } .info-panel::-webkit-scrollbar-track { background: #1f1f33; border-radius: 10px; } .info-panel::-webkit-scrollbar-thumb { background: #7b68ee; border-radius: 10px; } .info-panel h2 { color: #7b68ee; font-size: 22px; font-weight: 700; margin-bottom: 24px; text-align: center; } .info-item { background: #1f1f33; border-radius: 10px; padding: 12px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; } .info-item i { font-size: 18px; color: #7b68ee; } .info-item span { font-size: 14px; color: #e0e0f0; } .info-item span.label { color: #4be6a5; font-weight: 600; } .main-content { flex: 1; background: #151524; border-radius: 16px; padding: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); min-width: 0; margin-right: 408px; margin-left: 24px; transition: margin-left 0.5s ease; } .info-panel.active ~ .main-content { margin-left: 408px; } .xFilterSearchPod_85 { display: flex; justify-content: space-between; align-items: center; padding: 16px; background: #1f1f33; border-radius: 12px; margin-bottom: 24px; } .xCategoryWrapper_85 { display: flex; gap: 12px; position: relative; } .xCategoryBtn_85 { background: #2a2a44; border: none; color: #e0e0f0; font-size: 14px; padding: 10px 20px; cursor: pointer; border-radius: 10px; transition: all 0.3s ease; position: relative; overflow: hidden; } .xCategoryBtn_85:hover { background: #3a3a55; color: #fff; } .xCategoryBtn_85.active { background: #7b68ee; color: #0a0a14; } .xCategoryBtn_85:active::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: ripple 0.6s ease-out forwards; } .xCategoryIndicator_85 { position: absolute; bottom: -4px; height: 3px; background: #7b68ee; transition: all 0.3s ease; border-radius: 2px; } .xSearchWrapper_85 { position: relative; width: 100%; max-width: 280px; } .xSearchInput_85 { width: 100%; padding: 12px 16px 12px 40px; border: 1px solid #2a2a44; border-radius: 10px; background: #1f1f33; color: #e0e0f0; font-size: 14px; transition: all 0.3s ease; } .xSearchInput_85:focus { border-color: #7b68ee; box-shadow: 0 0 10px rgba(123, 104, 238, 0.3); outline: none; } .xSearchInput_85::placeholder { color: #8a8a9e; } .xSearchWrapper_85 i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 16px; color: #7b68ee; } .products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; padding: 12px; } .xRankNode_85 { background: #1f1f33; border: none; border-radius: 12px; padding: 20px; text-align: center; transition: all 0.3s ease; cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); position: relative; overflow: hidden; } .xRankNode_85::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(123, 104, 238, 0.1), transparent); opacity: 0; transition: opacity 0.3s ease; } .xRankNode_85:hover::before { opacity: 1; } .xRankNode_85:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(123, 104, 238, 0.3); } .xGlowImg_85 { width: 100%; max-width: 160px; height: auto; border-radius: 10px; margin-bottom: 12px; transition: transform 0.3s ease; } .xRankNode_85:hover .xGlowImg_85 { transform: scale(1.03); } .xRankLabel_85 { color: #e0e0f0; font-size: 17px; margin: 10px 0; font-weight: 600; } .xPriceTag_85 { font-size: 15px; color: #7b68ee; margin-bottom: 12px; font-weight: 500; } .xBuyZap_85 { background: linear-gradient(45deg, #5a4be6, #7b68ee); border: none; border-radius: 10px; padding: 12px 24px; color: #fff; font-size: 15px; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; } .xBuyZap_85:disabled { background: #2a2a44; color: #8a8a9e; cursor: not-allowed; box-shadow: none; } .xBuyZap_85:not(:disabled):hover { background: linear-gradient(45deg, #7b68ee, #5a4be6); box-shadow: 0 6px 20px rgba(123, 104, 238, 0.4); transform: translateY(-2px); } .xBuyZap_85:active::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 255, 255, 0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: ripple 0.6s ease-out forwards; } .xBuyZap_85.added { background: #4be6a5; color: transparent; } .xBuyZap_85.added::before { content: '✓'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 20px; color: #fff; animation: checkmark 0.5s ease; } @keyframes checkmark { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } } .xShadowVeil_85 { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(12px); z-index: 1000; opacity: 0; transition: opacity 0.3s ease; justify-content: center; align-items: center; } .ripple { position: absolute; border-radius: 50%; transform: scale(0); animation: ripple-animation 0.6s linear; background: rgba(255, 255, 255, 0.616); pointer-events: none; } @keyframes ripple-animation { to { transform: scale(4); opacity: 0; } } .xShadowVeil_85.active { display: flex; opacity: 1; } .xModalCore_85 { background: #151524; padding: 24px; border-radius: 16px; width: 90%; max-width: 520px; max-height: 80vh; overflow-y: auto; color: #e0e0f0; transform: scale(0.8); transition: transform 0.3s ease, opacity 0.3s ease; box-shadow: 0 8px 32px rgba(123, 104, 238, 0.3); scrollbar-width: thin; scrollbar-color: #7b68ee #1f1f33; } .xShadowVeil_85.active .xModalCore_85 { transform: scale(1); opacity: 1; } .xModalCore_85::-webkit-scrollbar { width: 6px; } .xModalCore_85::-webkit-scrollbar-track { background: #1f1f33; border-radius: 10px; } .xModalCore_85::-webkit-scrollbar-thumb { background: #7b68ee; border-radius: 10px; } .xModalCore_85 h2 { color: #7b68ee; text-align: center; margin-bottom: 20px; font-size: 22px; font-weight: 700; } .xCloseNebula_85 { color: #7b68ee; float: left; font-size: 22px; cursor: pointer; transition: all 0.3s ease; position: relative; } .xCloseNebula_85:hover { color: #ff5a6e; transform: rotate(90deg); } .xCloseNebula_85:active::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; background: rgba(255, 90, 110, 0.4); border-radius: 50%; transform: translate(-50%, -50%); animation: ripple 0.6s ease-out forwards; } #descContent { font-size: 15px; line-height: 1.7; color: #e0e0f0; text-align: right; } #descList { list-style-type: disc; padding-right: 24px; color: #e0e0f0; font-size: 15px; line-height: 1.9; } #descList li { margin-bottom: 10px; } .notification { position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-100%); background: #1f1f33; border: 1px solid #7b68ee; border-radius: 10px; padding: 16px 24px; color: #e0e0f0; font-size: 14px; box-shadow: 0 4px 16px rgba(123, 104, 238, 0.3); z-index: 2000; display: flex; align-items: center; gap: 12px; opacity: 0; transition: all 0.3s ease; } .notification.show { transform: translateX(-50%) translateY(0); opacity: 1; } .notification.error { border-color: #ff5a6e; background: #2a1a22; } .notification i { font-size: 18px; } .notification.error i { color: #ff5a6e; } @media (max-width: 1400px) { .main-content { margin-right: 408px; margin-left: 24px; } .info-panel.active ~ .main-content { margin-left: 408px; } } @media (max-width: 1200px) { .main-content { margin-right: 24px; margin-left: 24px; } .cart-sidebar { position: static; width: 100%; height: auto; bottom: auto; right: auto; } .info-panel { position: static; width: 100%; left: 0; margin-top: 24px; } .info-panel.active { left: 0; } .info-panel.active ~ .main-content { margin-left: 24px; } } @media (max-width: 768px) { .shop-container { flex-direction: column; } .products-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } .xFilterSearchPod_85 { flex-direction: column; align-items: flex-start; gap: 12px; } .xSearchWrapper_85 { max-width: 100%; } } @media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } .cart-sidebar, .main-content, .info-panel { padding: 16px; } .cart-sidebar h2, .xModalCore_85 h2, .info-panel h2 { font-size: 20px; } .input-wrapper input, .cart-submit, .next-step, .prev-step { font-size: 14px; padding: 10px; } .xRankNode_85 { padding: 16px; } .xGlowImg_85 { max-width: 140px; } .xRankLabel_85 { font-size: 16px; } .xPriceTag_85 { font-size: 14px; } .xBuyZap_85 { padding: 10px 20px; font-size: 14px; } }