.pf-head {padding: 32px 0 6px;text-align: center;}
.pf-head-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0057b8;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.pf-head-title {
    font-size: 28px;
    font-weight: 800;
    color: #0d2260;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
}

/* 탭 */
.pf-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #0057b8;
    margin-bottom: 30px;
}
.pf-tab {
    height: 44px;
    padding: 0 28px;
    background: #fff;
    border: 1px solid #dde3ef;
    border-bottom: none;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    font-family: inherit;
    cursor: pointer;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
    transition: background 0.2s, color 0.2s;
}
.pf-tab:hover { color: #0057b8; }
.pf-tab.active {
    background: #0057b8;
    color: #fff;
    border-color: #0057b8;
}

/* 탭 콘텐츠 */
.pf-tab-cont { display: none; }
.pf-tab-cont.active { display: block; }

/* 카드 그리드 */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 60px;
}

/* 카드 */
.pf-card {
    border: 1px solid #e8ecf4;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}
.pf-card:hover {
    box-shadow: 0 8px 28px rgba(0,87,184,0.13);
    transform: translateY(-3px);
}

.pf-card-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    position: relative;
    background: #f0f2f7;
}
.pf-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.pf-card:hover .pf-card-img-wrap img { transform: scale(1.04); }

.pf-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #0057b8;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
}

.pf-card-body { padding: 18px 16px 20px; }

.pf-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0d2260;
    line-height: 1.5;
    margin-bottom: 12px;
    word-break: keep-all;
}

.pf-card-info {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    word-break: keep-all;
}
.pf-card-info span {
    display: inline-block;
    width: 28px;
    color: #888;
    font-weight: 600;
    margin-right: 4px;
}

.pf-card-btns {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}
.pf-btn-book {
    height: 38px;
    padding: 0 18px;
    background: #00bcd4;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.pf-btn-book:hover { background: #0097a7; }
.pf-btn-detail {
    height: 38px;
    padding: 0 18px;
    background: #f0a500;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.pf-btn-detail:hover { background: #d48f00; }

.pf-empty {
    padding: 80px 0;
    text-align: center;
    color: #aaa;
    font-size: 15px;
}

/* 태블릿 */
@media (max-width: 1024px) {
    .pf-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

/* 모바일 */
@media (max-width: 640px) {
    .pf-head-title { font-size: 22px; }
    .pf-tabs { flex-wrap: wrap; border-bottom: none; gap: 6px; margin-bottom: 20px; }
    .pf-tab {
        height: 38px;
        padding: 0 18px;
        border: 1px solid #dde3ef;
        border-radius: 20px;
        font-size: 13px;
        margin-right: 0;
    }
    .pf-tab.active { background: #0057b8; border-color: #0057b8; }
    .pf-grid { grid-template-columns: 1fr; gap: 20px; }
    .pf-card-img-wrap { aspect-ratio: 4 / 3; }
    .pf-card-title { font-size: 14px; }
    .pf-btn-book,
    .pf-btn-detail { flex: 1; height: 36px; font-size: 12px; }
}
/* pd- 공연 상세 */
.pd-top {
    display: flex;
    gap: 40px;
    margin: 30px 0 40px;
    align-items: flex-start;
}
.pd-poster {
    flex-shrink: 0;
    width: 300px;
    border-radius: 6px;
    overflow: hidden;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.15); */
}
.pd-poster img { width: 100%; display: block; }

.pd-info { flex: 1; }
.pd-info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.pd-info-list li {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #333;
    padding: 9px 0;
    border-bottom: 1px solid #eef0f5;
    line-height: 1.6;
    word-break: keep-all;
}
.pd-info-list li:first-child { border-top: 1px solid #eef0f5; }
.pd-info-list li span {
    flex-shrink: 0;
    width: 80px;
    font-weight: 700;
    color: #0d2260;
    position: relative;
    padding-left: 12px;
}
.pd-info-list li span::before {
    content: "■";
    position: absolute;
    left: 0;
    font-size: 8px;
    color: #0057b8;
    top: 3px;
}
.pd-discount { font-size: 13px; color: #555; line-height: 1.9; }

.pd-btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 40px;
    background: #2ecc40;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}
.pd-btn-book:hover { background: #25a332; }

/* 탭 */
.pd-tabs {
    display: flex;
    border-bottom: 2px solid #0057b8;
    margin-bottom: 30px;
    gap: 0;
}
.pd-tab {
    height: 44px;
    padding: 0 24px;
    background: #fff;
    border: 1px solid #dde3ef;
    border-bottom: none;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    font-family: inherit;
    cursor: pointer;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
    transition: background 0.2s, color 0.2s;
}
.pd-tab:hover { color: #0057b8; }
.pd-tab.active { background: #0057b8; color: #fff; border-color: #0057b8; }

.pd-tab-cont { display: none; padding-bottom: 60px; }
.pd-tab-cont.active { display: block; }

/* 공연정보 상세이미지 */
.pd-detail-img { text-align: center; padding: 20px 0; }
.pd-detail-img img { max-width: 100%; height: auto; }

/* 판매정보 */
.pd-sale-section { margin-bottom: 40px; }
.pd-sale-title {
    font-size: 17px;
    font-weight: 800;
    color: #0d2260;
    padding-bottom: 12px;
    border-bottom: 2px solid #0057b8;
    margin-bottom: 16px;
}
.pd-sale-text { font-size: 14px; color: #444; line-height: 2; }

.pd-sale-tbl-wrap { overflow-x: auto; }
.pd-sale-tbl {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
    font-size: 14px;
    border-top: 1px solid #dde3ef;
}
.pd-sale-tbl th {
    background: #f5f7fb;
    padding: 13px 14px;
    text-align: left;
    font-weight: 700;
    color: #1a2a50;
    border-bottom: 1px solid #dde3ef;
    white-space: nowrap;
    width: 130px;
}
.pd-sale-tbl td {
    padding: 13px 14px;
    color: #333;
    border-bottom: 1px solid #eef0f5;
    line-height: 1.7;
    word-break: keep-all;
}

.pd-cancel-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 14px;
    border-top: 1px solid #dde3ef;
}
.pd-cancel-tbl thead th {
    background: #eef2fb;
    padding: 10px 14px;
    text-align: center;
    font-weight: 700;
    color: #1a2a50;
    border-bottom: 1px solid #dde3ef;
}
.pd-cancel-tbl tbody td {
    padding: 10px 14px;
    text-align: center;
    border-bottom: 1px solid #eef0f5;
    color: #555;
}

/* 관람후기 */
.pd-rv-head { padding: 20px 0 16px; border-bottom: 1px solid #eee; }
.pd-rv-score { display: flex; align-items: center; gap: 8px; }
.pd-rv-label { font-size: 16px; font-weight: 700; color: #0d2260; }
.pd-rv-stars { color: #f0a500; font-size: 20px; }
.pd-rv-num { font-size: 22px; font-weight: 800; color: #0d2260; }

.pd-rv-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 0;
    flex-wrap: wrap;
}
.pd-rv-count { font-size: 14px; color: #333; flex: 1; min-width: 180px; }
.pd-rv-count strong { color: #0057b8; }
.pd-rv-search { display: flex; gap: 0; align-items: center; }
.pd-rv-sel {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #dde3ef;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    color: #555;
    font-family: inherit;
    background: #fff;
}
.pd-rv-input {
    height: 38px;
    width: 200px;
    padding: 0 12px;
    border: 1px solid #dde3ef;
    border-right: none;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}
.pd-rv-btn-search {
    height: 38px;
    width: 40px;
    background: #0057b8;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
}
.pd-rv-btn-write {
    height: 38px;
    padding: 0 18px;
    background: #0d2260;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.pd-rv-btn-write:hover { background: #0057b8; }

.pd-rv-sort {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: flex-end;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}
.pd-rv-sort-btn {
    height: 30px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #dde3ef;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #777;
    font-family: inherit;
    cursor: pointer;
}
.pd-rv-sort-btn.active { background: #0057b8; color: #fff; border-color: #0057b8; }
.pd-rv-live { font-size: 12px; color: #e53e3e; font-weight: 700; margin-left: 8px; }
.pd-rv-live-q {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid #e53e3e;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
}

.pd-rv-list { margin-top: 6px; }
.pd-rv-item {
    padding: 22px 0;
    border-bottom: 1px solid #eef0f5;
}
.pd-rv-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px;
}
.pd-rv-item-stars { color: #f0a500; font-size: 16px; }
.pd-rv-item-meta { font-size: 12px; color: #999; }
.pd-rv-badge-buyer {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: #e8f0fb;
    color: #0057b8;
    padding: 1px 6px;
    border-radius: 3px;
    margin: 0 2px;
}
.pd-rv-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #0d2260;
    margin-bottom: 8px;
}
.pd-rv-item-body { font-size: 14px; color: #555; line-height: 1.7; }
.pd-rv-more {
    margin-top: 8px;
    font-size: 12px;
    color: #0057b8;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

/* 반응형 */
@media (max-width: 900px) {
    .pd-top { flex-direction: column; gap: 24px; }
    .pd-poster { width: 100%; max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .pd-tabs { flex-wrap: wrap; }
    .pd-tab { height: 38px; padding: 0 14px; font-size: 13px; }
    .pd-sale-tbl th { width: 90px; font-size: 13px; padding: 10px 10px; }
    .pd-sale-tbl td { font-size: 13px; padding: 10px 10px; }
    .pd-rv-input { width: 120px; }
    .pd-rv-bar { gap: 8px; }
    .pd-rv-num { font-size: 18px; }
}
