.branch-page {
    background: #f7f4ee;
    color: #2a2926;
}

.branch-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.branch-hero {
    display: flex;
    min-height: 430px;
    align-items: center;
    padding: 120px 0 70px;
    box-sizing: border-box;
    color: #fff;
    background:
        radial-gradient(circle at 78% 25%, rgba(255, 221, 157, 0.18), transparent 28%),
        linear-gradient(135deg, #3d1715 0%, #761f1e 58%, #9f2927 100%);
}

.branch-eyebrow,
.branch-kicker {
    margin-bottom: 14px;
    color: #b51316;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.branch-eyebrow {
    color: #f4c99c;
}

.branch-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -3px;
}

.branch-intro {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 20px;
    line-height: 1.7;
    letter-spacing: -0.5px;
}

.branch-map-section,
.branch-list-section {
    padding: 110px 0;
}

.branch-list-section {
    padding-top: 20px;
}

.branch-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.branch-map-section h2,
.branch-list-section h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -2px;
}

.location-btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid #b51316;
    border-radius: 999px;
    color: #b51316;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.location-btn:hover {
    color: #fff;
    background: #b51316;
}

.location-icon {
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
    box-shadow: inset 0 0 0 4px #fff;
    background: currentColor;
}

.branch-map-wrap {
    overflow: hidden;
    border: 1px solid rgba(61, 23, 21, 0.12);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(61, 23, 21, 0.08);
}

#branch-map {
    width: 100%;
    height: 560px;
    background: #ebe7df;
}

.map-message {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
}

.map-message strong {
    font-size: 20px;
}

.map-message span {
    color: #77736c;
    font-size: 15px;
}

.location-status {
    min-height: 22px;
    padding: 14px 22px;
    box-sizing: border-box;
    color: #6a665f;
    font-size: 14px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 36px;
}

.branch-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 30px;
    border: 1px solid rgba(61, 23, 21, 0.10);
    border-radius: 22px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 12px 36px rgba(61, 23, 21, 0.05);
}

.branch-card.is-upcoming {
    border-color: rgba(181, 19, 22, 0.35);
    background: linear-gradient(155deg, #fff 56%, #fff3ed 100%);
}

.branch-card-top {
    display: flex;
    min-height: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 22px;
}

.branch-number {
    color: #b51316;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}

.branch-status,
.info-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    color: #fff;
    background: #b51316;
    font-size: 12px;
    font-weight: 700;
}

.branch-card h3 {
    margin-bottom: 14px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -1px;
}

.branch-card h3 a {
    color: inherit;
}

.branch-address {
    min-height: 52px;
    color: #6b675f;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.3px;
}

.branch-phone {
    width: fit-content;
    margin-top: 20px;
    color: #2a2926;
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.branch-detail-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 22px;
    color: #b51316;
    font-size: 15px;
    font-weight: 700;
}

.branch-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
}

.branch-actions a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #ded9d1;
    border-radius: 10px;
    box-sizing: border-box;
    color: #4b4842;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.branch-actions a:hover {
    border-color: #b51316;
    color: #b51316;
}

.branch-map-marker {
    position: relative;
    display: flex;
    width: 44px;
    height: 52px;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
    border: 0;
    color: #fff;
    background: #b51316;
    clip-path: polygon(50% 100%, 0 42%, 0 0, 100% 0, 100% 42%);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.24));
}

.branch-map-marker.upcoming {
    background: #d8792e;
}

.branch-info-window {
    width: 240px;
    padding: 20px;
    border: 1px solid rgba(61, 23, 21, 0.14);
    border-radius: 15px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.branch-info-window .info-status {
    margin-bottom: 10px;
}

.branch-info-window strong {
    display: block;
    margin-bottom: 8px;
    color: #2a2926;
    font-size: 18px;
}

.branch-info-window p {
    margin-bottom: 12px;
    color: #6b675f;
    font-size: 13px;
    line-height: 1.5;
}

.branch-info-window a {
    color: #b51316;
    font-size: 13px;
    font-weight: 700;
}

.current-location-marker {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-sizing: border-box;
    background: rgba(35, 119, 255, 0.22);
    box-shadow: 0 0 0 1px rgba(35, 119, 255, 0.25);
}

.current-location-marker i {
    position: absolute;
    top: 9px;
    left: 9px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-sizing: border-box;
    background: #2377ff;
}

.store-detail-hero {
    display: flex;
    min-height: 560px;
    align-items: center;
    padding: 118px 0 76px;
    box-sizing: border-box;
    color: #fff;
    background:
        radial-gradient(circle at 78% 25%, rgba(255, 221, 157, 0.18), transparent 28%),
        linear-gradient(135deg, #3d1715 0%, #761f1e 58%, #9f2927 100%);
}

.branch-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 52px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.branch-breadcrumb a,
.branch-breadcrumb span {
    color: inherit;
}

.store-detail-hero h1 {
    max-width: 850px;
    margin-bottom: 22px;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -3px;
}

.store-hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 34px;
}

.store-hero-actions a {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.store-hero-actions .store-primary-btn {
    border-color: #fff;
    color: #761f1e;
    background: #fff;
}

.store-answer-section,
.store-map-section,
.store-faq-section,
.store-other-section {
    padding: 100px 0;
}

.store-answer-section,
.store-faq-section {
    background: #fff;
}

.store-answer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    gap: 80px;
    align-items: start;
}

.store-answer-section h2,
.store-map-section h2,
.store-faq-section h2,
.store-other-section h2 {
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -2px;
}

.store-answer-copy {
    max-width: 690px;
    margin-top: 26px;
    color: #6b675f;
    font-size: 18px;
    line-height: 1.85;
}

.store-facts {
    overflow: hidden;
    border: 1px solid rgba(61, 23, 21, 0.12);
    border-radius: 22px;
    background: #f7f4ee;
}

.store-facts div {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(61, 23, 21, 0.1);
}

.store-facts div:last-child {
    border-bottom: 0;
}

.store-facts dt {
    color: #8c867d;
    font-size: 14px;
    font-weight: 700;
}

.store-facts dd,
.store-facts a {
    color: #2a2926;
    font-size: 15px;
    line-height: 1.6;
}

.store-map-address {
    margin-top: 18px;
    color: #6b675f;
    font-size: 18px;
}

.store-map-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.store-map-links a {
    display: flex;
    min-height: 118px;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(61, 23, 21, 0.12);
    border-radius: 18px;
    color: #2a2926;
    background: #fff;
}

.store-map-links strong {
    font-size: 20px;
}

.store-map-links span {
    color: #b51316;
    font-size: 14px;
    font-weight: 700;
}

.store-faq-list {
    display: grid;
    gap: 12px;
    margin-top: 38px;
}

.store-faq-list article {
    padding: 28px 30px;
    border: 1px solid rgba(61, 23, 21, 0.1);
    border-radius: 18px;
}

.store-faq-list h3 {
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.5;
}

.store-faq-list p {
    color: #6b675f;
    font-size: 16px;
    line-height: 1.75;
}

.store-all-link {
    color: #b51316;
    font-size: 15px;
    font-weight: 700;
}

.store-other-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.store-other-grid a {
    display: flex;
    min-width: 0;
    min-height: 104px;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    padding: 22px 24px;
    border: 1px solid rgba(61, 23, 21, 0.1);
    border-radius: 16px;
    box-sizing: border-box;
    color: #2a2926;
    background: #fff;
}

.store-other-grid strong {
    font-size: 18px;
}

.store-other-grid span {
    overflow: hidden;
    color: #77736c;
    font-size: 14px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.branch-footer {
    padding: 46px 0;
    color: rgba(255, 255, 255, 0.70);
    background: #2d1b19;
}

.branch-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.branch-footer img {
    width: 120px;
}

.branch-footer p,
.branch-footer a {
    color: inherit;
    font-size: 14px;
}

.branch-footer a {
    color: #fff;
    font-weight: 700;
}

@media (max-width: 980px) {
    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #branch-map {
        height: 500px;
    }

    .store-answer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 650px) {
    .branch-inner {
        width: min(calc(100% - 32px), 1180px);
    }

    .branch-hero {
        min-height: 350px;
        padding: 100px 0 56px;
    }

    .branch-hero h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .branch-intro {
        font-size: 17px;
    }

    .branch-map-section,
    .branch-list-section {
        padding: 74px 0;
    }

    .branch-list-section {
        padding-top: 0;
    }

    .branch-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .location-btn {
        width: 100%;
    }

    .branch-map-wrap {
        border-radius: 18px;
    }

    #branch-map {
        height: 430px;
    }

    .branch-grid {
        grid-template-columns: 1fr;
    }

    .branch-card {
        min-height: 310px;
        padding: 26px 22px;
    }

    .branch-card h3 {
        font-size: 25px;
    }

    .branch-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .store-detail-hero {
        min-height: 520px;
        padding: 100px 0 62px;
    }

    .branch-breadcrumb {
        margin-bottom: 38px;
    }

    .store-detail-hero h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .store-hero-actions,
    .store-map-links {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .store-hero-actions a {
        width: 100%;
        box-sizing: border-box;
    }

    .store-answer-section,
    .store-map-section,
    .store-faq-section,
    .store-other-section {
        padding: 72px 0;
    }

    .store-other-section .branch-section-head {
        gap: 16px;
    }

    .store-other-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
