.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(17, 94, 89, 0.12);
}

.site-header .container,
.provider-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

body {
    overflow-x: hidden;
    background: #ffffff;
}

main,
section,
header,
footer {
    width: 100%;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brand-mark {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: linear-gradient(145deg, var(--brand-1), #1d837b 52%, #e1b173);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: var(--shadow-sm);
    flex: 0 0 auto;
    font-size: 1.25rem;
}

.brand-copy {
    min-width: 0;
}

.brand-copy strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.1;
}

.brand-copy span {
    display: block;
    color: var(--text-soft);
    font-size: 0.88rem;
    margin-top: 0.1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.93rem;
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: rgba(17, 94, 89, 0.08);
}

.top-utility-bar {
    background: linear-gradient(90deg, #2d1d14, #382118 48%, #4a2a1d);
    color: #f6ece2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0.7rem 0;
}

.utility-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    white-space: nowrap;
}

.utility-item i {
    color: var(--dm-gold);
}

.top-promo-bar {
    background: linear-gradient(90deg, #b71f4d, #ca284f 46%, #cf3f5c);
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.top-promo-strip {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    overflow-x: auto;
    padding: 0.42rem 0;
    scrollbar-width: none;
}

.top-promo-strip::-webkit-scrollbar,
.header-area-strip::-webkit-scrollbar,
.filters-rail::-webkit-scrollbar,
.compact-rail::-webkit-scrollbar,
.benefit-strip::-webkit-scrollbar,
.site-nav::-webkit-scrollbar {
    display: none;
}

.top-promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.88rem;
}

.market-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(17, 94, 89, 0.1);
}

.market-header-main {
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.header-search-form {
    min-width: 0;
}

.header-search-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 58px;
    padding: 0.35rem 0.45rem 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(17, 94, 89, 0.14);
    background: #fff;
    box-shadow: 0 10px 22px rgba(17, 33, 30, 0.06);
}

.header-search-box i {
    color: var(--text-soft);
}

.header-search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
    color: var(--text-main);
    font-size: 1rem;
}

.header-search-button {
    min-width: 126px;
}

.header-actions-links {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-actions-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.95rem;
    border-radius: 999px;
    color: var(--text-main);
    font-weight: 700;
    white-space: nowrap;
}

.header-actions-links a:hover {
    background: rgba(17, 94, 89, 0.08);
}

.market-header-nav {
    display: grid;
    gap: 0.85rem;
    padding: 0 0 1rem;
}

.compact-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.header-area-strip {
    display: flex;
    align-items: stretch;
    gap: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
}

.nav-chip {
    min-width: 126px;
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    padding: 0.85rem 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--text-main);
}

.nav-chip i {
    color: var(--brand-2);
}

.nav-chip.is-active {
    background: linear-gradient(145deg, var(--brand-1), var(--dm-accent));
    color: #fff;
    border-color: transparent;
}

.nav-chip.is-active i {
    color: #fff;
}

.home-main {
    padding-bottom: 2rem;
}

.hero-stage {
    padding: 1.1rem 0 0;
}

.hero-stage-shell {
    display: block;
}

.hero-stage-media {
    position: relative;
    min-height: clamp(420px, 68vh, 680px);
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(17, 94, 89, 0.92), rgba(16, 61, 56, 0.84));
    box-shadow: var(--shadow-md);
}

.slider-container {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.slide.active {
    opacity: 1;
}

.hero-stage-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 26, 24, 0.2) 0%, rgba(9, 26, 24, 0.46) 52%, rgba(9, 26, 24, 0.7) 100%),
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.16), transparent 24%),
        radial-gradient(circle at 84% 18%, rgba(255,255,255,0.12), transparent 20%);
    z-index: 1;
}

.hero-stage-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: clamp(1.4rem, 4vw, 2.8rem);
    color: #fff;
}

.hero-stage-tag {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-stage-title {
    margin: 0.95rem 0 0.8rem;
    max-width: 10ch;
    font-size: clamp(2.7rem, 6.3vw, 5.4rem);
    line-height: 0.92;
}

.hero-stage-copy {
    max-width: 60ch;
    font-size: clamp(1rem, 1.9vw, 1.12rem);
    opacity: 0.95;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-outline {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-2);
    border-color: rgba(255, 255, 255, 0.95);
}

.hero-slider-nav {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    display: flex;
    gap: 0.55rem;
}

.hero-slider-nav button {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-2);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.section {
    padding: 1.2rem 0;
}

.section-tight {
    padding-top: 0.85rem;
}

.section-head,
.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-soft);
    max-width: 64ch;
}

.benefit-strip {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.benefit-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 94, 89, 0.1);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 700;
}

.filter-shell,
.section-shell,
.detail-shell,
.provider-shell,
.hero-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(17, 94, 89, 0.12);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
}

.home-filter-shell,
.filter-shell {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

.filter-group-block {
    display: grid;
    gap: 0.7rem;
}

.filter-group-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--brand-2);
}

.filters-rail,
.compact-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 280px);
    gap: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
}

.department-rail {
    grid-auto-columns: minmax(220px, 250px);
}

.municipality-rail {
    grid-auto-columns: minmax(210px, 240px);
}

.filter-chip,
.rail-area-card,
.rail-destination-card,
.compact-provider-card {
    scroll-snap-align: start;
}

.filter-chip {
    display: grid;
    gap: 0.14rem;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-sm);
}

.filter-chip strong {
    font-size: 0.98rem;
}

.filter-chip span {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.filter-chip.is-active {
    background: linear-gradient(145deg, var(--brand-1), var(--dm-accent));
    color: #fff;
    border-color: transparent;
}

.filter-chip.is-active span {
    color: rgba(255,255,255,0.84);
}

.destination-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.destination-home-card,
.provider-card,
.story-card,
.service-card,
.destination-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 94, 89, 0.12);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.destination-home-media,
.destination-media,
.story-media,
.provider-cover,
.compact-provider-media,
.rail-destination-media,
.destination-feature-media {
    display: block;
    overflow: hidden;
    background: linear-gradient(145deg, var(--dm-bg), #f2ddc5);
}

.destination-home-media {
    aspect-ratio: 1 / 0.84;
}

.destination-home-media img,
.destination-media img,
.story-media img,
.provider-cover img,
.detail-media img,
.gallery-card img,
.compact-provider-media img,
.rail-destination-media img,
.destination-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-home-body,
.destination-body,
.provider-body,
.story-body,
.service-body,
.compact-provider-body,
.destination-feature-body {
    padding: 1rem;
}

.destination-meta,
.story-meta,
.provider-meta {
    color: var(--text-soft);
    font-size: 0.83rem;
    margin-bottom: 0.35rem;
}

.destination-title,
.provider-title,
.story-title,
.service-title {
    font-size: 1.3rem;
    margin-bottom: 0.42rem;
}

.destination-summary,
.provider-summary,
.story-summary,
.service-summary {
    color: var(--text-soft);
    margin-bottom: 0.85rem;
}

.card-actions,
.service-actions,
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.chip {
    border-radius: 999px;
    padding: 0.32rem 0.72rem;
    background: rgba(17, 94, 89, 0.08);
    color: var(--brand-2);
    font-size: 0.78rem;
    font-weight: 700;
}

.compact-chips {
    margin-bottom: 0.8rem;
}

.provider-rail {
    grid-auto-columns: minmax(260px, 310px);
}

.compact-provider-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(17, 94, 89, 0.1);
    border-radius: 26px;
    overflow: hidden;
}

.compact-provider-media {
    aspect-ratio: 1 / 0.86;
}

.split-collections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.collection-panel {
    padding: 1rem;
}

.destination-rail {
    grid-auto-columns: minmax(220px, 250px);
}

.rail-destination-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(17, 94, 89, 0.1);
    border-radius: 24px;
    overflow: hidden;
}

.rail-destination-media {
    aspect-ratio: 1 / 1;
}

.rail-destination-body {
    display: grid;
    gap: 0.16rem;
    padding: 0.9rem;
}

.rail-destination-body strong {
    font-size: 1rem;
}

.rail-destination-body span {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.areas-rail {
    grid-auto-columns: minmax(160px, 180px);
}

.rail-area-card {
    display: grid;
    gap: 0.32rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(17, 94, 89, 0.1);
}

.rail-area-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(17, 94, 89, 0.08);
    color: var(--brand-2);
}

.rail-area-card strong {
    font-size: 0.98rem;
}

.rail-area-card small {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.rail-area-card.is-active {
    background: linear-gradient(145deg, var(--brand-1), #1a7a72);
    color: #fff;
    border-color: transparent;
}

.rail-area-card.is-active .rail-area-icon {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

.rail-area-card.is-active small {
    color: rgba(255,255,255,0.84);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.compact-stories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-banner {
    background: linear-gradient(135deg, #e5b47a, var(--dm-accent) 48%, #9e5632);
    color: #fff;
    border-radius: 30px;
    padding: clamp(1.35rem, 4vw, 2rem);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.detail-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
    margin-top: 1rem;
}

.detail-media {
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(145deg, var(--dm-bg), #f3ddc4);
    min-height: 520px;
}

.detail-content {
    padding: 1.4rem;
}

.detail-title {
    font-size: clamp(2rem, 4.6vw, 3.6rem);
    line-height: 0.96;
    margin: 0.7rem 0 0.8rem;
}

.detail-copy {
    color: var(--text-soft);
    margin-bottom: 1rem;
}

.providers-grid,
.services-grid,
.gallery-grid,
.destinations-grid {
    display: grid;
    gap: 1rem;
}

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

.providers-grid,
.destinations-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-card {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.empty-state {
    padding: 1.3rem;
    border-radius: 22px;
    border: 1px dashed rgba(17, 94, 89, 0.2);
    text-align: center;
    color: var(--text-soft);
    background: rgba(255,255,255,0.72);
}

.provider-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0 2rem;
}

.provider-sidebar,
.provider-content,
.grid {
    display: grid;
    gap: 1rem;
}

.provider-profile-card,
.provider-content .panel-block {
    padding: 1.1rem;
}

.provider-content .panel-block {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(17, 94, 89, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.provider-contribution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.provider-contribution-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-sm);
}

.provider-contribution-media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, var(--dm-bg), #f2deca);
    overflow: hidden;
}

.provider-contribution-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-contribution-body {
    display: grid;
    gap: 0.45rem;
    padding: 0.95rem 1rem 1rem;
}

.provider-contribution-body strong {
    font-size: 1rem;
}

.provider-contribution-body span {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 110;
    border: 0;
    border-radius: 999px;
    padding: 0.82rem 1rem;
    background: #22c55e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.28);
    cursor: pointer;
}

.wa-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 120;
}

.wa-modal.is-open {
    display: block;
}

.wa-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 23, 22, 0.56);
}

.wa-modal-card {
    position: relative;
    width: min(640px, calc(100% - 2rem));
    margin: 7vh auto 0;
    background: #fff;
    border-radius: 28px;
    padding: 1.2rem;
    box-shadow: var(--shadow-md);
}

.wa-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 0;
    background: rgba(17, 94, 89, 0.08);
    color: var(--brand-2);
    cursor: pointer;
}

.wa-form {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.provider-fallback,
.destination-fallback,
.spotlight-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--brand-2);
    background: linear-gradient(145deg, var(--dm-bg), #f2ddc5);
    font-size: 1.8rem;
}

@media (max-width: 1180px) {
    .market-header-main {
        grid-template-columns: 1fr;
    }

    .header-actions-links {
        justify-content: flex-start;
    }

    .split-collections,
    .detail-hero,
    .provider-layout,
    .cta-banner {
        grid-template-columns: 1fr;
    }

    .stories-grid,
    .compact-stories,
    .providers-grid,
    .destinations-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .utility-grid {
        grid-template-columns: 1fr;
        gap: 0.45rem;
        justify-items: start;
    }

    .hero-stage-media {
        min-height: 520px;
    }

    .destination-home-grid,
    .stories-grid,
    .compact-stories,
    .providers-grid,
    .destinations-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .filters-rail,
    .compact-rail {
        grid-auto-columns: 84%;
    }

    .header-search-button {
        min-width: 108px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100%, calc(100% - 1rem));
    }

    .site-header .container,
    .provider-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .brand-link {
        align-items: center;
    }

    .top-promo-strip,
    .compact-nav,
    .header-area-strip,
    .benefit-strip {
        margin-inline: -0.1rem;
        padding-inline: 0.1rem;
    }

    .site-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        scrollbar-width: none;
    }

    .header-search-box {
        min-height: 54px;
        padding: 0.32rem 0.32rem 0.32rem 0.85rem;
    }

    .header-search-box input {
        font-size: 0.95rem;
    }

    .header-search-button {
        min-width: 96px;
        padding-inline: 1rem;
    }

    .hero-stage {
        padding-top: 0.75rem;
    }

    .hero-stage-media {
        min-height: 460px;
        border-radius: 26px;
    }

    .hero-stage-title {
        max-width: 11ch;
        font-size: clamp(2.2rem, 13vw, 3.5rem);
    }

    .hero-stage-copy {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-slider-nav {
        right: 0.85rem;
        bottom: 0.85rem;
    }

    .section,
    .section-tight {
        padding: 1rem 0;
    }

    .section-head,
    .home-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .filters-rail,
    .compact-rail {
        grid-auto-columns: 88%;
    }

    .areas-rail {
        grid-auto-columns: 76%;
    }

    .whatsapp-float span {
        display: none;
    }

    .wa-modal-card {
        margin-top: 4vh;
    }
}

/* ========================================================
   HOME REBUILD - DEMOLE VIAJE / VIA FLORES LOGIC
   ======================================================== */
body.public-home {
    background: #ffffff;
    overflow-x: hidden;
}

.public-home .market-header {
    background: #ffffff;
}

.home-page {
    background: #ffffff;
    padding-bottom: 2.5rem;
}

.home-market-header {
    border-bottom: 1px solid rgba(17, 94, 89, 0.1);
}

.home-market-main {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) auto;
}

.home-nav {
    justify-content: center;
}

.home-header-actions {
    justify-content: flex-end;
}

.home-brand-logo {
    width: auto;
    height: 56px;
    object-fit: contain;
}

.home-search-section {
    padding: 1.25rem 0 0;
    background: #ffffff;
}

.stack-sm,
.stack-lg {
    display: grid;
}

.stack-sm {
    gap: 0.7rem;
}

.stack-lg {
    gap: 1rem;
}

.btn-ghost {
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: rgba(17, 94, 89, 0.04);
    color: var(--text-main);
    box-shadow: none;
}

body.commerce-page {
    background: #ffffff;
}

.commerce-header {
    position: sticky;
    top: 0;
    z-index: 35;
    backdrop-filter: blur(18px);
}

.commerce-mobile-bar {
    display: none;
}

.commerce-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 360px);
    gap: 1rem;
    align-items: start;
}

.commerce-main,
.commerce-sidebar {
    min-width: 0;
}

.summary-card {
    position: sticky;
    top: 112px;
    padding: 1.15rem;
    border-radius: 24px;
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 0.9rem;
}

.summary-card h2 {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.summary-card-copy {
    color: var(--text-soft);
    font-size: 0.94rem;
    line-height: 1.55;
}

.commerce-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1rem 0 1.1rem;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-sm);
}

.progress-step div {
    display: grid;
    gap: 0.1rem;
}

.progress-step strong {
    font-size: 0.96rem;
}

.progress-step small {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.progress-step-index {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17, 94, 89, 0.14);
    background: rgba(17, 94, 89, 0.06);
    color: var(--brand-2);
    font-weight: 800;
    flex: 0 0 auto;
}

.progress-step.is-current {
    border-color: rgba(201, 140, 74, 0.28);
    background: linear-gradient(145deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.98));
}

.progress-step.is-current .progress-step-index {
    background: linear-gradient(145deg, #d4904f, #e6b16c);
    color: #fff;
    border-color: transparent;
}

.progress-step.is-complete .progress-step-index {
    background: linear-gradient(145deg, var(--brand-1), var(--dm-accent));
    color: #fff;
    border-color: transparent;
}

.commerce-note-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.commerce-note-card {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: linear-gradient(145deg, rgba(250, 248, 243, 0.98), rgba(255,255,255,0.98));
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 0.35rem;
}

.commerce-note-card strong {
    font-size: 0.98rem;
}

.commerce-note-card p {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.58;
    margin: 0;
}

.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-soft);
    font-size: 0.95rem;
}

.summary-line strong {
    color: var(--text-main);
}

.summary-line.is-total {
    padding-top: 0.8rem;
    border-top: 1px solid rgba(17, 94, 89, 0.1);
    font-size: 1rem;
}

.summary-line.is-total strong {
    font-size: 1.05rem;
}

.summary-mini-item {
    display: grid;
    gap: 0.1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 18px;
    background: rgba(17, 94, 89, 0.04);
    border: 1px solid rgba(17, 94, 89, 0.08);
}

.summary-mini-item span,
.summary-mini-item small {
    color: var(--text-soft);
}

.provider-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1rem 0 1.15rem;
}

.provider-summary-card {
    display: grid;
    gap: 0.4rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: linear-gradient(145deg, rgba(250, 248, 243, 0.98), rgba(255,255,255,0.98));
    box-shadow: var(--shadow-sm);
}

.provider-summary-card strong {
    font-size: 0.98rem;
}

.provider-summary-card span {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.cart-item-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 220px;
    gap: 1rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-sm);
}

.cart-item-media,
.service-card-media {
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--dm-bg), #f2deca);
}

.cart-item-media {
    aspect-ratio: 1 / 1;
}

.service-card-media {
    aspect-ratio: 1 / 0.82;
}

.cart-item-media img,
.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-body {
    display: grid;
    align-content: start;
    gap: 0.5rem;
}

.cart-item-side {
    display: grid;
    align-content: start;
    justify-items: end;
    gap: 0.6rem;
}

.qty-label {
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.qty-input {
    width: 86px;
    border: 1px solid rgba(17, 94, 89, 0.16);
    border-radius: 14px;
    padding: 0.72rem 0.8rem;
    text-align: center;
    background: #fff;
}

.cart-item-total {
    font-size: 1.12rem;
}

.cart-item-actions {
    justify-content: flex-end;
}

.checkout-form-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.checkout-mobile-submit {
    display: none;
}

.thanks-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 420px);
    gap: 1rem;
    align-items: start;
}

.thanks-card {
    min-height: 100%;
}

.thanks-summary {
    top: 96px;
}

.commerce-inline-form {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.qty-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.5rem 0.35rem 0.8rem;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 700;
}

.qty-inline input {
    width: 70px;
    border: 0;
    background: transparent;
    color: var(--text-main);
}

.service-card {
    overflow: hidden;
    background: rgba(255,255,255,0.97);
    border: 1px solid rgba(17, 94, 89, 0.1);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.service-card .service-body {
    display: grid;
    gap: 0.3rem;
}

@media (max-width: 1180px) {
    .commerce-progress,
    .commerce-note-grid,
    .commerce-layout,
    .thanks-layout {
        grid-template-columns: 1fr;
    }

    .provider-contribution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .provider-summary-grid {
        grid-template-columns: 1fr;
    }

    .summary-card,
    .thanks-summary {
        position: static;
    }

    .commerce-cart .commerce-sidebar,
    .commerce-checkout .commerce-sidebar,
    .commerce-thanks .summary-card {
        order: -1;
    }

    .cart-item-card {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .cart-item-side {
        grid-column: 1 / -1;
        justify-items: start;
    }
}

@media (max-width: 860px) {
    .commerce-header .container {
        gap: 0.85rem;
        align-items: flex-start;
    }

    .commerce-header .site-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .commerce-progress {
        gap: 0.65rem;
    }

    .progress-step {
        padding: 0.85rem 0.9rem;
    }

    .progress-step strong {
        font-size: 0.9rem;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    .cart-item-card {
        grid-template-columns: 1fr;
    }

    .cart-item-media {
        max-width: 220px;
    }

    .cart-item-side,
    .cart-item-actions {
        justify-items: start;
        justify-content: flex-start;
    }

    .cart-item-actions .btn,
    .summary-card .btn,
    .summary-card .btn-outline,
    .checkout-mobile-submit .btn {
        width: 100%;
    }

    .provider-contribution-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    body.commerce-page {
        padding-bottom: 92px;
    }

    .progress-step-index {
        width: 34px;
        height: 34px;
    }

    .commerce-progress {
        display: flex;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scroll-snap-type: x proximity;
    }

    .progress-step {
        min-width: 245px;
        scroll-snap-align: start;
        flex: 0 0 auto;
    }

    .cart-item-card {
        padding: 0.9rem;
        border-radius: 20px;
    }

    .summary-card {
        padding: 1rem;
        border-radius: 20px;
    }

    .summary-card h2 {
        font-size: 1.55rem;
    }

    .commerce-note-card {
        padding: 0.95rem;
        border-radius: 18px;
    }

    .checkout-mobile-submit {
        display: block;
        grid-column: 1 / -1;
        position: sticky;
        bottom: 0;
        padding-top: 0.6rem;
        margin-top: 0.35rem;
        background: linear-gradient(180deg, rgba(255,255,255,0), #fff 35%);
    }

    .commerce-mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
        background: rgba(255,255,255,0.95);
        border-top: 1px solid rgba(17, 94, 89, 0.1);
        box-shadow: 0 -18px 30px rgba(17, 33, 30, 0.08);
        backdrop-filter: blur(18px);
    }

    .commerce-mobile-bar .btn,
    .commerce-mobile-bar .btn-outline {
        width: 100%;
        min-height: 48px;
    }
}

.home-search-shell {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(17, 94, 89, 0.1);
    border-radius: 28px;
    box-shadow: 0 16px 36px rgba(17, 33, 30, 0.06);
}

.home-search-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.home-search-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 0.96;
    margin: 0.75rem 0 0.45rem;
}

.home-search-copy,
.home-search-note,
.home-compact-copy,
.home-cta-copy,
.home-story-summary,
.home-provider-summary {
    color: var(--text-soft);
}

.home-search-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(180px, 0.55fr)) auto;
    gap: 0.85rem;
    align-items: center;
}

.home-search-field {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 58px;
    padding: 0 1rem;
    border: 1px solid rgba(17, 94, 89, 0.14);
    border-radius: 18px;
    background: #ffffff;
}

.home-search-field i {
    color: var(--text-soft);
    flex: 0 0 auto;
}

.home-search-field input,
.home-search-field select {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--text-main);
    outline: none;
}

.home-search-submit {
    min-height: 58px;
}

.home-area-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.icon-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 54px;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: #ffffff;
    color: var(--text-main);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(17, 33, 30, 0.04);
}

.icon-pill i {
    color: var(--brand-2);
}

.icon-pill.is-active {
    background: linear-gradient(145deg, var(--brand-1), var(--dm-accent));
    color: #ffffff;
    border-color: transparent;
}

.icon-pill.is-active i {
    color: #ffffff;
}

.home-hero-section {
    padding: 1rem 0 0;
}

.home-hero-card {
    position: relative;
    min-height: clamp(420px, 70vh, 720px);
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(17, 94, 89, 0.92), rgba(16, 61, 56, 0.84));
    box-shadow: var(--shadow-md);
}

.home-hero-slider,
.home-hero-slide {
    position: absolute;
    inset: 0;
}

.home-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1b7f77, var(--dm-accent) 45%, #d39a61);
    color: rgba(255, 255, 255, 0.9);
    font-size: 3rem;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 28, 26, 0.18) 0%, rgba(11, 28, 26, 0.48) 55%, rgba(11, 28, 26, 0.82) 100%),
        radial-gradient(circle at 18% 20%, rgba(255,255,255,0.12), transparent 22%),
        radial-gradient(circle at 85% 18%, rgba(255,255,255,0.08), transparent 18%);
    z-index: 1;
}

.home-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    gap: 1rem;
    align-content: end;
    padding: clamp(1.2rem, 4vw, 2.8rem);
    color: #ffffff;
}

.home-hero-tag {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    width: fit-content;
}

.home-hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 0.9;
    max-width: 8ch;
}

.home-hero-copy {
    max-width: 62ch;
    font-size: clamp(1rem, 2vw, 1.12rem);
    opacity: 0.96;
}

.home-hero-outline {
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand-2);
    border-color: rgba(255, 255, 255, 0.96);
}

.home-hero-nav {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 5;
}

.home-benefits-section {
    padding-top: 1rem;
}

.home-benefit-strip {
    justify-content: center;
}

.home-section {
    padding: 1.65rem 0;
    background: #ffffff;
}

.home-section-muted {
    background: #faf8f4;
    border-top: 1px solid #f1eadf;
    border-bottom: 1px solid #f1eadf;
}

.home-department-rail,
.home-municipality-rail,
.home-provider-rail,
.home-season-rail,
.home-area-rail {
    margin-top: 0.8rem;
}

.home-destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-destination-card {
    position: relative;
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-destination-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.home-destination-media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(145deg, var(--dm-bg), #f2ddc5);
}

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

.home-destination-card:hover .home-destination-media img {
    transform: scale(1.05);
}

.home-destination-body {
    position: relative;
    z-index: 2;
    padding: 1rem;
}

.home-provider-card {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-provider-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.home-provider-avatar {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    overflow: hidden;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--dm-bg), #f2ddc5);
    color: var(--brand-2);
}

.home-provider-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-provider-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.home-provider-copy strong {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-provider-copy span {
    color: var(--text-soft);
    font-size: 0.82rem;
}

.home-provider-actions {
    margin-top: 0.2rem;
}

.home-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-panel-card {
    padding: 1rem;
    border-radius: 28px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-rail-destination,
.home-area-rail .rail-area-card {
    background: #f9f7f3;
    border: 1px solid rgba(17, 94, 89, 0.08);
}

.home-rail-media {
    aspect-ratio: 4 / 3;
}

.home-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-story-card {
    display: grid;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-story-media {
    aspect-ratio: 1 / 0.72;
    overflow: hidden;
    background: linear-gradient(145deg, var(--dm-bg), #f2ddc5);
}

.home-story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-story-body {
    display: grid;
    gap: 0.45rem;
    padding: 1rem;
}

.home-story-type {
    font-size: 0.76rem;
    color: var(--brand-3);
    font-weight: 800;
    text-transform: uppercase;
}

.home-story-title {
    font-size: 1.2rem;
    line-height: 1.16;
}

.home-cta-banner {
    background: linear-gradient(135deg, var(--brand-1), var(--dm-accent) 48%, #d39a61);
}

.home-cta-tag {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.home-cta-title,
.home-cta-copy {
    color: #ffffff;
}

.home-cta-button {
    background: #ffffff;
    color: var(--brand-2);
    border-color: #ffffff;
}

.home-footer-inner {
    display: grid;
    gap: 0.55rem;
    text-align: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1180px) {
    .home-market-main {
        grid-template-columns: 1fr;
    }

    .home-nav,
    .home-header-actions {
        justify-content: flex-start;
    }

    .home-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-search-field--query {
        grid-column: 1 / -1;
    }

    .home-search-submit {
        grid-column: 1 / -1;
    }

    .home-destinations-grid,
    .home-story-grid,
    .home-two-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-search-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-search-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .home-destinations-grid,
    .home-story-grid,
    .home-two-column {
        grid-template-columns: 1fr;
    }

    .home-hero-card {
        min-height: 520px;
    }

    .home-hero-title {
        max-width: 10ch;
        font-size: clamp(2.2rem, 10vw, 3.8rem);
    }

    .filters-rail,
    .compact-rail {
        grid-auto-columns: 82%;
    }
}

@media (max-width: 640px) {
    .top-utility-bar {
        display: none;
    }

    .top-promo-strip,
    .compact-nav,
    .home-area-pills,
    .benefit-strip {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.2rem;
        scrollbar-width: none;
    }

    .home-search-shell {
        padding: 1rem;
        border-radius: 22px;
    }

    .home-search-grid {
        grid-template-columns: 1fr;
    }

    .home-search-field,
    .home-search-submit {
        min-height: 54px;
    }

    .home-hero-card {
        min-height: 460px;
        border-radius: 24px;
    }

    .home-hero-content {
        padding: 1rem;
    }

    .home-hero-title {
        font-size: clamp(2rem, 11vw, 3.2rem);
        max-width: 9ch;
    }

    .home-header-actions a {
        padding: 0.7rem 0.85rem;
    }

    .whatsapp-float span {
        display: none;
    }
}

/* ========================================================
   PUBLIC DETAIL PAGES - STORE / DESTINATION / PROVIDER
   ======================================================== */
.detail-hero-shop {
    align-items: start;
}

.detail-media-tall {
    min-height: 620px;
    position: relative;
}

.detail-media-badge {
    position: absolute;
    left: 1.1rem;
    bottom: 1.1rem;
    width: 78px;
    height: 78px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.detail-media-badge img,
.detail-media-badge span {
    width: 100%;
    height: 100%;
}

.detail-media-badge img {
    object-fit: cover;
}

.detail-media-badge span {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.5rem;
}

.sticky-panel {
    position: sticky;
    top: 112px;
}

.metric-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.metric-chip-card {
    padding: 0.9rem;
    border-radius: 22px;
    background: rgba(17, 94, 89, 0.05);
    border: 1px solid rgba(17, 94, 89, 0.12);
    display: grid;
    gap: 0.2rem;
}

.metric-chip-card strong {
    font-size: 1.15rem;
    color: var(--brand-2);
}

.metric-chip-card span {
    color: var(--text-soft);
    font-size: 0.84rem;
}

.filter-toolbar {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 94, 89, 0.12);
    box-shadow: var(--shadow-sm);
}

.filter-toolbar-head {
    display: grid;
    gap: 0.16rem;
}

.filter-toolbar-head strong {
    font-size: 1rem;
}

.filter-toolbar-head span {
    color: var(--text-soft);
    font-size: 0.88rem;
}

.filter-pills {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    border: 1px solid rgba(17, 94, 89, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--text-main);
    padding: 0.75rem 1rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.filter-pill.is-active {
    background: linear-gradient(145deg, var(--brand-1), var(--dm-accent));
    color: #fff;
    border-color: transparent;
}

.services-grid-shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-shop-card {
    display: grid;
    grid-template-rows: auto 1fr;
}

.service-card-media {
    aspect-ratio: 1 / 0.86;
    overflow: hidden;
    background: linear-gradient(145deg, var(--dm-bg), #f2ddc5);
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.coverage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.destination-card-min {
    display: flex;
    min-height: 100%;
}

.destination-card-min .destination-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.45rem;
}

.destination-card-min .destination-title {
    font-size: 1.15rem;
}

.gallery-stage-shell {
    display: grid;
    gap: 0.85rem;
}

.gallery-stage-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(17, 94, 89, 0.12);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-stage-card-shop {
    min-height: 100%;
}

.gallery-stage-media {
    position: relative;
    min-height: 520px;
    background: linear-gradient(145deg, var(--dm-bg), #f2ddc5);
}

.gallery-stage-media img,
.gallery-stage-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-stage-copy {
    padding: 1rem 1.1rem 1.1rem;
    display: grid;
    gap: 0.2rem;
}

.gallery-stage-copy strong {
    font-size: 1.05rem;
}

.gallery-stage-copy span {
    color: var(--text-soft);
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 0.7rem;
}

.gallery-thumb {
    border: 1px solid rgba(17, 94, 89, 0.12);
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    min-height: 88px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-thumb img,
.gallery-thumb-video {
    width: 100%;
    height: 100%;
}

.gallery-thumb img {
    object-fit: cover;
}

.gallery-thumb-video {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--dm-bg), #f2ddc5);
    color: var(--brand-2);
    font-size: 1.2rem;
}

.gallery-thumb.is-active {
    outline: 2px solid rgba(17, 94, 89, 0.34);
    outline-offset: 1px;
}

.service-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
    gap: 1rem;
    align-items: start;
}

.service-gallery-col,
.service-summary-col {
    min-width: 0;
}

.purchase-panel {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(17, 94, 89, 0.04);
    border: 1px solid rgba(17, 94, 89, 0.12);
}

.qty-inline-block {
    display: grid;
    gap: 0.4rem;
}

.qty-inline-block span {
    font-size: 0.86rem;
    font-weight: 700;
}

.qty-inline-block input {
    width: 100%;
    min-height: 48px;
    padding: 0 0.8rem;
    border: 1px solid rgba(17, 94, 89, 0.12);
    border-radius: 16px;
    background: #fff;
}

.service-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.service-meta-card {
    padding: 1.1rem;
}

.list-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.list-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 0.9rem;
    border-radius: 18px;
    background: rgba(17, 94, 89, 0.05);
    border: 1px solid rgba(17, 94, 89, 0.12);
    font-weight: 600;
}

.list-chip i {
    color: var(--brand-2);
}

.provider-card-inline {
    border-radius: 28px;
}

@media (max-width: 1180px) {
    .services-grid-shop,
    .coverage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-chip-grid,
    .service-meta-grid {
        grid-template-columns: 1fr;
    }

    .service-page-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .detail-media-tall,
    .gallery-stage-media {
        min-height: 420px;
    }

    .services-grid-shop,
    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .metric-chip-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .detail-media-badge {
        width: 64px;
        height: 64px;
        left: 0.8rem;
        bottom: 0.8rem;
    }

    .filter-toolbar,
    .gallery-stage-card,
    .service-meta-card {
        border-radius: 22px;
    }

    .gallery-stage-media {
        min-height: 300px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, minmax(72px, 1fr));
    }
}

.provider-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
    gap: 1.35rem;
    align-items: stretch;
}

.provider-hero-media {
    position: relative;
    min-height: clamp(420px, 64vh, 620px);
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(17, 94, 89, 0.92), rgba(16, 61, 56, 0.84));
    box-shadow: var(--shadow-md);
}

.provider-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-fallback-large {
    min-height: 100%;
    font-size: 4rem;
}

.provider-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 26, 24, 0.16) 0%, rgba(9, 26, 24, 0.5) 58%, rgba(9, 26, 24, 0.74) 100%),
        radial-gradient(circle at 18% 22%, rgba(255,255,255,0.14), transparent 24%);
    z-index: 1;
}

.provider-hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(1.35rem, 4vw, 2.6rem);
    color: #fff;
}

.provider-hero-copy h1 {
    margin: 0.8rem 0 0.7rem;
    font-size: clamp(2.5rem, 5.8vw, 5rem);
    line-height: 0.92;
    max-width: 10ch;
}

.provider-hero-copy p {
    max-width: 54ch;
    font-size: clamp(1rem, 1.7vw, 1.12rem);
    opacity: 0.95;
}

.provider-hero-side {
    align-self: stretch;
}

.provider-side-top {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.provider-side-top strong {
    display: block;
    font-size: 1.05rem;
}

.provider-side-top span {
    display: block;
    color: var(--text-soft);
    font-size: 0.92rem;
    margin-top: 0.2rem;
}

.provider-logo-big,
.provider-logo-fallback {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    flex: 0 0 auto;
}

.provider-logo-big {
    object-fit: cover;
    border: 1px solid rgba(17, 94, 89, 0.1);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.provider-logo-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--brand-1), #1d837b 52%, #e1b173);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.provider-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.provider-link-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(17, 94, 89, 0.06);
    color: var(--brand-2);
    font-weight: 700;
}

.provider-link-row a:hover {
    background: rgba(17, 94, 89, 0.12);
}

.service-shop-card .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.service-shop-card .card-actions .btn,
.service-shop-card .commerce-inline-form .btn {
    flex: 1 1 0;
    justify-content: center;
}

@media (max-width: 1100px) {
    .provider-hero-shell {
        grid-template-columns: 1fr;
    }

    .provider-hero-side {
        position: static;
    }
}

@media (max-width: 720px) {
    .provider-hero-media {
        min-height: 360px;
        border-radius: 24px;
    }

    .provider-hero-copy h1 {
        max-width: 12ch;
        font-size: clamp(2.1rem, 9vw, 3.4rem);
    }

    .provider-side-top {
        align-items: flex-start;
    }

    .provider-logo-big,
    .provider-logo-fallback {
        width: 68px;
        height: 68px;
        border-radius: 20px;
    }

    .provider-link-row a {
        flex: 1 1 calc(50% - 0.55rem);
    }

    .service-shop-card .card-actions {
        flex-direction: column;
    }

    .service-shop-card .card-actions .btn,
    .service-shop-card .commerce-inline-form,
    .service-shop-card .commerce-inline-form .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .provider-hero-copy {
        padding: 1rem;
    }

    .provider-hero-copy p,
    .detail-copy {
        font-size: 0.94rem;
        line-height: 1.6;
    }

    .gallery-stage-shell {
        gap: 0.7rem;
    }

    .gallery-stage-copy {
        padding: 0.9rem 1rem 1rem;
    }

    .provider-link-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .provider-link-row a {
        width: 100%;
    }

    .destination-card-min .card-actions {
        margin-top: auto;
    }
}

.provider-layout-store {
    align-items: start;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 1.1rem;
}

.provider-layout-store .provider-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 1rem;
}

.provider-layout-store .provider-content {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.provider-workspace {
    align-items: start;
}

.provider-workspace__rail,
.provider-workspace__main {
    min-width: 0;
}

.provider-identity-card,
.provider-coverage-card,
.provider-tabs-nav,
.provider-workspace-hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 237, 0.96));
}

.provider-identity-card {
    position: relative;
}

.provider-identity-card::after {
    content: "";
    position: absolute;
    inset: auto 1.2rem 1.2rem auto;
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: radial-gradient(circle at top, rgba(212, 161, 94, 0.28), rgba(17, 94, 89, 0.02));
    pointer-events: none;
}

.provider-identity-code {
    margin: 0.7rem 0 0;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    max-width: 10ch;
}

.provider-coverage-card .grid {
    display: grid;
    gap: 0.75rem;
}

.provider-workspace-hero {
    display: grid;
    gap: 1.1rem;
    padding: 1.35rem;
    overflow: hidden;
    position: relative;
}

.provider-workspace-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(17, 94, 89, 0.1), transparent 34%),
        radial-gradient(circle at bottom right, rgba(212, 161, 94, 0.14), transparent 30%);
    pointer-events: none;
}

.provider-workspace-head,
.provider-workspace-stats,
.provider-workspace-shortcuts {
    position: relative;
    z-index: 1;
}

.provider-workspace-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.provider-workspace-copy {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.provider-workspace-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.provider-workspace-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    flex-wrap: wrap;
    min-width: min(340px, 100%);
}

.provider-workspace-actions .btn {
    flex: 0 0 auto;
}

.provider-workspace-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.provider-workspace-stat {
    display: grid;
    gap: 0.3rem;
    padding: 1rem 1.05rem;
    border-radius: 24px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-sm);
}

.provider-workspace-stat strong {
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 1;
    color: var(--brand-2);
}

.provider-workspace-stat span {
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.provider-workspace-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.provider-shortcut-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.provider-shortcut-card:hover {
    transform: translateY(-1px);
    border-color: rgba(17, 94, 89, 0.18);
    background: rgba(255, 255, 255, 0.94);
}

.provider-shortcut-card.is-active {
    border-color: transparent;
    background: linear-gradient(145deg, rgba(17, 94, 89, 0.96), rgba(23, 107, 101, 0.92));
    color: #fff;
}

.provider-shortcut-card.is-active .provider-shortcut-copy small {
    color: rgba(255, 255, 255, 0.82);
}

.provider-shortcut-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(17, 94, 89, 0.08);
    color: var(--brand-2);
    font-size: 1.15rem;
}

.provider-shortcut-card.is-active .provider-shortcut-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.provider-shortcut-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.provider-shortcut-copy strong {
    font-size: 0.96rem;
    line-height: 1.1;
}

.provider-shortcut-copy small {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
}

.provider-tabs-nav {
    display: grid;
    gap: 0.7rem;
    padding: 0.8rem;
    align-items: stretch;
}

.provider-tab-link {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.95rem 1.05rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-main);
    font-weight: 700;
    transition: 0.18s ease;
    text-decoration: none;
    min-height: 84px;
}

.provider-tab-link strong,
.provider-tab-link small {
    word-break: break-word;
}

.provider-tab-link-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(17, 94, 89, 0.08);
    flex: 0 0 auto;
}

.provider-tab-link-icon i {
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--brand-2);
    font-size: 1.05rem;
}

.provider-tab-link-copy {
    min-width: 0;
    display: grid;
    gap: 0.16rem;
}

.provider-tab-link-copy strong {
    font-size: 0.98rem;
    line-height: 1.15;
}

.provider-tab-link-copy small {
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
}

.provider-tab-link:hover {
    background: rgba(17, 94, 89, 0.08);
    border-color: rgba(17, 94, 89, 0.18);
    transform: translateY(-1px);
}

.provider-tab-link.is-active {
    background: linear-gradient(145deg, var(--brand-1), var(--dm-accent));
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.provider-tab-link.is-active .provider-tab-link-icon i {
    color: #fff;
}

.provider-tab-link.is-active .provider-tab-link-icon {
    background: rgba(255, 255, 255, 0.18);
}

.provider-tab-link.is-active .provider-tab-link-copy small {
    color: rgba(255, 255, 255, 0.82);
}

.provider-mini-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.provider-topbar .site-nav {
    margin-left: auto;
    justify-content: flex-end;
}

.provider-service-form,
.provider-profile-form,
.provider-contribution-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

.form-section-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid rgba(17, 94, 89, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 238, 0.92));
}

.compact-head {
    margin-bottom: 0;
}

.provider-service-basic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.selection-card-inline {
    grid-template-columns: auto 1fr;
    min-height: 100%;
}

.selection-card-inline span {
    display: grid;
    gap: 0.18rem;
}

.selection-grid-includes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.destination-tree-shell {
    display: grid;
    gap: 0.8rem;
}

.destination-tree-group {
    border: 1px solid rgba(17, 94, 89, 0.12);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(245, 241, 234, 0.92));
    overflow: hidden;
}

.destination-tree-group[open] {
    box-shadow: var(--shadow-sm);
}

.destination-tree-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.destination-tree-group summary::-webkit-details-marker {
    display: none;
}

.destination-tree-group summary span {
    color: var(--text-soft);
    font-size: 0.82rem;
    font-weight: 700;
}

.destination-tree-body {
    display: grid;
    gap: 1rem;
    padding: 0 1.1rem 1.1rem;
}

.destination-tree-municipality {
    display: grid;
    gap: 0.65rem;
}

.destination-tree-municipality > strong {
    font-size: 0.96rem;
    color: var(--brand-2);
}

.provider-media-editor {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(17, 94, 89, 0.12);
}

.provider-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

.provider-media-card {
    display: grid;
    gap: 0.7rem;
    padding: 0.75rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(17, 94, 89, 0.12);
    box-shadow: var(--shadow-sm);
}

.provider-media-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
}

.provider-media-card-form,
.service-shop-card .commerce-inline-form {
    display: contents;
}

.provider-tabs-nav .provider-tab-link {
    box-shadow: none;
}

.provider-profile-card {
    overflow: hidden;
    padding: 1.15rem;
}

.provider-tabs-nav .provider-tab-link + .provider-tab-link {
    margin-top: 0;
}

.provider-profile-card h2 {
    word-break: break-word;
}

.provider-topbar .brand-link {
    min-width: 0;
}

.provider-topbar .site-nav a {
    white-space: nowrap;
}

.provider-content .panel-block {
    padding: 1.15rem;
}

.provider-service-form .card-actions,
.provider-content .card-actions {
    row-gap: 0.7rem;
}

.provider-content .card-actions .btn,
.provider-content .card-actions form {
    flex: 1 1 180px;
}

.provider-content .card-actions form .btn {
    width: 100%;
}

.provider-sidebar .metric-chip-card {
    min-height: 116px;
    align-content: start;
}

.provider-sidebar .mini-card {
    padding: 0.8rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 94, 89, 0.1);
    background: rgba(255, 255, 255, 0.96);
}

.provider-sidebar .mini-card-title {
    font-size: 0.95rem;
    font-weight: 800;
}

.provider-sidebar .mini-card-meta {
    color: var(--text-soft);
    font-size: 0.8rem;
}

@media (max-width: 1180px) {
    .provider-layout-store .provider-sidebar {
        position: static;
        top: auto;
    }

    .provider-workspace-head {
        flex-direction: column;
    }

    .provider-workspace-actions {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .provider-workspace-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .provider-workspace-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .provider-service-form,
    .provider-profile-form,
    .provider-service-basic-grid {
        grid-template-columns: 1fr;
    }

    .selection-grid-includes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .provider-tabs-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .provider-workspace-title {
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .provider-tab-link {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        min-height: 132px;
    }

    .provider-tab-link-copy {
        justify-items: center;
    }

    .provider-contribution-form,
    .selection-grid-includes {
        grid-template-columns: 1fr;
    }

    .provider-workspace-shortcuts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .provider-layout,
    .provider-layout-store {
        grid-template-columns: 1fr;
    }

    .provider-tabs-nav {
        grid-template-columns: 1fr;
    }

    .provider-content .card-actions .btn,
    .provider-content .card-actions form {
        flex: 1 1 100%;
    }

    .provider-mini-metrics,
    .provider-media-grid {
        grid-template-columns: 1fr;
    }

    .provider-workspace-hero {
        padding: 1rem;
    }

    .provider-workspace-stats {
        grid-template-columns: 1fr;
    }

    .provider-shortcut-card {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 0.9rem;
    }

    .provider-shortcut-icon {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .destination-tree-group summary,
    .destination-tree-body {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .destination-tree-group summary {
        align-items: start;
        flex-direction: column;
    }

    .provider-topbar .site-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

/* ====================================================
   TERRITORIAL PAGES — Sliders + Tabs  (v2)
   ==================================================== */

/* ── Territory Hero ── */
.territory-hero {
    position: relative;
    width: 100%;
    height: clamp(260px, 42vw, 520px);
    overflow: hidden;
    background: var(--primary, var(--dm-primary));
}
.territory-hero img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.territory-hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%);
}
.territory-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem clamp(1rem, 5vw, 3rem) 2.5rem;
    color: #fff;
}
.territory-hero-content .breadcrumb {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.8rem; opacity: 0.8; margin-bottom: 0.7rem; flex-wrap: wrap;
}
.territory-hero-content .breadcrumb a { color: #fff; text-decoration: none; }
.territory-hero-content .breadcrumb a:hover { text-decoration: underline; }
.territory-hero-content .breadcrumb span { opacity: 0.55; }
.territory-hero-content h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 700; margin: 0 0 0.4rem; line-height: 1.1;
}
.territory-hero-content p {
    font-size: clamp(0.85rem, 2vw, 1rem);
    opacity: 0.85; margin: 0; max-width: 560px; line-height: 1.6;
}
.territory-hero-fallback {
    background: linear-gradient(135deg, var(--primary, var(--dm-primary)) 0%, #4a2e1a 100%);
}
.territory-hero-stats {
    display: flex; gap: 1.5rem; margin-top: 1rem; flex-wrap: wrap;
}
.territory-hero-stat {
    display: flex; flex-direction: column;
    font-size: 0.8rem; opacity: 0.9;
}
.territory-hero-stat strong { font-size: 1.4rem; font-family: 'Fraunces', serif; }

/* ── Territory Tabs ── */
.territory-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border, #e8e0d5);
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: 60px;
    z-index: 30;
}
.territory-tabs-nav::-webkit-scrollbar { display: none; }
.territory-tab-btn {
    padding: 0.9rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light, #7a6e65);
    border: none;
    background: transparent;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
    display: flex; align-items: center; gap: 0.4rem;
}
.territory-tab-btn:hover { color: var(--primary, var(--dm-primary)); }
.territory-tab-btn.is-active {
    color: var(--accent, var(--dm-accent));
    border-bottom-color: var(--accent, var(--dm-accent));
}
.territory-tab-badge {
    background: var(--bg, #f9f6f1);
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-size: 0.7rem;
    font-weight: 700;
}
.territory-tab-btn.is-active .territory-tab-badge {
    background: #f3ece5;
    color: var(--accent, var(--dm-accent));
}

.territory-tab-panel { display: none; }
.territory-tab-panel.is-active { display: block; }

/* ── Horizontal Slider ── */
.slider-outer {
    position: relative;
    margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem));
}
.slider-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.5rem clamp(1rem, 4vw, 2rem) 1rem;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-item {
    flex: 0 0 clamp(220px, 28vw, 300px);
    scroll-snap-align: start;
}
.slider-item.slider-item-wide {
    flex: 0 0 clamp(260px, 34vw, 360px);
}
.slider-item.slider-item-dest {
    flex: 0 0 clamp(200px, 24vw, 260px);
}

.slider-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border, #e8e0d5);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--primary, var(--dm-primary));
    z-index: 10;
    transition: background 0.2s, box-shadow 0.2s;
}
.slider-btn:hover { background: var(--accent, var(--dm-accent)); color: #fff; box-shadow: 0 4px 16px rgba(139,91,69,0.25); }
.slider-btn.slider-prev { left: 0.25rem; }
.slider-btn.slider-next { right: 0.25rem; }

/* ── Territory Cards ── */
.territory-card {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e8e0d5);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.18s;
    display: flex; flex-direction: column;
    height: 100%;
}
.territory-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-3px); }
.territory-card-cover {
    height: 130px;
    background: var(--bg, #f9f6f1);
    overflow: hidden; position: relative;
}
.territory-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.territory-card-cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--accent, var(--dm-accent)); opacity: 0.35;
    background: linear-gradient(135deg, var(--bg) 0%, #ede5db 100%);
}
.territory-card-badge {
    position: absolute; bottom: 0.6rem; right: 0.6rem;
    background: rgba(255,255,255,0.92);
    border-radius: 999px; padding: 0.2rem 0.55rem;
    font-size: 0.7rem; font-weight: 700; color: var(--primary, var(--dm-primary));
}
.territory-card-body { padding: 0.9rem 1rem; flex: 1; }
.territory-card-name {
    font-size: 0.95rem; font-weight: 700;
    color: var(--primary, var(--dm-primary)); margin: 0 0 0.3rem; line-height: 1.3;
}
.territory-card-meta { font-size: 0.78rem; color: var(--text-light, #7a6e65); }
.territory-card-actions { padding: 0 1rem 1rem; }
.territory-card-actions .btn { width: 100%; font-size: 0.82rem; text-align: center; }

/* Destination card variant */
.dest-card-cover { height: 150px; }
.dest-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6));
}
.dest-card-name {
    position: absolute; bottom: 0.6rem; left: 0.8rem; right: 0.8rem;
    font-size: 0.88rem; font-weight: 700; color: #fff; line-height: 1.3;
}

/* Provider slider card */
.prov-slider-card {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e8e0d5);
    border-radius: 16px; overflow: hidden;
    transition: box-shadow 0.2s, transform 0.18s;
}
.prov-slider-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.09); transform: translateY(-2px); }
.prov-slider-cover { height: 110px; background: var(--bg); overflow: hidden; }
.prov-slider-cover img { width: 100%; height: 100%; object-fit: cover; }
.prov-slider-cover-fb {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--accent, var(--dm-accent)); opacity: 0.3;
}
.prov-slider-body { padding: 0.8rem 0.9rem; }
.prov-slider-name { font-size: 0.88rem; font-weight: 700; color: var(--primary, var(--dm-primary)); margin: 0 0 0.2rem; }
.prov-slider-area { font-size: 0.75rem; color: var(--text-light, #7a6e65); }
.prov-slider-actions { padding: 0 0.9rem 0.9rem; }
.prov-slider-actions .btn { width: 100%; font-size: 0.8rem; }

/* ── Slider "ver todos" row ── */
.slider-footer {
    display: flex; justify-content: flex-end; align-items: center;
    padding: 0.5rem clamp(1rem, 4vw, 2rem) 0;
}
.slider-footer a { font-size: 0.82rem; color: var(--accent, var(--dm-accent)); font-weight: 600; text-decoration: none; }
.slider-footer a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════════════
   HAMBURGER MENU — MÓVIL
   ══════════════════════════════════════════════════════════════════════ */

/* Botón hamburguesa — solo visible en móvil */
.dv-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(17, 94, 89, 0.06);
    border: 1px solid rgba(17, 94, 89, 0.14);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s;
}
.dv-hamburger:hover { background: rgba(17, 94, 89, 0.12); }
.dv-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dm-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s;
}
.dv-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dv-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.dv-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop */
.dv-mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 199;
    opacity: 0;
    transition: opacity 0.28s ease;
}
.dv-mobile-nav-backdrop.is-open {
    display: block;
    opacity: 1;
}

/* Panel deslizante */
.dv-mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: #fff;
    z-index: 200;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.dv-mobile-nav.is-open { transform: translateX(0); }

.dv-mobile-nav-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.2rem;
}

/* Top bar dentro del panel */
.dv-mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(17, 94, 89, 0.1);
    margin-bottom: 1.2rem;
}
.dv-mobile-nav-brand {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dm-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dv-mobile-nav-brand i { color: var(--brand-1, var(--dm-accent)); }
.dv-mobile-nav-close {
    width: 36px;
    height: 36px;
    background: #f5f1ea;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--dm-primary);
    display: grid;
    place-items: center;
    transition: background 0.2s;
}
.dv-mobile-nav-close:hover { background: #ebe4d8; }

/* Links de navegación */
.dv-mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}
.dv-mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
    color: var(--dm-primary);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.18s;
}
.dv-mobile-nav-links a:hover,
.dv-mobile-nav-links a:active { background: rgba(17, 94, 89, 0.07); }
.dv-mobile-nav-links a i {
    width: 22px;
    text-align: center;
    color: var(--brand-1, var(--dm-accent));
    font-size: 0.95rem;
}

/* CTAs al fondo del panel */
.dv-mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(17, 94, 89, 0.1);
    margin-top: 1.2rem;
}

/* Ocultar texto en botones del header en pantallas muy pequeñas */
@media (max-width: 480px) {
    .dv-hide-sm { display: none; }
}

/* Mostrar hamburguesa en móvil/tablet */
@media (max-width: 900px) {
    .dv-hamburger { display: flex; }
    .market-header-nav { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   MEJORAS GENERALES MOBILE
   ══════════════════════════════════════════════════════════════════════ */

/* Header: en móvil reducir padding y tamaño logo */
@media (max-width: 640px) {
    .market-header-main { padding: 0.65rem 0; }
    .brand-mark { width: 46px; height: 46px; font-size: 1rem; }
    .brand-copy strong { font-size: 0.9rem; }
    .brand-copy span { display: none; }
    .header-search-box { min-height: 46px; padding: 0.25rem 0.35rem 0.25rem 0.75rem; }
}

/* Secciones: padding vertical en móvil */
@media (max-width: 640px) {
    .section { padding-top: 1.8rem !important; padding-bottom: 1.8rem !important; }
}

/* Cards de destino: altura reducida en móvil */
@media (max-width: 480px) {
    a.dv-dest-card,
    #feat-carousel-wrap a.feat-inf-card { height: 200px !important; }
}

/* Benefit strip: centrado y wrap en móvil */
@media (max-width: 600px) {
    .benefit-strip { flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
    .benefit-pill { font-size: 0.76rem; padding: 0.28rem 0.65rem; }
}

/* Footer: padding extra para safe-area iOS */
@media (max-width: 768px) {
    .footer {
        padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)) !important;
    }
}

/* CTA banner: apilar en móvil */
@media (max-width: 600px) {
    .cta-banner {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem !important;
        padding: 1.6rem 1rem !important;
    }
    .cta-banner .btn { width: 100%; justify-content: center; }
}

/* ── Floating WhatsApp button ── */
.dv-wa-float {
    position: fixed;
    bottom: calc(1.4rem + env(safe-area-inset-bottom));
    right: 1.2rem;
    z-index: 90;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.dv-wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
@media (max-width: 640px) {
    .dv-wa-float { width: 48px; height: 48px; font-size: 1.3rem; }
}

/* ═══════════════════════════════════════════════════════════════
   PANEL PENDING BANNER
═══════════════════════════════════════════════════════════════ */
.panel-pending-banner {
    background: linear-gradient(90deg, var(--dm-accent) 0%, #d6975b 100%);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 120;
    box-shadow: 0 2px 12px rgba(199,125,74,0.35);
}

.panel-pending-banner__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.panel-pending-banner__icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.panel-pending-banner__copy {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.panel-pending-banner__copy strong {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.panel-pending-banner__copy span {
    font-size: 0.82rem;
    opacity: 0.88;
    line-height: 1.4;
}

.panel-pending-banner__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.panel-pending-banner__btn {
    background: #fff !important;
    color: var(--dm-accent) !important;
    border-color: transparent !important;
    font-size: 0.85rem !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: 50px !important;
}

.panel-pending-banner__btn:hover {
    background: #fff8f2 !important;
}

.panel-pending-banner__link {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.panel-pending-banner__link:hover { color: #fff; }

.panel-pending-banner__sent {
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ── Locked tab styles ──────────────────────────────────────── */
.provider-tab-link.is-locked {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgba(240, 237, 232, 0.7);
}

.provider-tab-link.is-locked .provider-tab-link-icon {
    background: rgba(0,0,0,0.06);
}

.provider-tab-link.is-locked .provider-tab-link-icon i {
    color: #aaa;
}

/* ── Locked screen ──────────────────────────────────────────── */
.panel-locked-screen {
    text-align: center;
    padding: 4rem 2rem !important;
    background: #faf8f5;
    border: 2px dashed rgba(199,125,74,0.25);
    border-radius: 24px;
}

.panel-locked-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    filter: grayscale(0.3);
}

.panel-locked-screen h2 {
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--brand-5);
    margin: 0 0 0.75rem;
    font-weight: 700;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.panel-locked-screen p {
    color: var(--text-soft);
    max-width: 380px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.65;
}

@media (max-width: 700px) {
    .panel-pending-banner__inner {
        padding: 0.7rem 1rem;
        gap: 0.7rem;
    }
    .panel-pending-banner__copy span { display: none; }
    .panel-pending-banner__actions { flex-wrap: wrap; gap: 0.5rem; }
}

/* === BANNERS === */
.dv-ad-section {
    background: var(--dm-bg, #f9f6f1);
    border-top: 1px solid var(--dm-border, #e8e0d5);
    border-bottom: 1px solid var(--dm-border, #e8e0d5);
    padding: 1rem 0;
}
.dv-ad-banner {
    position: relative;
    border: 1px solid var(--dm-border, #e8e0d5);
    border-radius: 16px;
    background: var(--dm-surface, #ffffff);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(22,63,59,0.05);
}
.dv-ad-label {
    position: absolute;
    top: .35rem; right: .6rem;
    font-size: .55rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(160,144,128,.6);
    background: rgba(255,255,255,.7);
    padding: .1rem .35rem;
    border-radius: 4px;
}
.dv-ad-leaderboard {
    height: 90px;
    display: flex; align-items: center;
}
.dv-ad-inline {
    min-height: 80px;
    display: flex; align-items: center;
}
.dv-ad-placeholder {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 0 1.5rem; width: 100%;
    color: #a09080;
}
.dv-ad-placeholder i { font-size: 1.6rem; opacity: .4; flex-shrink: 0; }
.dv-ad-placeholder strong { display: block; font-size: .85rem; color: #6b5e52; font-weight: 800; }
.dv-ad-placeholder span { display: block; font-size: .72rem; margin-top: .1rem; }
.dv-ad-banner.has-ad .dv-ad-placeholder { display: none; }
@media (max-width: 640px) {
    .dv-ad-leaderboard { height: auto; min-height: 60px; }
    .dv-ad-placeholder strong { font-size: .78rem; }
    .dv-ad-placeholder span { display: none; }
}
