.coso-map-empty[hidden],
.coso-province-panel[hidden],
.coso-combo-menu[hidden],
.coso-map-box iframe[hidden] {
    display: none !important;
}

.coso-footer {
    background: #161616;
    color: #fff;
    padding: 2.75rem 0 3rem;
}

.coso-footer-title {
    text-align: center;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 1.35rem;
    text-transform: none;
}

.coso-province-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.coso-province-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: #6d7178;
    color: #fff;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.coso-province-btn i {
    font-size: 12px;
    transition: transform .2s ease;
}

.coso-province-btn.is-open {
    background: #e01119;
}

.coso-province-btn.is-open i {
    transform: rotate(180deg);
}

.coso-province-panel {
    margin-top: 16px;
}

.coso-card {
    height: 100%;
    background: #fff;
    color: #222;
    border-radius: 16px;
    padding: 22px 18px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.coso-card h3 {
    margin: 0 0 8px;
    color: #1d1d1d;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.coso-card-address,
.coso-card-phone,
.coso-card-person {
    margin: 0 0 6px;
    font-size: .92rem;
    line-height: 1.45;
}

.coso-card-address {
    color: #8d8d8d;
}

#footer .coso-card-phone a,
.coso-card-phone a {
    color: #333;
}

.coso-card-person {
    color: #555;
}

#footer a.coso-card-map,
a.coso-card-map {
    display: block;
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f8ecec;
    color: #d7a3a3;
    text-align: center;
    font-weight: 600;
}

#footer a.coso-card-map:hover,
a.coso-card-map:hover {
    background: #f3dfdf;
    color: #c48989;
}

.coso-footer-action {
    text-align: center;
    margin-top: 22px;
}

#footer a.coso-all-btn,
a.coso-all-btn {
    display: inline-block;
    background: #e01119;
    color: #fff;
    border-radius: 8px;
    padding: 11px 22px;
    font-weight: 700;
}

#footer a.coso-all-btn:hover,
a.coso-all-btn:hover {
    background: #c40e15;
    color: #fff;
}

.coso-page {
    padding: 2.5rem 0 4rem;
    background: #fff;
}

.coso-page-title {
    margin: 0 0 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d1d1d;
}

.coso-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.coso-filter label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
}

.coso-combo {
    position: relative;
    margin-bottom: 16px;
}

.coso-combo-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #fff;
    color: #333;
    text-align: left;
    cursor: pointer;
}

.coso-combo.is-open .coso-combo-btn {
    border-color: #e01119;
}

.coso-combo-menu {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    padding: 8px;
}

.coso-combo-search {
    width: 100%;
    height: 40px;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    padding: 0 12px;
    margin-bottom: 6px;
}

.coso-combo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 260px;
    overflow: auto;
}

.coso-combo-list li {
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
}

.coso-combo-list li:hover,
.coso-combo-list li.is-active {
    background: #fff1f1;
    color: #e01119;
}

.coso-combo-list li.is-muted {
    color: #888;
    cursor: default;
    background: transparent;
}

.coso-list {
    max-height: 640px;
    overflow: auto;
    padding-right: 4px;
}

.coso-item {
    display: block;
    width: 100%;
    text-align: left;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 12px;
    padding: 16px 16px 14px;
    margin-bottom: 12px;
    cursor: pointer;
}

.coso-item.is-active {
    background: #fff6f4;
    border-color: #f3d2cc;
}

.coso-item h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #1d1d1d;
}

.coso-item p {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 6px;
    color: #666;
    font-size: .92rem;
    line-height: 1.45;
}

.coso-item i {
    color: #e01119;
    margin-top: 3px;
    width: 14px;
    flex: 0 0 14px;
}

.coso-item a {
    color: #444;
}

.coso-person {
    padding-left: 22px;
}

.coso-map-wrap {
    position: sticky;
    top: 90px;
}

.coso-map-box {
    min-height: 520px;
    height: 640px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f6f6f6;
    position: relative;
}

.coso-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.coso-map-empty {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
    padding: 24px;
}

.coso-map-empty i {
    font-size: 42px;
    color: #e01119;
    margin-bottom: 10px;
}

.coso-empty {
    color: #777;
    margin: 12px 0;
}

@media (max-width: 1199px) {
    .coso-province-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .coso-province-grid,
    .coso-layout {
        grid-template-columns: 1fr;
    }

    .coso-map-wrap {
        position: static;
        order: -1;
    }

    .coso-map-box,
    .coso-list {
        height: auto;
        max-height: none;
        min-height: 320px;
    }

    .coso-map-box {
        height: 360px;
    }
}

@media (max-width: 575px) {
    .coso-province-grid {
        grid-template-columns: 1fr;
    }

    .coso-footer-title,
    .coso-page-title {
        font-size: 1.2rem;
    }
}
