:root {
    scroll-behavior: smooth;
    --primary-color: #124F2F;
    /* Verde Inglés */
    --secondary-color: #ECE3D9;
    /* Beige */
    --accent-dark: #000000;
    /* Negro */
    --accent-light: #FFFFFF;
    /* Blanco */

    /* Exact fonts requested with fallbacks */
    --font-wide: 'Proxima Nova Extra Wide', 'Montserrat', sans-serif;
    --font-elegant: 'Corporate A Condensed', 'Oswald', 'Playfair Display', serif;
    --font-script: 'Flirt Script', 'Great Vibes', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Evitar que iOS cambie el color de los números de teléfono */
a {
    text-decoration: none;
    color: inherit;
}

a[href^="tel"] {
    color: inherit !important;
    text-decoration: none !important;
}

body {
    font-family: var(--font-elegant);
    color: var(--accent-dark);
    line-height: 1.6;
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

/* Unification of headers for all pages */
.navbar,
.navbar-carta,
.navbar-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    /* Higher z-index for all headers */
    background: transparent;
    /* Subpages will override this if needed */
}

/* Home Navbar Absolute Position (Scrolls away) */
.navbar {
    position: absolute;
}

/* Home Navbar Fade In */
.navbar {
    opacity: 0;
    animation: fadeIn 1s ease-out 1.8s forwards;
}

/* Subpage Navbar styling to match Landing position */
.navbar-carta,
.navbar-nav {
    justify-content: space-between;
    border-bottom: 1px solid rgba(18, 79, 47, 0.1);
    background-color: var(--secondary-color);
}

/* Improved "Volver" Button */
.btn-back {
    text-decoration: none;
    color: var(--primary-color) !important;
    font-family: var(--font-wide);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.8;
}

.btn-back:link,
.btn-back:visited,
.btn-back:hover,
.btn-back:active {
    color: var(--primary-color) !important;
    text-decoration: none;
}

.btn-back span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    font-size: 1.2rem;
}

.btn-back:hover {
    opacity: 1;
    letter-spacing: 0.15em;
}

.btn-back:hover span {
    transform: translateX(-5px);
}

.nav-logo,
.nav-logo-small {
    height: 80px;
    width: 80px;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hero-logo {
    width: 450px;
    max-width: 90%;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInDown 1.0s cubic-bezier(0.23, 1, 0.32, 1) 1.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Intro Sequence */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    animation: introFadeOut 0.6s ease-in 1.4s forwards;
}

.intro-logo {
    width: 320px;
    height: auto;
    z-index: 1001;
    opacity: 0;
    filter: none;
    animation: logoIntro 2.0s ease-out 0.1s forwards;
}

/* ... */

@keyframes logoIntro {
    0% {
        opacity: 0;
        transform: scale(0.6);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.hero {
    min-height: calc(100vh - 45px);
    /* 100vh minus footer height */
    height: auto;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #124F2F 0%, #0a311d 100%);
    text-align: center;
    color: var(--secondary-color);
    overflow: hidden;
    padding-bottom: 0px;
    /* Eliminated space for footer */
}

/* Mosaic Background Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/cuadriculado.png");
    background-repeat: repeat;
    background-size: 50px;
    /* Adjust as needed */
    opacity: 0.08;
    z-index: 1;
    animation: entranceFade 2s ease-out forwards;
}

/* Enhanced background lights */
.hero::after {
    content: '';
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 227, 217, 0.08) 0%, rgba(236, 227, 217, 0) 70%);
    filter: blur(100px);
    z-index: 1;
    animation: pulse 15s infinite alternate, entranceFade 3s ease-out forwards;
}

@keyframes pulse {
    0% {
        transform: translate(-10%, -10%) scale(1);
    }

    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

@keyframes float {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(100px, 100px);
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(18, 79, 47, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    padding-top: 10px;
    /* Minimal space above logo */
    max-width: 900px;
}

.logo {
    font-family: var(--font-wide);
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
    line-height: 1.1;
    color: var(--accent-light);
    opacity: 0;
    animation: fadeInDown 1.0s cubic-bezier(0.23, 1, 0.32, 1) 1.6s forwards;
}

.tagline {
    font-family: var(--font-elegant);
    font-size: 3.5rem;
    font-weight: 500;
    /* Heavier for better contrast */
    letter-spacing: 0.05em;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 1.0s cubic-bezier(0.23, 1, 0.32, 1) 1.7s forwards;
    /* Delayed after intro */
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    /* Extreme shadow to pop from green */
}

.tagline em {
    font-style: italic !important;
    font-family: 'Playfair Display', serif;
    padding-left: 2px;
}

.cta-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Original gap */
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1.0s cubic-bezier(0.23, 1, 0.32, 1) 1.9s forwards;
}

.contact-social-info {
    margin-bottom: 1rem;
    /* Reduced from 1.5rem */
    opacity: 0;
    animation: fadeInUp 1.0s cubic-bezier(0.23, 1, 0.32, 1) 1.8s forwards;
}

.hero-address {
    font-family: var(--font-wide);
    font-size: 1.1rem;
    color: var(--secondary-color);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    /* Reduced from 1.5rem */
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    text-decoration: none !important;
    color: var(--secondary-color) !important;
    pointer-events: none;
    /* Prevents interaction if browser forces link */
}

.addr-part {
    text-decoration: none !important;
    color: inherit !important;
}

.hero-social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.hero-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.hero-social-link img {
    width: 35px !important;
    height: 35px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Makes them white */
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.hero-social-link:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.btn {
    width: 100%;
    padding: 1.5rem 0;
    /* Perfect padding */
    text-decoration: none;
    font-family: var(--font-wide);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    text-align: center;
    border-radius: 4px;
    background: var(--secondary-color);
    color: var(--primary-color);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: var(--accent-light);
    color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.35em;
}

.btn-whatsapp {
    background: var(--accent-dark);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn img {
    width: 25px;
    height: 25px;
    margin-right: 12px;
    vertical-align: middle;
}

.btn-whatsapp:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}


.img-masdelivery {
    width: auto !important;
    height: 32px !important;
    margin-right: 0 !important;
}

.btn-delivery {
    background: var(--accent-dark);
    color: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delivery:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Specific button modifiers removed to ensure absolute uniformity as requested */
/* We keep the classes in HTML for potential future logic */

.footer {
    width: 100%;
    height: 45px;
    /* Fixed height for consistent layout */
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center content vertically */
    background: var(--secondary-color);
    border-top: 1px solid rgba(18, 79, 47, 0.1);
    z-index: 10;
    gap: 0;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 0rem;
}

.footer-section {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-section.contact-info {
    justify-content: flex-start;
    flex: 1;
}

.footer-section.social-media {
    justify-content: flex-end;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 500;
}

.social-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin: 0;
    /* Removed all margins */
    padding: 0;
    font-size: 0.8rem;
    opacity: 0.8;
    font-family: var(--font-wide);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.footer-dev {
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
    }

    .footer-section {
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-section {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 420px) {
    .hero-logo {
        width: 320px;
    }

    .cta-container {
        width: 85%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn {
        padding: 1.2rem 0 !important;
        /* 1.5rem * 0.8 */
        font-size: 1rem !important;
        /* 1.25rem * 0.8 */
        letter-spacing: 0.24em !important;
        /* 0.3em * 0.8 */
    }

    .tagline {
        font-size: 2.8rem;
        /* 3.5rem * 0.8 */
    }

    .btn img {
        width: 20px !important;
        height: 20px !important;
        margin-right: 8px !important;
    }

    .btn img.img-masdelivery {
        height: 32px !important;
        width: auto !important;
    }
}

.icon {
    font-size: 1.2rem;
}

/* Intro Animations */
@keyframes logoIntro {
    0% {
        opacity: 0;
        transform: scale(0.6);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes introFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes entranceFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.08;
    }
}

@keyframes pulse {
    0% {
        transform: translate(-10%, -10%) scale(1);
    }

    100% {
        transform: translate(10%, 10%) scale(1.1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Skip Intro Utility */
body.skip-intro .intro-overlay {
    display: none !important;
}

body.skip-intro .navbar,
body.skip-intro .hero .content,
body.skip-intro .overlay,
body.skip-intro .logo,
body.skip-intro .hero-logo,
body.skip-intro .tagline,
body.skip-intro .contact-social-info,
body.skip-intro .cta-container,
body.skip-intro .footer {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}

body.skip-intro .hero::before,
body.skip-intro .hero::after {
    opacity: 0.08 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}

body.skip-intro .hero {
    background: linear-gradient(135deg, #124F2F 0%, #0a311d 100%) !important;
}

/* Promo Grid & Cards */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.promo-card {
    background: rgba(255, 255, 255, 0.5);
    /* Beige look over background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(18, 79, 47, 0.05);
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.promo-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover .promo-image {
    transform: scale(1.05);
}

.promo-content {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-name {
    font-family: var(--font-wide);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.promo-description {
    font-size: 1rem;
    color: var(--accent-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.promo-prices {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1.5rem;
}

.price-original {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 300;
}

.price-promo {
    font-family: var(--font-wide);
    font-size: 1.8rem;
    color: #e67e22;
    /* Un toque de color para destacar la promo */
    font-weight: 900;
}

/* Menu (Carta) Section Styling */
.menu-section {
    padding: 10rem 2rem 6rem;
    /* Increased top padding to clear the 80px fixed header */
    background-color: var(--secondary-color);
    color: var(--primary-color);
    min-height: 100vh;
}

.menu-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-wide);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1.5rem auto 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Max 2 columns on desktop */
    gap: 2rem 4rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--font-elegant);
    font-size: 1.4rem;
    font-weight: 700;
    flex-wrap: wrap;
    /* Allow price to drop if name is too long */
    gap: 0.5rem;
}

.item-name {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    flex: 1 1 auto;
    white-space: normal;
    /* Allow wrapping */
    min-width: 150px;
}

.item-dots {
    flex: 1 1 auto;
    border-bottom: 2px dotted rgba(18, 79, 47, 0.2);
    margin: 0 1rem;
    height: 1.2rem;
}

.item-price {
    flex: 0 0 auto;
    font-family: var(--font-wide);
    font-size: 1.2rem;
    color: var(--accent-dark);
    margin-left: auto;
    /* Push to right when possible */
    padding-left: 1rem;
    /* Safety margin if it wraps */
}

.loading-text {
    text-align: center;
    grid-column: 1 / -1;
    font-style: italic;
    opacity: 0.6;
}

@media (max-width: 900px) {

    .navbar,
    .navbar-carta,
    .navbar-nav {
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 1.6rem;
    }

    .hero {
        padding-bottom: 3rem;
    }

    .content {
        padding-top: 80px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .section-title {
        font-size: clamp(0.9rem, 5vw, 1.5rem);
        letter-spacing: 0.01em;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .menu-section {
        padding: 8rem 1rem 4rem;
    }
}

@media (max-width: 520px) {
    .hero-address {
        font-size: 0.95rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        padding: 0 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .addr-divider {
        display: none;
    }

    .addr-part {
        display: block;
    }
}

@media (max-width: 500px) {
    .hero-logo {
        width: 360px;
    }

    .intro-logo {
        width: 256px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
        letter-spacing: 0.15rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .menu-item {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .item-dots {
        margin: 0 0.5rem;
    }

    .item-price {
        font-size: 1.1rem;
    }

    .delivery-group {
        flex-direction: column;
        gap: 1.5rem;
    }

    .split-btn {
        width: 100%;
        font-size: 1.25rem !important;
        letter-spacing: 0.3em !important;
        padding: 1.5rem 0 !important;
    }
}

/* Flavor Page Styles */
.flavor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 100%;
}

.flavor-category {
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(18, 79, 47, 0.1);
}

.category-title {
    font-family: var(--font-wide);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.flavor-list {
    list-style: none;
    padding: 0;
}

.flavor-item {
    font-family: var(--font-elegant);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
}

.badge-new {
    background-color: #e67e22;
    /* Orange accent */
    color: white;
    font-family: var(--font-wide);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .flavor-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .flavor-item {
        font-size: 1.1rem;
    }
}


/* Developer Credit & Modal */
.dev-credit {
    font-size: 0.6rem;
    color: inherit;
    /* Adapt to footer background */
    text-decoration: none;
    opacity: 0.5;
    margin: 0;
    /* Removed margin-top */
    display: block;
    width: 100%;
    text-align: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
    font-family: var(--font-wide);
    letter-spacing: 0.05em;
}

.dev-credit:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Modal Overlay */
.dev-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dev-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.dev-modal {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 90%;
    width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid var(--primary-color);
    position: relative;
}

.dev-modal-overlay.active .dev-modal {
    transform: translateY(0);
}

.dev-modal h3 {
    font-family: var(--font-wide);
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.dev-modal p {
    font-family: var(--font-elegant);
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 1rem;
}

.dev-modal .btn-contact {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-wide);
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.dev-modal .btn-contact:hover {
    background: #0e3d24;
}

.dev-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
    line-height: 1;
}

/* =========================================
   Admin & Login Styles
   ========================================= */

.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    padding-top: 100px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
    border: 1px solid rgba(18, 79, 47, 0.1);
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.login-title {
    font-family: var(--font-wide);
    color: var(--primary-color);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    font-family: var(--font-wide);
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-elegant);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-color);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-wide);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-login:hover {
    background: #0e3d24;
}

.error-message {
    color: #c0392b;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
    display: none;
}

/* Admin Panel Styles */
.admin-container {
    padding: 8rem 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    min-height: 100vh;
}

.admin-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(18, 79, 47, 0.1);
    padding-bottom: 1rem;
}

.admin-title {
    font-family: var(--font-wide);
    color: var(--primary-color);
    font-size: 2.5rem;
    text-transform: uppercase;
}

.placeholder-box {
    background: white;
    padding: 4rem 2rem;
    border-radius: 12px;
    border: 2px dashed rgba(18, 79, 47, 0.2);
    margin: 2rem 0;
}

.placeholder-icon {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.placeholder-text {
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    color: #666;
}

.btn-logout {
    background: #c0392b;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-wide);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-block;
    margin-top: 2rem;
}

.btn-logout:hover {
    background: #a93226;
}

/* =========================================
   Wholesale List Styles
   ========================================= */

.wholesale-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.wholesale-category {
    font-family: var(--font-wide);
    color: var(--primary-color);
    font-size: 1.8rem;
    text-transform: uppercase;
    text-align: center;
    margin: 3rem 0 1.5rem;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.wholesale-products {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.wholesale-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1.5rem;
    gap: 2rem;
    transition: box-shadow 0.3s ease;
}

.wholesale-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wholesale-text {
    flex: 1;
    min-width: 0;
}

.wholesale-name {
    font-family: var(--font-wide);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wholesale-desc {
    font-family: var(--font-elegant);
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.wholesale-price {
    font-family: var(--font-wide);
    font-size: 1.5rem;
    color: var(--accent-dark);
    font-weight: bold;
}

.wholesale-photos {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.wholesale-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .wholesale-item {
        flex-direction: column;
    }

    .wholesale-photos {
        width: 100%;
        justify-content: center;
    }

    .wholesale-photo {
        width: 144px;
        height: 144px;
    }

    .wholesale-category {
        font-size: 1.4rem;
    }
}

/* PDF Export Button */
.btn-export-pdf {
    max-width: 400px;
    cursor: pointer;
    font-size: 1rem;
    padding: 1rem 2rem;
}

.btn-export-pdf:hover {
    transform: translateY(-3px);
}


/* =========================================
   Carta Refinements (1-Col Grid & Desc)
   ========================================= */

.menu-category-section {
    margin-bottom: 3rem;
    width: 100%;
}

.menu-category-title {
    font-family: var(--font-wide);
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.menu-category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 0.5rem auto 0;
    opacity: 0.3;
}

.menu-grid-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    /* 1 Columna ÚNICA (Desktop y Mobile) */
    gap: 1rem;
    width: 100%;
    max-width: 800px;
    /* Ancho máximo para legibilidad */
    margin: 0 auto;
}

.menu-item-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 0.5rem;
    /* Separación entre ítems */
}

.item-main-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.item-name {
    font-family: var(--font-elegant);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color) !important;
    /* Green color */
    white-space: nowrap;
    margin-right: 0.5rem;
    flex: 0 1 auto;
}

.item-dots {
    flex: 1 1 auto;
    border-bottom: 2px dotted #aaa;
    margin: 0 0.5rem;
    position: relative;
    top: -5px;
    opacity: 0.6;
    min-width: 20px;
}

.item-price {
    font-family: var(--font-wide);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color) !important;
    flex: 0 0 auto;
}

.item-desc {
    font-size: 0.9rem;
    color: #555 !important;
    margin-top: 0rem;
    font-style: italic;
    line-height: 1.2;
    padding-left: 0;
    display: block;
    max-width: 800px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .item-name {
        font-size: 1.1rem;
        white-space: normal;
        /* Permitir wrap en móvil */
    }

    .item-dots {
        display: none;
        /* Ocultar puntos en móvil para limpieza visual */
    }

    .item-main-row {
        align-items: flex-start;
        /* Permitir que el nombre baje */
    }

    .item-price {
        align-self: flex-start;
        margin-left: auto;
        padding-left: 1rem;
    }
}

/* =========================================
   Administration & Customer Management
   ========================================= */

.admin-container {
    max-width: 1100px;
    margin: 8rem auto 4rem;
    padding: 2rem;
    min-height: 80vh;
}

.admin-header {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-title {
    font-family: var(--font-wide);
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.admin-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.admin-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(18, 79, 47, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.admin-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(18, 79, 47, 0.1);
    border-color: var(--primary-color);
}

.admin-card.disabled {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
    background: #f8f8f8;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.admin-card h3 {
    font-family: var(--font-wide);
    font-size: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    margin: 0;
}

.admin-card p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Customer Form */
.admin-section {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.section-subtitle {
    font-family: var(--font-wide);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.customer-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flex-3 {
    flex: 3;
}

.flex-1 {
    flex: 1;
}

.form-group label {
    font-family: var(--font-wide);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-elegant);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-save {
    background: var(--primary-color);
    color: white;
    cursor: pointer;
}

.btn-cancel {
    background: #f0f0f0;
    color: #666;
    cursor: pointer;
}

.btn-save:hover {
    background: #0d3b24;
}

/* Table Styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box input {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 1px solid #ddd;
    width: 300px;
    font-family: var(--font-elegant);
}

.table-responsive {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.admin-table th,
.admin-table td {
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    font-family: var(--font-wide);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    background: #fbfbfb;
}

/* Botones de acción en tabla */
.btn-group {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    background: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.btn-action:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    opacity: 1;
}

.btn-action.edit:hover {
    border-color: #3498db;
    background: #ebf5fb;
    color: #3498db;
}

.btn-action.delete:hover {
    border-color: #e74c3c;
    background: #fdedec;
    color: #e74c3c;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    display: none;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.form-message.active {
    display: block;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.loading-td,
.empty-td {
    text-align: center;
    padding: 3rem !important;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-box input {
        width: 100%;
    }
}

/* Admin Header with Button */
.admin-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-header-flex .admin-title {
    margin-bottom: 0.2rem;
    text-align: left;
}

.no-margin-top {
    margin-top: 0 !important;
}

.btn-primary-admin {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-wide);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(18, 79, 47, 0.2);
}

.btn-primary-admin:hover {
    background: #0d3b24;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(18, 79, 47, 0.3);
}

@media (max-width: 768px) {
    .admin-header-flex {
        flex-direction: column;
        text-align: center;
    }

    .admin-header-flex .admin-title {
        text-align: center;
    }

    .btn-primary-admin {
        width: 100%;
        text-align: center;
    }
}