.products-page{min-height:100vh;padding-bottom:100px}.products-header{padding:20px;text-align:center;background-color:var(--tg-theme-secondary-bg-color, #1f2937);border-bottom:1px solid rgba(255,255,255,.1)}.products-header h1{font-size:24px;margin-bottom:8px;color:var(--tg-theme-text-color, #ffffff)}.subtitle{font-size:14px;color:var(--tg-theme-hint-color, #8e8e93)}.loading{display:flex;justify-content:center;align-items:center;height:100vh;font-size:18px;color:var(--tg-theme-hint-color, #8e8e93)}.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;padding:16px}.product-card{background-color:var(--tg-theme-secondary-bg-color, #1f2937);border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column}.product-image{font-size:64px;text-align:center;padding:20px;background-color:#ffffff0d}.product-info{padding:12px;flex:1;display:flex;flex-direction:column}.product-name{font-size:16px;font-weight:600;margin-bottom:4px;color:var(--tg-theme-text-color, #ffffff)}.product-description{font-size:13px;color:var(--tg-theme-hint-color, #8e8e93);margin-bottom:12px;flex:1}.product-footer{display:flex;justify-content:space-between;align-items:center}.product-price{font-size:16px;font-weight:700;color:#3ea6ff}.quantity-controls{display:flex;align-items:center;gap:8px;background-color:#ffffff0d;border-radius:8px;padding:4px 8px}.quantity-btn{background-color:transparent;border:none;color:var(--tg-theme-button-color, #3ea6ff);font-size:18px;font-weight:700;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .2s;width:28px;height:28px;display:flex;align-items:center;justify-content:center}.quantity-btn:hover:not(:disabled){background-color:#3ea6ff1a}.quantity-btn:disabled{opacity:.3;cursor:not-allowed}.quantity{font-size:14px;font-weight:600;min-width:20px;text-align:center;color:var(--tg-theme-text-color, #ffffff)}.cart-footer{position:fixed;bottom:0;left:0;right:0;background-color:var(--tg-theme-bg-color, #1a2332);border-top:1px solid rgba(255,255,255,.1);padding:16px;z-index:100}.cart-summary{display:flex;flex-direction:column;gap:12px}.cart-info{display:flex;justify-content:space-between;align-items:center}.cart-items{font-size:14px;color:var(--tg-theme-hint-color, #8e8e93)}.cart-total{font-size:18px;font-weight:700;color:var(--tg-theme-text-color, #ffffff)}.checkout-btn{width:100%;padding:14px;background-color:var(--tg-theme-button-color, #3ea6ff);color:var(--tg-theme-button-text-color, #ffffff);border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:opacity .2s}.checkout-btn:hover{opacity:.9}.checkout-btn:active{opacity:.8}.product-image{width:100%;height:150px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#1a1a2e,#16213e);border-radius:12px 12px 0 0;overflow:hidden}.product-img{width:100%;height:100%;object-fit:cover}.product-emoji,.fallback-emoji{font-size:64px}.order-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.1)}.item-image{width:40px;height:40px;object-fit:cover;border-radius:8px}.item-emoji{font-size:24px;width:40px;text-align:center}.item-name{flex:1}.item-quantity{color:#888}.item-price{font-weight:700;color:gold}.payment-status{text-align:center;padding:15px;margin:15px 0;background:#ffd7001a;border-radius:10px;color:gold;font-weight:500}.order-form-page{min-height:100vh;background-color:var(--tg-theme-bg-color, #1a2332);padding-bottom:120px}.order-header{padding:16px 20px;background-color:var(--tg-theme-secondary-bg-color, #1f2937);border-bottom:1px solid rgba(255,255,255,.1);display:flex;align-items:center;gap:16px}.back-btn{background:none;border:none;color:var(--tg-theme-button-color, #3ea6ff);font-size:16px;cursor:pointer;padding:4px 8px}.order-header h1{font-size:20px;font-weight:600;color:var(--tg-theme-text-color, #ffffff)}.order-form{padding:20px;max-width:500px;margin:0 auto}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:14px;font-weight:500;color:var(--tg-theme-text-color, #ffffff);margin-bottom:8px}.form-group input{width:100%;padding:14px 16px;background-color:transparent;border:1px solid rgba(255,255,255,.2);border-radius:10px;font-size:16px;color:var(--tg-theme-text-color, #ffffff);transition:border-color .2s}.form-group input::placeholder{color:var(--tg-theme-hint-color, #8e8e93)}.form-group input:focus{outline:none;border-color:var(--tg-theme-button-color, #3ea6ff)}.order-summary{background-color:var(--tg-theme-secondary-bg-color, #1f2937);border-radius:12px;padding:16px;margin:24px 0;border:1px solid rgba(255,255,255,.1)}.order-summary h3{font-size:16px;font-weight:600;margin-bottom:12px;color:var(--tg-theme-text-color, #ffffff)}.order-items{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.order-item{display:flex;align-items:center;gap:8px;font-size:14px}.item-emoji{font-size:20px}.item-name{flex:1;color:var(--tg-theme-text-color, #ffffff)}.item-quantity{color:var(--tg-theme-hint-color, #8e8e93)}.item-price{font-weight:600;color:#3ea6ff}.order-total{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid rgba(255,255,255,.1);font-size:16px;font-weight:600}.total-price{font-size:18px;color:#3ea6ff}.submit-btn{width:100%;padding:16px;background-color:var(--tg-theme-button-color, #3ea6ff);color:var(--tg-theme-button-text-color, #ffffff);border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:opacity .2s;display:flex;align-items:center;justify-content:center;gap:8px}.submit-btn:hover:not(:disabled){opacity:.9}.submit-btn:active:not(:disabled){opacity:.8}.submit-btn:disabled{opacity:.6;cursor:not-allowed}.submit-btn:after{content:"⭐";font-size:18px}.success-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background-color:#000;padding:20px}.success-content{max-width:400px;width:100%;text-align:center}.success-icon{margin-bottom:24px;display:flex;justify-content:center}.checkmark{font-size:48px;animation:scaleIn .5s ease-out}@keyframes scaleIn{0%{transform:scale(0)}50%{transform:scale(1.1)}to{transform:scale(1)}}.success-title{font-size:24px;font-weight:600;color:#fff;margin-bottom:20px}.success-message{font-size:16px;color:#fff;line-height:1.5;margin-bottom:12px}.success-submessage{font-size:14px;color:#8e8e93;margin-bottom:32px}.success-buttons{display:flex;flex-direction:column;gap:12px;margin-bottom:24px}.btn{width:100%;padding:14px 24px;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary{background-color:#4caf50;color:#fff}.btn-primary:hover{background-color:#45a049}.btn-primary:active{transform:scale(.98)}.btn-secondary{background-color:#4caf50;color:#fff}.btn-secondary:hover{background-color:#45a049}.btn-secondary:active{transform:scale(.98)}.order-info{margin-top:24px;padding-top:24px;border-top:1px solid rgba(255,255,255,.1)}.order-id{font-size:13px;color:#8e8e93}.app{min-height:100vh;background-color:var(--tg-theme-bg-color, #1a2332)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:var(--tg-theme-bg-color, #1a2332);color:var(--tg-theme-text-color, #ffffff);margin:0;padding:0;overflow-x:hidden}#root{min-height:100vh;display:flex;flex-direction:column}button,input{font-family:inherit}
