/* =====================================
   KURXIS — IFOOD STYLE UI
   CLEAN • PREMIUM • FAMILIAR
===================================== */

:root {
    --bg-main: #d3d3d3;
    --bg-surface: #ffffff;

    --text-primary: #1c1c1c;
    --text-secondary: #555555;
    --text-muted: #777777;

    --accent-red: #ea1d2c;
    --accent-red-soft: #fdebec;

    --border-light: #e6e6e6;

    --radius-xl: 18px;
    --radius-md: 12px;

    --shadow-soft: 0 6px 18px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 26px rgba(0,0,0,0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
}

.container {
    max-width: 680px;
    margin: auto;
    padding: 20px 16px 48px;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.logo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

h1 {
    display: none;
}

h2 {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* STATUS DA LOJA */

#status-loja {
    display: block;
    width: fit-content;
    margin: 0 auto 20px;
    padding: 8px 18px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
}

#status-loja.aberto {
    background: rgba(37, 211, 102, 0.12);
    color: #1a7f37;
    border: 1px solid rgba(37, 211, 102, 0.4);
}

#status-loja.fechado {
    background: rgba(234, 29, 44, 0.08);
    color: #ea1d2c;
    border: 1px solid rgba(234, 29, 44, 0.3);
}

/* COMBOS */

.combo {
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    min-height: 180px;
}

.combo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.combo.destaque {
    border: 2px solid #111;
}

.badge-top {
    position: absolute;
    top: 10px;
    left: 20px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 2;
}

.combo.destaque h3 {
    margin-top: 28px;
}

.combo h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    padding-right: 165px;
}

.combo p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    padding-right: 165px;
}

.combo .controls {
    padding-right: 165px;
}

.combo img {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 140px;
    max-width: 35%;
    border-radius: 12px;
    object-fit: contain;
    background: #000;
}

/* CONTROLES */

.controls {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.controls button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-red-soft);
    border: none;
    color: var(--accent-red);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.15s ease;
}

.controls button:hover {
    background: #fbd2d6;
}

.controls span {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* RESUMO / FORM */

.resumo {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: #fff;
    font-size: 15px;
    color: var(--text-primary);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

#total {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* BOTÃO WHATSAPP */

.btn-whatsapp {
    width: 100%;
    padding: 18px;
    border-radius: 999px;
    border: none;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: #25d366;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.04);
    box-shadow: 0 14px 40px rgba(37,211,102,0.6);
}

.wh-circle {
    width: 14px;
    height: 14px;
    background: #00ff6a;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,255,106, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(0,255,106, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,255,106, 0);
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .combo {
        padding: 18px;
    }

    .combo img {
        position: static;
        transform: none;
        width: 100%;
        height: 180px;
        max-width: 100%;
        margin-top: 14px;
        object-fit: contain;
        background: #000;
    }

    .combo h3,
    .combo p,
    .combo .controls {
        padding-right: 0;
    }

    .combo.destaque h3 {
        margin-top: 34px;
    }
}