.mall-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(7, 7, 6, 0.1), #070706 72%),
        url("/assets/img/luxury-atrium.png") center top/cover fixed;
}

.mall-page::before {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 7, 6, 0.42), rgba(7, 7, 6, 0.93));
    content: "";
}

.mall-page > * {
    position: relative;
    z-index: 1;
}

.mall-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    width: min(var(--content-max), calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(38px, 6vw, 88px) 0 20px;
}

.mall-intro h1 {
    margin-bottom: 14px;
    font-size: clamp(3rem, 8vw, 7.2rem);
}

.mall-intro p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.mall-controls {
    display: flex;
    gap: 10px;
}

.icon-button {
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(7, 7, 6, 0.58);
    color: var(--gold-strong);
    cursor: pointer;
    font-size: 1.7rem;
    font-weight: 900;
    backdrop-filter: blur(14px);
}

.filters {
    width: min(var(--content-max), calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 24px;
}

.directory-screen {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
    gap: 18px;
    width: min(var(--content-max), calc(100% - 36px));
    margin: 0 auto;
    padding: 0 0 28px;
}

.directory-ad,
.floor-board,
.search-results {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(7, 7, 6, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.directory-ad {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(132, 51, 116, 0.42), rgba(7, 7, 6, 0.82)),
        linear-gradient(135deg, rgba(240, 210, 135, 0.18), transparent),
        rgba(7, 7, 6, 0.72);
}

.directory-ad h2 {
    margin-bottom: 18px;
}

.directory-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-bottom: 12px;
}

.directory-search input {
    min-height: 50px;
    background: rgba(248, 241, 228, 0.96);
}

.floor-board {
    overflow: hidden;
    padding: 10px 0;
}

.floor-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 100px;
    gap: 12px;
    align-items: center;
    min-height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(240, 210, 135, 0.12);
    color: var(--muted);
}

.floor-row strong {
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.floor-row span {
    font-weight: 900;
}

.floor-row small {
    justify-self: end;
}

.floor-row.active,
.floor-row:hover {
    color: #11100e;
    background: linear-gradient(90deg, rgba(240, 210, 135, 0.92), rgba(214, 178, 94, 0.58));
}

.search-results {
    width: min(var(--content-max), calc(100% - 36px));
    margin: 0 auto 28px;
    padding: 24px;
}

.mall-stage {
    overflow-x: auto;
    margin: 0;
    width: min(var(--content-max), calc(100% - 36px));
    margin: 0 auto;
    padding: 24px 0 88px;
    scroll-behavior: smooth;
}

.mall-stage::-webkit-scrollbar {
    height: 12px;
}

.mall-stage::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(214, 178, 94, 0.46);
}

.mall-skyline {
    display: grid;
    grid-template-columns: 320px minmax(460px, 1fr) 320px;
    min-width: 1040px;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(248, 241, 228, 0.07), rgba(214, 178, 94, 0.16), rgba(248, 241, 228, 0.07)),
        rgba(7, 7, 6, 0.62);
    backdrop-filter: blur(18px);
}

.panorama-map {
    min-width: 1040px;
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(248, 241, 228, 0.08), rgba(248, 241, 228, 0.02)),
        rgba(7, 7, 6, 0.7);
    box-shadow: var(--shadow);
}

.map-floor {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 58px;
    border-bottom: 1px solid rgba(240, 210, 135, 0.12);
}

.map-floor strong {
    color: var(--gold-strong);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.map-floor div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.map-floor a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 11px;
    border: 1px solid rgba(240, 210, 135, 0.24);
    border-radius: 999px;
    background: rgba(248, 241, 228, 0.06);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.mall-skyline span {
    display: grid;
    min-height: 78px;
    place-items: center;
    border-right: 1px solid rgba(214, 178, 94, 0.14);
    color: var(--gold-strong);
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mall-zone {
    min-width: 1040px;
    margin-bottom: 28px;
}

.zone-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.zone-title span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.zone-title small {
    color: var(--muted);
    font-weight: 800;
}

.mall-corridor {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(190px, 1fr));
    gap: 14px;
    min-height: 318px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(248, 241, 228, 0.07), rgba(248, 241, 228, 0.02)),
        linear-gradient(90deg, rgba(10, 10, 9, 0.86), rgba(44, 35, 20, 0.72) 45%, rgba(10, 10, 9, 0.86));
    box-shadow: inset 0 0 90px rgba(214, 178, 94, 0.12), var(--shadow);
}

.mall-corridor::after {
    position: absolute;
    right: 22px;
    bottom: 18px;
    left: 22px;
    height: 54px;
    background:
        linear-gradient(90deg, transparent, rgba(240, 210, 135, 0.18), transparent),
        repeating-linear-gradient(90deg, rgba(248, 241, 228, 0.08) 0 1px, transparent 1px 88px);
    content: "";
}

.mall-unit {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 270px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 16px;
    border: 1px solid rgba(240, 210, 135, 0.26);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(255, 252, 239, 0.15), rgba(255, 252, 239, 0.04)),
        linear-gradient(135deg, rgba(26, 24, 20, 0.96), rgba(72, 56, 29, 0.75));
    box-shadow: 0 22px 58px rgba(0, 0, 0, 0.36);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mall-unit::before {
    position: absolute;
    inset: 0 0 auto;
    height: 76px;
    background:
        linear-gradient(90deg, rgba(7, 7, 6, 0.94), rgba(214, 178, 94, 0.28), rgba(7, 7, 6, 0.94));
    content: "";
}

.mall-unit::after {
    position: absolute;
    inset: 80px 14px 96px;
    border: 1px solid rgba(248, 241, 228, 0.16);
    background: linear-gradient(135deg, rgba(248, 241, 228, 0.12), rgba(248, 241, 228, 0.025));
    content: "";
}

.mall-unit:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(240, 210, 135, 0.7);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.mall-unit.featured {
    border-color: rgba(240, 210, 135, 0.86);
}

.mall-unit.featured .unit-badge::after {
    content: " Destacada";
}

.mall-unit img {
    position: relative;
    z-index: 1;
    width: 86px;
    height: 86px;
    margin-top: 82px;
    border: 1px solid rgba(240, 210, 135, 0.26);
    border-radius: 8px;
    background: rgba(248, 241, 228, 0.94);
    object-fit: contain;
    padding: 10px;
}

.mall-unit strong,
.mall-unit small {
    position: relative;
    z-index: 1;
}

.mall-unit strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    line-height: 1.05;
}

.mall-unit small {
    color: var(--muted);
    line-height: 1.45;
}

.unit-badge {
    position: absolute;
    top: 18px;
    left: 16px;
    z-index: 2;
    color: var(--gold-strong);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.store-hero {
    position: relative;
    display: grid;
    min-height: 680px;
    align-items: end;
    padding: clamp(28px, 5vw, 76px);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 7, 6, 0.92), rgba(7, 7, 6, 0.5) 55%, rgba(7, 7, 6, 0.18)),
        linear-gradient(180deg, rgba(7, 7, 6, 0.05), rgba(7, 7, 6, 0.85)),
        var(--banner) center/cover;
}

.store-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-strong), transparent);
    content: "";
}

.store-identity {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 138px minmax(0, 820px);
    gap: 26px;
    align-items: center;
}

.store-identity img {
    width: 138px;
    height: 138px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(248, 241, 228, 0.92);
    object-fit: contain;
    padding: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.store-identity h1 {
    font-size: clamp(3rem, 7vw, 7rem);
}

.store-identity p {
    max-width: 720px;
    color: rgba(255,255,255,0.76);
    line-height: 1.7;
}

.contact-bar {
    position: relative;
    z-index: 1;
    margin-top: 24px;
}

.payment-note {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.product-card {
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 241, 228, 0.1), rgba(248, 241, 228, 0.035));
}

.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #17130d;
}

.product-card div {
    padding: 20px;
}

.product-card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    font-weight: 500;
}

.product-card p {
    min-height: 58px;
    color: var(--muted);
    line-height: 1.55;
}

.product-card strong {
    color: var(--gold-strong);
    font-size: 1.1rem;
}

@media (max-width: 820px) {
    .mall-intro {
        grid-template-columns: 1fr;
    }

    .directory-screen {
        grid-template-columns: 1fr;
    }

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

    .store-identity {
        grid-template-columns: 1fr;
    }
}
