:root {
    --mint: #7fd1c2;
    --mint-light: #dff6f1;
    --teal: #236f7b;
    --teal-dark: #174f59;
    --red: #e00000;
    --cream: #fff8ef;
    --sand: #f4dfc7;
    --white: #ffffff;
    --text: #18333a;
    --muted: #60767b;
    --border: #d8ebe7;
    --shadow: 0 18px 45px rgba(24, 51, 58, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, var(--mint-light), var(--cream));
    color: var(--text);
}

.site-header {
    min-height: 220px;
    background-image: url('/assets/logo.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.container {
    width: 100%;
    max-width: 760px;
    margin: auto;
    padding: 16px;
}

.card {
    background: rgba(255,255,255,0.96);
    border-radius: 28px;
    padding: 24px;
    margin: 18px 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hero-card,
.login-card {
    text-align: center;
    margin-top: -50px;
}

h1 {
    font-size: clamp(34px, 7vw, 56px);
    margin: 0 0 12px;
    color: var(--teal-dark);
}

h2 {
    color: var(--teal);
    margin-top: 0;
}

p {
    color: var(--muted);
    line-height: 1.5;
}

input {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    border: 2px solid var(--border);
    font-size: 18px;
    margin: 10px 0;
}

button {
    border: none;
    cursor: pointer;
    font-weight: 800;
}

button,
.checkout {
    background: var(--teal);
    color: white;
    padding: 16px 22px;
    border-radius: 999px;
    font-size: 17px;
    box-shadow: 0 8px 18px rgba(35,111,123,0.25);
}

button:hover {
    background: var(--teal-dark);
}

.hidden {
    display: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.product-tile {
    min-height: 125px;
    border-radius: 26px;
    background: white;
    color: var(--teal-dark);
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.product-tile span {
    font-size: 20px;
}

.product-tile strong {
    font-size: 26px;
    color: var(--teal);
}

.product-tile.custom {
    background: var(--mint-light);
    border-style: dashed;
}

.basket-empty {
    color: var(--muted);
    padding: 14px 0;
}

.basket-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.basket-row {
    display: grid;
    grid-template-columns: 1fr auto 38px;
    gap: 10px;
    align-items: center;
    background: var(--mint-light);
    padding: 12px;
    border-radius: 16px;
}

.remove-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: var(--red);
}

.total-row {
    margin: 20px 0;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 28px;
}

.danger {
    background: var(--red);
    margin-left: 8px;
}

.center {
    text-align: center;
}

.qr {
    width: 280px;
    max-width: 100%;
    background: white;
    padding: 12px;
    border-radius: 18px;
    margin: 20px auto;
}

@media (max-width: 600px) {
    .site-header {
        min-height: 170px;
    }

    .container {
        padding: 12px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card {
        padding: 20px;
        border-radius: 24px;
    }

    button,
    .checkout {
        width: 100%;
        margin: 7px 0;
    }

    .danger {
        margin-left: 0;
    }
}
.success {
    background: #dbf7e6;
    color: #166534;
    font-weight: 800;
}

.table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: var(--mint-light);
    color: var(--teal-dark);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 14px 24px;
    border-radius: 999px;
    background: var(--teal);
    color: white;
    text-decoration: none;
    font-weight: 800;
}