/*
 * 메인 "Book From Where You Are" 칸·전체 보기(/locations) — #710, 사라님 목업 partner-places-home(11/23) 값 그대로.
 * 폰: 카드 가로 넘김(scroll-snap). PC(858px~, 메인 .p 와 같은 기준): 4열.
 */
.pp-section {
    --pp-purple: #512a72;
    --pp-purple-soft: #f4f0f8;
    --pp-sub: #666;
    background: var(--pp-purple-soft);
    padding: 20px 0 22px;
    /* 목업 글자 줄 높이(Pretendard 기본 ≈1.2)에 맞춘다 — 사이트 본문 줄 높이를 물려받으면 제목·버튼 높이가 목업과 1~3px 달라진다(12/3 실측) */
    line-height: 1.2;
    margin-top: 0;   /* 서비스 목록과 붙인다 — 사이에 흰 틈 없이(상인님 12/3) */
}
.pp-inner {
    max-width: 810px;
    margin: 0 auto;
}
.pp-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 16px;
}
.pp-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--pp-purple);
}
.pp-pin {
    width: 16px;
    height: 16px;
    flex: none;
}
.pp-viewall {
    flex: none;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--pp-purple);
    text-decoration: none;
    white-space: nowrap;
}
.pp-viewall:hover { color: var(--pp-purple); text-decoration: underline; }
.pp-chips {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.pp-chips::-webkit-scrollbar { display: none; }
.pp-chip {
    flex: none;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid #cdbfdc;
    background: #fff;
    color: var(--pp-purple);
    cursor: pointer;
}
.pp-chip.on {
    background: var(--pp-purple);
    border-color: var(--pp-purple);
    color: #fff;
}
.pp-cards {
    display: flex;
    gap: 10px;
    padding: 0 16px 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.pp-cards::-webkit-scrollbar { display: none; }
.pp-card {
    flex: none;
    display: block;
    width: 190px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 1px 4px rgba(40, 20, 60, 0.12);
    color: inherit;
    text-decoration: none;
}
.pp-card:hover { color: inherit; text-decoration: none; }
.pp-photo {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #ddd center / cover no-repeat;
}
.pp-photo.pp-tint::before,
.pp-va-thumb.pp-tint::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
}
.pp-logo {
    position: absolute;
    left: 6%;
    width: 88%;
    top: 50%;
    transform: translateY(-50%);
}
.pp-photo.pp-nophoto,
.pp-va-thumb.pp-nophoto {
    background: repeating-linear-gradient(135deg, #ece6f2, #ece6f2 10px, #e4dcec 10px, #e4dcec 20px);
}
.pp-pill {
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 10.5px;
    font-weight: 700;
    background: #fff;
    color: var(--pp-purple);
    padding: 3px 8px;
    border-radius: 10px;
}
.pp-body {
    padding: 10px 12px 12px;
}
.pp-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    min-height: 36px;
    color: #222;
}
.pp-line {
    font-size: 12px;
    color: var(--pp-sub);
    margin-top: 4px;
}
.pp-cta {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--pp-purple);
}

@media screen and (min-width: 858px) {
    .pp-section { padding: 30px 0 34px; }
    .pp-head,
    .pp-chips { padding-left: 0; padding-right: 0; }
    .pp-title { font-size: 22px; }
    .pp-cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding: 0;
        overflow: visible;
    }
    .pp-card { width: auto; }
}

/* 전체 보기 /locations */
.pp-va {
    --pp-purple: #512a72;
    --pp-sub: #666;
    max-width: 810px;
    margin: 0 auto;
    padding-bottom: 40px;
    line-height: 1.2;   /* 목업 줄 높이 */
}
.pp-va-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    padding: 18px 16px 4px;
    color: #222;
}
.pp-va-title .pp-pin { width: 18px; height: 18px; }
.pp-va-group {
    font-size: 13px;
    font-weight: 700;
    color: var(--pp-purple);
    padding: 18px 16px 6px;
}
.pp-va-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: inherit;
    text-decoration: none;
}
.pp-va-row:hover { color: inherit; text-decoration: none; background: #faf8fc; }
.pp-va-thumb {
    position: relative;
    overflow: hidden;
    flex: none;
    width: 76px;
    height: 52px;
    border-radius: 8px;
    background: #ddd center / cover no-repeat;
}
.pp-va-meta {
    flex: 1;
    min-width: 0;
}
.pp-va-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
}
.pp-va-line {
    font-size: 12px;
    color: var(--pp-sub);
    margin-top: 2px;
}
.pp-va-arrow {
    font-size: 18px;
    color: var(--pp-purple);
}
.pp-va-empty {
    padding: 40px 16px;
    color: #999;
    font-size: 14px;
    text-align: center;
}
