/* ============================================================
   LE TACOS - RESPONSIVE CSS (Mobile-First)
   ============================================================ */

/* ============================================================
   SMALL MOBILE (< 576px)
   ============================================================ */
@media (max-width: 575.98px) {

    :root {
        --navbar-height: 60px;
    }

    .lt-container {
        padding: 0 16px;
    }

    /* Navbar */
    .lt-navbar-brand-text {
        display: none;
    }

    .lt-navbar-search {
        display: none;
    }

    .lt-navbar-hamburger {
        display: none !important;
    }

    .lt-login-btn {
        display: none;
    }

    .lt-icon-btn#lt-fav-nav-link {
        display: none !important;
    }

    .lt-cart-btn {
        display: none !important;
    }

    /* Hero */
    .lt-hero {
        padding: 36px 0 32px;
    }

    .lt-hero-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .lt-hero-logo-wrap {
        display: block;
    }

    .lt-hero-logo {
        width: 100px;
        height: 100px;
    }

    .lt-hero-title {
        font-size: 1.6rem;
    }

    .lt-hero-subtitle {
        font-size: 0.88rem;
        margin: 0 auto 20px;
    }

    .lt-hero-cta {
        justify-content: center;
    }

    .lt-hero-visual {
        display: none;
    }

    .lt-hero-stats {
        gap: 20px;
        justify-content: center;
        margin-top: 24px;
    }

    /* Service Cards */
    .lt-services-inner {
        grid-template-columns: 1fr;
    }

    .lt-service-card {
        padding: 20px 16px;
    }

    /* Products */
    .lt-products-section {
        padding: 32px 0 48px;
    }

    .lt-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .lt-product-img-wrap {
        height: 130px;
    }

    .lt-product-body {
        padding: 10px 12px;
    }

    .lt-product-name {
        font-size: 0.83rem;
    }

    .lt-product-desc {
        display: none;
    }

    .lt-product-price {
        font-size: 0.95rem;
    }

    /* Cart */
    .lt-cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .lt-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .lt-footer-desc {
        max-width: none;
    }

    /* Bottom Nav */
    .lt-bottom-nav {
        display: block;
    }

    .lt-footer {
        padding-bottom: 70px;
    }

    /* Products header */
    .lt-products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ============================================================
   MOBILE (576px - 767px)
   ============================================================ */
@media (min-width: 576px) and (max-width: 767.98px) {

    .lt-navbar-search {
        max-width: 200px;
    }

    .lt-navbar-brand-text {
        display: none;
    }

    .lt-navbar-hamburger {
        display: none !important;
    }

    .lt-login-btn {
        display: none;
    }

    .lt-icon-btn#lt-fav-nav-link {
        display: none !important;
    }

    .lt-cart-btn {
        display: none !important;
    }

    .lt-hero-inner {
        flex-direction: row;
        gap: 24px;
    }

    .lt-hero-logo {
        width: 130px;
        height: 130px;
    }

    .lt-hero-visual {
        display: none;
    }

    .lt-services-inner {
        grid-template-columns: 1fr;
    }

    .lt-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lt-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .lt-footer-brand {
        grid-column: 1 / -1;
    }

    /* Bottom Nav */
    .lt-bottom-nav {
        display: block;
    }

    .lt-footer {
        padding-bottom: 70px;
    }
}

/* ============================================================
   TABLET (768px - 991px)
   ============================================================ */
@media (min-width: 768px) and (max-width: 991.98px) {

    .lt-navbar-hamburger {
        display: none !important;
    }

    .lt-login-btn {
        display: none;
    }

    .lt-user-trigger {
        display: none;
    }

    .lt-icon-btn#lt-fav-nav-link {
        display: none !important;
    }

    .lt-cart-btn {
        display: none !important;
    }

    .lt-navbar-search {
        max-width: 240px;
    }

    .lt-hero-logo {
        width: 140px;
        height: 140px;
    }

    .lt-hero-visual {
        display: none;
    }

    .lt-services-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .lt-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lt-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .lt-footer-brand {
        grid-column: 1 / -1;
    }
}

/* ============================================================
   DESKTOP (992px+)
   ============================================================ */
@media (min-width: 992px) {

    .lt-navbar-hamburger {
        display: none;
    }

    .lt-mobile-menu {
        display: none !important;
    }

    .lt-hero-inner {
        flex-direction: row;
        align-items: center;
    }

    .lt-services-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .lt-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .lt-bottom-nav {
        display: none !important;
    }
}

/* ============================================================
   LARGE DESKTOP (1200px+)
   ============================================================ */
@media (min-width: 1200px) {
    .lt-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   LEGACY ORDER STEPS CONTAINER (hidden in new homepage)
   ============================================================ */
#legacy-order-container {
    display: none;
}

#legacy-order-container.active-flow {
    display: block;
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9990;
    overflow-y: auto;
    padding: var(--navbar-height) 0 0;
}

/* Ensure old cart container is hidden */
.cart-container {
    display: none !important;
}

/* Preserve old step content for when they're shown in legacy flow */
#legacy-order-container .step-content {
    display: none;
}

#legacy-order-container .step-content.active,
#legacy-order-container .step-content.visible {
    display: block;
}

/* ============================================================
   SHARED WELCOME PAGES (admin / personel)
   ============================================================ */
.lt-welcome-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lt-green-dark), var(--lt-green));
    padding: 20px;
}

.lt-welcome-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.lt-welcome-emoji {
    font-size: 3.5rem;
    margin-bottom: 16px;
    display: block;
}

.lt-welcome-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.lt-welcome-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.lt-welcome-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lt-welcome-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lt-welcome-btn.primary {
    background: var(--lt-green-dark);
    color: white;
    box-shadow: var(--shadow-green);
}

.lt-welcome-btn.primary:hover {
    background: var(--lt-green-light);
    transform: translateY(-2px);
}

.lt-welcome-btn.secondary {
    background: var(--bg-light);
    color: var(--text-secondary);
    border: 1.5px solid var(--border-medium);
}

.lt-welcome-btn.secondary:hover {
    background: var(--border-light);
    color: var(--text-primary);
}