/* 샵 화면 CSS — community 영역
 * 화면: best_review, board.all, board.event, board.faq, board.news, board.notice, board.qna, board.view, pretrip.view, review.list, review.old_view, review.view, review.write, talk.list, talk.view, tips.list, tips.view, user.profile, youtube_list
 * :where(.pg-화면이름) 이 붙은 규칙은 그 화면에만 적용된다(우선순위는 그대로). 규칙: public/css/shop/README.md */


/* ───────── best_review ───────── */
/* resources/views/shop/best_review.blade.php (head 섹션) 에서 분리 — 이 화면 전용 스타일 */
/* MDB/Bootstrap 리셋 오버라이드 */
.br-banner p,
.br-banner h1,
.br-banner span,
.br-banner a,
.br-banner div,
.br-month-nav h2,
.br-review-wrap p,
.br-review-wrap h3,
.br-review-wrap a,
.br-review-wrap div {
    margin-bottom: 0;
    letter-spacing: normal;
}
.br-banner a:hover { text-decoration: none; }
/* ===== BANNER ===== */
.br-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #062c38 0%, #0a4a5c 45%, #0e6a84 100%);
    padding: 64px 0;
}
.br-banner::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(45,212,191,0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(226,77,36,0.14) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(14,165,180,0.12) 0%, transparent 40%);
}
.br-banner::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 30% 70%, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 70% 80%, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,0.35), transparent),
        radial-gradient(1px 1px at 15% 50%, rgba(255,255,255,0.25), transparent),
        radial-gradient(2px 2px at 85% 60%, rgba(255,255,255,0.2), transparent);
    animation: br-sparkle 4s ease-in-out infinite alternate;
}
@keyframes br-sparkle { 0% { opacity: 0.6; } 100% { opacity: 1; } }
.br-banner-inner {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; gap: 48px;
}
.br-banner-left { flex: 1; }
.br-banner-right { width: 420px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.br-banner-left .br-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 100px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    font-size: 13px; font-weight: 500;
}
.br-badge-wrap { margin-bottom: 10px !important; }
.br-title {
    color: #fff; font-size: 28px; font-weight: 800;
    line-height: 1.35; margin-bottom: 16px; word-break: keep-all;
}
@media (min-width: 1025px) {
    .br-title { font-size: 42px; line-height: 1.25; }
}

.br-desc {
    color: rgba(214,240,245,0.72); font-size: 18px;
    line-height: 1.7; margin-bottom: 32px; max-width: 420px;
}
.br-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 100px;
    background: #fff; color: var(--gm-primary-dark);
    font-weight: 700; font-size: 15px;
    text-decoration: none; border: none; cursor: pointer;
    box-shadow: 0 8px 24px rgba(6,44,56,0.35);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    margin-top: 15px;
}
.br-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(6,44,56,0.45); color: var(--gm-primary-dark); }
/* reward card */
.br-reward-card {
    display: none; /* 일단 숨김 */
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 20px 24px;
}
.br-reward-head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; }
.br-reward-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(251,191,36,0.2); display: flex; align-items: center; justify-content: center; }
.br-reward-label { color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.br-reward-name { color: #fff; font-weight: 700; font-size: 15px; }
.br-reward-items { display: flex; gap: 12px; }
.br-reward-item {
    flex: 1; border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 16px; text-align: center;
}
.br-reward-item-icon {
    width: 48px; height: 48px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; margin: 0 auto 10px;
}
.br-reward-item-title { color: #fff; font-weight: 700; font-size: 15px; }
.br-reward-item-sub { color: rgba(214,240,245,0.55); font-size: 13px; }
/* tip card */
.br-tip-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px; padding: 20px 24px;
}
.br-tip-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; }
.br-tip-title { color: rgba(255,255,255,0.8); font-weight: 700; font-size: 14px; }
.br-tip-list { display: flex; flex-direction: column; gap: 10px; }
.br-tip-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7); font-size: 14px;
}
/* ===== MONTH NAV ===== */
.br-month-nav {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    padding: 32px 20px;
    max-width: 1200px; margin: 0 auto;
}
.br-month-title { font-size: 26px; font-weight: 800; color: #1e293b; white-space: nowrap; line-height: 40px; margin: 0; padding: 0; }
.br-nav-btn {
    width: 40px; height: 40px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569;
    text-decoration: none; transition: all 0.2s ease; flex-shrink: 0;
}
.br-nav-btn:hover { background: #e2e8f0; color: #1e293b; }
.br-nav-btn.disabled { opacity: 0.3; cursor: default; pointer-events: none; }
/* ===== REVIEW GRID ===== */
.br-review-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px 80px; }
.br-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.br-review-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
    text-decoration: none; color: inherit; display: block;
}
.br-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 20px 60px rgba(0,0,0,0.1);
}
.br-review-card:hover .br-card-img img { transform: scale(1.06); }
.br-card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #f1f5f9; }
.br-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.br-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.br-badge-best {
    padding: 4px 10px; border-radius: 8px; background: var(--gm-red-dark);
    color: #fff; font-size: 11px; font-weight: 700;
    box-shadow: 0 2px 8px rgba(200,53,36,0.35);
}
.br-badge-branch {
    padding: 4px 10px; border-radius: 8px;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
    color: #fff; font-size: 11px; font-weight: 500;
}
.br-badge-photo {
    position: absolute; top: 12px; right: 12px;
    display: flex; align-items: center; gap: 4px;
    padding: 4px 8px; border-radius: 8px;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(8px);
    color: #fff; font-size: 11px;
}
.br-card-body { padding: 20px; }
.br-card-title {
    font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.br-card-stars { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.br-stars { display: flex; gap: 1px; color: #fbbf24; font-size: 14px; }
.br-star-empty { color: #e2e8f0; }
.br-like { display: flex; align-items: center; gap: 4px; color: #f43f5e; font-size: 13px; font-weight: 500; }
.br-card-footer { display: flex; align-items: center; justify-content: space-between; }
.br-author { font-size: 13px; color: #64748b; }
.br-product { font-size: 12px; color: #94a3b8; }
/* empty state */
.br-empty { text-align: center; padding: 80px 20px; grid-column: 1 / -1; }
.br-empty-icon {
    width: 80px; height: 80px; border-radius: 24px; background: #f8fafc;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.br-empty-title { font-size: 20px; font-weight: 700; color: #94a3b8; margin-bottom: 8px; }
.br-empty-desc { font-size: 15px; color: #94a3b8; margin-bottom: 24px; }
.br-empty-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border-radius: 100px;
    background: var(--gm-brand); color: #fff; font-weight: 600; font-size: 14px;
    text-decoration: none; transition: background 0.2s ease;
    box-shadow: 0 4px 14px rgba(11,125,158,0.25);
}
.br-empty-cta:hover { background: var(--gm-primary-dark); color: #fff; }
@media (max-width: 1024px) {
    .br-banner { padding: 48px 0; }
    .br-banner-inner { flex-direction: column; gap: 32px; text-align: center; }
    .br-banner-right { width: 100%; max-width: 480px; margin: 0 auto; }
    .br-title { font-size: 32px; }
    .br-desc { margin: 0 auto 32px; }
    .br-review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .br-banner { padding: 30px 0; }
    .br-title { font-size: 26px; }
    .br-desc { font-size: 15px; }
    .br-reward-items { flex-direction: column; gap: 8px; }
    .br-month-title { font-size: 20px; }
    .br-review-grid { grid-template-columns: 1fr; gap: 16px; }
}


/* ───────── review/list ───────── */
/* resources/views/shop/review/list.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
/* 제목 줄 숨김 (정렬/검색/글쓰기는 공용 .sp-toolbar 사용) */
.review-title-row { display: none; }
/* 드롭다운: 모바일에서만 표시 */
.review-filter { display: none; margin-bottom: 0; padding-bottom: 30px; border-bottom: 1px solid #ccc; }
.review-filter-row { display: flex; flex-direction: column; gap: 8px; }
.review-select { flex: 1; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 16px; background: #fff; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.review-select option[value=""] { color: var(--gm-text-sub,#555); }
.review-filter-tag { margin-top: 20px; font-size: 16px !important; color: #555; display: flex; align-items: center; gap: 6px; }
.review-filter-tag span { color: var(--gm-primary); font-weight: 600; }
.review-filter-clear { color: var(--gm-text-muted,#6e6e6e); text-decoration: none; font-size: 12px; }
.review-filter-clear:hover { color: #f44; }
/* 드롭다운 항상 숨김 (지점 탭 스타일은 공용 .cm-sidebar) */
.review-filter { display: none !important; }

/* ───────── review/old_view ───────── */
/* resources/views/shop/review/old_view.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
:where(.pg-review-old_view) .review-view-wrap {
        max-width: 860px;
        margin: 30px auto;
        padding: 0 15px;
}
:where(.pg-review-old_view) .review-view-header {
        border-bottom: 2px solid #333;
        padding-bottom: 16px;
        margin-bottom: 20px;
}
:where(.pg-review-old_view) .review-view-header .branch-badge {
        display: inline-block;
        background: #2255cc;
        color: #fff;
        font-size: 12px;
        padding: 2px 10px;
        border-radius: 20px;
        margin-bottom: 10px;
}
:where(.pg-review-old_view) .review-view-header h2 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 10px;
}
:where(.pg-review-old_view) .review-view-meta {
        font-size: 13px;
        color: var(--gm-text-sub,#555);
}
:where(.pg-review-old_view) .review-meta-row1 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
}
:where(.pg-review-old_view) .review-view-stars {
        color: #f5a623;
        font-size: 16px;
}
:where(.pg-review-old_view) .review-meta-row2 {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
}
:where(.pg-review-old_view) .review-meta-author {
        display: flex;
        align-items: center;
        gap: 6px;
        font-weight: 600;
        color: #333;
}
:where(.pg-review-old_view) .review-view-body {
        padding: 20px 0;
        border-bottom: 1px solid #e0e0e0;
        font-size: 15px;
        line-height: 1.8;
        color: #333;
        overflow-x: hidden;
}
:where(.pg-review-old_view) .review-view-body img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 6px;
        margin: 8px 0;
}
:where(.pg-review-old_view) .review-view-body * { max-width: 100% !important; }
:where(.pg-review-old_view) .review-view-footer { padding: 20px 0; }
/* 구 이미지 서버 폐기로 본문이 유실된 후기 안내 */
.review-missing {
        padding: 34px 20px;
        text-align: center;
        background: #f8f9fa;
        border-radius: 8px;
}
.review-missing-msg {
        margin: 0 0 16px;
        font-size: 15px;
        line-height: 1.7;
        color: #666;
}
.review-missing .sp-btn { margin: 0 4px; }
.review-source {
        padding: 14px 0 0;
        font-size: 13px;
}
.review-source a {
        color: var(--gm-text-sub,#555);
        text-decoration: underline;
}

/* ───────── review/write ───────── */
/* resources/views/shop/review/write.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
/* 후기 에디터 '사진 추가' 툴바 버튼 — 눈에 잘 띄게(색상 텍스트 버튼) + 오른쪽 끝 배치.
   .rw-wrap 스코프로 한정해 다른 화면의 CKEditor에는 영향 없음 */
.rw-wrap .cke_toolbar:has(.cke_button__insertreviewphoto),
.rw-wrap .cke_toolbox .cke_toolbar:last-child { float: right; }
.rw-wrap a.cke_button__insertreviewphoto {
    background: #ff6b3d;
    border-radius: 5px;
    padding: 3px 12px !important;
    margin: 2px 0;
    display: inline-flex;
    align-items: center;
}
.rw-wrap a.cke_button__insertreviewphoto:hover,
.rw-wrap a.cke_button__insertreviewphoto.cke_button_on { background: #f2542d !important; }
.rw-wrap .cke_button__insertreviewphoto .cke_button_icon { display: none !important; }
.rw-wrap .cke_button__insertreviewphoto .cke_button_label {
    display: inline !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 0;
}

/* ───────── talk/list ───────── */
/* resources/views/shop/talk/list.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.talk-item-toggle { cursor: pointer; }
/* 펼쳐진 글 = 선택됨 강조 (카드 테두리 + 배경 + 그림자) */
.talk-entry.open {
        border: 1.5px solid #20B2D6; border-radius: 12px; background: #f5fbfd;
        box-shadow: 0 4px 16px rgba(32,178,214,.16); margin: 10px 0; overflow: hidden;
}
.talk-entry.open .talk-item { background: transparent; border-bottom: 1px solid #d7ecf3; padding: 18px 16px; }
/* 펼치면 요약 미리보기/썸네일 숨김 → 본문은 패널에서 전체로 (중복 방지) */
.talk-entry.open .talk-item-desc { display:none; }
.talk-entry.open .talk-item-thumb { display:none; }
.talk-detail-panel { display:none; padding: 0; border-bottom:1px solid #eee; background:#fbfdfe; }
.talk-entry.open .talk-detail-panel { display:block; }
.td-inner { padding: 18px 20px 22px; }
.td-loading { padding: 24px; text-align:center; color: var(--gm-text-muted,#6e6e6e); font-size:14px; }
.td-body { font-size:15px; line-height:1.85; color:#333; white-space:pre-wrap; word-break:break-word; }
.td-photos { margin-top:14px; display:flex; flex-wrap:wrap; gap:8px; }
.td-photos a { display:block; }
.td-photos img { max-width:100%; border-radius:8px; max-height:420px; object-fit:cover; }
.td-actions { margin-top:16px; display:flex; align-items:center; gap:10px; }
.td-like { display:inline-flex; align-items:center; gap:6px; padding:7px 16px; border:1px solid #e0e0e0; border-radius:20px; background:#fff; cursor:pointer; font-size:14px; color:#555; }
.td-like.liked { background:#ffeef0; border-color:#ffccd2; color:#e0245e; }
.td-comments { margin-top:18px; border-top:1px solid #eee; padding-top:14px; }
.td-comments-h { font-size:14px; font-weight:700; color:#333; margin-bottom:12px; }
.td-c-item { display:flex; gap:10px; padding:10px 0; border-bottom:1px solid #f3f3f3; }
.td-c-avatar { width:34px; height:34px; border-radius:50%; object-fit:cover; flex:none; background:#e6f6fb; }
.td-c-main { flex:1; min-width:0; }
.td-c-meta { display:flex; align-items:center; gap:8px; font-size:12px; color: var(--gm-text-sub,#555); }
.td-c-nick { font-weight:700; color:#333; font-size:13px; }
.td-c-del { margin-left:auto; color: var(--gm-text-muted,#6e6e6e); background:none; border:none; cursor:pointer; font-size:12px; }
.td-c-del:hover { color:#e0245e; }
.td-c-text { font-size:14px; color:#333; line-height:1.6; margin-top:3px; white-space:pre-wrap; word-break:break-word; }
.td-c-empty { color: var(--gm-text-muted,#6e6e6e); font-size:13px; padding:8px 0; }
.td-c-form { display:flex; gap:8px; margin-top:14px; }
.td-c-form textarea { flex:1; border:1px solid #ddd; border-radius:8px; padding:10px 12px; font-size:14px; resize:vertical; min-height:42px; font-family:inherit; }
.td-c-form button { flex:none; background:#20B2D6; color:#fff; border:none; border-radius:8px; padding:0 18px; font-weight:700; cursor:pointer; }
.td-c-login { margin-top:12px; font-size:13px; color: var(--gm-text-sub,#555); }
.td-c-login a { color:#20B2D6; font-weight:700; }
@media (min-width: 1001px) {
    .tips-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ───────── tips/list ───────── */
/* 썸네일 비율: 카드가 커졌으니 높이도 키움 (1:1 정사각형) */
.tips-grid .cm-card-img { height: auto; aspect-ratio: 4 / 4; }

/* ───────── tips/view ───────── */
/* resources/views/shop/tips/view.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.tip-view { max-width: 860px; margin: 24px auto 0; }
.tip-view-title { font-size: 24px; font-weight: 700; color: #222; line-height: 1.4; padding-bottom: 14px; border-bottom: 2px solid #222; }
.tip-view-meta { display:flex; gap:14px; align-items:center; color: var(--gm-text-sub,#555); font-size:13px; padding: 12px 2px; border-bottom: 1px solid #eee; }
.tip-view-body { padding: 28px 2px 40px; font-size: 16px; line-height: 1.9; color:#333; min-height: 200px; }
.tip-view-body img { max-width: 100%; height: auto; }
.tip-view-btns { text-align:center; padding: 10px 0 40px; }
.tip-view-btns .board_btn { display:inline-block; padding:12px 44px; background:#888; color:#fff; border-radius:6px; font-size:15px; line-height:1; text-decoration:none; transition:background .15s; }
.tip-view-btns .board_btn:hover { background:#6f6f6f; }
.tip-nav { margin-top: 30px; border-top: 1px solid #e5e5e5; }
.tip-nav a,
.tip-nav .tip-nav-none { display:flex; align-items:center; gap:12px; padding:14px 4px; border-bottom:1px solid #eee; text-decoration:none; color:#444; font-size:14px; }
.tip-nav a:hover { background:#fafafa; }
.tip-nav .tip-nav-label { flex:none; width:64px; color: var(--gm-text-sub,#555); font-weight:700; font-size:13px; }
.tip-nav .tip-nav-title { flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.tip-nav .tip-nav-none { color: var(--gm-text-muted,#6e6e6e); cursor:default; }

/* ───────── board/news ───────── */
/* resources/views/shop/board/news.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
    /* ── 갤러리 레이아웃 ── */
.news-gallery-wrap {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 16px 60px;
}

/* ───────── board/all ───────── */
/* resources/views/shop/board/all.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
    /* ── 갤러리 (news 전지점) ── */
.news-search-bar {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 24px;
}
:where(.pg-board-all) .news-search-bar form {
        display: flex;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
}

/* ───────── board/news ───────── */
:where(.pg-board-news) .news-search-bar form {
        display: flex;
        gap: 0;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
}

/* ───────── board/all ───────── */
.news-search-bar input {
        border: none;
        outline: none;
        padding: 8px 14px;
        font-size: 0.9rem;
        width: 220px;
}
.news-search-bar button {
        background: #222;
        color: #fff;
        border: none;
        padding: 8px 16px;
        cursor: pointer;
        font-size: 0.85rem;
}
.news-search-bar button:hover { background: #444; }
.news-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
}
@media (max-width: 768px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 480px) {
    .news-grid { grid-template-columns: 1fr; }
}

.news-card {
        display: block;
        text-decoration: none;
        color: inherit;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        transition: transform 0.18s, box-shadow 0.18s;
        background: #fff;
}
.news-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.14);
        color: inherit;
        text-decoration: none;
}
.news-card-thumb {
        position: relative;
        width: 100%;
        padding-top: 75%;
        overflow: hidden;
        background: #f0f0f0;
}
.news-card-thumb img {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
}
.news-card:hover .news-card-thumb img { transform: scale(1.05); }
.news-photo-badge {
        position: absolute;
        bottom: 8px; right: 10px;
        background: rgba(0,0,0,0.5);
        color: #fff;
        font-size: 0.72rem;
        padding: 2px 8px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        gap: 4px;
}
/* 전지점 전용: 지점 뱃지 */
.news-branch-badge {
        position: absolute;
        top: 8px; left: 10px;
        background: rgba(0,0,0,0.55);
        color: #fff;
        font-size: 0.72rem;
        padding: 2px 9px;
        border-radius: 20px;
}
.news-card-body { padding: 12px 14px 14px; }
.news-card-title {
        font-size: 0.92rem;
        font-weight: 600;
        line-height: 1.4;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 8px;
        color: #222;
}
.news-card-meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.78rem;
        color: var(--gm-text-sub,#555);
}
.news-empty {
        text-align: center;
        padding: 80px 0;
        color: var(--gm-text-muted,#6e6e6e);
        font-size: 0.95rem;
}
.news-empty i { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.news-pagination {
        display: flex;
        justify-content: center;
        margin-top: 40px;
}

/* ───────── board/view ───────── */
/* resources/views/shop/board/view.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.board_title { padding: 60px 0 10px; text-align: left; font-size: 20px; border-bottom: 1px solid #d9d9d9; }
.board_view { padding: 20px 0; border-bottom: 1px solid #d9d9d9; font-size: 16px; line-height: 1.7; color: #333; }
.board_view img { max-width: 100%; height: auto; }
/* 전역 '* { margin:0 }' 리셋으로 문단 간격이 사라져 에디터와 달라지므로 복원 (에디터와 동일) */
.board_view p { margin: 0 0 16px; }
.board_view p:last-child { margin-bottom: 0; }
.board_answer { margin-top: 0; padding: 24px 28px; background: #f8f9fa; border-left: 4px solid var(--gm-primary); border-bottom: 1px solid #d9d9d9; }
.board_answer_label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--gm-primary); margin-bottom: 10px; }
.board_answer_body { font-size: 15px; color: #333; line-height: 1.8; white-space: pre-line; }
.board_no_answer { margin-top: 0; padding: 20px 28px; background: #fafafa; border-left: 4px solid #ddd; border-bottom: 1px solid #d9d9d9; color: var(--gm-text-sub,#555); font-size: 14px; }
.btn_area { padding: 24px 0; text-align: center; }
.btn_area .board_btn { display:inline-block; padding:12px 44px; background:#888; color:#fff; border-radius:6px; font-size:15px; line-height:1; text-decoration:none; transition:background .15s; }
.btn_area .board_btn:hover { background:#6f6f6f; }

/* ───────── youtube_list ───────── */
/* resources/views/shop/youtube_list.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.yt-list-section {
            padding: 64px 0 80px;
            background: #f8fafc;
            min-height: 60vh;
}
.yt-list-inner {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
}
.yt-list-head {
            text-align: center;
            margin-bottom: 48px;
}
.yt-list-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #dc2626;
            letter-spacing: 0.05em;
            text-transform: uppercase;
}
.yt-list-title {
            font-size: 36px;
            font-weight: 800;
            color: #0f172a;
            margin-top: 8px;
            line-height: 1.25;
}
.yt-list-desc {
            font-size: 16px;
            color: #64748b;
            margin-top: 12px;
}
.yt-list-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 28px;
}
.yt-card {
            background: #fff;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
            border: 1px solid rgba(0,0,0,0.04);
            cursor: pointer;
            transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
}
.yt-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 20px 60px rgba(0,0,0,0.1);
}
.yt-card-thumb {
            position: relative;
            aspect-ratio: 16/9;
            overflow: hidden;
            background: #000;
}
.yt-card-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.yt-card:hover .yt-card-thumb img { transform: scale(1.06); }
.yt-play-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: rgba(220, 38, 38, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
}
.yt-card:hover .yt-play-btn {
            background: #dc2626;
            transform: translate(-50%, -50%) scale(1.1);
}
.yt-play-btn::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 12px 0 12px 18px;
            border-color: transparent transparent transparent #fff;
            margin-left: 4px;
}
.yt-main-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #facc15;
            color: #0f172a;
            font-size: 12px;
            font-weight: 700;
            padding: 4px 12px;
            border-radius: 100px;
}
.yt-card-body { padding: 18px 20px 20px; }
.yt-card-title {
            font-size: 16px;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 8px;
            word-break: keep-all;
}
.yt-card-desc {
            font-size: 14px;
            color: #64748b;
            line-height: 1.5;
            white-space: pre-wrap;
            word-break: break-word;
}
.yt-card-meta {
            margin-top: 10px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #94a3b8;
}
.yt-card-views {
            display: inline-flex;
            align-items: center;
            gap: 4px;
}
.yt-card-views svg { flex-shrink: 0; }
.yt-empty {
            text-align: center;
            padding: 80px 20px;
            color: #94a3b8;
            font-size: 16px;
}
/* 영상 타입 탭 */
.yt-type-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.yt-type-tab {
            padding: 10px 28px; font-size: 15px; font-weight: 700; color: #64748b;
            background: #fff; border: 1.5px solid #e2e8f0; border-radius: 100px;
            cursor: pointer; transition: all .15s; user-select: none;
            display: inline-flex; align-items: center; gap: 8px;
}
.yt-type-tab:hover { border-color: #dc2626; color: #dc2626; }
.yt-type-tab.active { border-color: #dc2626; background: #dc2626; color: #fff; }
.yt-type-tab .yt-type-count {
            font-size: 12px; font-weight: 600; opacity: .85;
            background: rgba(255,255,255,.2); padding: 2px 8px; border-radius: 100px;
}
.yt-type-tab:not(.active) .yt-type-count { background: #f1f5f9; color: #94a3b8; }
/* 쇼츠 카드 - 9:16 세로형 */
.yt-list-grid.is-shorts { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.yt-list-grid.is-shorts .yt-card-thumb { aspect-ratio: 9/16; }
@media (max-width: 1024px) {
    .yt-list-grid.is-shorts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .yt-list-grid.is-shorts { grid-template-columns: repeat(2, 1fr); }
}

/* 검색/필터 영역 */
.yt-filter-bar {
            max-width: 720px;
            margin: 0 auto 24px;
}
.yt-search-wrap {
            position: relative;
            margin-bottom: 14px;
}
.yt-search-input {
            width: 100%;
            padding: 14px 44px 14px 18px;
            font-size: 15px;
            border: 1.5px solid #e2e8f0;
            border-radius: 100px;
            outline: none;
            transition: border-color .15s, box-shadow .15s;
            background: #fff;
}
.yt-search-input:focus {
            border-color: #dc2626;
            box-shadow: 0 0 0 4px rgba(220,38,38,.08);
}
.yt-search-icon {
            position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
            color: #94a3b8; pointer-events: none;
}
.yt-cat-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.yt-cat-chip {
            display: inline-block; padding: 6px 14px; font-size: 13px; font-weight: 600;
            border: 1.5px solid #e2e8f0; border-radius: 100px; color: #64748b; background: #fff;
            cursor: pointer; transition: all .15s; user-select: none;
}
.yt-cat-chip:hover { border-color: #dc2626; color: #dc2626; }
.yt-cat-chip.active { border-color: #dc2626; background: #dc2626; color: #fff; }
/* 카드 안 카테고리 태그 */
.yt-card-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.yt-card-tag {
            font-size: 11px; font-weight: 600; color: #64748b;
            background: #f1f5f9; padding: 2px 8px; border-radius: 6px;
}
.yt-result-count { text-align: center; font-size: 13px; color: #94a3b8; margin-bottom: 18px; }
/* 모달 */
.yt-modal {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.85);
            z-index: 9999;
            align-items: flex-start;
            justify-content: center;
            padding: 60px 20px 40px;
            overflow-y: auto;
}
.yt-modal.show { display: flex; }
.yt-modal-inner {
            position: relative;
            width: 100%;
            max-width: 1024px;
}
.yt-modal-video {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background: #000;
            border-radius: 12px;
            overflow: hidden;
}
.yt-modal-video iframe {
            width: 100%;
            height: 100%;
            border: 0;
}
.yt-modal-close {
            position: absolute;
            top: -44px;
            right: 0;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.15);
            color: #fff;
            border: none;
            cursor: pointer;
            font-size: 20px;
            line-height: 1;
}
.yt-modal-close:hover { background: rgba(255,255,255,0.3); }
/* 모달 - 연결 상품 */
.yt-modal-products {
            margin-top: 24px;
            background: #fff;
            border-radius: 12px;
            padding: 20px 22px 24px;
}
.yt-modal-products-title {
            font-size: 14px; font-weight: 700; color: #0f172a;
            margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.yt-modal-products-title .badge-count {
            background: #dc2626; color: #fff; font-size: 11px; font-weight: 700;
            padding: 2px 8px; border-radius: 100px;
}
.yt-modal-products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            gap: 12px;
}
.yt-mp-card {
            display: block; text-decoration: none; color: inherit;
            background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
            overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.yt-mp-card:hover {
            transform: translateY(-2px);
            border-color: #dc2626;
            box-shadow: 0 6px 16px rgba(0,0,0,.08);
            color: inherit; text-decoration: none;
}
.yt-mp-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #f1f5f9; display:block; }
.yt-mp-name {
            padding: 8px 10px 4px; font-size: 13px; font-weight: 600; line-height: 1.35;
            display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
            overflow: hidden;
}
.yt-mp-clicks {
            padding: 0 10px 10px;
            font-size: 11px; color: #94a3b8;
            display: inline-flex; align-items: center; gap: 4px;
}
.yt-mp-clicks svg { flex-shrink: 0; }
@media (max-width: 768px) {
    .yt-modal-products-grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 768px) {
    .yt-list-section { padding: 48px 0 60px; }
    .yt-list-title { font-size: 28px; }
    .yt-list-grid { grid-template-columns: 1fr; gap: 20px; }
}


/* ───────── user/profile ───────── */
/* resources/views/shop/user/profile.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.up-wrap { max-width:800px; margin:0 auto; padding:24px 16px 60px; }
.up-header { display:flex; align-items:center; gap:16px; margin-bottom:28px; padding-bottom:20px; border-bottom:1px solid #eee; }
.up-avatar { width:72px; height:72px; border-radius:50%; overflow:hidden; background:#f0f0f0; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.up-avatar img { width:100%; height:100%; object-fit:cover; }
.up-avatar-init { font-size:28px; font-weight:700; color: var(--gm-text-muted,#6e6e6e); }
.up-name { font-size:20px; font-weight:800; color:#222; }
.up-stats { display:flex; gap:16px; margin-top:4px; font-size:13px; color: var(--gm-text-sub,#555); }
.up-stats span { font-weight:700; color:#333; }
.up-section { margin-bottom:32px; }
.up-section-title { font-size:16px; font-weight:800; color:#222; margin-bottom:14px; padding-bottom:8px; border-bottom:2px solid #20B2D6; display:flex; align-items:center; gap:8px; }
.up-section-title .cnt { font-size:12px; color:#20B2D6; font-weight:700; }
/* 스탬프 */
.up-stamp-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(130px,1fr)); gap:14px; }
.up-stamp { display:flex; flex-direction:column; align-items:center; padding:16px 8px 12px; border-radius:12px; background:#fff; border:1.5px solid #d5d5d5; }
.up-stamp.earned { border-color:#20B2D6; background:linear-gradient(135deg,#f0fbff,#e6f9ff); }
.up-stamp img { width:104px; height:104px; object-fit:contain; margin-bottom:8px; }
.up-stamp-name { font-size:14px; font-weight:700; color:#333; text-align:center; line-height:1.3; }
.up-stamp-count { font-size:12px; color:#20B2D6; font-weight:800; margin-top:4px; }
@media (max-width: 600px) {
    .up-stamp-grid { grid-template-columns:repeat(auto-fill, minmax(100px,1fr)); gap:10px; }
    .up-stamp { padding:12px 6px 10px; }
    .up-stamp img { width:80px; height:80px; }
    .up-stamp-name { font-size:12px; }
    .up-stamp-count { font-size:11px; }
}

/* 리뷰/토크 카드 */
.up-card-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:14px; }
.up-card { background:#fff; border:1px solid #eee; border-radius:10px; overflow:hidden; transition:box-shadow .2s; }
.up-card:hover { box-shadow:0 4px 12px rgba(0,0,0,.08); }
.up-card-thumb { width:100%; height:140px; object-fit:cover; background:#f5f5f5; display:block; }
.up-card-body { padding:10px 12px 12px; }
.up-card-badge { display:inline-block; font-size:10px; color:#fff; background:#20B2D6; padding:2px 6px; border-radius:3px; margin-bottom:4px; }
.up-card-title {
 font-size:14px; font-weight:700; color:#222; line-height:1.4; margin-bottom:4px;
        overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.up-card-meta { font-size:11px; color: var(--gm-text-sub,#555); display:flex; gap:10px; }
.up-card-meta span { display:inline-flex; align-items:center; gap:2px; }
.up-empty { text-align:center; padding:30px 0; color: var(--gm-text-muted,#6e6e6e); font-size:14px; }
/* 토크 리스트형 */
.up-talk-list { display:flex; flex-direction:column; gap:8px; }
.up-talk-item { display:flex; align-items:center; gap:12px; padding:10px 12px; background:#fff; border:1px solid #eee; border-radius:8px; text-decoration:none; color:inherit; transition:background .15s; }
.up-talk-item:hover { background:#f8fcff; }
.up-talk-thumb { width:50px; height:50px; border-radius:6px; object-fit:cover; flex-shrink:0; background:#f5f5f5; }
.up-talk-info { flex:1; min-width:0; }
.up-talk-title { font-size:13px; font-weight:700; color:#222; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.up-talk-meta { font-size:11px; color: var(--gm-text-sub,#555); margin-top:2px; }

/* ───────── partials/_report_block ───────── */
/* resources/views/shop/partials/_report_block.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
.rb-more { background:none;border:0;color:#aaa;font-size:20px;line-height:1;padding:2px 8px;cursor:pointer; }
.rb-sheet { position:fixed;inset:0;z-index:2147483000; }
.rb-dim { position:absolute;inset:0;background:rgba(0,0,0,.4); }
.rb-panel {
position:absolute;left:0;right:0;bottom:0;background:var(--gm-card,#fff);border-radius:16px 16px 0 0;
        padding:10px 12px calc(12px + env(safe-area-inset-bottom));max-width:520px;margin:0 auto;
}
.rb-head { font-size:13px;color:#888;text-align:center;padding:8px 0 4px; }
.rb-item {
display:block;width:100%;text-align:center;background:none;border:0;border-top:1px solid #f0f0f0;
        padding:15px;font-size:15px;color:#333;cursor:pointer;
}
.rb-item:first-of-type { border-top:0; }
.rb-do-block,
.rb-reason[data-r] { color:#333; }
.rb-cancel { color:#999;font-weight:500; }

/* ───────── partials/comment_avatar ───────── */
/* resources/views/shop/partials/comment_avatar.blade.php (본문) 에서 분리 — 이 화면 전용 스타일 */
/* 직원 답글 아바타 — 카페 시절 닉네임이 '가이드맨…' 이던 댓글.
   로고가 방패 모양(가로 130 : 세로 88)이라 cover 로 채우면 좌우가 잘린다.
   흰 바탕에 contain 으로 앉히고 테두리로 원을 만든다. */
.comment-avatar-gm {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; box-sizing: border-box;
    background: #fff; border: 1px solid #e7ebf0; border-radius: 50%;
    overflow: hidden;
}
.comment-avatar-gm img { width: 26px; height: 26px; object-fit: contain; display: block; }
