body { margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; display: flex; align-items: center; justify-content: center; height: 100vh; color: #3a4a4e; /* soft dark teal */ } .tablet-wrapper { display: flex; flex-direction: column; width: 90%; max-width: 1300px; height: 90%; background: #fffefc; /* pearl white */ border-radius: 16px; overflow: hidden; box-shadow: 0 0 25px rgba(120, 176, 176, 0.3); /* soft teal shadow */ border: 2px solid #c8e3dc; /* light seafoam */ } .header-bar { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; background-color: #a0d8d3; /* muted seafoam green */ padding: 14px 24px; border-bottom: 2px solid #7accc2; /* darker seafoam */ box-shadow: 0 4px 10px rgba(122, 204, 194, 0.5); } .header-bar h1 { margin: 0; font-size: 24px; color: #ffffff; font-weight: bold; font-family: 'Arial', sans-serif; text-shadow: 0 0 3px #7accc2; } .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: #e6f0ef; /* pale aqua */ overflow-y: auto; } .product { background: #fffdfb; /* pearl white */ border-radius: 12px; padding: 14px; text-align: center; border: 1px solid #b8d8d2; /* light seafoam border */ box-shadow: 0 0 6px rgba(105, 160, 154, 0.15); display: flex; flex-direction: column; align-items: center; } .product-image { background-color: #d1e7e3; /* light aqua */ 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: #3a4a4e; /* dark teal */ } .product p { margin: 5px 0; font-weight: bold; color: #7accc2; /* seafoam */ } .product.out-of-stock { background: #fcefee; /* very pale coral */ } .product.out-of-stock p { color: #e57272; /* soft coral red */ } .product button { padding: 6px 12px; margin-top: 8px; background: #7accc2; /* seafoam */ color: #3a4a4e; /* dark teal */ border: none; border-radius: 8px; cursor: pointer; font-weight: bold; transition: background-color 0.3s ease; } .product button:hover { background: #5bb3a9; } .product.out-of-stock button { background: #ccc; cursor: not-allowed; } .cart-panel { flex: 3; background: #f1f8f7; /* pale aqua */ padding: 20px; display: flex; flex-direction: column; border-left: 2px solid #c8e3dc; /* light seafoam */ } .cart-header { display: flex; justify-content: space-between; align-items: center; color: #3a4a4e; /* dark teal */ } .cart-header h2 { margin: 0; font-size: 20px; } #close-btn { background: transparent; border: none; font-size: 20px; color: #3a4a4e; /* dark teal */ 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: #3a4a4e; /* dark teal */ } .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: #7accc2; /* seafoam */ } .remove-btn { background: transparent; border: none; font-size: 18px; color: #e57272; /* soft coral red */ cursor: pointer; } .cart-footer { border-top: 1px solid #b8d8d2; /* light seafoam */ padding-top: 12px; } .total-price { font-weight: bold; font-size: 18px; color: #3a4a4e; /* dark teal */ } .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; transition: background-color 0.3s ease; } #pay-cash { background: #7accc2; /* seafoam */ color: #3a4a4e; /* dark teal */ } #pay-cash:hover { background: #5bb3a9; } #pay-bank { background: #3a4a4e; /* dark teal */ color: #fff; } #pay-bank:hover { background: #2b3a3d; } /* Scrollbar Styling */ .products-panel, #cart-items { scrollbar-width: thin; scrollbar-color: #7accc2 #e6f0ef; } .products-panel::-webkit-scrollbar, #cart-items::-webkit-scrollbar { width: 8px; } .products-panel::-webkit-scrollbar-track, #cart-items::-webkit-scrollbar-track { background: #e6f0ef; /* pale aqua */ border-radius: 10px; } .products-panel::-webkit-scrollbar-thumb, #cart-items::-webkit-scrollbar-thumb { background-color: #7accc2; /* seafoam */ border-radius: 10px; border: 2px solid #e6f0ef; } .products-panel::-webkit-scrollbar-thumb:hover, #cart-items::-webkit-scrollbar-thumb:hover { background-color: #5bb3a9; } .stock-info { font-size: 0.9em; color: #8a9b9b; /* muted teal */ margin-top: 4px; }