body { margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; display: flex; align-items: center; justify-content: center; height: 100vh; color: #5c5c5c; } .tablet-wrapper { display: flex; flex-direction: column; width: 90%; max-width: 1300px; height: 90%; background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 0 20px rgba(248, 200, 220, 0.3); border: 2px solid #f8c8dc; } .header-bar { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; background-color: #f8c8dc; padding: 14px 24px; border-bottom: 2px solid #f4c66f; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); } .header-bar h1 { margin: 0; font-size: 24px; color: #6d4c41; font-weight: bold; font-family: 'Segoe UI', sans-serif; } .header-logo { height: 36px; width: auto; } .content-wrapper { flex: 1; display: flex; overflow: hidden; } .products-panel { flex: 7; padding: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; background: #fffaf7; overflow-y: auto; } .product { background: #fff9f9; border-radius: 12px; padding: 14px; text-align: center; border: 1px solid #f8c8dc; box-shadow: 0 2px 8px rgba(255, 200, 210, 0.3); display: flex; flex-direction: column; align-items: center; } .product-image { background-color: #fef1f5; border-radius: 10px; padding: 8px; display: flex; align-items: center; justify-content: center; height: 120px; width: 100%; margin-bottom: 10px; } .product img { max-height: 100px; object-fit: contain; max-width: 100%; } .product h4 { margin: 0; font-size: 16px; color: #6d4c41; } .product p { margin: 5px 0; font-weight: bold; color: #f4c66f; } .product.out-of-stock { background: #f8e1e9; } .product.out-of-stock p { color: #d36161; } .product button { padding: 6px 12px; margin-top: 8px; background: #f4c66f; color: #6d4c41; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; } .product.out-of-stock button { background: #ccc; cursor: not-allowed; } .cart-panel { flex: 3; background: #fffaf7; padding: 20px; display: flex; flex-direction: column; border-left: 2px solid #f8c8dc; } .cart-header { display: flex; justify-content: space-between; align-items: center; color: #6d4c41; } .cart-header h2 { margin: 0; font-size: 20px; } #close-btn { background: transparent; border: none; font-size: 20px; color: #d36161; cursor: pointer; } #cart-items { flex-grow: 1; overflow-y: auto; margin: 15px 0; } .cart-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #6d4c41; } .cart-item-image img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; } .cart-item-info { flex: 1; display: flex; flex-direction: column; } .cart-item-price { font-size: 13px; color: #b08f86; } .remove-btn { background: transparent; border: none; font-size: 18px; color: #d36161; cursor: pointer; } .cart-footer { border-top: 1px solid #f8c8dc; padding-top: 12px; } .total-price { font-weight: bold; font-size: 18px; color: #6d4c41; } .payment-buttons button { width: 100%; padding: 10px; margin-top: 10px; border: none; border-radius: 8px; font-size: 15px; cursor: pointer; font-weight: bold; color: #fff; } #pay-cash { background: #f4c66f; color: #6d4c41; } #pay-bank { background: #f8c8dc; color: #6d4c41; } /* Scrollbars */ .products-panel, #cart-items { scrollbar-width: thin; scrollbar-color: #f4c66f #fffaf7; } .products-panel::-webkit-scrollbar, #cart-items::-webkit-scrollbar { width: 8px; } .products-panel::-webkit-scrollbar-track, #cart-items::-webkit-scrollbar-track { background: #fffaf7; border-radius: 10px; } .products-panel::-webkit-scrollbar-thumb, #cart-items::-webkit-scrollbar-thumb { background-color: #f4c66f; border-radius: 10px; border: 2px solid #fffaf7; } .products-panel::-webkit-scrollbar-thumb:hover, #cart-items::-webkit-scrollbar-thumb:hover { background-color: #f1b14e; }