.game-rules {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    padding: 22px 24px;
    border-radius: 20px;
    background: radial-gradient(circle at top right, rgba(129, 199, 132, .15), transparent 50%),
    linear-gradient(135deg, #ffffff, #f1fdf4);
    border: 2px dashed rgba(76, 175, 80, .35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}

@media (max-width: 640px) {
    .game-rules {
        left: 12px;
        bottom: 20px;
        max-width: 90vw;
        padding: 18px;
    }

    .game-rules .button.small {
        width: 100%
    }
}

.order-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns:1fr .8fr;
    gap: 60px;
}

.order-form, .order-summary {
    border-radius: var(--r-lg);
    padding: 40px;
}

.order-form {
    background: #f4fff4;
    box-shadow: var(--shadow-soft);
}

.order-form h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 35px 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--eco-green-dark);
}

.order-form label {
    display: block;
    margin-bottom: 18px;
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
}

.order-form input, .order-form select {
    width: 100%;
    margin-top: 6px;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 12px;
    border: 2px solid var(--line);
    background: var(--white);
}

.order-form input::placeholder {
    color: #8fa89a
}

.btn-black, .btn-paypal, .btn-crypto, .btn-carte, .btn-choose {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--pill);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: filter var(--t), transform var(--t);
    margin-top: 16px;
}

.btn-black {
    background: var(--black);
    margin-top: 20px;
}

.btn-paypal {
    background: #0070ba
}

.btn-crypto {
    background: linear-gradient(135deg, #ff8c00, #ff6f00)
}

.btn-carte {
    background: linear-gradient(135deg, #2e7d32, #66bb6a)
}

.btn-choose {
    background: linear-gradient(135deg, #66bb6a, #2e7d32)
}

.btn-black:hover, .btn-paypal:hover, .btn-crypto:hover, .btn-carte:hover, .btn-choose:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.btn-black:active, .btn-paypal:active, .btn-crypto:active, .btn-carte:active, .btn-choose:active {
    transform: translateY(0);
}

.order-summary {
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.order-summary h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 30px 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--eco-green-dark);
}

.order-summary li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 1rem;
}

.order-summary .total {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #ddd;
    font-size: 1.1rem;
    font-weight: 900;
}

.order-summary .note {
    margin-top: 22px;
    font-size: .95rem;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .order-section {
        grid-template-columns:1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .order-form, .order-summary {
        padding: 28px
    }
}



.checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 2px 0 22px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(76, 175, 80, 0.12);
    box-sizing: border-box;
    cursor: pointer;
    font-size: .96rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
}

.checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 10px;
    min-width: 10px;
    border-radius: 6px;
    border: 2px solid #9fcaaa;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: .2s;
}

.checkbox input:checked {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    border-color: #2e7d32;
}

.checkbox input:checked::after {
    content: "✓";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .8rem;
    font-weight: bold;
}

.checkbox span {
    flex: 1;
    font-size: .95rem;
    font-weight: 600;
    color: #2e4d3a;
}


.form-wrapper {
    margin: 12px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#userQuestion {
    width: 100%;
    min-height: 150px;
    padding: 16px;
    border-radius: 18px;
    border: 2px solid rgba(207, 234, 214, .95);
    background: rgba(255, 255, 255, .95);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
    resize: none;
    font-size: 15px;
    line-height: 1.5;
}

.quantity-box {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    width: 100%;
}

.quantity-box input {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    padding: 10px 6px;
    margin: 0;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-box input::-webkit-outer-spin-button,
.quantity-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-btn {
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #66bb6a, #2e7d32);
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--t), filter var(--t), box-shadow var(--t);
    box-shadow: 0 8px 18px rgba(76, 175, 80, .22);
    flex-shrink: 0;
}

.qty-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.qty-btn:active {
    transform: translateY(0);
}
