:root {
    --bg: #f7efe4;
    --bg-soft: #fbf6ef;
    --ink: #2f1c12;
    --ink-soft: #5a3f2d;
    --brand: #a4602f;
    --brand-strong: #7a4019;
    --accent: #dfb279;
    --line: rgba(74, 43, 24, 0.12);
    --radius-lg: 26px;
    --radius-md: 18px;
    --shadow-soft: 0 12px 35px rgba(67, 40, 21, 0.12);
    --shadow-strong: 0 18px 60px rgba(67, 40, 21, 0.2);
    --container: min(1140px, 92vw);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Manrope', sans-serif;
    background: radial-gradient(circle at 15% -10%, #ffe7ca 0%, var(--bg) 48%, #f4eadf 100%);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: var(--container); margin-inline: auto; }

.grain-layer {
    position: fixed; inset: 0;
    background-image: radial-gradient(rgba(75,45,27,0.06) 0.5px, transparent 0.5px);
    background-size: 2px 2px; opacity: 0.35; pointer-events: none; z-index: -1;
}

/* HEADER */
.site-header {
    position: sticky; top: 0; z-index: 20; transition: 0.3s; background: transparent;
}
.site-header.scrolled {
    background: rgba(251,246,239,0.85); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { height: 72px; display: flex; align-items: center; gap: 16px; }
.brand {
    font-family: 'Bebas Neue', sans-serif; font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: 0.08em;
}
.nav-badge {
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
    color: #fff; padding: 6px 14px; border-radius: 999px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}

/* HERO */
.menu-hero {
    padding: clamp(50px, 8vw, 90px) 0 24px; text-align: center;
}
.eyebrow {
    letter-spacing: 0.17em; text-transform: uppercase; font-weight: 800;
    color: var(--brand-strong); font-size: 0.78rem; margin-bottom: 12px;
}
h1 {
    font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.04em;
    font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1; margin-bottom: 12px;
}
.hero-desc { color: var(--ink-soft); font-size: 0.95rem; max-width: 50ch; margin: 0 auto; }

/* CATEGORY TABS */
.category-tabs {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
    margin-bottom: 28px; padding: 12px 16px; background: rgba(255,255,255,0.55);
    border: 1px solid var(--line); border-radius: 999px;
    backdrop-filter: blur(8px); position: sticky; top: 72px; z-index: 10;
}
.cat-tab {
    padding: 8px 18px; border: 1px solid transparent; border-radius: 999px;
    background: transparent; font-family: 'Manrope', sans-serif;
    font-size: 0.82rem; font-weight: 700; color: var(--ink-soft);
    cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.cat-tab:hover { background: rgba(255,255,255,0.6); }
.cat-tab.active {
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
    color: #fff; border-color: var(--brand);
}

/* MENU GRID - 3 columns, compact */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* MENU ITEM - circular design */
.menu-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 24px 16px 20px; background: #fff;
    border: 1px solid var(--line); border-radius: 20px;
    text-align: center; transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}
.menu-item:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-strong);
}

.item-circle {
    width: 110px; height: 110px; border-radius: 50%;
    overflow: hidden; margin-bottom: 14px; position: relative;
    border: 3px solid var(--line);
    flex-shrink: 0; background: var(--bg-soft);
}
.menu-item:hover .item-circle { border-color: var(--accent); }

.item-circle img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.menu-item:hover .item-circle img { transform: scale(1.08); }

.no-img-circle {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}
.no-img-circle svg { width: 70%; height: 70%; color: var(--brand); opacity: 0.55; }
.menu-item:hover .no-img-circle svg { opacity: 0.85; }

/* ANIMATED SVG PLACEHOLDERS */
.anim-hot .steam-line { transform-origin: bottom center; animation: steamRise 1.8s ease-out infinite; }
.anim-hot .s1 { animation-delay: 0s; }
.anim-hot .s2 { animation-delay: 0.35s; }
.anim-hot .s3 { animation-delay: 0.7s; }
@keyframes steamRise {
    0% { opacity: 0; transform: translateY(0) scaleY(1); }
    40% { opacity: 0.7; }
    100% { opacity: 0; transform: translateY(-6px) scaleY(1.3); }
}

.anim-cold .ice-line { animation: iceFloat 2.5s ease-in-out infinite; }
.anim-cold .i1 { animation-delay: 0s; }
.anim-cold .i2 { animation-delay: 0.4s; }
@keyframes iceFloat {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-3px); opacity: 1; }
}
.anim-cold .bubble { animation: bubbleUp 2s ease-in-out infinite; }
.anim-cold .b1 { animation-delay: 0s; }
.anim-cold .b2 { animation-delay: 0.6s; }
.anim-cold .b3 { animation-delay: 1.2s; }
@keyframes bubbleUp {
    0%, 100% { transform: translateY(0); opacity: 0.3; }
    50% { transform: translateY(-4px); opacity: 0.7; }
}

.anim-dessert .cherry { animation: cherryBob 2s ease-in-out infinite; }
@keyframes cherryBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.anim-drink .bubble { animation: drinkBubble 2.2s ease-in-out infinite; }
.anim-drink .b1 { animation-delay: 0s; }
.anim-drink .b2 { animation-delay: 0.8s; }
@keyframes drinkBubble {
    0%, 100% { transform: translateY(0); opacity: 0.2; }
    50% { transform: translateY(-5px); opacity: 0.6; }
}

.anim-extra .spin-ring { animation: slowSpin 6s linear infinite; transform-origin: 40px 40px; }
@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.imza-badge {
    position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(120deg, var(--brand), var(--brand-strong));
    color: #fff; padding: 3px 10px; border-radius: 999px;
    font-weight: 800; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
    white-space: nowrap; box-shadow: 0 2px 8px rgba(67,40,21,0.3);
}

.item-info { width: 100%; }
.item-name {
    font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem;
    letter-spacing: 0.03em; margin-bottom: 6px; line-height: 1.2;
}
.item-price {
    font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem;
    color: var(--brand-strong); letter-spacing: 0.02em;
}

/* VARIANTS in compact view */
.item-variants { display: flex; flex-direction: column; gap: 4px; }
.v-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 10px; background: var(--bg-soft); border: 1px solid var(--line);
    border-radius: 8px; font-size: 0.78rem;
}
.v-row span:first-child { font-weight: 700; }
.v-row span:last-child {
    font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem; color: var(--brand-strong);
}

/* MORECANO SPECIAL */
.morecano-item {
    background: linear-gradient(160deg, #fff8ef, #f4ddc1);
    border: 2px solid var(--accent);
}
.morecano-item .item-name { color: var(--brand-strong); font-size: 1.3rem; }
.morecano-item .item-circle { border-color: var(--accent); width: 120px; height: 120px; }

.no-items {
    text-align: center; padding: 48px 24px; color: var(--ink-soft);
    grid-column: 1 / -1;
}

/* FOOTER */
.site-footer {
    background: #21130c; color: rgba(255,245,231,0.92); padding: 28px 0;
    margin-top: 48px;
}
.footer-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; align-items: center;
}
.footer-grid strong {
    font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.06em;
}
.footer-grid a { margin-right: 12px; opacity: 0.9; }
.footer-grid a:hover { opacity: 1; color: #ffd8ad; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .item-circle { width: 90px; height: 90px; }
    .morecano-item .item-circle { width: 100px; height: 100px; }
}

@media (max-width: 520px) {
    .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .menu-item { padding: 16px 8px 14px; }
    .item-circle { width: 70px; height: 70px; border-width: 2px; margin-bottom: 10px; }
    .morecano-item .item-circle { width: 76px; height: 76px; }
    .item-name { font-size: 0.95rem; }
    .item-price { font-size: 1.1rem; }
    .imza-badge { font-size: 0.5rem; padding: 2px 6px; }
    .category-tabs { gap: 4px; padding: 8px 10px; top: 0; border-radius: 16px; }
    .cat-tab { padding: 6px 10px; font-size: 0.72rem; }
    .v-row { font-size: 0.7rem; padding: 3px 6px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}