@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap');

:root {
    --primary: #1b9aaa;
    --primary-dark: #167c88;
    --accent: #f7b267;
    --bg: #f4f9fb;
    --text: #1c2b33;
    --muted: #7a8b99;
    --success: #27ae60;
    --danger: #eb5757;
}

.quantity-control.compact {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 0.2rem;
    min-width: 104px;
    justify-content: center;
}

.quantity-control.compact .quantity-btn {
    width: 30px;
    height: 30px;
    box-shadow: none;
    border: none;
}

.quantity-control.compact .quantity-value {
    min-width: 32px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 2rem 1.25rem 3rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    pointer-events: none;
}

.hero h1 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem;
}

.hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.content {
    flex: 1;
    padding: 1.5rem 1rem 5rem;
}

.card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(19, 81, 96, 0.08);
    margin-bottom: 1.5rem;
}

.card h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

.products {
    display: grid;
    gap: 1rem;
}

.product {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid transparent;
    border-radius: 1.25rem;
    cursor: pointer;
    transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product input[type="radio"] {
    display: none;
}

.product.selected {
    border: 1px solid rgba(27, 154, 170, 0.35);
    background: rgba(27, 154, 170, 0.08);
    box-shadow: 0 8px 20px rgba(27, 154, 170, 0.12);
}

.product-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 1rem;
    background: #eef6f8;
}

.product-details {
    flex: 1;
}

.product-details h3 {
    margin: 0;
    font-size: 1rem;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: var(--muted);
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.deposit {
    font-size: 0.85rem;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 600;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--muted);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafcfd;
    font-size: 1rem;
    font-family: inherit;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f0f6f7;
    padding: 0.35rem;
    gap: 0.35rem;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--primary);
    font-size: 1.2rem;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(27, 154, 170, 0.2);
}

.quantity-value {
    font-weight: 700;
    min-width: 36px;
    text-align: center;
}

.btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 12px 24px rgba(27, 154, 170, 0.25);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #00b894, #009966);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 152, 102, 0.25);
}

.confirmation {
    text-align: center;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .content {
        padding: 2rem 3rem 4rem;
        max-width: 640px;
        margin: 0 auto;
    }
}
