/* Main Styles v50 - MENU FULL RESTORE */
:root {
    --bg-color: #050505;
    --text-color: #F5F5F5;
    --accent-color: #DC4C20;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
    --spacing-unit: 1rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    overflow-x: hidden;
    padding-top: 40px;
    background-image: url('../assets/happen_bg_4k_urban_sketch.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center center !important;
    background-blend-mode: normal;
    width: 100%;
}

/* Lock page scroll when menu overlay is open */
body.menu-open {
    overflow: hidden;
}

/* Lock page scroll when promo popup is open */
body.popup-open {
    overflow: hidden;
}


@media (max-width: 768px) {
    body {
        background-image: url('../assets/happen_bg_4k_urban_sketch.png') !important;
        background-attachment: scroll;
        background-position: center center !important;
        background-size: cover;
    }
}

/* Rolling Banner */
.marquee-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #000;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1001;
    border-bottom: 1px solid #333;
}

.marquee-wrapper {
    display: flex;
    white-space: nowrap;
    animation: marquee 60s linear infinite;
}

.marquee-item {
    padding-right: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-family: var(--font-display);
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Header */
.main-header {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 85px;
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.cta-button {
    border: 1px solid var(--text-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.cta-button.outline {
    background: transparent;
    color: var(--text-color);
}

.cta-button.outline:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* Autoplay Hero */
.scrolly-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background: #000;
    z-index: 1;
    overflow: hidden;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.scroll-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.scroll-step {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
}

.scroll-step.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-step h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

@media (max-width: 768px) {
    .scroll-step h1 {
        font-size: 2.5rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator .arrow {
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Content Sections */
.content-section {
    position: relative;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(5px);
    z-index: 2;
    padding: 5rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.product-card {
    background: #0a0a0a;
    padding: 2rem;
    text-align: center;
    border: 1px solid #222;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product-card:nth-child(1) .product-image {
    object-fit: contain;
    transform: scale(1.15);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
}

.product-card:nth-child(2) .product-image {
    object-fit: contain;
    transform: scale(1.1);
}

.product-card:nth-child(3) .product-image {
    object-fit: cover;
    transform: scale(1.25);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease-in-out;
    z-index: 10;
    padding: 2rem;
    text-align: center;
}

.product-card.overlay-active .product-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-content h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.overlay-content p {
    color: #ddd;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #ddd;
}

.review-author {
    font-weight: bold;
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 2rem 1rem;
    border-top: 1px solid #222;
    background: rgba(5, 5, 5, 0.95);
}

.footer-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-column h3 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    height: 60px;
    display: flex;
    justify-content: center;
align-items: center;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-col a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links-col a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #111;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto 1rem auto;
    }

    .footer-column h3 {
        justify-content: center;
        height: auto;
        margin-bottom: 0.5rem;
    }
}

/* FIX v46: Robust Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 10005;
    display: none;
    /* Default closed */
    overflow-y: auto;
    padding: 2rem;
    align-items: flex-start;
    justify-content: center;
}

/* Show state */
.menu-overlay.visible {
    display: flex !important;
}

.menu-modal {
    margin: 2rem auto;
    width: 100%;
    max-width: 900px;
    background: #0a0a0a;
    position: relative;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.nice-scroll::-webkit-scrollbar {
    width: 8px;
}

.nice-scroll::-webkit-scrollbar-track {
    background: #111;
}

.nice-scroll::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.nice-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Menu Views */
.menu-view {
    display: none;
}

.menu-view.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.menu-deal-banner {
    background: linear-gradient(135deg, #d44037 0%, #a8322b 100%);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FIX v49: Missing Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.category-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-color);
}

.category-card p {
    font-size: 0.9rem;
    color: #aaa;
}

.menu-items-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.menu-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 6px;
}

/* FIX v50: Missing Item Details */
.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

.item-name {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.item-price {
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.item-desc {
    font-size: 0.9rem;
    color: #ccc;
    font-style: italic;
    line-height: 1.4;
}



/* Menu helpers (card sync) */
.section-divider{
    margin: 1.25rem 0 0.6rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.05rem;
}
.section-divider small{
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-primary);
    font-weight: 500;
    color: #aaa;
    margin-left: .35rem;
}
.menu-upgrade-box{
    margin-top: 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    text-align: center;
}
.menu-item.highlight{
    border: 1px solid rgba(220,76,32,0.35);
    background: rgba(220,76,32,0.08);
}
/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    font-weight: 600;
}

@media (min-width: 769px) {
    .status-indicator {
        margin-left: auto;
        margin-right: 2rem;
    }
}

@media (max-width: 768px) {
    .status-indicator {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
        background: rgba(0, 0, 0, 0.6);
        z-index: 101;
    }
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.4;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(0.5);
        opacity: 0;
    }
}

.status-open .status-dot {
    background: #2ecc71;
    box-shadow: 0 0 10px #2ecc71;
}

.status-open .status-text {
    color: #2ecc71;
}

.status-closed .status-dot {
    background: #e74c3c;
    box-shadow: 0 0 10px #e74c3c;
}

.status-closed .status-text {
    color: #e74c3c;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #DC4C20;
    padding: 2rem;
    z-index: 10002;
    transition: bottom 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 1rem;
    color: white;
}

.cookie-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #666;
    text-decoration: underline;
}

.cookie-link:hover {
    color: #DC4C20;
}

/* Popup */
.promo-popup {
    display: none;
    position: fixed;
    z-index: 10005;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.promo-popup { opacity: 1; }
.promo-popup.closing { opacity: 0; transition: opacity 0.25s ease; }

.popup-content {
    background-color: #111;
    margin: auto;
    padding: 3rem 2rem;
    border: 2px solid #DC4C20;
    width: 90%;
    max-width: 500px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(220, 76, 32, 0.4);
    transform: scale(0.8);
    animation: popupScale 0.3s ease-out forwards;
}

@keyframes popupScale {
    to {
        transform: scale(1);
    }
}

.close-popup {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #DC4C20;
}

/* Cursor */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #DC4C20;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: exclusion;
    display: none;
}

#cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.2);
    border-color: transparent;
}

@media (pointer: coarse) {
    #cursor {
        display: none !important;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Social Buttons (Instagram / TikTok) --- */
.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

.social-btn:active {
    transform: translateY(0);
}

.social-icon {
    fill: currentColor;
}

.social-handle {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

@media (max-width: 520px) {
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Footer socials */
.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-social-link:hover {
    color: var(--accent-color);
}

/* --- Rocket micro-animation (Promo Popup) --- */
.rocket{
  display:inline-block;
  position:relative;
  margin-left: .25rem;
  transform: translateZ(0);
  will-change: transform, opacity, filter;
}
.rocket::after{
  content:'';
  position:absolute;
  left:50%;
  top:100%;
  width:10px;
  height:18px;
  transform: translateX(-50%);
  border-radius: 50% 50% 50% 50%;
  opacity:0;
  filter: blur(0.5px);
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.95) 0%, rgba(255,200,0,0.9) 28%, rgba(255,80,0,0.8) 60%, rgba(255,80,0,0) 100%);
}
.rocket.launch{
  animation: rocketLaunch 2600ms cubic-bezier(.2,.9,.2,1) forwards;
}
.rocket.launch::after{
  opacity:1;
  animation: rocketFlame 140ms ease-in-out infinite;
}
@keyframes rocketLaunch{
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); opacity:1; filter: blur(0px); }
  20%  { transform: translate3d(0,-6px,0) rotate(-6deg) scale(1.02); }
  60%  { transform: translate3d(10vw,-18vh,0) rotate(18deg) scale(1.05); }
  100% { transform: translate3d(45vw,-60vh,0) rotate(30deg) scale(0.95); opacity:0; filter: blur(0.2px); }
}
@keyframes rocketFlame{
  0%   { transform: translateX(-50%) scaleY(0.7); opacity: .75; }
  50%  { transform: translateX(-50%) scaleY(1.1); opacity: 1; }
  100% { transform: translateX(-50%) scaleY(0.6); opacity: .65; }
}
@media (prefers-reduced-motion: reduce){
  .rocket.launch{ animation: none; opacity:1; }
  .rocket.launch::after{ animation:none; opacity:0; }
}

/* v130 MENU CLOSE BUTTON + MOBILE MENU GRID */
/* Close button: red X, positioned to the right of the menu card */
.menu-modal { position: relative; }

#menu-close-btn-inner.icon-btn{
  position: absolute;
  top: 14px;
  right: -56px; /* sits to the right of the card */
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 2px solid #e74c3c;
  color: #e74c3c;
  background: rgba(0,0,0,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 0 0 rgba(231, 76, 60, 0);
  z-index: 100001;
}

#menu-close-btn-inner.icon-btn:hover{
  background: #e74c3c;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 0 18px rgba(231, 76, 60, 0.55);
}

#menu-close-btn-inner.icon-btn:focus-visible{
  outline: 3px solid rgba(231, 76, 60, 0.6);
  outline-offset: 3px;
}

/* Mobile: keep close button inside the card for safe tap area */
@media (max-width: 768px){
  #menu-close-btn-inner.icon-btn{
    right: 12px;
    top: 12px;
    background: rgba(0,0,0,0.55);
  }
  .menu-overlay{
    padding: 1rem;
  }
  .menu-modal{
    padding: 1.25rem;
  }
  /* 2 menu points (category cards) per row on mobile */
  .category-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .category-card{
    padding: 1.1rem;
  }
  .cat-icon{
    font-size: 2.1rem;
  }

  /* --- Mobile: Menu overlay usability --- */
  .menu-overlay{
    padding: max(1rem, env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom));
  }
  .menu-modal{
    width: 100%;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
  }
  .menu-nav{
    position: sticky;
    top: 0;
    z-index: 5;
    background: #0a0a0a;
    padding-top: 0.25rem;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }

  /* --- Mobile: Cookie banner --- */
  .cookie-banner{
    padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  }
  .cookie-content{
    text-align: left;
  }
  .cookie-buttons{
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-buttons .cta-button{
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Mobile: Promo popup --- */
  .promo-popup{
    padding: max(1rem, env(safe-area-inset-top)) 1rem calc(1rem + env(safe-area-inset-bottom));
  }
  .popup-content{
    width: 100%;
    max-width: 520px;
    padding: 2rem 1.25rem;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .popup-content h2{
    font-size: 1.6rem;
  }
  #claim-deal-btn{
    width: 100%;
  }
  .close-popup{
    right: 14px;
    top: 12px;
    font-size: 34px;
  }

  /* --- Mobile: Speisekarte (Details besser lesbar) --- */
  .menu-items-list{
    grid-template-columns: 1fr !important;
    gap: 0.9rem;
  }
  .menu-item{ padding: 0.95rem; }
  .item-header{ flex-wrap: wrap; gap: 0.35rem; }
  .item-name{ font-size: 1.05rem; }
  .item-price{ margin-left: auto; }
  .item-desc{ font-size: 0.88rem; line-height: 1.35; }

  /* --- Mobile: Header (Status + Menü sichtbar) --- */
  .main-header{
    padding: 0.5rem 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 1002;
  }
  .logo img{ height: 58px; }
  /* Auf Mobile: Navigation ausblenden, damit Status nicht rausgeschoben wird */
  nav ul{ display: none; }
  /* Status: normal im Flow statt absolut */
  .status-indicator{
    position: static !important;
    transform: none !important;
    width: 100%;
    justify-content: center;
    margin: 0.25rem 0 0.5rem;
    font-size: 0.8rem;
    padding: 0.35rem 0.9rem;
    background: rgba(0,0,0,0.55);
    display: flex !important;
  }

  /* Menu Button im Content: etwas größer, besser tappbar */
  #toggle-menu-btn{ width: 100%; max-width: 520px; }
}


/* Mobile/UX fix: enable Google Maps interaction when overlay closed */
.map-preview iframe{pointer-events:auto !important;}
.product-card.overlay-active .map-preview iframe{pointer-events:none !important;}


/* ===== Mobile Menu + Footer Polish (vNext) ===== */
@media (max-width: 768px) {
  /* MENU OVERLAY: full-bleed, safe-area, proper scrolling */
  .menu-overlay{
    padding: calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom));
    align-items: stretch;
  }
  .menu-modal{
    margin: 0;
    max-width: none;
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
    max-height: calc(100dvh - (24px + env(safe-area-inset-top) + env(safe-area-inset-bottom)));
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .menu-nav{
    position: sticky;
    top: 0;
    z-index: 5;
    background: #0a0a0a;
    padding-bottom: .75rem;
    margin-bottom: .75rem;
  }
  #menu-title{
    font-size: 1.15rem;
    line-height: 1.1;
    text-align: center;
    margin: 0;
    padding: 0 .25rem;
  }
  #menu-back-btn{
    padding: .45rem .9rem;
    font-size: .85rem;
    border-radius: 999px;
    white-space: nowrap;
  }
  #menu-close-btn-inner{
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    flex: 0 0 auto;
  }

  /* Views scroll inside the card */
  .menu-view{
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }

  /* Remove duplicate big heading inside details to avoid double titles */
  /* STRONG mobile override: prevent double headings/subtitles in details */
  #menu-container #view-details .menu-details-section .category-title{
    display: none !important;
  }
  #menu-container #view-details .menu-details-section .category-subtitle{
    margin: .25rem 0 .75rem 0 !important;
    font-size: .95rem !important;
    line-height: 1.35 !important;
  }

  /* STRONG mobile override: items always 1 column inside details */
  #menu-container #view-details .menu-items-list{
    grid-template-columns: 1fr !important;
  }


  .menu-details-section > .category-title{
    display: none;
  }
  .menu-details-section > .category-subtitle{
    margin-top: 0;
    margin-bottom: .75rem;
    font-size: .95rem;
    line-height: 1.3;
    color: #d6d6d6;
  }

  /* Categories: 2 columns on normal phones, 1 column on very small screens */
  .category-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
  }
  @media (max-width: 360px){
    .category-grid{ grid-template-columns: 1fr; }
  }
  .category-card{
    padding: 1rem;
  }
  .cat-icon{ font-size: 2rem; }

  /* Items: 1 column on mobile for readability */
  .menu-items-list{
    grid-template-columns: 1fr !important;
    gap: .85rem;
  }
  .menu-item{
    padding: .95rem;
  }
  .item-header{
    flex-wrap: wrap;
    gap: .35rem .75rem;
  }
  .item-name{
    font-size: 1.02rem;
  }
  .item-price{
    margin-left: auto;
  }
  .item-desc{
    font-size: .92rem;
    line-height: 1.35;
  }

  /* FOOTER: clean centered stack on mobile */
  footer .footer-content{
    align-items: center;
  }
  footer .footer-column{
    width: 100%;
    max-width: 520px;
    text-align: center;
  }
  footer .footer-links-col{
    align-items: center;
  }
}

/* =========================================================
   MOBILE/PERFECT-FIT PATCH v131
   - kills horizontal scroll
   - improves hero + menu overlay on mobile
   - fixes status pill width on mobile
   - centers footer on mobile
   ========================================================= */

/* 1) Kill horizontal “side scroll” on mobile */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

/* Media should never force overflow */
img, svg, video, canvas, iframe {
  max-width: 100%;
}

/* Avoid 100vw overflow issues on mobile browsers */
.scrolly-hero,
.menu-overlay,
.marquee-container,
.main-header {
  max-width: 100%;
}

/* 2) Mobile header: keep status pill compact (not a full-width bar) */
@media (max-width: 768px) {
  .status-indicator {
    width: auto !important;
    max-width: 80vw;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  /* Prevent nav wrapping from pushing layout weirdly */
  .main-header nav ul {
    gap: 0.9rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-header nav ul::-webkit-scrollbar { display: none; }
}

/* 3) Hero mobile optimization */
@media (max-width: 768px) {
  .scrolly-hero {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  #hero-canvas {
    width: 100% !important;
    height: 100% !important;
  }

  .scroll-text-overlay {
    padding: 0 1rem;
  }

  .scroll-step h1 {
    font-size: 2.1rem !important;
    line-height: 1.05;
  }

  .scroll-step p {
    font-size: 1rem;
    line-height: 1.35;
    max-width: 34ch;
    margin: 0 auto;
  }

  .scroll-indicator {
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  }
}

/* 4) Menu overlay: true mobile-first layout */
@media (max-width: 768px) {
  #menu-container.menu-overlay {
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0 !important;
  }

  #menu-container .menu-modal {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 1rem !important;
    max-height: 100dvh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Sticky menu header (Zurück / Titel / X always visible) */
  #menu-container .menu-nav {
    position: sticky;
    top: 0;
    z-index: 6;
    background: #0a0a0a;
    padding: 0.75rem 0;
    margin: 0 0 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  /* Close button tappable */
  #menu-close-btn-inner,
  #menu-back-btn {
    min-width: 44px;
    min-height: 44px;
  }

  /* Overview category grid: 2 columns, tiny phones -> 1 */
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.9rem !important;
  }
  @media (max-width: 360px) {
    .category-grid { grid-template-columns: 1fr !important; }
  }

  .category-card {
    padding: 1rem !important;
  }
  .category-card h3 {
    font-size: 1rem !important;
  }
  .category-card p {
    font-size: 0.85rem !important;
  }

  /* Details view: remove duplicated headline inside content (header already shows category) */
  #view-details .menu-details-section .category-title {
    display: none !important;
  }

  /* Give subtitle breathing room (your “gequetscht” issue) */
  #view-details .menu-details-section .category-subtitle {
    margin: 0 0 1.1rem 0 !important;
    font-size: 0.98rem;
    line-height: 1.38;
  }

  /* Items: ALWAYS one column on mobile */
  #view-details .menu-items-list {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
  }

  .menu-item {
    padding: 0.9rem !important;
  }

  .item-header {
    gap: 0.75rem;
    align-items: flex-start;
  }

  .item-name {
    font-size: 1.05rem;
    line-height: 1.15;
  }

  .item-price {
    white-space: nowrap;
  }
}

/* 5) Product grid on mobile: avoid overflow */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .product-card {
    padding: 1.25rem !important;
  }
}

/* 6) Footer mobile: clean centered layout */
@media (max-width: 768px) {
  footer {
    text-align: center;
  }

  .footer-content {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .footer-column {
    text-align: center !important;
    width: 100%;
  }

  .footer-logo img {
    margin: 0 auto 1rem auto;
  }

  .footer-links-col {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}


/* =========================================================
   MOBILE/PERFECT-FIT PATCH v131
   ========================================================= */

/* 1) Kill horizontal “side scroll” */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

/* Media elements should never exceed viewport */
img, svg, video, canvas, iframe {
  max-width: 100%;
}

/* Avoid common 100vw overflow traps */
.scrolly-hero,
.menu-overlay,
.marquee-container,
.main-header {
  max-width: 100%;
}

/* 2) Hero mobile: better viewport units + readable typography */
@media (max-width: 768px) {
  .scrolly-hero {
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  #hero-canvas {
    width: 100% !important;
    height: 100% !important;
  }

  .scroll-text-overlay {
    padding: 0 1rem;
  }

  .scroll-step h1 {
    font-size: 2.15rem !important;
    line-height: 1.05;
  }

  .scroll-step p {
    font-size: 1rem;
    line-height: 1.35;
    max-width: 34ch;
    margin: 0 auto;
  }

  .scroll-indicator {
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  }
}

/* 3) Header status pill: keep it compact (not full-width) */
@media (max-width: 768px) {
  .status-indicator {
    width: auto !important;
    max-width: 78vw;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .status-text {
    white-space: nowrap;
  }
}

/* 4) Product grid should not force wide columns on small screens */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
}

/* 5) Menu overlay: true mobile-friendly layout */
@media (max-width: 768px) {
  #menu-container.menu-overlay {
    padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0 !important;
  }

  #menu-container .menu-modal {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 1rem !important;
    max-height: 100dvh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #menu-container .menu-nav {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #0a0a0a;
    padding: 0.75rem 0;
    margin: 0 0 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  /* Bigger, tappable close button */
  #menu-close-btn-inner {
    width: 44px;
    height: 44px;
    border-radius: 999px;
  }

  /* Categories: 2 per row on mobile */
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.9rem;
  }

  @media (max-width: 360px) {
    .category-grid {
      grid-template-columns: 1fr !important;
    }
  }

  /* Details items: always 1 column on mobile */
  #view-details .menu-items-list {
    grid-template-columns: 1fr !important;
  }

  /* Remove duplicated big title in the content (header title is enough) */
  #view-details .menu-details-section > .category-title {
    display: none !important;
  }

  /* Give more breathing room between header/title and subtitle */
  #view-details .menu-details-section .category-subtitle {
    margin: 0 0 1rem 0 !important;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  /* Item header: allow wrapping without overflow */
  .item-header {
    gap: 0.75rem;
    align-items: flex-start;
  }

  .item-name {
    line-height: 1.15;
  }

  .item-price {
    white-space: nowrap;
  }
}

/* 6) Footer: center/stack nicely on mobile */
@media (max-width: 768px) {
  footer {
    text-align: center;
  }

  .footer-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.75rem;
  }

  .footer-column {
    text-align: center !important;
    width: 100%;
  }

  .footer-column h3 {
    justify-content: center;
  }

  .footer-links-col {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}


/* v131b: status pill position fix on mobile (avoid full-width/center overlap) */
@media (max-width: 768px) {
  .status-indicator {
    left: auto !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
}


/* === v4: Mobile Status Indicator centered (not full width) === */
@media (max-width: 768px) {
  #shop-status.status-indicator {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    max-width: 90vw !important;
    justify-content: center !important;
    padding: 0.35rem 0.9rem !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(8px);
  }
}


/* =========================
   MOBILE HEADER MENU BUTTON
   ========================= */
.mobile-menu-btn{
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: 1px solid rgba(220,76,32,0.6);
  color: var(--text-color);
  border-radius: 12px;
  padding: 6px 10px;
  cursor: pointer;
  min-width: 56px;
  line-height: 1;
}
.mobile-menu-btn:hover{
  border-color: var(--accent-color);
  box-shadow: 0 0 18px rgba(220,76,32,0.25);
}
.mobile-menu-icon{ font-size: 20px; }
.mobile-menu-text{
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.72rem;
}

/* Mobile layout: hide desktop nav, show the menu button */
@media (max-width: 768px){
  .main-header nav{ display: none !important; }
  .mobile-menu-btn{ display: flex !important; }
}


/* =========================
   FOOTER MOBILE CENTER FIX
   ========================= */
@media (max-width: 768px){
  .footer-content{
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-column{
    width: 100% !important;
    text-align: center !important;
  }
  .footer-links-col{
    align-items: center !important;
  }
}


/* =========================
   MOBILE: REVIEWS SLIDER (3 cards)
   Shows one review at a time and auto-slides via JS.
   ========================= */
@media (max-width: 768px) {
  #reviews .reviews-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important;
    padding: 0 0.25rem;
    margin: 2rem 0 0 0 !important;
  }

  #reviews .review-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0 !important;
  }

  /* small breathing room inside each slide */
  #reviews .review-card {
    padding: 1.75rem 1.25rem;
  }

  /* hide scrollbar */
  #reviews .reviews-grid::-webkit-scrollbar { height: 0; }
  #reviews .reviews-grid { scrollbar-width: none; }

  /* optional little dots container (added by JS) */
  #reviews .reviews-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    opacity: 0.9;
  }
  #reviews .reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.25);
    border: 1px solid rgba(255,255,255,0.15);
  }
  #reviews .reviews-dot.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
  }
}



/* =========================
   MOBILE-ONLY BEATS SECTION
   ========================= */
.mobile-only { display: none; }

@media (max-width: 768px) {
  .mobile-only { display: block; }

  #beats.content-section {
    min-height: auto;
    padding: 3.5rem 1.25rem;
  }

  #beats .section-header h2 {
    margin-bottom: 0.75rem;
  }

  #beats .beats-card{
  /* inherits product-card styling */
}
#beats .beats-text {
    margin: 0;
    color: #ddd;
    line-height: 1.55;
    font-size: 1rem;
  }
}


/* ===== Mobile Beats Player ===== */
#beats .beats-actions{
  display:flex;
  align-items:center;
  gap:0.75rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
#beats .beats-hint{
  color:#999;
  font-size:0.9rem;
}
#beats #beats-play-btn{
  border-color: var(--accent-color);
  color: var(--accent-color);
}
#beats #beats-play-btn:hover{
  background: var(--accent-color);
  color: #050505;
}
@media (max-width: 420px){
  #beats #beats-play-btn{ width:100%; }
  #beats .beats-hint{ width:100%; }
}

/* Hero canvas: prevent intro-frame flash on load */
#hero-canvas {
  opacity: 0;
  transition: opacity 0.35s ease;
}

#hero-canvas.ready {
  opacity: 1;
}

/* Preloader (small logo loading screen) */
#preloader{
  position: fixed;
  inset: 0;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  transition: opacity 0.4s ease;
}

.preloader-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
  text-align:center;
}

.preloader-logo{
  width: 86px;
  height:auto;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
}

.loader-line{
  width: 150px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow:hidden;
  position: relative;
}

.loader-line::after{
  content:"";
  position:absolute;
  top:0;
  left:-45%;
  width:45%;
  height:100%;
  border-radius:999px;
  background: var(--accent-color);
  animation: happenLoader 1.15s ease-in-out infinite;
}

@keyframes happenLoader{
  0%{ transform: translateX(0); opacity:0.6; }
  50%{ opacity:1; }
  100%{ transform: translateX(260%); opacity:0.6; }
}

@media (max-width: 480px){
  .preloader-logo{ width: 72px; }
  .loader-line{ width: 130px; }
}


/* Hero rating (trust line) */
.hero-rating{
  padding: 10px 16px 0;
}
.hero-rating__inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
}
.hero-rating__title{
  display:block;
  font-weight: 800;
  letter-spacing: .2px;
}
.hero-rating__stars{
  display:block;
  margin-top: 4px;
  font-size: 1.1rem;
}


/* Desktop rotating reviews (3 cards that swap every 3s) */
.reviews-rotator{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width:100%;
}

/* keep 3 columns but fall back gracefully */
@media (max-width: 1100px){
    .reviews-rotator{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px){
    .reviews-rotator{
        grid-template-columns: 1fr;
    }
}

/* fade transition */
.review-card--rotating{
    transition: opacity .25s ease, transform .25s ease;
}
.review-card--rotating.is-fading{
    opacity: 0;
    transform: translateY(8px);
}
