/* 갤러리(이미지로 보기) — 이용가능 헤어샵 제목 + 등록 버튼 2개 (공통) */

.face-shape-gallery__shops-head.map-auth-gallery-reg-head,
.hair-rank-gallery__shops-head.map-auth-gallery-reg-head,
.hair-trend-gallery__shops-head.map-auth-gallery-reg-head,
.celeb-hair-gallery__shops-head.map-auth-gallery-reg-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 8px;
    justify-items: stretch;
    align-items: stretch;
}

.map-auth-gallery-reg-head__center {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.map-auth-gallery-reg-btn {
    width: 100%;
    margin: 0;
    padding: 10px 8px;
    border: 1px solid #d8ccf5;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff 0%, #faf8ff 100%);
    color: #5b21b6;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    word-break: keep-all;
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(91, 33, 182, 0.06);
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.map-auth-gallery-reg-btn--shop {
    grid-column: 1;
    grid-row: 2;
}

.map-auth-gallery-reg-btn--designer {
    grid-column: 2;
    grid-row: 2;
}

.map-auth-gallery-reg-btn:hover,
.map-auth-gallery-reg-btn:focus-visible {
    background: #f5f3ff;
    border-color: #a78bfa;
    color: #4c1d95;
    box-shadow: 0 2px 8px rgba(91, 33, 182, 0.10);
    outline: none;
}

.map-auth-gallery-reg-btn__label {
    display: block;
}

@media (max-width: 520px) {
    .face-shape-gallery__shops-head.map-auth-gallery-reg-head,
    .hair-rank-gallery__shops-head.map-auth-gallery-reg-head,
    .hair-trend-gallery__shops-head.map-auth-gallery-reg-head,
    .celeb-hair-gallery__shops-head.map-auth-gallery-reg-head {
        gap: 12px 6px;
    }

    .map-auth-gallery-reg-btn {
        padding: 10px 6px;
    }
}
