body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background-color: #fff;
    color: #333;
}

header {
    background-color: #fff;
    padding: 10px 40px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 59px;
}

header img {
    height: 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container strong {
    font-weight: 800;
    font-size: 16px;
    line-height: 120%;
    color: #69022d;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

.cover {
    display: block;
    width: 90%;
    height: 150px;
    margin: 40px auto 1rem auto;
    border-radius: 5px;
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center;
    background-color: #f5f5f5;
}

main {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 20px;
    gap: 20px;
}

.left,
.right {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    flex: 1 1 500px;
    min-width: 400px;
}

.right h2 {
    margin-top: 0;
}

.restaurant-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.restaurant-info img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eee;
    background-color: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.restaurant-info .avaliacao {
    color: #A36D00;
    font-weight: 400;
    font-size: 1rem;
}

.avaliacao svg {
    vertical-align: middle;
    margin-bottom: 1px;
}

h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 520;
    color: #3e3e3e;
}

.tipo {
    color: #717171;
    font-weight: 400;
    font-size: 18px;
}

.description {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 24px;
    font-weight: 400;
    color: #717171;
}

.description .section-title {
    display: block;
    font-size: 24px;
    font-weight: 500;
    color: #3e3e3e;
    margin-bottom: 8px;
}

.address-block {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.address {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #717171;
    white-space: pre-line;
    margin: 0;
}

.address strong {
    font-size: 24px;
    font-weight: 400;
    display: inline-block;
    color: #3e3e3e;
    margin-bottom: -16px;
}

.copy-btn {
    background-color: transparent;
    color: #d6001c;
    border: 1px solid #d6001c;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.copy-btn:hover {
    background-color: #ffe6ea;
}

.tags {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
}

.tag {
    background: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid #ebebeb;
}

.phone-form input,
.code-form input {
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.phone-form button,
.code-form button {
    padding: 10px;
    width: 100%;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.phone-form button {
    background: #e7001f;
}

#phone-form button[disabled] {
    background: #e7001f !important;
    color: #fff !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.code-form button {
    background: #00c853;
}

.phone-form input[type="tel"] {
    padding: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
}

.phone-form button {
    width: 100%;
}

.phone-form-note {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: normal;
    vertical-align: middle;
    color: #666666;
    margin-top: 10px;
}

.code-form {
    margin-top: 20px;
}

.code-inputs {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 0 12px;
    flex-wrap: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.code-input {
    width: 100%;
    max-width: 42px;
    height: 48px;
    font-size: 20px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    flex: 1 1 auto;
}

.code-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#timer {
    font-weight: bold;
}

button {
    padding: 10px 16px;
    border: none;
    background-color: #e7001f;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #c10019;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.cashback-box,
.cupom-box {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    background: #fff;
    border-radius: 10px;
    border: 1.5px solid #ebebeb;
    padding: 30px;
}

.cupom-box {
    border-color: #e0e0e0;
}

footer {
    text-align: center;
    font-size: 0.8rem;
    padding: 20px;
    color: #777;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

#recaptcha-container {
    transform: scale(1);
    transform-origin: 0 0;
    width: 100%;
}

.restaurant-extra-info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

#catalogo-container:empty {
    display: none;
}

#catalogo-container {
    width: 100%;
    padding: 40px 20px;
}

.catalog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-card {
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.catalog-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    max-height: 120px;
    object-fit: contain;
}

.catalog-card h2 {
    font-size: 1.1rem;
    margin: 12px 0 4px;
}

.catalog-card p {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 12px;
}

.catalog-card button {
    background-color: #e7001f;
    color: white;
    padding: 8px 16px;
    border: none;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.catalog-card p strong {
    color: #e7001f;
    font-size: 1rem;
}

#catalogo-filtros {
    display: none;
}

#catalogo-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.filtro-bloco {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.filtro-bloco label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.filtro-bloco select {
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 200px;
    font-size: 14px;
}


/* Responsividade - Tablets e celulares */

#mobile-footer {
    display: flex;
    min-height: 150px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 24px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    z-index: 1000;
    justify-content: space-between;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: none;
}

#mobile-footer span {
    display: block;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}

#mobile-footer button {
    position: relative;
    bottom: 50px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    background: #e7001f;
    color: #fff;
    border: none;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    flex-shrink: 0;
}

@media (min-width: 601px) {
    #mobile-footer {
        display: none !important;
    }
}

@media (max-width: 600px) {
    header {
        padding: 10px 20px;
    }
    .logo-container strong {
        font-size: 14px;
    }
    .cover {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 1;
        margin: 24px auto;
        border-radius: 6px;
    }
    main {
        flex-direction: column;
        padding: 0 16px;
        margin-top: 20px;
    }
    .left,
    .right {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .left {
        height: auto;
        min-height: 100px;
        max-height: 230px;
        order: -1;
        position: relative;
        margin-top: -60px;
        z-index: 2;
        border: 1px solid #ebebeb;
        border-radius: 10px;
        padding: 16px;
        justify-content: space-between;
    }
    h1 {
        font-size: 1.5rem;
    }
    .tipo {
        font-size: 12px;
        color: #666666;
        font-weight: 400;
    }
    .restaurant-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: flex-start;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #ebebeb;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    .restaurant-info .avaliacao {
        color: #A36D00;
        font-size: 14px;
    }
    .restaurant-info img {
        margin: 0 auto;
        padding: 0;
        height: 50px;
        width: 50px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #eee;
        background-color: white;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
        margin-top: -40px;
        display: block;
    }
    .restaurant-info h1 {
        margin: 4px 0 0;
        font-size: 1.4rem;
        line-height: 1.2;
    }
    .restaurant-main-info {
        margin: 0;
        padding: 0;
    }
    .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .tag {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    .copy-btn {
        font-size: 0.85rem;
        padding: 5px 10px;
    }
    .cashback-box,
    .cupom-box {
        padding: 20px;
    }
    footer {
        font-size: 0.75rem;
        padding: 16px;
    }
    #recaptcha-container {
        transform: scale(0.85);
    }
    #cupom-texto-valor {
        font-size: 20px;
    }
}

@media (max-width: 400px) {
    .code-input {
        max-width: 38px;
        height: 44px;
        font-size: 18px;
    }
    .code-inputs {
        gap: 4px;
        padding: 0 8px;
    }
    #recaptcha-container {
        transform: scale(0.85);
    }
}