/* Force Directory-like Header for New Store Page */
.new-store-page header {
    background: rgba(250, 250, 248, 0.98) !important;
    box-shadow: 0 4px 20px rgba(44, 95, 93, 0.08) !important;
    backdrop-filter: blur(30px) !important;
    padding: 15px 40px !important;
}

body.dark-mode .new-store-page header {
    background: rgba(26, 31, 30, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.new-store-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

:root {
    --text-dark: #2c3e50;
    --primary-color: #2c5f5d;
    --secondary-color: #5a7c7a;
    --accent-color: #8ba9a7;
    --bg-light: #fafaf8;
    --bg-dark: #1a1f1e;
    --primary-gradient: linear-gradient(135deg, #2c5f5d 0%, #1a3a38 100%);
    --secondary-gradient: linear-gradient(135deg, #7d9d9c 0%, #5a7c7a 100%);
    --accent-gradient: linear-gradient(135deg, #a8c5c3 0%, #8ba9a7 100%);
}

/* New Store Main Layout */
.new-store-main {
    padding-top: 80px;
    min-height: 100vh;
}

/* Promo Hero Banner (Synchronized with Promotion Page) */
.promo-hero-banner {
    background: var(--primary-gradient);
    padding: 100px 2.5rem 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0;
}

.promo-hero-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.06) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* .promo-hero-banner::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-light);
    clip-path: ellipse(55% 100% at 50% 100%);
} */

/* body.dark-mode .promo-hero-banner::after {
    background: var(--bg-dark);
} */

.promo-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.promo-hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 14px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.promo-hero-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    line-height: 1.15;
}

.promo-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-bottom: 28px;
    line-height: 1.6;
}

.promo-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 9px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.promo-hero-back:hover {
    color: white;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-4px);
}

.promo-hero-back svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.promo-hero-back:hover svg {
    transform: translateX(-3px);
}

/* Float Animation */
.promo-hero-banner::after {
    animation: heroPulse 6s ease-in-out infinite alternate;
}

@keyframes heroPulse {
    from {
        transform: scale(1) translate(0, 0);
        opacity: 0.4;
    }
    to {
        transform: scale(1.2) translate(-30px, 20px);
        opacity: 0.08;
    }
}

/* 3-Column Grid (Optimized for space) */
.new-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 2.5rem;
    padding: 0 4rem 10rem;
    max-width: 1500px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .new-store-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 3rem 8rem;
    }
}

@media (max-width: 768px) {
    .new-store-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem 6rem;
    }
    .promo-hero-banner {
        padding: 90px 1.5rem 55px;
    }
}

/* Transition for Cards */
.stagger-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Reveal Fix */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.tenant-card {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    opacity: 1 !important;
    transform: none !important;
}

body.dark-mode .tenant-card {
    background: rgba(40, 40, 40, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
}

.tenant-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(44, 95, 93, 0.15);
}

.tenant-logo {
    height: 180px; /* Synchronized larger height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 30px;
    position: relative;
}

body.dark-mode .tenant-logo {
    background: rgba(255, 255, 255, 0.05);
}

.tenant-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tenant-card:hover .tenant-logo img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.tenant-info {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.floor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e6ca 100%);
    color: #2c5f5d;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(245, 245, 220, 0.3);
}

.tenant-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 700;
}

body.dark-mode .tenant-info h3 {
    color: #e0e0e0;
}

.tenant-category {
    font-size: 13px;
    color: #6a7a78;
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tenant-category svg {
    width: 14px;
    height: 14px;
    fill: #f5f5dc;
}

.tenant-meta {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .tenant-meta {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.meta-item svg {
    width: 12px;
    height: 12px;
    fill: #f5f5dc;
}

.see-details-btn {
    margin-top: 18px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e6ca 100%);
    border: none;
    color: #2c5f5d;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 245, 220, 0.25);
    position: relative;
    overflow: hidden;
}

.see-details-btn:hover {
    background: linear-gradient(135deg, #e8e6ca 0%, #d6d4b6 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 245, 220, 0.4);
}


/* Tenant Modal (Standardized Sync) */
.tenant-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tenant-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark-mode .modal-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tenant-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

body.dark-mode .modal-container {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Modal Action Buttons */
.modal-close-btn,
.favorite-btn,
.share-btn {
    position: absolute;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-close-btn {
    top: 15px;
    right: 15px;
}
.favorite-btn {
    top: 15px;
    left: 15px;
}
.share-btn {
    top: 15px;
    left: 67px;
}

.modal-close-btn svg {
    width: 20px;
    height: 20px;
    stroke: #1a1a1a;
    stroke-width: 2.5;
}
.favorite-btn svg {
    width: 22px;
    height: 22px;
    fill: #999;
}
.favorite-btn.active svg {
    fill: #ff4757;
}
.share-btn svg {
    width: 20px;
    height: 20px;
    stroke: #2c5f5d;
    stroke-width: 2.5;
}

body.dark-mode .modal-close-btn,
body.dark-mode .favorite-btn,
body.dark-mode .share-btn {
    background: rgba(30, 30, 30, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .modal-close-btn svg {
    stroke: #fff;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 2001;
    transform: scale(0.9) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tenant-modal.active .modal-container {
    transform: scale(1) translateY(0);
}

body.dark-mode .modal-container {
    background: #1a1a1a;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 90vh;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .modal-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
}

.modal-carousel,
.modal-map-view-container {
    position: relative;
    background: #f8f9fa;
    max-height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

body.dark-mode .modal-carousel,
body.dark-mode .modal-map-view-container {
    background: rgba(40, 40, 40, 0.8);
}

.carousel-images {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-image {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* Vertical Center */
    justify-content: center; /* Horizontal Center */
    padding: 20px;
    background: #f8f9fa;
}

body.dark-mode .carousel-image {
    background: #1a1a1a;
}

.carousel-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    z-index: 10;
}

.modal-carousel:hover .carousel-nav { opacity: 1; }

.carousel-nav.prev { left: 20px; }
.carousel-nav.next { right: 20px; }

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.modal-details {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

@media (max-width: 768px) {
    .modal-details {
        padding: 30px 20px;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-logo {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

body.dark-mode .modal-logo {
    background: #2a2a2a;
}

.modal-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

body.dark-mode .modal-title h2 { color: #fff; }

.modal-floor-badge {
    display: inline-flex;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f5f5dc 0%, #e8e6ca 100%);
    color: #2c5f5d;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-category {
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-info {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-info-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(44, 95, 93, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modal-info-item.highlight {
    background: #2c5f5d;
    color: white;
}

.modal-info-item.highlight svg { stroke: white; }
.modal-info-item.highlight .info-label,
.modal-info-item.highlight .info-value { color: white; }

.modal-description {
    line-height: 1.8;
    color: #5a5a5a;
    padding: 20px;
    background: rgba(44, 95, 93, 0.03);
    border-radius: 12px;
    border-left: 4px solid #f5f5dc;
}

body.dark-mode .modal-description { color: #ccc; }

.modal-map-view-container {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .modal-map-header {
    background: #1e1e1e;
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.modal-map-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #2c5f5d;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

body.dark-mode .modal-map-back {
    background: #333;
    color: white;
}

.modal-map-wrapper {
    position: relative;
    width: 100%;
    flex: 1; /* Take remaining space */
    min-height: 350px;
    background: #f8f9fa;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    margin-top: 25px; /* Margin top added as requested */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.02);
}

body.dark-mode .modal-map-wrapper {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.05);
}

.map-marker-logo {
    position: absolute;
    width: 45px;
    height: 45px;
    z-index: 100;
    pointer-events: none;
    transform: translate(-50%, -100%); /* Tip points to coordinate */
}

.logo-pin {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border: 3px solid #f5f5dc;
    border-radius: 50% 50% 50% 0; /* Leaf shape pointing to center */
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -19px;
    margin-left: -19px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.dark-mode .logo-pin {
    background: #333;
    border-color: #2c5f5d;
}

.logo-pin img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transform: rotate(45deg); /* Counter-rotate logo to be upright */
}

.marker-pulse {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: #2c5f5d;
    border-radius: 50%;
    box-shadow: 0 0 10px #2c5f5d;
    animation: markerPulse 2s infinite;
}

@keyframes markerPulse {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    100% { transform: translateX(-50%) scale(3); opacity: 0; }
}

.map-floors {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.floor-btn {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floor-btn.active {
    background: #2c5f5d;
    color: white;
    border-color: #2c5f5d;
}

