/* Nut xem toan man hinh ban do Map4D o trang /he-thong-cua-hang/ (xem maps.php + store.js) -
   CSS rieng, KHONG dung chung bundle front de khong phai rebuild bundle 9 file. */

.storemaps-mapsplugin {
    position: relative;
}

.storemaps-fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: .375rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    color: #333;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease;
}

.storemaps-fullscreen-btn:hover {
    background: #f2f2f2;
}

.storemaps-fullscreen-btn:active {
    transform: scale(.94);
}

/* Fixed full-viewport, dieu khien boi JS toggle class (khong dung Fullscreen API cua browser -
   API do khong hoat dong voi element tuy y tren iOS Safari, chi <video> moi duoc ho tro). */
.storemaps-mapsplugin.is-map-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    z-index: 99999;
    padding: 0;
    background: #000;
}

.storemaps-mapsplugin.is-map-fullscreen #store__googlemaps {
    height: 100% !important;
    min-height: 0;
}

.storemaps-mapsplugin.is-map-fullscreen .storemaps-fullscreen-btn {
    top: 16px;
    right: 16px;
}

/* Khoa scroll nen trang khi dang xem ban do toan man hinh. */
body.map-fullscreen-lock {
    overflow: hidden;
}
