/* Carta digital styles.
   Extraído de site.css para poder mantener la web por bloques. */

/* =========================================================
   V3 - CARTA DIGITAL LIMPIA / SIN PEDIDO
   ========================================================= */
.carta-page {
    min-height: 100dvh;
    padding: 22px;
    display: flex;
    justify-content: center;
    background: radial-gradient(circle at 12% 10%, rgba(239,75,50,.10), transparent 24%), linear-gradient(135deg,#fafafa,#eeeeee);
}
.carta-shell {
    width: min(1180px, 100%);
    min-height: calc(100dvh - 44px);
    overflow: hidden;
    border-radius: 38px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 32px 90px rgba(0,0,0,.14);
}
.carta-hero {
    padding: 26px 32px 24px;
    background: linear-gradient(180deg,#f2f2f2 0%, #fff 72%);
    border-bottom: 1px solid #ececec;
}
.carta-topbar, .pedido-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.carta-back {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    background: var(--black);
    color: #fff;
    font-size: 26px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.carta-lang {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 17px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
.carta-status-row { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:14px; }
.carta-status {
    display: inline-flex;
    align-items:center;
    gap:8px;
    min-height:34px;
    padding: 8px 13px;
    border-radius: 999px;
    background:#f1f1f1;
    color:#777;
    font-size:13px;
    font-weight:900;
}
.carta-status span { width:10px; height:10px; border-radius:50%; background:#bdbdbd; }
.carta-status.open { background: rgba(24,164,99,.11); color:#12824f; }
.carta-status.open span { background:#18a463; }
.carta-status.available { background: var(--accent-soft); color:#bb321f; }
.carta-restaurant h1 {
    margin:0;
    color:var(--black);
    font-size: clamp(42px, 5.2vw, 70px);
    line-height:.95;
    letter-spacing:-4px;
}
.carta-restaurant p {
    margin:18px 0 0;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px 16px;
    color:#777;
    font-size:20px;
}
.carta-restaurant p i { width:1px; height:22px; background:#e2e2e2; }
.carta-intro {
    margin-top:24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px;
    border-radius:26px;
    background:#fff;
    border:1px solid #ededed;
    box-shadow: 0 14px 36px rgba(0,0,0,.06);
}
.carta-intro strong { display:block; font-size:18px; color:var(--black); }
.carta-intro span { display:block; margin-top:4px; color:#777; font-size:15px; line-height:1.35; }
.carta-cta {
    min-height:52px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 20px;
    border-radius:18px;
    background:var(--black);
    color:#fff;
    font-weight:950;
    white-space:nowrap;
}
.carta-cta.disabled { background:#eeeeee; color:#999; cursor:not-allowed; }
.carta-message { margin:24px; padding:22px; border-radius:22px; background:#f7f7f7; border:1px solid #e7e7e7; }
.carta-message strong, .carta-message span { display:block; }
.carta-message span { color:#777; margin-top:6px; }
.carta-message.error { background:#fff0ed; border-color:#ffd6cc; color:#a92b18; }
.carta-body {
    display:grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height:520px;
}
.carta-categories-desktop {
    padding:26px 22px;
    background:#fafafa;
    border-right:1px solid #eeeeee;
}
.carta-section-title { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.carta-section-title span { width:46px; height:46px; border-radius:16px; display:grid; place-items:center; background:var(--black); color:#fff; }
.carta-section-title strong { font-size:22px; }
.carta-categories-desktop nav { display:grid; gap:10px; }
.carta-category-link {
    min-height:56px;
    padding:0 14px;
    border-radius:18px;
    display:flex;
    align-items:center;
    gap:12px;
    color:#555;
    font-weight:850;
}
.carta-category-link span { font-size:22px; }
.carta-category-link.active, .carta-category-link:hover { background:var(--black); color:#fff; }
.carta-products-zone { padding:28px; min-width:0; }
.carta-products-head { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px; }
.carta-products-head span { color:var(--accent); font-size:14px; font-weight:950; text-transform:uppercase; letter-spacing:.7px; }
.carta-products-head h2 { margin:6px 0 0; font-size:clamp(34px,4vw,48px); line-height:1; letter-spacing:-2.4px; }
.carta-search { width:54px; height:54px; border-radius:18px; background:#f3f3f3; font-size:28px; cursor:pointer; }
.carta-categories-mobile { display:none; }
.carta-product-list { display:grid; gap:14px; }
.carta-product-card {
    display:grid;
    grid-template-columns: 108px minmax(0,1fr);
    gap:18px;
    padding:18px;
    border-radius:28px;
    background:#fff;
    border:1px solid #eeeeee;
    box-shadow: 0 14px 34px rgba(0,0,0,.055);
}
.carta-product-media { width:108px; height:98px; border-radius:24px; background:#f4f4f4; display:grid; place-items:center; }
.carta-product-media span { font-size:42px; }
.carta-product-main { min-width:0; }
.carta-product-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.carta-product-title-row h3 { margin:0; font-size:26px; letter-spacing:-.8px; line-height:1.08; }
.carta-product-title-row strong { font-size:24px; white-space:nowrap; }
.carta-product-main p { margin:8px 0 12px; color:#777; font-size:16px; line-height:1.35; }
.carta-product-detail summary { cursor:pointer; width:fit-content; color:var(--accent); font-weight:900; font-size:14px; }
.carta-product-detail div { margin-top:10px; display:flex; flex-wrap:wrap; gap:8px; }
.carta-product-detail div span { padding:7px 10px; border-radius:999px; background:#f4f4f4; color:#666; font-size:13px; font-weight:750; }
.carta-empty-category { padding:24px; border-radius:24px; background:#fff; border:1px solid #eeeeee; }
.carta-empty-category strong, .carta-empty-category span { display:block; }
.carta-empty-category span { color:#777; margin-top:6px; }

