/* Stores page — Gran-Hok, layout close to bel-memorial /magaziny/ */

.gh-stores {
    --gh-teal: #257785;
    --gh-teal-hover: #1d6270;
    --gh-teal-soft: #e7f3f5;
    --gh-text: #4e5b6d;
    --gh-muted: #8a94a3;
    --gh-border: #e8eaed;
    --gh-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 15px 64px;
    font-family: var(--gh-font);
    color: #111;
}

.gh-stores *,
.gh-store-dialog * {
    box-sizing: border-box;
}

.gh-stores__crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 18px;
    font-size: 14px;
    color: var(--gh-muted);
}

.gh-stores__crumbs a {
    color: var(--gh-teal);
    text-decoration: none;
}

.gh-stores__crumbs a:hover {
    color: var(--gh-teal-hover);
}

.gh-stores__title {
    margin: 0 0 28px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
}

.gh-stores__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.gh-stores__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--gh-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.gh-stores__photo {
    position: relative;
    display: block;
    width: 100%;
    height: 210px;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #d7e6ea;
    cursor: pointer;
}

.gh-stores__mini-map {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

.gh-stores__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.gh-stores__tag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1100;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--gh-teal);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
}

.gh-stores__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 18px 16px;
    background: var(--gh-teal-soft);
    flex: 1 1 auto;
}

.gh-stores__address {
    appearance: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: #111;
}

.gh-stores__address strong {
    font-weight: 700;
}

.gh-stores__note {
    display: block;
    margin-top: 4px;
    color: var(--gh-text);
    font-size: 14px;
    font-weight: 400;
}

.gh-stores__hours {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: var(--gh-teal);
    font-size: 14px;
    line-height: 1.45;
}

.gh-stores__hours svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 16px;
}

.gh-stores__hours span span {
    display: block;
}

.gh-stores__bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.gh-stores__phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gh-stores__phones a {
    color: #111;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.gh-stores__phones a:hover {
    color: var(--gh-teal);
}

.gh-stores__about {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 0;
    border-radius: 10px;
    background: var(--gh-teal);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.gh-stores__about:hover {
    background: var(--gh-teal-hover);
}

.gh-stores__card.is-active {
    box-shadow: 0 12px 32px rgba(37, 119, 133, 0.18);
    border-color: #b7d5db;
}

.gh-stores__map-section {
    margin-top: 48px;
}

.gh-stores__map-title {
    margin: 0 0 16px;
    font-size: 28px;
    font-weight: 700;
}

.gh-stores__map {
    width: 100%;
    height: 460px;
    overflow: hidden;
    border-radius: 18px;
    background: #d7e6ea;
}

.gh-stores__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.gh-stores__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding: 28px 32px;
    border-radius: 18px;
    background: #1c6b79;
    color: #fff;
}

.gh-stores__cta-label {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}

.gh-stores__cta-text {
    margin: 0;
    color: #d3e7eb;
    font-size: 15px;
    line-height: 1.45;
}

.gh-stores__cta-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.gh-stores__cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.gh-stores__cta-phone svg {
    width: 18px;
    height: 18px;
}

.gh-stores__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 10px;
    background: #32a7ba;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.gh-stores__cta-btn:hover {
    background: #2b93a4;
}

.gh-store-dialog {
    width: min(920px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
}

.gh-store-dialog::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.gh-store-dialog__panel {
    position: relative;
    padding: 28px 28px 24px;
    background: #fff;
    border-radius: 18px;
}

.gh-store-dialog__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--gh-teal-soft, #e7f3f5);
    color: #111;
    cursor: pointer;
}

.gh-store-dialog__close svg {
    width: 18px;
    height: 18px;
}

.gh-store-dialog__tag {
    margin: 0 0 8px;
    color: var(--gh-teal, #257785);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gh-store-dialog__title {
    margin: 0 36px 8px 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.gh-store-dialog__note {
    margin: 0 0 20px;
    color: var(--gh-text, #4e5b6d);
}

.gh-store-dialog__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.gh-store-dialog__subtitle {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
}

.gh-store-dialog__schedule {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gh-store-dialog__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gh-border, #e8eaed);
    font-size: 14px;
}

.gh-store-dialog__row span:last-child {
    color: var(--gh-teal, #257785);
    font-weight: 600;
    white-space: nowrap;
}

.gh-store-dialog__line {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0 0 14px;
    font-size: 15px;
}

.gh-store-dialog__line span:first-child {
    color: var(--gh-muted, #8a94a3);
    font-size: 13px;
}

.gh-store-dialog__line a {
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.gh-store-dialog__line a:hover {
    color: var(--gh-teal, #257785);
}

.gh-store-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.gh-store-dialog__route,
.gh-store-dialog__map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.gh-store-dialog__route {
    background: var(--gh-teal, #257785);
    color: #fff;
}

.gh-store-dialog__route svg {
    width: 16px;
    height: 16px;
}

.gh-store-dialog__map {
    border: 1px solid var(--gh-teal, #257785);
    background: #fff;
    color: var(--gh-teal, #257785);
}

@media (max-width: 991px) {
    .gh-stores__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .gh-stores__title {
        font-size: 30px;
    }

    .gh-stores__cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .gh-stores__cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .gh-stores__map {
        height: 360px;
    }

    .gh-store-dialog__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .gh-stores {
        padding: 4px 12px 48px;
    }

    .gh-stores__photo {
        height: 190px;
    }

    .gh-stores__cta-phone {
        justify-content: center;
    }
}
