/* 
 * TSCardápio - CSS do Cardápio Público
 */

/* ===========================================
   Splash de entrada do cardápio
   =========================================== */
.menu-splash {
    --splash-orange: #ff6816;
    --splash-gold: #ffc078;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background:
        radial-gradient(circle at 50% 48%, rgba(75, 29, 10, 0.5) 0%, rgba(11, 14, 17, 0.2) 34%, transparent 62%),
        linear-gradient(145deg, #090b0e 0%, #121519 48%, #08090b 100%);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.75s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.75s;
}

html.menu-splash-seen .menu-splash {
    display: none !important;
}

html.menu-splash-active,
html.menu-splash-active body {
    overflow: hidden;
    overscroll-behavior: none;
}

.menu-splash.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.menu-splash__canvas,
.menu-splash__noise,
.menu-splash__aurora,
.menu-splash__orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.menu-splash__canvas {
    z-index: -2;
    opacity: 0;
    transition: opacity 1.2s ease 0.2s;
}

.menu-splash.is-ready .menu-splash__canvas {
    opacity: 0.86;
}

.menu-splash__noise {
    z-index: 4;
    opacity: 0.045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.menu-splash__aurora {
    z-index: -3;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0;
}

.menu-splash__aurora--one {
    inset: auto auto -36vmax -24vmax;
    width: 72vmax;
    height: 72vmax;
    background: radial-gradient(circle, rgba(255, 104, 22, 0.19), transparent 64%);
}

.menu-splash__aurora--two {
    inset: -44vmax -32vmax auto auto;
    width: 78vmax;
    height: 78vmax;
    background: radial-gradient(circle, rgba(255, 178, 89, 0.11), transparent 65%);
}

.menu-splash.is-ready .menu-splash__aurora--one {
    animation: menu-splash-breathe 3.6s ease-in-out both;
}

.menu-splash.is-ready .menu-splash__aurora--two {
    animation: menu-splash-breathe 3.6s ease-in-out 0.25s both reverse;
}

.menu-splash__orbit {
    z-index: -1;
    inset: 50% auto auto 50%;
    border: 1px solid rgba(255, 126, 49, 0.12);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-12deg) scale(0.62);
}

.menu-splash__orbit::before,
.menu-splash__orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--splash-orange);
    box-shadow: 0 0 18px rgba(255, 104, 22, 0.9), 0 0 48px rgba(255, 104, 22, 0.45);
}

.menu-splash__orbit::before {
    top: 14%;
    left: 17%;
    width: 5px;
    height: 5px;
}

.menu-splash__orbit::after {
    right: 10%;
    bottom: 24%;
    width: 3px;
    height: 3px;
}

.menu-splash__orbit--outer {
    width: min(92vw, 920px);
    aspect-ratio: 1.75;
}

.menu-splash__orbit--inner {
    width: min(68vw, 680px);
    aspect-ratio: 1.85;
    transform: translate(-50%, -50%) rotate(17deg) scale(0.62);
}

.menu-splash.is-ready .menu-splash__orbit--outer {
    animation: menu-splash-orbit-in 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards,
        menu-splash-orbit-float 8s ease-in-out 1.7s infinite;
}

.menu-splash.is-ready .menu-splash__orbit--inner {
    animation: menu-splash-orbit-in-alt 1.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards,
        menu-splash-orbit-float-alt 7s ease-in-out 2s infinite;
}

.menu-splash__content {
    position: relative;
    z-index: 5;
    width: min(92vw, 760px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(28px, 5vw, 54px) 18px;
    text-align: center;
}

.menu-splash__stage-frame {
    width: 100%;
    min-height: 410px;
    display: grid;
    place-items: center;
}

.menu-splash__stage {
    grid-area: 1 / 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-splash__stage--establishment {
    visibility: hidden;
    opacity: 0;
    transform: translateY(28px) scale(0.92);
}

.menu-splash.is-establishment .menu-splash__stage--brand {
    animation: menu-splash-stage-out 0.62s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

.menu-splash.is-establishment .menu-splash__stage--establishment {
    visibility: visible;
    animation: menu-splash-restaurant-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.36s forwards;
}

.menu-splash__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.29em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
}

.menu-splash__eyebrow > span {
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 139, 70, 0.75));
}

.menu-splash__eyebrow > span:last-child {
    transform: scaleX(-1);
}

.menu-splash.is-ready .menu-splash__eyebrow {
    animation: menu-splash-copy-in 0.8s ease 0.2s forwards;
}

.menu-splash__brand {
    position: relative;
    width: min(78vw, 540px);
    min-height: 172px;
    display: grid;
    place-items: center;
    padding: clamp(23px, 4vw, 35px) clamp(25px, 5vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: clamp(28px, 4vw, 42px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(247, 247, 245, 0.94)),
        #fff;
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.56),
        0 0 0 8px rgba(255, 255, 255, 0.025),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    opacity: 0;
    transform: translateY(24px) scale(0.86);
}

.menu-splash__brand img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(20, 23, 26, 0.09));
}

.menu-splash__brand-glow {
    position: absolute;
    z-index: -1;
    inset: 16% 4% -32%;
    border-radius: 50%;
    background: rgba(255, 104, 22, 0.5);
    filter: blur(45px);
    opacity: 0;
}

.menu-splash__brand-shine {
    position: absolute;
    z-index: 3;
    top: -90%;
    left: -32%;
    width: 26%;
    height: 280%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.84), transparent);
    filter: blur(4px);
    opacity: 0;
    transform: rotate(19deg);
}

.menu-splash.is-ready .menu-splash__brand {
    animation: menu-splash-brand-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards,
        menu-splash-brand-float 3.4s ease-in-out 1.2s infinite;
}

.menu-splash.is-ready .menu-splash__brand-glow {
    animation: menu-splash-glow-in 1.4s ease 0.45s forwards;
}

.menu-splash.is-ready .menu-splash__brand-shine {
    animation: menu-splash-shine 1.25s ease-in-out 0.95s forwards;
}

.menu-splash__welcome {
    max-width: 560px;
    margin: 29px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: clamp(13px, 2vw, 16px);
    line-height: 1.55;
    opacity: 0;
    transform: translateY(12px);
}

.menu-splash.is-ready .menu-splash__welcome {
    animation: menu-splash-copy-in 0.8s ease 0.72s forwards;
}

.menu-splash__restaurant-kicker {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.27em;
    text-transform: uppercase;
}

.menu-splash__restaurant-mark {
    position: relative;
    width: clamp(116px, 16vw, 154px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 38%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(246, 241, 236, 0.95));
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.5),
        0 0 55px rgba(255, 104, 22, 0.18);
}

.menu-splash__restaurant-mark img {
    width: 76%;
    height: 76%;
    object-fit: contain;
    border-radius: 28%;
}

.menu-splash__restaurant-initial {
    color: #171a1e;
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 900;
    line-height: 1;
}

.menu-splash__restaurant-ring {
    position: absolute;
    inset: -14px;
    border: 1px solid rgba(255, 112, 28, 0.35);
    border-radius: 40%;
    transform: rotate(10deg);
    animation: menu-splash-restaurant-ring 5s linear infinite;
}

.menu-splash__restaurant-ring::before {
    content: "";
    position: absolute;
    top: 14%;
    right: 3%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--splash-orange);
    box-shadow: 0 0 16px var(--splash-orange);
}

.menu-splash__stage--establishment h2 {
    max-width: min(90vw, 660px);
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 850;
    line-height: 1.05;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.menu-splash__restaurant-copy {
    margin: 14px 0 20px;
    color: rgba(255, 255, 255, 0.62);
    font-size: clamp(12px, 2vw, 15px);
}

.menu-splash__restaurant-signature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.36);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.menu-splash__restaurant-signature span {
    width: 24px;
    height: 1px;
    background: rgba(255, 104, 22, 0.42);
}

.menu-splash__enter {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 6px 7px 6px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    backdrop-filter: blur(14px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.menu-splash__enter:hover {
    border-color: rgba(255, 126, 49, 0.46);
    background: rgba(255, 104, 22, 0.12);
    transform: translateY(-2px);
}

.menu-splash__enter:focus-visible,
.menu-splash__skip:focus-visible {
    outline: 2px solid var(--splash-gold);
    outline-offset: 4px;
}

.menu-splash.is-ready .menu-splash__enter {
    animation: menu-splash-copy-in 0.8s ease 0.88s forwards;
}

.menu-splash__enter-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff8a34, #ff5a0a);
    box-shadow: 0 8px 24px rgba(255, 104, 22, 0.32);
}

.menu-splash__enter-icon .material-symbols-outlined {
    font-size: 19px;
}

.menu-splash__skip {
    position: absolute;
    z-index: 8;
    top: max(22px, env(safe-area-inset-top));
    right: max(22px, env(safe-area-inset-right));
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.56);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transition: color 0.2s ease;
}

.menu-splash__skip:hover {
    color: #fff;
}

.menu-splash__skip .material-symbols-outlined {
    font-size: 17px;
}

.menu-splash.is-ready .menu-splash__skip {
    animation: menu-splash-copy-in 0.6s ease 0.75s forwards;
}

.menu-splash__progress {
    position: absolute;
    left: 50%;
    bottom: max(17px, env(safe-area-inset-bottom));
    width: min(42vw, 150px);
    height: 1px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    transform: translateX(-50%);
    opacity: 0;
}

.menu-splash__progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--splash-orange), var(--splash-gold));
    box-shadow: 0 0 14px rgba(255, 104, 22, 0.9);
    transform: translateX(-100%);
}

.menu-splash.is-ready .menu-splash__progress {
    opacity: 1;
}

.menu-splash.is-ready .menu-splash__progress span {
    animation: menu-splash-progress var(--splash-duration, 5s) linear forwards;
}

@keyframes menu-splash-brand-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes menu-splash-brand-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.006); }
}

@keyframes menu-splash-copy-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes menu-splash-glow-in {
    to { opacity: 0.44; }
}

@keyframes menu-splash-shine {
    0% { left: -32%; opacity: 0; }
    24% { opacity: 0.55; }
    100% { left: 118%; opacity: 0; }
}

@keyframes menu-splash-breathe {
    0% { opacity: 0; transform: scale(0.78); }
    52% { opacity: 1; }
    100% { opacity: 0.76; transform: scale(1.1); }
}

@keyframes menu-splash-orbit-in {
    to { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}

@keyframes menu-splash-orbit-in-alt {
    to { opacity: 1; transform: translate(-50%, -50%) rotate(17deg) scale(1); }
}

@keyframes menu-splash-orbit-float {
    0%, 100% { transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(-6deg) scale(1.035); }
}

@keyframes menu-splash-orbit-float-alt {
    0%, 100% { transform: translate(-50%, -50%) rotate(17deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(10deg) scale(0.96); }
}

@keyframes menu-splash-progress {
    to { transform: translateX(0); }
}

@keyframes menu-splash-stage-out {
    to {
        visibility: hidden;
        opacity: 0;
        transform: translateY(-28px) scale(0.94);
        filter: blur(10px);
    }
}

@keyframes menu-splash-restaurant-in {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes menu-splash-restaurant-ring {
    to { transform: rotate(370deg); }
}

@media (max-width: 640px) {
    .menu-splash__content {
        width: 100%;
        padding-inline: 22px;
    }

    .menu-splash__eyebrow {
        gap: 9px;
        margin-bottom: 18px;
        font-size: 8px;
        letter-spacing: 0.23em;
    }

    .menu-splash__eyebrow > span {
        width: 20px;
    }

    .menu-splash__brand {
        width: min(88vw, 390px);
        min-height: 134px;
        padding: 24px 25px;
        border-radius: 28px;
    }

    .menu-splash__stage-frame {
        min-height: 382px;
    }

    .menu-splash__welcome {
        max-width: 300px;
        margin-top: 24px;
    }

    .menu-splash__skip {
        top: max(14px, env(safe-area-inset-top));
        right: max(10px, env(safe-area-inset-right));
    }

    .menu-splash__orbit--outer {
        width: 128vw;
    }

    .menu-splash__orbit--inner {
        width: 92vw;
    }
}

@media (max-height: 640px) {
    .menu-splash__content {
        transform: scale(0.86);
    }

    .menu-splash__eyebrow {
        margin-bottom: 12px;
    }

    .menu-splash__welcome {
        margin-top: 16px;
    }

    .menu-splash__enter {
        margin-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .menu-splash *,
    .menu-splash *::before,
    .menu-splash *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}

/* Override primary color from establishment */
.text-primary {
    color: var(--primary-color, #ff6816) !important;
}

.bg-primary {
    background-color: var(--primary-color, #ff6816) !important;
}

/* Category hero */
.category-hero {
    height: 240px;
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

/* Narrative card animation */
.narrative-card {
    transition: all 0.3s ease;
}

.narrative-card:active {
    transform: scale(0.98);
}

.category-jump-link.active {
    border-color: #ff6816;
    background: #fff3eb;
    color: #f05b0a;
}

/* Product image hover effect */
.product-image {
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Modal animation */
#modal-produto>div {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile optimizations */
@media (max-width: 640px) {
    .category-hero {
        height: 200px;
    }

    .category-hero h2 {
        font-size: 1.75rem;
    }
}

/* ===========================================
   Guia publico - design system principal
   =========================================== */
.cd-home-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(194, 53, 8, 0.97) 0%, rgba(225, 75, 11, 0.92) 46%, rgba(110, 34, 9, 0.75) 100%),
        #c93a08;
    color: #fff;
}

.cd-hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 52%;
    background-image: linear-gradient(90deg, rgba(197, 57, 8, 0.95), rgba(197, 57, 8, 0.12) 38%, rgba(0, 0, 0, 0.1)), url("https://images.unsplash.com/photo-1546069901-ba9599a7e63c?auto=format&fit=crop&w=1400&q=82");
    background-size: cover;
    background-position: center;
    opacity: 0.9;
}

.cd-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.11' stroke-width='1.6'%3E%3Cpath d='M23 25h18M32 16v35M78 22c9 5 14 12 12 21-3 12-19 19-31 11-7-5-8-15-1-22 5-6 13-9 20-10Z'/%3E%3Cpath d='M21 90c10-14 27-18 39-10 7 5 7 17-2 22-13 8-31 3-37-12ZM85 82l16 16M101 82 85 98'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.75;
}

.cd-public-nav {
    position: relative;
    z-index: 3;
    width: min(1024px, calc(100% - 32px));
    min-height: 62px;
    margin: 12px auto 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    box-shadow: 0 18px 52px rgba(71, 24, 6, 0.23);
    backdrop-filter: blur(18px);
}

.cd-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.05;
    white-space: nowrap;
}

.cd-brand > span:last-child {
    display: flex;
    flex-direction: column;
}

.cd-brand strong {
    font-weight: 800;
}

.cd-brand em {
    color: #ff6816;
    font-style: normal;
    font-weight: 800;
}

.cd-brand-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7a1a, #f04e0b);
    color: #fff;
    box-shadow: 0 10px 20px rgba(242, 86, 13, 0.3);
}

.cd-brand-logo-link {
    flex: 0 0 auto;
    line-height: 0;
}

.cd-brand-logo {
    display: block;
    width: 132px;
    height: auto;
}

.cd-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    font-weight: 700;
}

.cd-nav-links a {
    color: #344054;
    text-decoration: none;
}

.cd-nav-links a:hover {
    color: #ff6816;
}

.cd-nav-actions,
.cd-cta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cd-nav-logout {
    display: flex;
    margin: 0;
}

.cd-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cd-btn:hover {
    transform: translateY(-1px);
}

.cd-btn-solid {
    background: linear-gradient(135deg, #ff7a1a, #f05b0a);
    color: #fff;
    box-shadow: 0 12px 24px rgba(242, 86, 13, 0.22);
}

.cd-btn-ghost {
    background: #fff;
    color: #f05b0a;
    border-color: rgba(240, 91, 10, 0.45);
}

.cd-hero-content {
    position: relative;
    z-index: 2;
    width: min(1024px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 34px;
}

.cd-hero-copy {
    max-width: 790px;
}

.cd-hero-copy h1 {
    max-width: 610px;
    margin: 0 0 14px;
    font-size: 46px;
    line-height: 1.02;
    font-weight: 800;
    color: #fff;
}

.cd-hero-copy p {
    max-width: 610px;
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
}

.cd-searchbar {
    display: grid;
    grid-template-columns: 1fr 154px;
    max-width: 720px;
    min-height: 58px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 44px rgba(76, 19, 2, 0.26);
}

.cd-search-field {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    color: #8b95a7;
    border-right: 1px solid #eceff3;
}

.cd-search-field input,
.cd-search-field select,
.cd-order-form select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background-color: transparent;
    color: #344054;
    font: inherit;
    font-weight: 650;
}

.cd-search-field input::placeholder {
    color: #8792a2;
}

.cd-search-submit {
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff7a1a, #f05b0a);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.cd-guide-main {
    width: min(1024px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 24px;
}

.cd-filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.cd-category-list,
.cd-neighborhoods,
.cd-active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cd-category-chip {
    min-height: 38px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid #e4e7ec;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.cd-category-chip .material-symbols-outlined {
    font-size: 18px;
}

.cd-category-chip.active,
.cd-category-chip:hover {
    border-color: #ff6816;
    background: #ff6816;
    color: #fff;
}

.cd-order-form {
    flex: 0 0 auto;
}

.cd-order-form select {
    height: 38px;
    min-width: 184px;
    padding: 0 36px 0 14px;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    background-color: #fff;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04);
}

.cd-neighborhoods,
.cd-active-filters {
    margin: -12px 0 24px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.cd-neighborhoods a,
.cd-active-filters a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e4e7ec;
    color: #475467;
    text-decoration: none;
}

.cd-neighborhoods a.active,
.cd-active-filters a:not(.clear) {
    background: #fff3eb;
    color: #f05b0a;
    border-color: #ffd8bf;
}

.cd-active-filters .material-symbols-outlined {
    font-size: 15px;
}

.cd-section {
    margin-bottom: 30px;
}

.cd-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.cd-section-heading h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #101828;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.cd-section-heading h2 small {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.cd-section-heading h2 .material-symbols-outlined {
    color: #ff6816;
}

.cd-section-heading a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f05b0a;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.cd-map-link {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #ffb382;
    border-radius: 8px;
    background: #fff;
}

.cd-featured-grid,
.cd-card-grid {
    display: grid;
    gap: 22px;
}

.cd-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cd-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.cd-estab-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6e9ef;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cd-estab-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 104, 22, 0.35);
    box-shadow: 0 20px 46px rgba(16, 24, 40, 0.14);
}

.cd-estab-cover {
    position: relative;
    height: 106px;
    background: #f2f4f7;
    overflow: hidden;
}

.cd-estab-card-featured .cd-estab-cover {
    height: 132px;
}

.cd-estab-cover img,
.cd-estab-cover-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cd-estab-card:hover .cd-estab-cover img {
    transform: scale(1.04);
}

.cd-estab-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2));
}

.cd-estab-cover-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff0e6, #ffd0b2);
    color: #ff6816;
}

.cd-estab-cover-fallback .material-symbols-outlined {
    font-size: 48px;
}

.cd-status {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.cd-status.open {
    background: #22ad67;
}

.cd-status.closed {
    background: #e03434;
}

.cd-estab-body {
    position: relative;
    padding: 26px 14px 14px;
}

.cd-estab-logo {
    position: absolute;
    top: -26px;
    left: 14px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    border: 3px solid #fff;
    background: #1f2937;
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.22);
}

.cd-estab-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cd-estab-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.cd-estab-title-row h3 {
    min-width: 0;
    margin: 0;
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cd-estab-card-featured .cd-estab-title-row h3 {
    font-size: 16px;
}

.cd-estab-category {
    flex: 0 0 auto;
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid #ffb98c;
    color: #f05b0a;
    background: #fff8f2;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
}

.cd-estab-description {
    min-height: 36px;
    margin: 8px 0 12px;
    color: #667085;
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cd-estab-services,
.cd-estab-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #667085;
    font-size: 11px;
    font-weight: 750;
}

.cd-estab-services {
    margin-bottom: 10px;
}

.cd-estab-services span,
.cd-estab-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cd-estab-services .material-symbols-outlined,
.cd-estab-meta .material-symbols-outlined {
    font-size: 15px;
}

.cd-estab-meta .material-symbols-outlined {
    color: #f6a400;
}

.cd-card-action {
    min-height: 34px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff7a1a, #f05b0a);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.cd-card-grid .cd-card-action {
    background: #fff;
    color: #f05b0a;
    border: 1px solid #ff9f61;
}

.cd-estab-card:hover .cd-card-action {
    background: linear-gradient(135deg, #ff7a1a, #f05b0a);
    color: #fff;
    border-color: transparent;
}

.cd-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    border: 1px dashed #d0d5dd;
    text-align: center;
}

.cd-empty-state > .material-symbols-outlined {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff3eb;
    color: #ff6816;
    font-size: 36px;
}

.cd-empty-state h3,
.cd-empty-state p {
    margin: 0;
}

.cd-empty-state h3 {
    color: #101828;
    font-size: 20px;
    font-weight: 800;
}

.cd-empty-state p {
    color: #667085;
}

.cd-restaurant-cta {
    margin: 28px 0 22px;
    display: grid;
    grid-template-columns: 86px 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 24px 32px;
    border-radius: 14px;
    border: 1px solid #ffb382;
    background:
        linear-gradient(90deg, rgba(255, 244, 235, 0.95), rgba(255, 255, 255, 0.86)),
        #fff7f1;
}

.cd-cta-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6816;
}

.cd-cta-icon .material-symbols-outlined {
    font-size: 58px;
}

.cd-restaurant-cta h2,
.cd-restaurant-cta p {
    margin: 0;
}

.cd-restaurant-cta h2 {
    color: #101828;
    font-size: 18px;
    font-weight: 800;
}

.cd-restaurant-cta p {
    max-width: 430px;
    margin-top: 5px;
    color: #475467;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 650;
}

/* ===========================================
   Pagina de planos
   =========================================== */
.cd-plans-hero {
    min-height: 500px;
}

.cd-plans-hero-photo {
    background-image:
        linear-gradient(90deg, rgba(197, 57, 8, 0.96), rgba(197, 57, 8, 0.15) 42%, rgba(8, 24, 39, 0.2)),
        url("https://images.unsplash.com/photo-1552566626-52f8b828add9?auto=format&fit=crop&w=1400&q=82");
    background-position: center right;
}

.cd-plans-hero-copy {
    max-width: 680px;
}

.cd-plans-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff7ed;
    font-size: 12px;
    font-weight: 800;
}

.cd-plans-main {
    width: min(1024px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 0;
}

.cd-plans-intro {
    margin-bottom: 22px;
}

.cd-plans-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cd-plans-stats > div {
    min-height: 112px;
    padding: 18px;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.06);
}

.cd-plans-stats .material-symbols-outlined {
    color: #f05b0a;
    font-size: 26px;
}

.cd-plans-stats strong,
.cd-plans-stats small {
    display: block;
}

.cd-plans-stats strong {
    margin-top: 8px;
    color: #101828;
    font-size: 14px;
    font-weight: 800;
}

.cd-plans-stats small {
    margin-top: 4px;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
}

.cd-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    margin: 18px 0 30px;
}

.cd-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cd-plan-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 104, 22, 0.38);
    box-shadow: 0 24px 52px rgba(16, 24, 40, 0.14);
}

.cd-plan-card.featured {
    border-color: #ff8a3d;
    box-shadow: 0 24px 56px rgba(240, 91, 10, 0.18);
}

.cd-plan-badge {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff7a1a, #f05b0a);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.cd-plan-badge .material-symbols-outlined {
    font-size: 17px;
}

.cd-plan-head {
    padding: 22px 22px 0;
}

.cd-plan-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff3eb;
    color: #f05b0a;
}

.cd-plan-icon .material-symbols-outlined {
    font-size: 26px;
}

.cd-plan-head h3 {
    margin: 14px 0 8px;
    color: #101828;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
}

.cd-plan-head p {
    min-height: 60px;
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 650;
}

.cd-plan-price {
    padding: 18px 22px 16px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.cd-plan-price strong {
    color: #101828;
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
}

.cd-plan-price span {
    color: #667085;
    font-size: 13px;
    font-weight: 750;
}

.cd-plan-action {
    width: calc(100% - 44px);
    margin: 0 22px 20px;
}

.cd-plan-features {
    flex: 1;
    margin: 0;
    padding: 18px 22px 22px;
    list-style: none;
    border-top: 1px solid #eef1f5;
    background: #f8fafc;
}

.cd-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 30px;
    color: #344054;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.cd-plan-features li + li {
    margin-top: 10px;
}

.cd-plan-features .material-symbols-outlined {
    flex: 0 0 auto;
    margin-top: -1px;
    color: #22ad67;
    font-size: 19px;
}

.cd-plan-features .not-included {
    color: #98a2b3;
}

.cd-plan-features .not-included .material-symbols-outlined {
    color: #cbd5e1;
}

.cd-plans-steps {
    margin: 12px 0 30px;
}

.cd-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cd-steps-grid > div {
    padding: 20px;
    border: 1px solid #e6e9ef;
    border-radius: 14px;
    background: #fff;
}

.cd-steps-grid span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #081827;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.cd-steps-grid h3 {
    margin: 14px 0 6px;
    color: #101828;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
}

.cd-steps-grid p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 650;
}

.cd-plans-cta {
    margin-bottom: 0;
}

.cd-public-footer {
    margin-top: 0;
    padding: 34px 0 18px;
    background: radial-gradient(circle at 78% 0%, rgba(255, 104, 22, 0.12), transparent 36%), #081827;
    color: #cbd5e1;
}

.cd-footer-grid {
    width: min(1024px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.cd-brand-footer {
    color: #fff;
}

.cd-brand-logo--footer {
    width: 156px;
    padding: 7px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
}

.cd-public-footer p {
    max-width: 260px;
    margin: 16px 0;
    color: #9aa7b7;
    font-size: 13px;
    line-height: 1.6;
}

.cd-public-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.cd-public-footer a:not(.cd-brand) {
    display: block;
    margin-bottom: 9px;
    color: #a9b5c5;
    font-size: 13px;
    text-decoration: none;
}

.cd-public-footer a:hover {
    color: #ff8a3d;
}

.cd-socials {
    display: flex;
    gap: 12px;
}

.cd-socials a {
    width: 30px;
    height: 30px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

.cd-socials .material-symbols-outlined {
    font-size: 17px;
}

.cd-footer-bottom {
    width: min(1024px, calc(100% - 32px));
    margin: 26px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #8b9aad;
    text-align: center;
    font-size: 12px;
}

@media (max-width: 980px) {
    .cd-public-nav {
        flex-wrap: wrap;
    }

    .cd-nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 16px;
    }

    .cd-hero-photo {
        width: 60%;
        opacity: 0.55;
    }

    .cd-searchbar {
        grid-template-columns: 1fr;
    }

    .cd-search-field {
        min-height: 56px;
        border-right: 0;
        border-bottom: 1px solid #eceff3;
    }

    .cd-search-submit {
        min-height: 54px;
    }

    .cd-filter-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .cd-featured-grid,
    .cd-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cd-restaurant-cta,
    .cd-footer-grid,
    .cd-pricing-grid,
    .cd-steps-grid {
        grid-template-columns: 1fr;
    }

    .cd-plans-stats {
        grid-template-columns: 1fr;
    }

    .cd-cta-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .cd-home-hero {
        min-height: auto;
    }

    .cd-public-nav {
        width: calc(100% - 20px);
        margin-top: 10px;
    }

    .cd-brand-logo {
        width: 120px;
    }

    .cd-brand-logo--footer {
        width: 150px;
    }

    .cd-nav-links {
        display: none;
    }

    .cd-nav-actions {
        width: 100%;
    }

    .cd-nav-actions > a,
    .cd-nav-actions > form {
        flex: 1;
    }

    .cd-nav-actions .cd-btn {
        width: 100%;
        flex: 1;
        padding: 0 10px;
    }

    .cd-hero-photo {
        inset: 0;
        width: 100%;
    }

    .cd-hero-content,
    .cd-guide-main,
    .cd-footer-grid,
    .cd-footer-bottom {
        width: calc(100% - 24px);
    }

    .cd-hero-content {
        padding: 34px 0 28px;
    }

    .cd-hero-copy h1 {
        font-size: 34px;
    }

    .cd-hero-copy p {
        font-size: 15px;
    }

    .cd-category-list {
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .cd-category-chip {
        flex: 0 0 auto;
    }

    .cd-order-form,
    .cd-order-form select {
        width: 100%;
    }

    .cd-featured-grid,
    .cd-card-grid {
        grid-template-columns: 1fr;
    }

    .cd-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cd-estab-cover,
    .cd-estab-card-featured .cd-estab-cover {
        height: 150px;
    }

    .cd-restaurant-cta {
        padding: 22px;
        gap: 14px;
    }

    .cd-plans-main {
        width: calc(100% - 24px);
        padding-top: 22px;
    }

    .cd-plans-stats > div,
    .cd-steps-grid > div {
        padding: 16px;
    }

    .cd-pricing-grid {
        gap: 14px;
    }

    .cd-plan-head,
    .cd-plan-price {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cd-plan-action {
        width: calc(100% - 36px);
        margin-left: 18px;
        margin-right: 18px;
    }

    .cd-plan-features {
        padding: 16px 18px 18px;
    }

    .cd-plan-price strong {
        font-size: 29px;
    }

    .cd-cta-icon {
        width: 54px;
        height: 54px;
    }

    .cd-cta-icon .material-symbols-outlined {
        font-size: 44px;
    }
}
