.public-body { background: #fafcfc; color: var(--text); overflow-x: hidden; }

.public-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #1ed0d5, #07ADAD);
    z-index: 2000;
    transition: width .08s linear;
    box-shadow: 0 0 12px rgba(30, 208, 213, .6);
}

.public-nav {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    transition: box-shadow .25s ease;
}

.public-nav.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

.public-nav .navbar-brand { font-weight: 700; color: #1a3a42; }
.brand-icon { color: var(--secondary); }

.public-nav .nav-link { color: var(--text); font-weight: 500; }
.public-nav .btn-order {
    background: var(--brand-gradient);
    color: #fff !important;
    border-radius: 999px;
    padding: .4rem 1rem !important;
}

.hero-section {
    background: var(--brand-gradient);
    color: #fff;
    padding: 4rem 0 3rem;
}

/* ===== Home rediseñado ===== */

.home-hero {
    position: relative;
    color: #fff;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
    background: linear-gradient(135deg, #535454 0%, #1a3a42 42%, #0d5660 72%, #07ADAD 100%);
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .45;
    animation: homeOrbFloat 12s ease-in-out infinite;
}

.home-hero-orb-1 {
    width: 320px;
    height: 320px;
    background: #1ed0d5;
    top: -80px;
    right: 10%;
    animation-delay: 0s;
}

.home-hero-orb-2 {
    width: 240px;
    height: 240px;
    background: #fff;
    bottom: -60px;
    left: 5%;
    opacity: .15;
    animation-delay: -4s;
}

.home-hero-orb-3 {
    width: 180px;
    height: 180px;
    background: #07ADAD;
    top: 40%;
    left: 45%;
    animation-delay: -7s;
}

@keyframes homeOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(18px, -22px) scale(1.06); }
    66% { transform: translate(-14px, 16px) scale(.94); }
}

.home-agency-bar {
    margin-bottom: 1.25rem;
}

.home-hero-badge {
    animation: offerFadeUp .6s ease both;
}

.home-hero-title {
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.15rem);
    line-height: 1.08;
    margin-bottom: .85rem;
    animation: offerFadeUp .65s ease .08s both;
}

.home-hero-lead {
    font-size: 1.08rem;
    opacity: .92;
    max-width: 480px;
    line-height: 1.55;
    animation: offerFadeUp .65s ease .14s both;
}

.home-hero-agency {
    font-size: .88rem;
    opacity: .85;
    margin-bottom: 1.25rem;
    animation: offerFadeUp .65s ease .18s both;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1.75rem;
    animation: offerFadeUp .65s ease .22s both;
}

.home-hero-btn {
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.home-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    animation: offerFadeUp .65s ease .28s both;
}

.home-stat {
    min-width: 88px;
    padding: .75rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .12);
}

.home-stat-value {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.home-stat-label {
    font-size: .72rem;
    opacity: .88;
}

.home-hero-visual {
    animation: offerFadeUp .7s ease .12s both;
    transition: transform .15s ease-out;
}

.home-hero-title-animated {
    background: linear-gradient(120deg, #fff 0%, #c8fafb 35%, #fff 55%, #e0ffff 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: homeTitleShine 5s linear infinite;
}

@keyframes homeTitleShine {
    to { background-position: 200% center; }
}

.home-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
    animation: homeGridDrift 20s linear infinite;
}

@keyframes homeGridDrift {
    from { transform: translate(0, 0); }
    to { transform: translate(48px, 48px); }
}

.home-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.home-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    left: calc(var(--i) * 5.5%);
    top: calc((var(--i) * 17) % 100%);
    animation: homeParticleFloat calc(4s + (var(--i) * 0.3s)) ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * -0.4s);
    opacity: .35;
}

@keyframes homeParticleFloat {
    from { transform: translateY(0) scale(1); opacity: .2; }
    to { transform: translateY(-40px) scale(1.4); opacity: .7; }
}

.home-stat-float {
    animation: homeStatFloat 3.5s ease-in-out infinite;
    animation-delay: calc(var(--d, 0) * 0.4s);
}

@keyframes homeStatFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.home-stat-icon-pulse {
    animation: homeIconPulse 2s ease-in-out infinite;
}

.home-stat-icon-spin {
    display: inline-block;
    animation: homeIconSpin 6s linear infinite;
}

@keyframes homeIconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: .85; }
}

@keyframes homeIconSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.home-action-card {
    animation: homeActionFloat 4s ease-in-out infinite;
    animation-delay: calc(var(--d, 0) * 0.5s);
}

.home-quick-actions .col-md-4:nth-child(1) .home-action-card { --d: 0; }
.home-quick-actions .col-md-4:nth-child(2) .home-action-card { --d: 1; }
.home-quick-actions .col-md-4:nth-child(3) .home-action-card { --d: 2; }

@keyframes homeActionFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.home-action-card:hover {
    animation-play-state: paused;
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple-wave {
    position: absolute;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    animation: rippleExpand .65s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleExpand {
    to {
        transform: scale(18);
        opacity: 0;
    }
}

.home-cta-pulse {
    animation: homeCtaPulse 2.5s ease-in-out infinite;
}

@keyframes homeCtaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); }
    50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1), transform .6s cubic-bezier(.22, 1, .36, 1);
}

.reveal-stagger > *.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .4s; }

.house-carousel {
    animation: homeCarouselGlow 3s ease-in-out infinite alternate;
}

@keyframes homeCarouselGlow {
    from { box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
    to { box-shadow: 0 20px 56px rgba(30, 208, 213, .22); }
}

.home-dish-card {
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.home-dish-card.is-visible:hover {
    transform: translateY(-8px) scale(1.02);
}

@supports (animation-timeline: view()) {
    .home-section {
        animation: homeSectionReveal linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;
    }

    @keyframes homeSectionReveal {
        from { opacity: .6; transform: translateY(40px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-title-animated,
    .home-particle,
    .home-hero-grid,
    .home-stat-float,
    .home-action-card,
    .home-cta-pulse,
    .house-carousel {
        animation: none !important;
    }

    .home-hero-title-animated {
        color: #fff;
        background: none;
        -webkit-text-fill-color: #fff;
    }

    .reveal-on-scroll,
    .reveal-stagger > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.home-carousel-wrap {
    position: relative;
}

.home-carousel-label {
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .65rem;
    opacity: .92;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.home-hero-placeholder {
    min-height: 320px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .08);
    border: 2px dashed rgba(255, 255, 255, .25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, .75);
}

.home-hero-placeholder i {
    font-size: 2.5rem;
    margin-bottom: .75rem;
    opacity: .5;
}

/* Carrusel platos de la casa */
.house-carousel {
    border-radius: 22px;
    overflow: hidden;
    background: #0f2429;
    border: 1px solid rgba(255, 255, 255, .12);
}

.house-carousel-slide {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 340px;
}

.house-carousel-media {
    position: relative;
    overflow: hidden;
    background: #1a3a42;
}

.house-carousel-img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
    animation: houseKenBurns 8s ease-in-out infinite alternate;
}

@keyframes houseKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.house-carousel-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%);
    animation: houseShine 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes houseShine {
    0%, 100% { transform: translateX(-120%); }
    50% { transform: translateX(120%); }
}

.house-carousel-panel {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(180deg, rgba(15,36,41,.95) 0%, rgba(26,58,66,.98) 100%);
    color: #fff;
}

.house-carousel-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    align-self: flex-start;
    padding: .3rem .75rem;
    border-radius: 999px;
    background: rgba(30, 208, 213, .2);
    color: #1ed0d5;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.house-carousel-category {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .65;
    margin-bottom: .35rem;
}

.house-carousel-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.house-carousel-desc {
    font-size: .88rem;
    opacity: .82;
    line-height: 1.45;
    margin-bottom: 1rem;
}

.house-carousel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.house-carousel-price {
    font-size: 1.45rem;
    color: #1ed0d5;
}

.house-carousel-cta {
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.house-carousel-indicators {
    margin-bottom: .75rem;
}

.house-carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.45);
    border: none;
    transition: transform .2s ease, background-color .2s ease;
}

.house-carousel-indicators .active {
    background-color: #1ed0d5;
    transform: scale(1.25);
}

.house-carousel-control {
    width: 8%;
}

.house-carousel-control-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #1a3a42;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    transition: transform .2s ease;
}

.house-carousel-control:hover .house-carousel-control-icon {
    transform: scale(1.08);
}

/* Acciones rápidas */
.home-quick-actions {
    margin-top: -1.5rem;
    position: relative;
    z-index: 2;
}

.home-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: #fff;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(7, 173, 173, .12);
    box-shadow: 0 10px 32px rgba(26, 58, 66, .08);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.home-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(26, 58, 66, .14);
    color: inherit;
}

.home-action-card-accent {
    background: linear-gradient(135deg, rgba(30,208,213,.12), rgba(7,173,173,.08));
    border-color: rgba(30, 208, 213, .25);
}

.home-action-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--brand-gradient, linear-gradient(135deg, #1ed0d5, #07ADAD));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.home-action-card strong {
    display: block;
    color: #1a3a42;
    font-size: .98rem;
}

.home-action-card small {
    color: #64748b;
    font-size: .8rem;
}

.home-action-arrow {
    margin-left: auto;
    color: var(--secondary, #07ADAD);
    transition: transform .2s ease;
}

.home-action-card:hover .home-action-arrow {
    transform: translateX(4px);
}

/* Secciones */
.home-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .5rem;
}

.home-section-kicker {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--secondary, #07ADAD);
    margin-bottom: .25rem;
}

.home-section-alt {
    background: linear-gradient(180deg, #f0fbfb 0%, #fafcfc 100%);
}

.home-dish-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(7, 173, 173, .1);
    box-shadow: 0 10px 32px rgba(26, 58, 66, .07);
    height: 100%;
    transition: transform .28s ease, box-shadow .28s ease;
}

.home-dish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(26, 58, 66, .14);
}

.home-dish-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.home-dish-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.home-dish-card:hover .home-dish-media img {
    transform: scale(1.06);
}

.home-dish-price-badge {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    background: rgba(26, 58, 66, .88);
    color: #1ed0d5;
    font-weight: 800;
    font-size: .9rem;
}

.home-dish-body {
    padding: 1.15rem 1.2rem 1.25rem;
}

.home-dish-category {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--secondary, #07ADAD);
}

.home-dish-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #1a3a42;
    margin: .25rem 0 .45rem;
}

.home-dish-desc {
    font-size: .84rem;
    color: #64748b;
    margin-bottom: .85rem;
    min-height: 2.6em;
}

.home-dish-btn {
    font-weight: 700;
}

.home-cta {
    padding: 0 0 3rem;
}

.home-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2.25rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #1a3a42 0%, #0d5660 55%, #07ADAD 100%);
    background-size: 200% 200%;
    animation: homeCtaBgShift 8s ease infinite alternate;
    color: #fff;
    box-shadow: 0 20px 50px rgba(26, 58, 66, .2);
}

@keyframes homeCtaBgShift {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

.home-cta-inner h2 {
    font-weight: 800;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
}

/* Scroll reveal */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.22, 1, .36, 1), transform .65s cubic-bezier(.22, 1, .36, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }

@media (max-width: 991.98px) {
    .house-carousel-slide {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .house-carousel-img {
        min-height: 220px;
        max-height: 260px;
    }

    .house-carousel-panel {
        padding: 1.25rem;
    }

    .home-quick-actions {
        margin-top: 1rem;
    }

    .home-hero {
        padding: 2.5rem 0 2rem;
    }
}

@media (max-width: 575.98px) {
    .home-hero-actions .btn-lg {
        width: 100%;
    }

    .home-cta-inner {
        padding: 1.5rem;
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: .8rem;
    margin-bottom: .75rem;
}

.hero-section h1 { font-weight: 800; }

.hero-banner-carousel { background: #0d3d45; }
.hero-banner-slide { position: relative; min-height: 280px; }
.hero-banner-slide .public-media-view-btn { z-index: 3; }
.hero-banner-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.hero-banner-placeholder {
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.2));
}
.hero-banner-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    color: #fff;
}
.hero-banner-caption h5 { font-weight: 700; margin: 0; }
.public-banner-link { color: inherit; }

.public-banner-strip { margin-bottom: .5rem; }

.section-title {
    font-weight: 700;
    color: #1a3a42;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 14px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0; top: .15rem; bottom: .15rem;
    width: 4px; border-radius: 4px;
    background: var(--brand-gradient);
}

.dish-card .card-img-top { height: 180px; object-fit: cover; }
.dish-card .price { color: var(--secondary); font-size: 1.1rem; }

.promo-card {
    background: #fff;
    border-radius: 14px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

@keyframes offerFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.public-offer-col {
    animation: offerFadeUp .55s cubic-bezier(.22, 1, .36, 1) both;
}

.public-offer-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(7, 173, 173, .12);
    box-shadow: 0 8px 24px rgba(26, 58, 66, .08);
    transition: box-shadow .28s ease;
    display: flex;
    flex-direction: column;
}

.public-offer-card:hover {
    box-shadow: 0 16px 36px rgba(26, 58, 66, .16);
}

.public-offer-media {
    position: relative;
    height: 210px;
    background: #fff;
    overflow: hidden;
}

.public-offer-media-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f8f9 0%, #e8f4f5 100%);
}

.public-offer-media-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
    padding: 10px;
    transition: transform .35s ease;
}

.public-offer-card:hover .public-offer-media-img {
    transform: scale(1.06);
}

.public-offer-media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 58, 66, .45);
    opacity: 0;
    transition: opacity .25s ease;
}

.public-offer-card:hover .public-offer-media-overlay {
    opacity: 1;
}

.public-offer-view-btn {
    font-weight: 600;
    border-radius: 999px;
    padding: .45rem 1rem;
    transform: translateY(8px);
    transition: transform .25s ease;
}

.public-offer-card:hover .public-offer-view-btn {
    transform: translateY(0);
}

@media (hover: none) {
    .public-offer-media-overlay {
        opacity: 1;
        background: rgba(26, 58, 66, .28);
    }
    .public-offer-view-btn {
        transform: translateY(0);
    }
}

.public-offer-body {
    padding: 1rem 1.15rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.public-offer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3a42;
    margin-bottom: .35rem;
}

.public-offer-text {
    font-size: .875rem;
    color: #6c757d;
    margin-bottom: .75rem;
    flex-grow: 1;
}

.public-offer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: auto;
}

.public-offer-action-btn {
    border-radius: 999px;
    font-weight: 600;
}

.modal-backdrop.show {
    opacity: 1;
    background-color: rgba(10, 25, 30, .88);
}

.public-media-modal-dialog {
    max-width: min(940px, 96vw);
    margin: 1rem auto;
}

.public-media-modal-content {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}

.public-media-modal-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.public-media-modal-body {
    background: #1a3a42;
    padding: 0 !important;
}

.public-media-modal-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    max-height: calc(100vh - 220px);
    padding: 1.25rem;
    background: #fff;
    overflow: auto;
}

.public-media-modal-img {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 260px);
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.public-media-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.hero-banner-actions .public-offer-actions {
    margin-top: 0;
}

.hero-banner-actions .btn-light,
.hero-banner-actions .btn-outline-secondary {
    background: rgba(255, 255, 255, .92);
    border-color: rgba(255, 255, 255, .92);
}

.public-media-empty-label {
    font-size: 2.5rem;
    color: var(--secondary, #07ADAD);
    opacity: .45;
}

.public-promo-card { border-radius: 14px; overflow: hidden; }

.public-media-view-btn,
.public-promo-view-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-weight: 600;
    z-index: 2;
    border-radius: 999px;
}

.public-footer {
    background: #1a3a42;
    color: rgba(255,255,255,.85);
    margin-top: 2rem;
}

.public-footer strong { color: #fff; }

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 1050;
    text-decoration: none;
    transition: transform .15s ease;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.06);
}

[v-cloak] { display: none !important; }

.order-page { background: linear-gradient(180deg, #f0fbfb 0%, #fafcfc 240px); }

.order-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a3a42 0%, #0d5660 55%, #07ADAD 100%);
    color: #fff;
    box-shadow: 0 16px 40px rgba(26, 58, 66, .18);
    animation: offerFadeUp .55s ease both;
}

.order-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.order-hero-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    margin-bottom: .5rem;
}

.order-hero-text {
    color: rgba(255, 255, 255, .88);
    max-width: 560px;
}

.order-hero-stats {
    display: flex;
    gap: 1rem;
}

.order-stat {
    min-width: 92px;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    text-align: center;
}

.order-stat-value {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}

.order-stat-label {
    font-size: .78rem;
    opacity: .85;
}

.order-panel {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(26, 58, 66, .08);
    border: 1px solid rgba(7, 173, 173, .1);
    overflow: hidden;
    animation: offerFadeUp .6s ease both;
}

.order-menu-panel { animation-delay: .08s; }

.order-cart-panel {
    animation: offerFadeUp .6s ease .14s both;
    top: 88px !important;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 96px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 32px rgba(26, 58, 66, .08);
    border: 1px solid rgba(7, 173, 173, .1);
    overflow: hidden;
}

.order-cart-header {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1rem;
    background: linear-gradient(135deg, rgba(30, 208, 213, .12), rgba(7, 173, 173, .06));
    border-bottom: 1px solid rgba(7, 173, 173, .12);
}

.order-cart-subtitle { color: #64748b; font-size: .78rem; }

.order-cart-total-badge {
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #1a3a42;
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    white-space: nowrap;
}

.order-cart-panel.is-highlight {
    box-shadow: 0 0 0 3px rgba(30, 208, 213, .45), 0 10px 32px rgba(26, 58, 66, .12);
    transition: box-shadow .35s ease;
}

.order-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-bottom: 1px solid rgba(7, 173, 173, .1);
    background: #fafcfd;
}

.order-step {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid rgba(7, 173, 173, .2);
    background: #fff;
    border-radius: 999px;
    padding: .28rem .65rem .28rem .35rem;
    font-size: .72rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.order-step.active {
    background: rgba(30, 208, 213, .15);
    border-color: rgba(30, 208, 213, .45);
    color: #0d5660;
}

.order-step.disabled,
.order-step:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.order-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 800;
}

.order-step.active .order-step-num {
    background: var(--primary, #1ed0d5);
    color: #1a3a42;
}

.order-step-line {
    width: 28px;
    height: 2px;
    background: rgba(7, 173, 173, .25);
    border-radius: 999px;
}

.order-cart-step {
    padding: .85rem 1rem 1rem;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.order-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    max-height: min(280px, 42vh);
    overflow-y: auto;
    margin-bottom: .75rem;
    padding-right: .15rem;
}

.order-cart-row {
    background: #f8fbfb;
    border: 1px solid rgba(7, 173, 173, .15);
    border-radius: 12px;
    padding: .55rem .65rem;
    animation: orderSlideIn .35s ease both;
}

.order-cart-row-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
}

.order-cart-row-name {
    font-size: .82rem;
    line-height: 1.25;
    color: #1a3a42;
}

.order-cart-row-price {
    font-size: .82rem;
    font-weight: 800;
    color: #0d5660;
    white-space: nowrap;
}

.order-cart-row-note {
    font-size: .72rem;
    color: #b45309;
    margin: .2rem 0 0;
}

.order-cart-row-actions {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: .4rem;
}

.order-cart-next-hint {
    font-size: .75rem;
    color: #64748b;
    background: rgba(30, 208, 213, .08);
    border-radius: 10px;
    padding: .55rem .65rem;
    margin-bottom: .75rem;
    line-height: 1.4;
}

.order-cart-next-hint i {
    color: var(--secondary, #07ADAD);
    margin-right: .2rem;
}

.order-continue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    font-weight: 700;
    border-radius: 12px;
    padding: .75rem 1rem;
    box-shadow: 0 10px 28px rgba(30, 208, 213, .28);
}

.order-continue-btn i {
    font-size: 1.35rem;
}

.order-back-link {
    border: none;
    background: transparent;
    color: var(--secondary, #07ADAD);
    font-size: .82rem;
    font-weight: 700;
    padding: 0;
    margin-bottom: .85rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    cursor: pointer;
}

.order-back-link:hover {
    color: #0d5660;
    text-decoration: underline;
}

.order-cart-summary-row--checkout {
    margin-top: .25rem;
}

.order-toast {
    position: fixed;
    top: 88px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    z-index: 1060;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #1a3a42;
    color: #fff;
    padding: .65rem 1rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(26, 58, 66, .28);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.order-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.order-toast i {
    color: #1ed0d5;
    font-size: 1.1rem;
}

.order-mobile-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1045;
    background: #fff;
    border-top: 1px solid rgba(7, 173, 173, .18);
    box-shadow: 0 -8px 28px rgba(26, 58, 66, .12);
    padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom, 0));
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.order-mobile-bar-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.order-mobile-bar-info strong {
    font-size: .82rem;
    color: #1a3a42;
}

.order-mobile-bar-info span {
    font-size: .95rem;
    font-weight: 800;
    color: #0d5660;
}

.order-mobile-bar-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: .1rem;
    font-weight: 700;
    border-radius: 999px;
    padding: .55rem 1rem;
    white-space: nowrap;
}

.order-cart-items-wrap {
    flex-shrink: 0;
    padding: .5rem .75rem .55rem;
    border-bottom: 1px solid rgba(7, 173, 173, .1);
}

.order-cart-scroll-hint {
    font-size: .68rem;
    color: #64748b;
    text-align: center;
    margin: 0 0 .35rem;
}

.order-cart-carousel-row {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.order-cart-nav {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(7, 173, 173, .25);
    border-radius: 50%;
    background: #fff;
    color: #1a3a42;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    font-size: .85rem;
    transition: background .2s ease, transform .2s ease;
}

.order-cart-nav:hover {
    background: rgba(30, 208, 213, .15);
    transform: scale(1.05);
}

.order-cart-carousel {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-width: 0;
    height: 118px;
    padding: .1rem 0;
    scrollbar-width: none;
    touch-action: pan-x;
}

.order-cart-carousel::-webkit-scrollbar { display: none; }

.order-cart-slide {
    flex: 0 0 132px;
    width: 132px;
    height: 108px;
    scroll-snap-align: start;
    background: #f8fbfb;
    border: 1px solid rgba(7, 173, 173, .15);
    border-radius: 12px;
    padding: .45rem .5rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
    animation: orderSlideIn .35s ease both;
}

@keyframes orderSlideIn {
    from { opacity: 0; transform: scale(.92) translateY(6px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.order-cart-slide-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .25rem;
}

.order-cart-slide-name {
    font-size: .72rem;
    line-height: 1.2;
    font-weight: 700;
    color: #1a3a42;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.order-cart-slide-remove {
    border: none;
    background: transparent;
    color: #dc3545;
    padding: 0;
    font-size: .7rem;
    line-height: 1;
}

.order-cart-slide-note {
    font-size: .62rem;
    color: #b45309;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-cart-slide-price {
    font-size: .78rem;
    font-weight: 800;
    color: #0d5660;
}

.order-cart-slide-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.order-cart-qty-sm {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

.order-cart-qty-sm button {
    width: 22px;
    height: 22px;
    padding: 0;
    border: 1px solid rgba(7, 173, 173, .25);
    border-radius: 6px;
    background: #fff;
    font-size: .78rem;
    line-height: 1;
}

.order-cart-qty-sm span {
    font-size: .75rem;
    font-weight: 700;
    min-width: .85rem;
    text-align: center;
}

.order-cart-edit-sm {
    font-size: .72rem !important;
}

.order-empty-cart-compact {
    flex-shrink: 0;
    padding: 1.25rem .75rem;
    text-align: center;
}

.order-empty-cart-compact i {
    font-size: 1.5rem;
    margin-bottom: .35rem;
}

.order-cart-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: .65rem 1rem .85rem;
    background: #fff;
    border-top: 1px solid rgba(7, 173, 173, .12);
    box-shadow: 0 -6px 20px rgba(26, 58, 66, .06);
}

.order-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
    margin-bottom: .55rem;
    padding-bottom: .45rem;
    border-bottom: 1px dashed rgba(7, 173, 173, .2);
}

.order-cart-summary-row strong {
    font-size: 1.05rem;
    color: #0d5660;
}

.order-cart-details {
    margin-bottom: .55rem;
}

.order-cart-details summary {
    cursor: pointer;
    font-size: .82rem;
    font-weight: 700;
    color: #1a3a42;
    padding: .4rem 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.order-cart-details summary::-webkit-details-marker { display: none; }

.order-cart-details-body {
    padding: .25rem 0 .5rem;
}

.form-label-sm {
    font-size: .72rem;
    margin-bottom: .2rem;
    font-weight: 600;
    color: #475569;
}

.order-cart-body { padding: 1.25rem 1.35rem 1.35rem; }

.order-panel-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem 0;
}

.order-panel-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a3a42;
    margin: 0;
}

.order-search-wrap {
    position: relative;
    min-width: min(100%, 240px);
}

.order-search-wrap i {
    position: absolute;
    left: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.order-search {
    padding-left: 2.35rem;
    border-radius: 999px;
    border-color: rgba(7, 173, 173, .22);
}

.order-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1rem 1.35rem 1.25rem;
    border-bottom: 1px solid rgba(7, 173, 173, .1);
}

.order-category-tab {
    border: 1px solid rgba(7, 173, 173, .22);
    background: #fff;
    color: #1a3a42;
    border-radius: 999px;
    padding: .4rem .95rem;
    font-size: .875rem;
    font-weight: 600;
    transition: all .18s ease;
}

.order-category-tab:hover,
.order-category-tab.active {
    background: var(--brand-gradient, linear-gradient(135deg, #1ed0d5, #07ADAD));
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
}

.order-panel .row.g-3 {
    padding: 0 1.35rem 1.35rem;
}

.order-product-card {
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(7, 173, 173, .12);
    box-shadow: 0 8px 24px rgba(26, 58, 66, .06);
    transition: transform .22s ease, box-shadow .22s ease;
    animation: offerFadeUp .55s ease both;
}

.order-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(26, 58, 66, .12);
}

.order-product-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef7f7;
}

.order-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.order-product-card:hover .order-product-media img {
    transform: scale(1.05);
}

.order-product-category {
    position: absolute;
    left: .75rem;
    top: .75rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    font-size: .72rem;
    font-weight: 700;
    color: #1a3a42;
}

.order-product-body { padding: 1rem; }

.order-product-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .35rem;
    color: #1a3a42;
}

.order-product-desc {
    font-size: .84rem;
    color: #64748b;
    margin-bottom: .85rem;
    min-height: 2.5em;
}

.order-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.order-product-price {
    color: #0d5660;
    font-size: 1.05rem;
}

.order-add-btn {
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.order-add-btn:active {
    transform: scale(.96);
}

.order-checkout-form .form-control,
.order-checkout-form .form-select {
    border-radius: 10px;
    border-color: rgba(7, 173, 173, .22);
}

.order-delivery-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: .85rem;
}

.order-location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .5rem;
}

.order-location-status {
    color: #0f766e;
}

.order-location-map-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: #0ea5e9;
    text-decoration: none;
    margin-bottom: .35rem;
}

.order-location-map-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

.order-location-warning {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: .5rem .65rem;
    line-height: 1.45;
}

.order-submit-btn {
    border-radius: 12px;
    padding: .7rem 1rem;
    font-size: .92rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(30, 208, 213, .28);
    transition: transform .18s ease, box-shadow .18s ease;
}

.order-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(30, 208, 213, .34);
}

.order-empty-state,
.order-empty-cart {
    text-align: center;
    padding: 2rem 1rem;
    color: #64748b;
}

.order-empty-state i,
.order-empty-cart i {
    font-size: 2rem;
    color: var(--secondary, #07ADAD);
    opacity: .55;
    display: block;
    margin-bottom: .75rem;
}

.order-item-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 41, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 1rem;
}

.order-item-modal {
    width: min(440px, 100%);
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.order-ticket-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 36, 41, .62);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    padding: 1rem;
}

.order-ticket-modal {
    width: min(560px, 100%);
    max-height: min(92vh, 900px);
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.order-ticket-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.25rem .85rem;
    border-bottom: 1px solid rgba(7, 173, 173, .12);
}

.order-ticket-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #0f766e;
    background: rgba(30, 208, 213, .12);
    border-radius: 999px;
    padding: .25rem .65rem;
}

.order-ticket-modal-meta {
    color: #64748b;
    font-size: .88rem;
}

.order-ticket-modal-body {
    padding: 1rem 1.25rem;
    overflow: auto;
    background: #f8fafc;
}

.order-ticket-preview {
    margin: 0 auto;
}

.order-ticket-preview .ticket-paper {
    margin: 0 auto;
}

.order-ticket-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .85rem 1.25rem 1.15rem;
    border-top: 1px solid rgba(7, 173, 173, .12);
    background: #fff;
}

.order-ticket-modal-status {
    margin: 0 1.25rem 1rem;
    padding: .55rem .75rem;
    border-radius: 10px;
    font-size: .82rem;
    background: rgba(30, 208, 213, .12);
    color: #0f766e;
}

.order-ticket-modal-status.is-error {
    background: rgba(220, 53, 69, .12);
    color: #b02a37;
}

.order-ticket-download-hint {
    text-align: center;
    line-height: 1.35;
}

@media (max-width: 991.98px) {
    .order-hero { padding: 1.35rem; }
    .order-cart-panel {
        position: static !important;
        max-height: none;
    }
    .order-mobile-bar {
        display: flex;
    }
    .order-page {
        padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0));
    }
    .order-cart-items-list {
        max-height: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-toast,
    .order-cart-panel.is-highlight {
        transition: none;
    }
}

