/* ========================================
   LA ROTONDA MENU - SHORTCODE STYLES
   ======================================== */

.rotonda-menu-app {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    max-width: 100%;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
}

.rotonda-menu-app * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Header */
.rotonda-header {
    background: #EBE7DB;
    padding: 15px;
    text-align: center;
}

.rotonda-logo {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
}

.rotonda-subtitle {
    color: #c9a67a;
    font-size: 0.9rem;
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Contact Section (below nav) */
.rotonda-contact-section {
    background: #2c1810;
    padding: 12px 15px;
}

.rotonda-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.rotonda-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.rotonda-phone-btn {
    background: rgba(201, 166, 122, 0.2);
    color: #c9a67a;
    border: 1px solid rgba(201, 166, 122, 0.3);
}

.rotonda-phone-btn:hover,
.rotonda-phone-btn:active {
    background: rgba(201, 166, 122, 0.3);
}

.rotonda-whatsapp-btn {
    background: #25D366;
    color: #fff;
}

.rotonda-whatsapp-btn:hover,
.rotonda-whatsapp-btn:active {
    background: #1ebe5d;
}

/* Navigation */
.rotonda-nav {
    background: #2c1810;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.rotonda-nav-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rotonda-nav-scroll::-webkit-scrollbar {
    display: none;
}

.rotonda-pill {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #c9a67a;
    padding: 10px 18px;
    border-radius: 25px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    scroll-snap-align: start;
    white-space: nowrap;
}

.rotonda-pill:active {
    transform: scale(0.95);
}

.rotonda-pill.active {
    background: linear-gradient(135deg, #c9a67a 0%, #a8885c 100%);
    color: #1a0f0a;
    box-shadow: 0 4px 15px rgba(201, 166, 122, 0.4);
}

/* Content */
.rotonda-content {
    padding: 0 0 40px 0;
}

/* Category */
.rotonda-category {
    padding: 20px 15px;
}

.rotonda-category-title {
    color: #c9a67a;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(201, 166, 122, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Items Container */
.rotonda-category-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Menu Items */
.rotonda-item {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #252525 0%, #1e1e1e 100%);
    padding: 14px 16px;
    border-radius: 14px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    gap: 12px;
}

.rotonda-item:active {
    transform: scale(0.98);
    background: linear-gradient(145deg, #2a2a2a 0%, #222 100%);
}

.rotonda-item.highlight {
    background: linear-gradient(145deg, #3d2a1a 0%, #2c1810 100%);
    border: 1px solid rgba(201, 166, 122, 0.3);
}

/* Sold Out */
.rotonda-item.sold-out {
    opacity: 0.5;
}

.rotonda-sold-out {
    display: inline-block;
    background: #ff4757;
    color: #fff;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

/* Tags */
.rotonda-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}

.rotonda-tag {
    display: inline-block;
    background: rgba(201, 166, 122, 0.2);
    color: #c9a67a;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 500;
}

/* Item Icon */
.rotonda-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 166, 122, 0.15);
    border-radius: 10px;
}

.rotonda-icon {
    width: 20px;
    height: 20px;
    color: #c9a67a;
}

.rotonda-item-info {
    flex: 1;
    min-width: 0;
}

.rotonda-item-info h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.3;
}

.rotonda-item-info p {
    color: #888;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
}

.rotonda-price {
    background: linear-gradient(135deg, #c9a67a 0%, #a8885c 100%);
    color: #1a0f0a;
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Sin cargo - Estilo sutil */
.rotonda-price.free {
    background: rgba(201, 166, 122, 0.2);
    color: #c9a67a;
    font-size: 0.7rem;
    padding: 6px 12px;
    font-weight: 500;
    border: 1px solid rgba(201, 166, 122, 0.3);
}

.rotonda-price.consult {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Footer */
.rotonda-footer {
    background: #2c1810;
    text-align: center;
    padding: 25px 15px;
    border-top: 1px solid rgba(201, 166, 122, 0.2);
}

.rotonda-footer p {
    color: #c9a67a;
    font-weight: 600;
    font-size: 1rem;
}

.rotonda-footer-location {
    color: #888 !important;
    font-weight: 400 !important;
    font-size: 0.85rem !important;
    margin-top: 5px;
}

/* Business Hours Section */
.rotonda-hours-section {
    background: #2c1810;
    padding: 20px 15px;
    text-align: center;
}

.rotonda-hours {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.8;
}

.rotonda-hours-title {
    color: #c9a67a !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes rotondaFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rotonda-item {
    animation: rotondaFadeIn 0.4s ease-out;
    animation-fill-mode: both;
}

/* Responsive - Tablet */
@media (min-width: 600px) {
    .rotonda-menu-app {
        max-width: 800px;
    }

    .rotonda-header {
        padding: 30px;
    }

    .rotonda-logo {
        max-width: 400px;
    }

    .rotonda-nav-scroll {
        justify-content: center;
    }

    .rotonda-pill {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .rotonda-category {
        padding: 25px 20px;
    }

    .rotonda-category-title {
        font-size: 1.6rem;
    }

    .rotonda-item {
        padding: 16px 20px;
    }

    .rotonda-item-icon {
        width: 42px;
        height: 42px;
    }

    .rotonda-icon {
        width: 24px;
        height: 24px;
    }

    .rotonda-item-info h3 {
        font-size: 1.05rem;
    }

    .rotonda-item-info p {
        font-size: 0.8rem;
    }

    .rotonda-price {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
}

/* Responsive - Desktop */
@media (min-width: 900px) {
    .rotonda-menu-app {
        max-width: 1100px;
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
        border-radius: 20px;
        overflow: hidden;
        margin: 30px auto;
    }

    .rotonda-header {
        padding: 40px;
    }

    .rotonda-logo {
        max-width: 450px;
    }

    .rotonda-nav {
        padding: 15px 0;
    }

    .rotonda-pill {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .rotonda-category {
        padding: 30px 30px;
    }

    .rotonda-category-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    /* Grid de 2 columnas para productos */
    .rotonda-category-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .rotonda-item {
        padding: 18px 22px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .rotonda-item:hover {
        border-color: rgba(201, 166, 122, 0.3);
        background: linear-gradient(145deg, #2a2a2a 0%, #222 100%);
    }

    .rotonda-item-icon {
        width: 44px;
        height: 44px;
    }

    .rotonda-icon {
        width: 26px;
        height: 26px;
    }

    .rotonda-item-info h3 {
        font-size: 1.1rem;
    }

    .rotonda-item-info p {
        font-size: 0.85rem;
    }

    .rotonda-price {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .rotonda-contact-section {
        padding: 20px;
    }

    .rotonda-contact-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .rotonda-hours-section {
        padding: 30px;
    }

    .rotonda-hours {
        font-size: 0.95rem;
    }

    .rotonda-footer {
        padding: 35px;
        border-radius: 0 0 20px 20px;
    }

    .rotonda-footer p {
        font-size: 1.1rem;
    }
}

/* Responsive - Large Desktop */
@media (min-width: 1200px) {
    .rotonda-menu-app {
        max-width: 1200px;
        margin: 40px auto;
    }

    .rotonda-header {
        padding: 50px;
    }

    .rotonda-logo {
        max-width: 500px;
    }

    .rotonda-category {
        padding: 40px;
    }

    .rotonda-category-title {
        font-size: 2rem;
    }

    .rotonda-item {
        padding: 20px 25px;
    }

    .rotonda-item-info h3 {
        font-size: 1.15rem;
    }

    .rotonda-item-info p {
        font-size: 0.9rem;
    }
}

/* ========================================
   STICKY HEADER (Mobile Only)
   ======================================== */
.rotonda-sticky-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #EBE7DB;
    padding: 10px 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.rotonda-sticky-header.visible {
    transform: translateY(0);
}

.rotonda-sticky-logo {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Solo mostrar sticky header en mobile */
@media (max-width: 899px) {
    .rotonda-sticky-header {
        display: block;
    }
}
