/* =========================================
   El Marinero Restaurant — Styles
   ========================================= */

:root {
  --hero-blue: #0F3556;
  --section-cream: #FAF7F1;
  --navy:       #0a1f3d;
    --navy-mid:   #122d54;
    --navy-light: #1a3f6f;
    --ocean:      #1b6ca8;
    --ocean-light:#3a94d1;
    --teal:       #1d7874;
    --gold:       #c8a45e;
    --gold-light: #e0c373;
    --sand:       #faf8f4;
    --sand-dark:  #f0ece4;
    --cream:      #FAF7F1;
    --text:       #2c2c2c;
    --text-light: #6b6b6b;
    --white:      #ffffff;
    --radius:     12px;
    --radius-lg:  20px;
    --shadow:     0 4px 24px rgba(10,31,61,0.08);
    --shadow-lg:  0 12px 48px rgba(10,31,61,0.12);
    --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    background: var(--sand);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

a {
    color: var(--ocean);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    padding: 16px 0;
}
.navbar.scrolled {
    background: rgba(10,31,61,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.15);
    padding: 8px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo-img {
    height: 64px;
    width: auto;
    transition: height var(--transition);
}
.navbar.scrolled .nav-logo-img { height: 50px; }

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-link {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    background: var(--gold);
    color: var(--navy) !important;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 700;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    background: var(--gold-light);
    color: var(--navy) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 26px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-blue);
  padding-bottom: 150px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") repeat;
    background-size: 30px 30px;
}
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 100px;
}
.hero-logo {
    width: 280px;
    height: 280px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
    animation: floatLogo 6s ease-in-out infinite;
}
@keyframes floatLogo {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    font-weight: 900;
    letter-spacing: 0.04em;
    text-shadow: 0 4px 32px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    color: var(--gold);
    letter-spacing: 0.6em;
    margin-top: 8px;
    font-weight: 300;
}
.hero-divider {
    margin: 28px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.hero-divider::before, .hero-divider::after {
    content: '';
    width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.anchor-icon {
    font-size: 1.4rem;
    color: var(--gold);
    animation: anchorSway 4s ease-in-out infinite;
}
@keyframes anchorSway {
    0%,100% { transform: rotate(0deg); }
    25% { transform: rotate(8deg); }
    75% { transform: rotate(-8deg); }
}
.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    margin-bottom: 36px;
    font-style: italic;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-lottie-waves {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 100vw;
  height: 130px;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background: transparent !important;
}

.hero-lottie-waves lottie-player,
.hero-lottie-waves svg,
.hero-lottie-waves canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  background: transparent !important;
}

.hero-lottie-waves svg *[fill="#0F2841"],
.hero-lottie-waves svg *[fill="#0f2841"],
.hero-lottie-waves svg *[fill="#0B2743"],
.hero-lottie-waves svg *[fill="#0b2743"] {
  fill: transparent !important;
}

@media (max-width: 768px) {
  .hero-lottie-waves {
    height: 95px;
  }
}

.next-section {
  background: var(--section-cream);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy);
}
.btn-primary:hover {
    background: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,164,94,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}
.btn-whatsapp:hover {
    background: #1ebe57;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* ---- SECTIONS ---- */
.section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 32px;
}
.section-header.light .section-title,
.section-header.light .section-tag { color: var(--white); }
.section-header.light .section-divider span { color: var(--gold-light); }
.section-header.light .section-divider::before,
.section-header.light .section-divider::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); }

.section-tag {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ocean);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    font-weight: 700;
}
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}
.section-divider::before, .section-divider::after {
    content: '';
    width: 50px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-divider span { font-size: 1.2rem; color: var(--gold); }

/* ---- COMPACT INFO STRIP ---- */
.info-strip {
    background: var(--section-cream);
    padding: 18px 0;
    border-bottom: 1px solid rgba(200,164,94,0.2);
}
.info-strip .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.info-strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-light);
}
.info-strip-item .icon { font-size: 1.1rem; }
.info-strip-item strong {
    color: var(--navy);
    font-weight: 700;
}
.info-strip-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--gold);
    font-weight: 700;
}
@media(max-width:700px){
    .info-strip .container { gap: 14px; }
    .info-strip-item { font-size: 0.8rem; gap: 4px; }
}

/* ---- MENU SECTION ---- */
.menu-section {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
    position: relative;
    padding: 0;
    overflow: hidden;
}
.menu-section .container {
    padding-top: 50px;
    padding-bottom: 100px;
}
.menu-seo-intro {
    max-width: 760px;
    margin: -8px auto 40px;
    color: rgba(255,255,255,0.72);
    text-align: center;
    line-height: 1.7;
    font-size: 0.98rem;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.menu-tab {
    padding: 10px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.2);
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition);
}
.menu-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.menu-tab.active {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.menu-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.menu-item:last-child { border-bottom: none; }
.menu-item h4 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 600;
}
.menu-item p {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.5;
}
.menu-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.menu-item-photo {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
    display: block;
    padding: 0;
    background: none;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.menu-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-item-photo:hover {
    transform: scale(1.08);
}

/* ---- DISH PHOTO MODAL ---- */
.dish-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5,15,30,0.85);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.dish-modal-overlay.open {
    display: flex;
    animation: dishFadeIn 0.22s ease;
}
@keyframes dishFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.dish-modal-box {
    position: relative;
    max-width: min(92vw, 540px);
    background: var(--navy);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55);
    animation: dishSlideUp 0.25s cubic-bezier(0.4,0,0.2,1);
}
@keyframes dishSlideUp {
    from { transform: translateY(28px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0)     scale(1);    opacity: 1; }
}
.dish-modal-img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    background: rgba(0,0,0,0.3);
}
.dish-modal-name {
    padding: 14px 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    margin: 0;
}
.dish-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: none;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.15s;
}
.dish-modal-close:hover {
    background: rgba(200,164,94,0.75);
}

.menu-item-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
    padding-top: 4px;
}

/* ---- GALLERY ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 20px;
}
.gallery-item { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 16px 16px;
    background: linear-gradient(transparent, rgba(10,31,61,0.8));
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption p {
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--sand-dark); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); }
.testimonial-stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.testimonial-author {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
}

/* ---- CONTACT ---- */
.contact {
    background: linear-gradient(180deg, var(--navy) 0%, #0d2b4a 100%);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.contact-item h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}
.contact-item p, .contact-item a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}
.contact-item a:hover { color: var(--gold); }
.contact-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.service-badge {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}
.contact-map {
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ---- RESERVAS ---- */
/* ---- DELIVERY APP BUTTONS ---- */
.delivery-apps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.delivery-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.delivery-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.pedidosya-btn { background: #fff; color: #e3002c; border: 2px solid #e3002c; }
.pedidosya-btn img { filter: none; }
.ubereats-btn  { background: #000; color: #fff; padding: 9px 18px; }
.ubereats-btn img { filter: invert(1); }
.rappi-btn     { background: #fff; color: #ff441f; border: 2px solid #ff441f; }
.rappi-btn img { filter: none; }

/* ---- DELIVERY BAR UNDER MENU ---- */
.menu-delivery-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 24px;
    background: rgba(255,255,255,0.06);
    border-top: 1px solid rgba(200,164,94,0.2);
    margin-top: 8px;
}
.menu-delivery-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-right: 4px;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--navy);
    position: relative;
    padding-top: 100px;
    padding-bottom: 40px;
}
.footer-wave {
    position: absolute;
    top: -1px; left: 0; right: 0;
    line-height: 0;
}
.footer-wave svg { width: 100%; height: 100px; }

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { width: 80px; }
.footer-brand p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}
.footer-links h4 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.footer-credit a { color: var(--gold); }
.footer-credit a:hover { color: var(--gold-light); }

/* ---- ANIMATIONS ---- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
/* ── Tablet ancho: layout de contenido ──────────────────────── */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }
    .gallery-item.large { grid-column: span 2; grid-row: span 1; }
    .gallery-item.tall { grid-row: span 1; }
    .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── Hamburguesa: colapsar nav en 1024px (cubre iPad y tablet) ── */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 300px; height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 48px 40px;
        transition: right var(--transition);
        box-shadow: -8px 0 32px rgba(0,0,0,0.3);
        z-index: 999;
    }
    .nav-menu.open { right: 0; }
    .nav-toggle { display: flex; z-index: 1001; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    /* Dentro del panel lateral, los links son más grandes */
    .nav-menu .nav-link { font-size: 1.1rem; }
    .nav-menu .nav-cta {
        padding: 10px 28px;
        font-size: 1rem;
        text-align: center;
    }
}

/* ── Hero: ajuste en tablet ──────────────────────────────────── */
@media (max-width: 768px) {
    .hero-logo { width: 220px; height: 220px; }
    .hero-content { padding: 100px 20px 80px; }
    .section { padding: 72px 0; }
    .menu-section { padding: 100px 0; }
    .about-story { padding: 32px; }
}

/* ── Móvil pequeño ───────────────────────────────────────────── */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }
    .gallery-item.large,
    .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-logo { width: 180px; height: 180px; }
    .hero-content { padding: 90px 16px 70px; }
    .nav-logo-img { height: 52px; }
    .navbar.scrolled .nav-logo-img { height: 40px; }
}

/* ================================================
   ORDER / CART SYSTEM
   ================================================ */

/* Layout wrapper: menu list + order panel */
.menu-order-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.menu-list-col {
    min-width: 0;
}

/* ---- ADD button inside each menu item ---- */
.menu-item {
    align-items: center;
}
.menu-item-left {
    flex: 1;
    min-width: 0;
}
.btn-add-item {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 50px;
    border: 2px solid var(--gold);
    background: var(--gold);
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-left: 12px;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.btn-add-item:hover {
    background: transparent;
    color: var(--gold);
    transform: scale(1.08);
}

/* ---- ORDER PANEL ---- */
.order-panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(200,164,94,0.25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 120px);
}

.order-panel-header {
    background: rgba(200,164,94,0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(200,164,94,0.2);
}
.order-panel-title {
    font-family: 'Playfair Display', serif;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
}
.order-count-badge {
    background: var(--gold);
    color: var(--navy);
    font-weight: 800;
    font-size: 0.8rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    min-height: 80px;
    max-height: 380px;
}
.order-items::-webkit-scrollbar { width: 4px; }
.order-items::-webkit-scrollbar-track { background: transparent; }
.order-items::-webkit-scrollbar-thumb { background: rgba(200,164,94,0.3); border-radius: 4px; }

.order-empty {
    color: rgba(255,255,255,0.35);
    font-size: 0.88rem;
    text-align: center;
    padding: 20px 0;
    font-style: italic;
}

/* Each order row */
.order-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.order-row:last-child { border-bottom: none; }
.order-row-name {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}
.order-row-price {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}
.order-row-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 2;
}
.order-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    line-height: 1;
    padding: 0;
    font-family: 'Lato', sans-serif;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.order-qty-btn:hover {
    background: rgba(200,164,94,0.3);
    border-color: var(--gold);
    color: var(--gold);
}
.order-qty-num {
    color: var(--white);
    font-size: 0.88rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

/* Footer totals */
.order-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(200,164,94,0.2);
    background: rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}
.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.order-total-amount {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 700;
}
.order-send-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    border-radius: 12px;
    justify-content: center;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.order-clear-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    transition: all 0.2s;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.order-clear-btn:hover {
    border-color: rgba(239,68,68,0.4);
    color: rgba(239,68,68,0.8);
}

/* ---- MOBILE FLOATING CART BUTTON ---- */
.cart-float-btn {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50px;
    padding: 14px 22px;
    font-size: 1rem;
    font-weight: 800;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(200,164,94,0.45);
    transition: transform 0.2s, box-shadow 0.2s;
    gap: 8px;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.cart-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(200,164,94,0.5);
}
.cart-float-btn.has-items {
    animation: cartPop 0.35s ease;
}
@keyframes cartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ---- MOBILE SLIDE-UP PANEL ---- */
.order-panel-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 997;
    pointer-events: none;
}
.order-panel-mobile-overlay.show { display: none; }

/* ---- RESPONSIVE: tablet / mobile ---- */
@media (max-width: 900px) {
    .menu-order-layout {
        grid-template-columns: 1fr;
    }

    .menu-item-photo {
        width: 52px;
        height: 52px;
    }

    /* Desktop panel becomes slide-up on mobile */
    .order-panel {
        display: none;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        top: auto;
        max-height: 80vh;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        z-index: 9999;
        transform: translateY(105%);
        transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
        border: none;
        border-top: 2px solid rgba(200,164,94,0.35);
        background: var(--navy);
        box-shadow: 0 -24px 60px rgba(0,0,0,0.38);
        isolation: isolate;
        pointer-events: none;
    }
    .order-panel.mobile-open {
        display: flex;
        transform: translateY(0);
        z-index: 10001;
        pointer-events: auto;
    }
    .order-panel-header {
        cursor: pointer;
        padding: 12px 20px;
    }

    .order-send-btn {
        position: relative;
        z-index: 1;
        box-shadow: 0 8px 20px rgba(37,211,102,0.24);
    }
    /* drag handle */
    .order-panel-header::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: rgba(255,255,255,0.2);
        border-radius: 2px;
        margin: 0 auto 10px;
    }
    .order-items {
        max-height: 45vh;
    }
    .cart-float-btn {
        display: flex;
    }
}

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid rgba(255,255,255,.12); border-radius: 10px; margin-bottom: 10px; padding: 14px 18px; background: rgba(255,255,255,.03); }
.faq-item summary { cursor: pointer; font-weight: 600; color: #fff; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "▸ "; color: #00d4aa; }
.faq-item[open] summary::before { content: "▾ "; }
.faq-item p { margin: 10px 0 0; color: rgba(255,255,255,.75); line-height: 1.6; }
