/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author    PrestaShop SA
* @copyright 2007-2026 PrestaShop SA
* @license   http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/

.tvstoremap-front {
    --tvstoremap-surface: #ffffff;
    --tvstoremap-surface-soft: #f5f9fc;
    --tvstoremap-border: #dbe7ef;
    --tvstoremap-text: #13283d;
    --tvstoremap-muted: #6c8194;
    --tvstoremap-primary: #3f6ddf;
    --tvstoremap-accent: #e9f2ff;
    --tvstoremap-shadow: 0 18px 45px rgba(18, 40, 61, 0.08);
    margin: 24px 0;
}

.tvstoremap-layout {
    display: grid;
    grid-template-columns: 324px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.tvstoremap-sidebar,
.tvstoremap-canvas-card {
    background: var(--tvstoremap-surface);
    border: 1px solid var(--tvstoremap-border);
    border-radius: 18px;
    box-shadow: var(--tvstoremap-shadow);
    overflow: hidden;
}

.tvstoremap-results-card {
    border-bottom: 1px solid var(--tvstoremap-border);
    background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.tvstoremap-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 12px;
}

.tvstoremap-results-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tvstoremap-results-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tvstoremap-muted);
}

.tvstoremap-results-count {
    font-size: 15px;
    font-weight: 800;
    color: var(--tvstoremap-text);
}

.tvstoremap-results-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tvstoremap-search-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--tvstoremap-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(18, 40, 61, 0.06);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tvstoremap-search-toggle:hover {
    transform: translateY(-1px);
    border-color: #bfd2e8;
    box-shadow: 0 10px 20px rgba(18, 40, 61, 0.1);
}

.tvstoremap-search-toggle-icon {
    position: relative;
    width: 15px;
    height: 15px;
    border: 2px solid #1f3047;
    border-radius: 50%;
}

.tvstoremap-search-toggle-icon:after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -5px;
    width: 7px;
    height: 2px;
    background: #1f3047;
    border-radius: 999px;
    transform: rotate(45deg);
    transform-origin: center;
}

.tvstoremap-live-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 32px;
    padding: 0 13px;
    border-radius: 999px;
    background: #1f9d68;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.tvstoremap-search-panel {
    padding: 0 16px 14px;
}

.tvstoremap-search {
    width: 100%;
    height: 42px;
    border: 1px solid var(--tvstoremap-border);
    border-radius: 14px;
    padding: 0 14px;
    background: #fff;
    color: var(--tvstoremap-text);
    font-size: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tvstoremap-search:focus {
    outline: none;
    border-color: #aec4e7;
    box-shadow: 0 0 0 3px rgba(63, 109, 223, 0.12);
}

.tvstoremap-list {
    max-height: 520px;
    overflow-y: auto;
    padding: 10px;
}

.tvstoremap-list::-webkit-scrollbar {
    width: 6px;
}

.tvstoremap-list::-webkit-scrollbar-thumb {
    background: #4c5ee1;
    border-radius: 999px;
}

.tvstoremap-list::-webkit-scrollbar-track {
    background: #edf3f8;
    border-radius: 999px;
}

.tvstoremap-list-item {
    position: relative;
    width: 100%;
    display: block;
    text-align: left;
    margin-bottom: 10px;
    padding: 16px 16px 14px;
    border: 1px solid #e6eef5;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 12px 24px rgba(19, 40, 61, 0.05);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tvstoremap-list-item:last-child {
    margin-bottom: 0;
}

.tvstoremap-list-item:hover,
.tvstoremap-list-item.is-active {
    transform: translateY(-1px);
    border-color: #c7d8ef;
    box-shadow: 0 16px 32px rgba(19, 40, 61, 0.09);
}

.tvstoremap-list-item.is-active {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.tvstoremap-list-item-arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #7c91a6;
    font-size: 16px;
    line-height: 1;
}

.tvstoremap-list-type,
.tvstoremap-list-title,
.tvstoremap-list-location {
    display: block;
}

.tvstoremap-list-type {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-bottom: 10px;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--tvstoremap-accent);
    color: #4b86c5;
    font-size: 12px;
    font-weight: 700;
}

.tvstoremap-list-title {
    padding-right: 28px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--tvstoremap-text);
}

.tvstoremap-list-location {
    margin-top: 8px;
    color: #54697b;
    font-size: 13px;
    line-height: 1.45;
}

.tvstoremap-canvas-card {
    padding: 10px;
    align-self: stretch;
}

#tvmap-show,
.tvstoremap-canvas {
    width: 100%;
    height: 100%;
    min-height: 520px;
    border-radius: 16px;
    overflow: hidden;
}

.gm-style .gm-style-iw-c {
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    max-width: max-content !important;
    max-height: 501px !important;
    min-width: 0 !important;
    padding-bottom: 12px !important;
}

.gm-style .gm-style-iw-d {
    overflow-y: auto;
    overflow-x: hidden !important;
}

.gm-ui-hover-effect > span {
    width: 22px !important;
    height: 22px !important;
}

.gm-ui-hover-effect {
    opacity: 1;
    right: 6px !important;
    top: 0 !important;
}

.gm-ui-hover-effect:focus {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.tvmap-type {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f2fbfd;
    color: #24b9d7;
    font-size: 12px;
    font-weight: 700;
}

.tv_store_desc {
    display: block;
}

.tv_store_dialog {
    min-width: 250px;
    max-width: 320px;
    padding: 4px 2px 2px;
    color: #16304a;
}

.tvmap-title {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    color: #1a2f45;
}

.tv_store_desc .tvmap_block {
    margin-bottom: 10px;
}

.tv_store_desc .tvmap-address {
    font-size: 14px;
    line-height: 1.55;
    color: #516579;
}

.tvmap-meta-label,
.tv_store_desc .tvmap-schedule-time-title {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7b8ea1;
}

.tv_store_desc .tvmap-contact a,
.tv_store_desc .tvmap-email a,
.tv_store_desc .tvmap-website a {
    display: inline-block;
    color: #3f6ddf;
    font-size: 14px;
    line-height: 1.45;
    word-break: break-word;
}

.tv_store_desc .tvmap-website a {
    text-decoration: underline;
}


.tv_store_desc .tvmap-schedule-time {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid #ebf0f4;
}

.tv_store_desc .tvmap-opentime span {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #4e6275;
    white-space: pre-line;
}

.tv_store_desc .tvmap-richtext {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #5c6e7e;
}

.tv_store_desc .tvmap-richtext p:last-child {
    margin-bottom: 0;
}

.tvinfo-direction {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #ebf0f4;
    text-align: center;
}

.tvinfo-direction a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: #eef4ff;
    color: #4f89cb;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .tvstoremap-layout {
        grid-template-columns: 292px minmax(0, 1fr);
    }
}

@media (max-width: 991px) {
    .tvstoremap-layout {
        grid-template-columns: 1fr;
    }

    .tvstoremap-list {
        max-height: 320px;
    }

    #tvmap-show,
    .tvstoremap-canvas {
        min-height: 440px;
    }
}
