@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-dark:      #1e130c;
    --bg-card:      #ffffff;
    --bg-surface:   #faf6f0;
    --accent-color: #bc9c82;
    --accent-glow:  rgba(188, 156, 130, 0.15);
    --primary-color: #1e130c;
    --secondary-color: #0b1e3b;
    --text-light:   #ffffff;
    --text-dark:    #1e130c;
    --text-muted:   #666666;
    --text-dim:     #999999;
    --border:       rgba(30, 19, 12, 0.08);
    --transition:   all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    --primary-client-color: #bc9c82;

    /* HarmonyOS 6 Radius & Shadows */
    --radius-sm:    12px;
    --radius-md:    24px;
    --radius-lg:    32px;
    --radius-pill:  100px;
    --shadow-soft:  0 8px 32px rgba(30, 19, 12, 0.04);
    --shadow-elevated: 0 16px 48px rgba(30, 19, 12, 0.1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-surface);
    -webkit-font-smoothing: antialiased;
    overscroll-behavior-x: none;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #8b8b8b var(--bg-surface);
    scrollbar-gutter: stable;
}

    html::-webkit-scrollbar-track {
        background-color: var(--bg-surface);
    }

body.no-scroll { overflow: hidden; }
html.no-scroll { overflow: hidden; }

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Sections */
section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    color: var(--primary-color);
    font-weight: 900;
}

.underline {
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(44, 30, 20, 0.2);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(44, 30, 20, 0.2);
}

.btn-whatsapp {
    width: 100%;
    max-width: 420px;
    padding: 14px;
    border-radius: var(--radius-pill);
    border: none;
    background: #25d366;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
    display: inline-flex;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

    .btn-whatsapp:hover {
        background: #20b858;
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
    }

    .btn-whatsapp:active {
        transform: scale(0.96);
    }

    .btn-whatsapp:disabled {
        background: var(--text-dim);
        cursor: not-allowed;
        transform: none;
    }

/* ── Hero Section ───────────────────────────────────── */
/* ── Asymmetric Split Hero ──────────────────────────── */
.hero {
    background: var(--bg-dark);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 24px;
}

.hero-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(188, 156, 130, 0.15);
    color: var(--accent-color);
    border: 1px solid rgba(188, 156, 130, 0.3);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 0.85rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 20px;
}

.hero h1 em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--accent-color);
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color) !important;
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 34px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(188, 156, 130, 0.25) !important;
}

.hero-actions .btn-primary:hover {
    background: var(--text-light) !important;
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.15) !important;
}

.hero-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-meta .separator {
    color: var(--accent-color);
}

.hero-image-col {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.hero-single-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1.15;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-single-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-single-frame:hover img {
    transform: scale(1.03);
}

.hero-atelier-tag {
    position: absolute;
    left: -15px;
    bottom: 30px;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
    z-index: 3;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-atelier-tag .tag-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.hero-atelier-tag .tag-desc {
    font-size: 0.75rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
    font-weight: 500;
}

/* History Section */
.history-section {
    padding: 100px 24px;
    background: var(--bg-surface);
}

.history-section h2 {
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    color: var(--primary-color);
    font-weight: 900;
}

.history-section .lead {
    font-size: 1.15rem;
    color: var(--accent-color);
    font-weight: 500;
}

.badge.bg-primary {
    background-color: var(--accent-glow) !important;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    font-weight: 600;
    border-radius: var(--radius-pill);
    padding: 8px 16px !important;
}

/* Benefits */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: -60px;
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    z-index: 5;
    position: relative;
    max-width: 1000px;
    margin-left: 20px;
    margin-right: 20px;
    border: 1px solid rgba(30, 19, 12, 0.04);
}

@media (min-width: 1040px) {
    .benefits {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Micro-copy guiding */
.menu-guiding {
    text-align: center;
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-4px);
}

.benefit-item .icon {
    font-size: 2.2rem;
    color: var(--accent-color);
    background: var(--accent-glow);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 700;
}

.benefit-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Menu Section */
.menu-section {
    padding: 60px 24px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.menu-sticky-container {
    width: 100%;
    position: relative;
}

.category-nav-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 246, 240, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0;
    border-bottom: 1px solid rgba(30, 19, 12, 0.05);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-nav {
    position: relative;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 16px 4px;
    justify-content: flex-start;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.cat-link {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    background: transparent;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cat-link:hover {
    color: var(--primary-color);
    background: rgba(0,0,0,0.03);
}

.cat-link.active {
    color: var(--text-light);
    background: var(--primary-color);
    box-shadow: 0 4px 14px rgba(44, 30, 20, 0.3);
}

.cat-link:active {
    transform: scale(0.96);
}



.menu-category {
    margin-top: 32px;
    margin-bottom: 32px;
    scroll-margin-top: 80px;
}

.menu-category:first-of-type {
    margin-top: 32px;
}

.category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}

.menu-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
}

.menu-card:active {
    transform: scale(0.98);
    box-shadow: var(--shadow-soft);
}

.menu-img-wrap {
    width: 95px;
    height: 95px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-surface);
}

.menu-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-img {
    transform: scale(1.08);
}

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

.menu-info h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-info .price {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-color);
}

.menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    width: 100%;
}

.btn-add {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-pill);
    padding: 8px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(188, 156, 130, 0.2);
}

.btn-add:hover {
    background: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(44, 30, 20, 0.3);
}

.btn-add:active {
    transform: scale(0.94);
    box-shadow: 0 2px 6px rgba(44, 30, 20, 0.2);
}

    .btn-add.added {
        background: #28a745 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2) !important;
    }

/* Location Section */
.location-section {
    padding: 80px 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.location-section h2 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 14px;
}

.text-primary {
    color: var(--accent-color) !important;
}

.map-container {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.contact-col {
    padding: 40px 30px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.contact-col h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.contact-col p {
    color: var(--text-muted);
}

/* ── Floating Cart Toggle ───────────────────────────── */
.cart-floating-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 1.6rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-floating-btn.footer-hide {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5) translateY(20px);
}

.cart-floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    background: var(--accent-color);
}

#cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface);
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.cart-tooltip.footer-hide, .cart-hint.footer-hide {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

/* ── Cart Guidance Tooltip ──────────────────────────── */
.cart-tooltip {
    position: fixed;
    bottom: 110px;
    right: 32px;
    background: var(--accent-color);
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    max-width: 200px;
    text-align: center;
    z-index: 999;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cart-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}



.cart-tooltip-arrow {
    position: absolute;
    bottom: -7px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--accent-color);
}

/* ── Cart Hint ──────────────────────────────────────── */
.cart-hint {
    position: fixed;
    bottom: 110px;
    right: 32px;
    background: var(--accent-color);
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
    max-width: 200px;
    text-align: center;
    z-index: 999;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cart-hint.visible {
    opacity: 1;
    transform: translateY(0);
}

.cart-hint-arrow {
    position: absolute;
    bottom: -7px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--accent-color);
}

/* ── MODALES ────────────────────────────────────────── */
.drag-handle {
    display: none;
}

.drag-handle-body {
    width: 36px;
    height: 4px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 100px;
    margin: 8px auto 8px auto;
}

.custom-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.custom-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.custom-modal {
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    overflow: hidden;
    padding: 0;
    will-change: transform;
}

.custom-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 24px 24px 24px;
    scrollbar-width: thin;
    scrollbar-color: #8b8b8b var(--bg-surface);
    position: relative;
    overscroll-behavior: contain;
}

.custom-modal-body::-webkit-scrollbar-track {
    background-color: var(--bg-surface);
}

.custom-modal-body-fade {
    position: sticky;
    bottom: 0;
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.custom-modal-body-fade::after {
    content: '›';
    display: block;
    font-size: 2rem;
    color: var(--text-muted);
    transform: rotate(90deg);
    animation: scroll-hint 1.5s ease-in-out infinite;
}

@keyframes scroll-hint {
    0%, 100% { transform: rotate(90deg) translateX(0); }
    50% { transform: rotate(90deg) translateX(4px); }
}

.custom-modal-body-fade.hidden {
    opacity: 0;
}

.custom-modal-overlay.active .custom-modal {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.modal-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
}

.modal-close-x {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-left: 12px;
    flex-shrink: 0;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.modal-close-x:hover {
    color: var(--text-dark);
}




.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ── Cart Sidebar specific ──────────────────────────── */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    max-width: 450px;
    height: 100%;
    background: var(--bg-card);
    z-index: 5001;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    overscroll-behavior: contain;
    border-left: 1px solid rgba(0,0,0,0.03);
    padding: 0;
}

.cart-overlay.active .cart-sidebar { transform: translateX(0); }

.cart-header {
    padding: 8px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cart-header h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text-dark);
    }

.btn-clear-footer {
    background: rgba(0,0,0,0.05);
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear-footer:hover { background: rgba(218, 41, 28, 0.1); color: #da291c; }

.cart-items-list {
    flex-grow: 1;
    padding: 20px 24px;
    overflow-y: auto;
}

.empty-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-item-info .cart-item-name {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.cart-item-info .cart-item-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}
.qty-btn:hover { background: var(--accent-glow); color: var(--accent-color); border-color: var(--accent-color); }

.cart-footer {
    padding: 24px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
}

.total-container {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
}
#cart-total { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); }

/* ── --- Footer Actions --- ─────────────────────────── */
.modal-footer-actions {
    display: flex;
    gap: 10px;
    padding: 16px 24px 24px 24px;
    flex-shrink: 0;
}

.modal-footer-actions.flex-column {
    flex-direction: column;
    gap: 8px;
}

.btn-modal-cancel {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.btn-modal-cancel:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.btn-modal-confirm {
    flex: 2;
    padding: 12px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--accent-color);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(188, 156, 130, 0.2);
}

.btn-modal-confirm:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(188, 156, 130, 0.3);
}

.btn-modal-confirm:active {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(188, 156, 130, 0.2);
}

.btn-modal-back {
    display: block;
    width: 100%;
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.83rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.btn-modal-back:hover {
    color: var(--text-dark);
}

.btn-cancel-confirm {
    flex: 1;
    padding: 11px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.btn-cancel-confirm:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.btn-ok-confirm {
    flex: 1;
    padding: 11px;
    border-radius: var(--radius-pill);
    border: none;
    background: #c92a2a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

    .btn-ok-confirm:hover {
        background: #b02525;
        transform: translateY(-1px);
    }

/* ── --- QR Code Modal --- ──────────────────────────── */
.custom-modal-qr {
    background: var(--bg-card);
    padding: 20px;
    border-radius: var(--radius-sm);
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
}

.qr-modal-img {
    max-width: 200px;
    width: 100%;
    display: none;
}

.custom-modal-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.custom-modal-note {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* ── Footer ─────────────────────────────────────────── */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 20px 40px;
}

.footer h3, .footer h4 { color: #fff; margin-bottom: 25px; }
.footer p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

.footer-quick-links li { margin-bottom: 12px; }
.footer-quick-links a { color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: var(--transition); }
.footer-quick-links a:hover { color: var(--accent-color); padding-left: 5px; }

.color-accent { color: var(--accent-color) !important; }

.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.6);
    transition: var(--transition); border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--accent-color); color: #fff; transform: translateY(-3px);
    border-color: var(--accent-color);
}

.btn-generate-qr,
.btn-zona-qr {
    display: none;
    width: 100%;
    margin-top: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-dark);
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-generate-qr:hover,
.btn-zona-qr:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(188, 156, 130, 0.25);
}

.btn-generate-qr:active,
.btn-zona-qr:active {
    transform: scale(0.96);
}

.btn-zona-qr {
    flex: 1;
    min-width: 200px;
    margin-top: 0;
}

/* Spinner styling for QR loaders */
.spinner {
    border: 3px solid rgba(188, 156, 130, 0.2);
    border-left-color: var(--accent-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
    .drag-handle { display: block; }

    section { padding: 60px 20px; }
    .hero {
        align-items: center;
        padding: 60px 20px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .hero-text-col {
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image-col {
        justify-content: center;
    }
    .hero-single-frame {
        max-width: 340px;
        aspect-ratio: 1.25;
    }
    .hero-atelier-tag {
        left: 15px;
        top: -15px;
        bottom: auto;
        padding: 10px 18px;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .section-header h2 { font-size: 1.75rem; }
    
    /* ── HarmonyOS Bottom Sheet Modals ──────────────────── */
    .custom-modal-overlay {
        align-items: flex-end;
        padding: 0;
    }
    
    .custom-modal {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        margin: 0;
        max-width: 100%;
        transform: translateY(100%) scale(1);
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

    .modal-header {
        padding: 0px 20px;
    }

    .custom-modal-body {
        padding: 8px 20px 20px 20px;
    }

    .modal-footer-actions {
        padding: 12px 20px max(16px, env(safe-area-inset-bottom)) 20px;
    }

    .btn-modal-confirm,
    .btn-modal-cancel {
        padding: 10px;
        font-size: 0.9rem;
    }

    .custom-modal-img-wrap {
        height: 125px;
    }

    .btn-modal-back {
        margin-top: 12px;
    }

    .custom-modal-overlay.active .custom-modal {
        transform: translateY(0) scale(1);
    }
    
    /* ── Bottom Sheet Cart ──────────────────────────────── */
    .cart-sidebar {
        max-width: 100%;
        height: 88vh;
        top: auto;
        bottom: 0;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        transform: translateY(100%);
        border-left: none;
        border-top: 1px solid rgba(0,0,0,0.03);
        box-shadow: 0 -8px 32px rgba(0,0,0,0.1);
    }
    
    .cart-overlay.active .cart-sidebar {
        transform: translateY(0);
    }

    /* FAB Mobile Position */
    .cart-floating-btn {
        bottom: calc(24px + env(safe-area-inset-bottom));
        right: 20px;
        width: 58px;
        height: 58px;
    }

    .cart-tooltip, .cart-hint {
        bottom: calc(95px + env(safe-area-inset-bottom));
        right: 20px;
    }

    .category-nav {
        justify-content: flex-start;
        padding: 12px 20px;
    }
    
    .menu-card {
        padding: 12px;
        gap: 12px;
    }
    .menu-img-wrap {
        width: 85px;
        height: 85px;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (min-width: 769px) {
    .category-nav {
        justify-content: center;
    }
}

.margin-0 { margin: 0px !important; }

.hero .btn-primary {
    background-color: var(--primary-client-color) !important;
    border-color: var(--primary-client-color) !important;
    box-shadow: 0 0 15px rgba(188, 156, 130, 0.3);
    transition: var(--transition);
}

.hero .btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 25px rgba(188, 156, 130, 0.5);
}

/* ── --- Detalle de Producto en Modal --- ───────────── */
.custom-modal-detail {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom-modal-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.custom-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.custom-modal-img-container:hover .custom-modal-image {
    transform: scale(1.04);
}

.custom-modal-description {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── CHECKOUT FORM & ERROR PULSE ────────────────────── */
@keyframes pulseError {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 8px rgba(218, 41, 28, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218, 41, 28, 0); }
}

.pulse-error {
    animation: pulseError 0.5s ease-in-out;
    border-color: #da291c !important;
    color: #da291c !important;
}

.custom-field {
    margin-bottom: 20px;
}

.custom-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.custom-field input[type="text"] {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.custom-field input[type="text"]:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.custom-option-group {
    margin-bottom: 20px;
}

.custom-option-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
}

.pay-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pay-btn {
    flex: 1;
    min-width: 90px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: 'Outfit', sans-serif;
}

.pay-btn.selected {
    border-color: var(--accent-color);
    background: var(--accent-glow);
    color: var(--primary-color);
}